
clienthax
Members-
Posts
27 -
Joined
-
Last visited
Everything posted by clienthax
-
MinecraftServer.getServer().getPlayerProfileCache().getProfileByUUID(UUID.fromString("someuuid")).getName()
-
[1.8] Faking a block update code does nothing
clienthax replied to clienthax's topic in Modder Support
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. -
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)
-
Some suggestions and practices for improvements.
clienthax replied to Exsaliver's topic in Suggestions
You do know the amount of access needed to create mods that aren't absolute piles of crap right? -
yep.
-
it patchs the source, look at the patchs folder. https://github.com/MinecraftForge/MinecraftForge/tree/master/patches/minecraft/net/minecraft
-
Yep i can think of a couple uses for this.
-
hea guys can i trust this community standard open source software ...
-
folder layout?
-
https://github.com/Pixelmon-Mod/PixelUtilities/blob/master/src/main/java/com/pixelutilities/models/renderers/PokeballRenderer.java
-
Debugging with other mods / Unit Testing / CI?
clienthax replied to BrainSlugs83's topic in Modder Support
if you can't find a dev version of the mod, throw in codechickencore, it will runtime deob the mods for you. -
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.
-
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.
-
How do I make a Gui open when an item is right clicked? - SOLVED
clienthax replied to iLegendx98's topic in Modder Support
if you just need it to be on the client side you can do Minecraft.getMinecraft().displayGuiScreen(new mygui()); -
my mod works on eclipse but not in minecraft! [SOLVED]
clienthax replied to SimonSlime's topic in Modder Support
this looks simple enough, you did run gradle build and use the modid.jar ? and not -deobf.jar ? -
going to need your code.
-
easy way, set player to invisible, spawn in mob on server side, in world tick update the entity with players info.
-
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.
-
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.
-
This mod is going to be server side only.
-
Disabling certain mods at runtime in dev environment
clienthax replied to AlexDGr8r's topic in Modder Support
In idea you can set it to be a provided dependency, that means it will be present at compile but not runtime -
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 ?
-
I'm not sure why that matters, if you are asking if I know how to make mods etc the answer would be yes.