mrAppleXZ
Members-
Posts
6 -
Joined
-
Last visited
Everything posted by mrAppleXZ
-
[1.10.2] [SOLVED] Saving additional information to chunk data
mrAppleXZ replied to Bektor's topic in Modder Support
Also, if you want to sync data with clients on the server, you can use ChunkWatchEvent. public void onChunkWatch(ChunkWatchEvent.Watch e) { //send sync packet to e.getPlayer(); } public void onChunkUnwatch(ChunkWatchEvent.UnWatch e) { //send desync packet to e.getPlayer(); } -
[Forge 1.10.2] Render white .OBJ model with specified RGB color?
mrAppleXZ replied to mrAppleXZ's topic in Modder Support
Thanks for replies! I'm use IBlockColors and IItemColors now. -
Hello! How to render a white .OBJ model with specified RGB color? TESR: https://pastebin.com/AgEhv513 I'm tried this, but It still not works: Minecraft.getMinecraft().getBlockRendererDispatcher().getBlockModelRenderer().renderModel( world, getBakedModel(), world.getBlockState(te.getPos()), te.getPos(), Tessellator.getInstance().getBuffer(), true); tessellator.getBuffer().color(0, 255, 0, 255); tessellator.draw();
-
[1.7.10] [SOLVED] TileEntity render on world load.
mrAppleXZ replied to mrAppleXZ's topic in Modder Support
Solved. Sorry for the stupid issue. -
My Tile Entity is not correctly rendering on world load (should be rendered "EnderTeleportingStationModelF", instead "EnderTeleportingStationModel"). Block code: Tile Entity code: Model code: Model 2 code: Render code: Model correctly render if "posY" variable changed in loaded game (ex. onItemUse). ___ Sorry for my bad English, I'm Russian.