Jump to content

MCHellspawn

Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by MCHellspawn

  1. Ok.. I know it's been a bit since this one started but continuing the adventure.. Before moving on to container and GUI I wanted to work on your suggestions.. I've made some changes to the block and TE to get it more towards the block setting the TE values via it's own blockstate.. I think I understand what you are saying but I seem to be having a hard time getting the TE to set the block state.. Strange thing is I get it to update the render as though the block state is changing but when I activate the block after the TE does it's count down (and deactivates the block) the block still thinks it's active.. The point of the whole mod is to build a furnace type block. Mostly doing it so I can learn the modding concepts.. Eventually there will be a lot more cooking logic built into the furnace's TE.. So I seem to be stuck now on getting the TE to set the ACTIVE property of the block... Am I doing that correctly??
  2. OMG!!! Choonster you are awesome!!! That was it.. I added the code to call notifyBlockUpdate as shown in your examples and it works perfectly every time!! On to GUI tutorials now!! Thank you so much!!
  3. Ok... I think I am doing both of those.. setting a blockstate in the onblockactivated, and I've overridden getActualState...
  4. First, Thank you for the reply.. Second.. I'm a bit confused.. I thought I was handling all of the active manipulation in the block.. I'm setting it in the onblockactivated function, and then in there setting the active property in the TE.. I'm really only doing the TE so I can hold more info about the block later... Are you saying I should do a block state change in there too?
  5. Hello, New to modding.. Been following several modding tutorials but attempting to make a furnace block in my mod.. I'm just getting to the point of adding a TileEntity to the block.. The TE gets created fine, I have an onblockactived function on the block that updates the TE's "active" property when I right click the block, starting simple.. I also have it start a 200 tick count down.. When I activate the block I want the render of the block to change, much like with the vanilla furnace when it starts cooking.. It's weird because I can see from messages I have writing to the console that the TE is getting updated and is counting down however the block render doesn't get updated.. If I right click the block repeatedly it does update sometimes.. To be honest I can't figure out why it does it sometimes and not others.. Would someone be willing to look at my code and tell me what I am doing wrong?? Any help is greatly appreciated.. https://github.com/MCHellspawn/CompressedFurnace
  6. I actually just got it working.. I have been reviewing other posts like crazy and finally found one that made me realize i had the render registration in init instead of preinit.. Thanks though!!
  7. Hello, This seems to be the most normal problem for a new modder to have but i can't find anyone who has the problem like i have it.. I added an item.. It's registered fine.. Everything seems fine except the textures won't load.. I was having all sort of problems.. I've been following various tutorials but mostly MrCrayFish and Mcjty.. The interesting thing is now Minecraft is loading without a single error (well Yggdrasil error but i imagine those are nothing).. The item is in the game but just the pink and black block texture.. I have no clue what to look at now.. Here's some files.. CompressedFurnace.json ModItems.java ItemCompressedFurnace.java
×
×
  • Create New...

Important Information

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