Posted December 11, 20168 yr Hey, so this time im working on a block like one carpenters had, where you right click a block with another and it changes the texture of it to the one in your hand, and then decreases the stack size of that block -1, i was wondering how can i make my block change its texture to the block the player is holding on right click
December 11, 20168 yr This will be very tricky with block models. But you'd have to store the block being used inside a (non-ticking) TE to start with. From there you should be able to write a BakedModel implementation that returns the baked quads for the saved block, or at the very least, quads using the same texture. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
December 11, 20168 yr Author Right now im not starting off with a block model, just a regular 16x16 block
December 11, 20168 yr The Minecraft By Example from TheGreyGhost has a Block that has the camouflage parts you want: https://github.com/TheGreyGhost/MinecraftByExample/tree/master/src/main/java/minecraftbyexample/mbe04_block_dynamic_block_model1 Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.