public override void onDraw(System.Drawing.Graphics graphics) { base.onDraw(graphics); if (MCM.readInt64(Minecraft.clientInstance.localPlayer.addr) > 0) { MCM.RECT mcRect = MCM.getMinecraftRect(); float playerX = Minecraft.clientInstance.localPlayer.currentX3, playerY = Minecraft.clientInstance.localPlayer.currentY3, playerZ = Minecraft.clientInstance.localPlayer.currentZ3; string formatText = Math.Floor(playerX).ToString() + ":" + Math.Floor(playerY - 1).ToString() + ":" + Math.Floor(playerZ).ToString(); graphics.DrawString(formatText, textFont, primary, 0, mcRect.Top * 130); } }
//Made by EchoHackCmd public static List <Entity> getEntityList(bool filter) { List <Entity> entityList = new List <Entity>(); UInt64 likelySize = MCM.readBaseInt64(0x30366B0); for (UInt64 index = 0; index < likelySize; index++) { UInt64[] startOffs = { 0x30, 0xF0, 0x8, 0x50, 0x120, 0x38, index *0x8 }; UInt64 indexedEntity = MCM.readInt64(MCM.baseEvaluatePointer(0x03022AE0, startOffs)); if (indexedEntity == SDK.client.localPlayer.addr) { continue; } Entity eObj = new Entity(indexedEntity); if (eObj.movedTick > 1) { if (filter) { if (targetable.Contains(eObj.type)) { entityList.Add(eObj); } } else { entityList.Add(eObj); } } /* * if (eObj.movedTick > 1) * { * entityList.Add(eObj); * }//Only allow entities that move (Bye bye NPC's) *///Hi NPCs... sorry you werent invited last time... } return(entityList); }