Jump to content

clienthax

Members
  • Posts

    27
  • Joined

  • Last visited

Everything posted by clienthax

  1. MinecraftServer.getServer().getPlayerProfileCache().getProfileByUUID(UUID.fromString("someuuid")).getName()
  2. I want it to appear changed on the client, but not actually change it on the server world, so that i can show a area border when required.
  3. With this code no changes will occur to the block at the position S23PacketBlockChange blockPacket = new S23PacketBlockChange(event.world, event.pos); blockPacket.blockState = Blocks.diamond_block.getDefaultState(); playerMP.playerNetServerHandler.sendPacket(blockPacket); however if i do world.setBlockState on the pos with the same blockstate var it will change to the diamond block (Server only mod)
  4. You do know the amount of access needed to create mods that aren't absolute piles of crap right?
  5. https://github.com/clienthax/chococraft/blob/1.8/src/main/java/chococraft/client/ClientProxyChocoCraft.java#L64
  6. it patchs the source, look at the patchs folder. https://github.com/MinecraftForge/MinecraftForge/tree/master/patches/minecraft/net/minecraft
  7. Yep i can think of a couple uses for this.
  8. hea guys can i trust this community standard open source software ...
  9. https://github.com/Pixelmon-Mod/PixelUtilities/blob/master/src/main/java/com/pixelutilities/models/renderers/PokeballRenderer.java
  10. if you can't find a dev version of the mod, throw in codechickencore, it will runtime deob the mods for you.
  11. But it still doesnt work. Have you seen this part of my message or just tried to look clever? also you know gradle ignores your classpath unless you add it to the project right, but im sure you prefer belitteling people trying to help you instead of bothering to look it up.
  12. But it still doesnt work. Have you seen this part of my message or just tried to look clever? $ md5sum log4j-1.2.17.jar fb87bd84e336ca3dc6b6c108f51bf25e *log4j-1.2.17.jar verify please.
  13. if you just need it to be on the client side you can do Minecraft.getMinecraft().displayGuiScreen(new mygui());
  14. this looks simple enough, you did run gradle build and use the modid.jar ? and not -deobf.jar ?
  15. my guess would be hes using a forge version below the network fixs (1122~) Update forge to latest/rec and try again.
  16. going to need your code.
  17. easy way, set player to invisible, spawn in mob on server side, in world tick update the entity with players info.
  18. Server only mod, ive mostly worked it out now, i just need to figure out how to stop the entity from trying to walk off.
  19. Mhm il give that a go, i think ima make a instance of the entity and store it instead of making it each tick however.
  20. In idea you can set it to be a provided dependency, that means it will be present at compile but not runtime
  21. I figured the basic idea would be to cancel the player location packet then make a entity on the server and set the location / yaw to match the players ?
  22. I'm not sure why that matters, if you are asking if I know how to make mods etc the answer would be yes.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.