Posted January 3, 20178 yr Hi, I want to make a custom rendered block, where you can put some sorts of cheeses on it to let it ripe. Now I want to make it visible from the outside (not only in GUI), how much cheeses that are stored inside the block. There are 8 slots for cheeses inside the ripening rack, and there are currently 3 types of cheese. If I want to do it with the JSON method, the possible combinations would be 3^8 or 6561 JSON files. I don't think I'm going to make 6561 JSON files for just one block, so is there another way for rendering a block? Like before the update 1.8 or so? Thanks! Creator of the Master Chef Mod and many more to come. If I helped you, please click the 'thank you' button.
January 3, 20178 yr That is not how it works, you need a TESR Classes: 94 Lines of code: 12173 Other files: 206 Github repo: https://github.com/KokkieBeer/DeGeweldigeMod
January 3, 20178 yr Why isn't it accurate? Classes: 94 Lines of code: 12173 Other files: 206 Github repo: https://github.com/KokkieBeer/DeGeweldigeMod
January 3, 20178 yr Why isn't it accurate? Because: The Forge Blockstate format should allow you to do this using sub models. 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.
January 3, 20178 yr Author Thanks. Creator of the Master Chef Mod and many more to come. If I helped you, please click the 'thank you' button.
January 4, 20178 yr Another way of doing it, is Building your Model as an .obj, loading it via the OBJLoader, and since i suspect you have a TileEntity as you want to store items inside a Block, you can then dynamicly show the Cheeses as Parts of the Model using the ExtendedBlockState and IModelState. Its a rather Simple way of getting high quality dynamic state Models working, I use it e.g. for my Item Pipes. If you need help ill happily provide an example
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.