-
Posts
6157 -
Joined
-
Last visited
-
Days Won
59
Everything posted by Animefan8888
-
[1.14.2] TileEntity (+TileEntityRenderer )
Animefan8888 replied to Simon_kungen's topic in Modder Support
What do you mean? From the code you've shown I do you mean it's always 0? Because of course it would be you never set it to anything else. -
[1.14.2] TileEntity (+TileEntityRenderer )
Animefan8888 replied to Simon_kungen's topic in Modder Support
It has a BlockState parameter -
[1.14.2] TileEntity (+TileEntityRenderer )
Animefan8888 replied to Simon_kungen's topic in Modder Support
Try overriding the BlockState sensitive version -
[1.14.2] TileEntity (+TileEntityRenderer )
Animefan8888 replied to Simon_kungen's topic in Modder Support
Crashes doesnt post crash. What value is null? Is it the te or is it the tile data? -
[1.12.2] Fluid data not saving when block is destroyed
Animefan8888 replied to Spyeedy's topic in Modder Support
This only happens when there is a block state change. Or you tell it to update. It isnt automatic. -
[1.12.2] Fluid data not saving when block is destroyed
Animefan8888 replied to Spyeedy's topic in Modder Support
No you need to send a packet from the server to the client to sync the data. -
My Armour Layer Textures Won't Load (1.12.2) [SOLVED]
Animefan8888 replied to fluenzia's topic in Modder Support
I am not talking about IHasModel. In the Item class there is a method called getArmorTexture if you dont know how to override it look it up on google. -
My Armour Layer Textures Won't Load (1.12.2) [SOLVED]
Animefan8888 replied to fluenzia's topic in Modder Support
Well yeah because you need to override the one in the Item class. Check the method signature. The one in the Item class has parameters. -
[1.12.2] Fluid data not saving when block is destroyed
Animefan8888 replied to Spyeedy's topic in Modder Support
I was talking about the TileEntity being desynced not the ItemStack. -
My Armour Layer Textures Won't Load (1.12.2) [SOLVED]
Animefan8888 replied to fluenzia's topic in Modder Support
Not sure what you mean here is the method working now or not? If not post your code. -
[1.12.2] Fluid data not saving when block is destroyed
Animefan8888 replied to Spyeedy's topic in Modder Support
You dont what? And I'm sorry; running on no sleep. Forming sentences is hard. I meant to say how did you check that it isnt copying the fluid data. Did you check to make sure it isnt a client server desync. -
[1.12.2] Fluid data not saving when block is destroyed
Animefan8888 replied to Spyeedy's topic in Modder Support
How are you checking that is it possible that its just a client server desync? -
My Armour Layer Textures Won't Load (1.12.2) [SOLVED]
Animefan8888 replied to fluenzia's topic in Modder Support
Does not equal. -
[1.12.2] Fluid data not saving when block is destroyed
Animefan8888 replied to Spyeedy's topic in Modder Support
So there isnt a problem? -
My Armour Layer Textures Won't Load (1.12.2) [SOLVED]
Animefan8888 replied to fluenzia's topic in Modder Support
Yes that is where it would go. -
[1.12.2] Fluid data not saving when block is destroyed
Animefan8888 replied to Spyeedy's topic in Modder Support
Ok first don't implement ITileEntityProvider it is legacy code. Override hasTileEntity(BlockState) and createTileEntity(World BlockState) Second how do you know that the fluid data isn't being transferred to the ItemStack? How did you test it? -
My Armour Layer Textures Won't Load (1.12.2) [SOLVED]
Animefan8888 replied to fluenzia's topic in Modder Support
I assume you mean the armor when it's on the player. You need to override getArmorTexture and return a path to your textures. -
It's trying to allocate 3GB either release more RAM for gradle to use or edit your gradle.properties file so it uses less RAM. No guarantees that it will work though.
-
Then do you have 3GBs of ram free?
-
It's in the net.minecraft.block.Blocks class.
-
Ok the problem is the items you are registering are not the same items you are registering models for. Read up on the ObjectHolder annotation on the forge docs.
-
Can you update your github?
-
Is your ModelRegistryEvent getting called?
-
Post the log.
-
Why are you giving the models metadata values? You should keep them at 0.