Kyraleese
Forge Modder-
Posts
3 -
Joined
-
Last visited
Converted
-
Gender
Female
-
URL
https://github.com/Kyraleese
-
Personal Text
Creator of ModToDyeFor
Kyraleese's Achievements
Tree Puncher (2/8)
0
Reputation
-
[solved]Metadata not saving for directional block
Kyraleese replied to vdvman1's topic in Modder Support
Hrm, I looked in your code above; I'm not finding anything that refers to packets. I have been able to make use of the onActivate to see what was stored in the entity. The strange thing is that the value of my data I'm storing is remaining; IE: I place the stair and the entity data for its orientation is set to 3. I log out, log back in, and it's still set to 3. But it's rendering as if it's set to 2 (which is the arbitrary asignment I have made to it). Could you show me some code with the fixes you made highlighted? -
[solved]Metadata not saving for directional block
Kyraleese replied to vdvman1's topic in Modder Support
I am running into similar problems. I'm using tile entity to store the orientation of my dyed stairs, and using the damage to determine their color. When I place the block, everything renders fine. When I log out and back in, the orientation of the stairs changes to what I set the value to initially, which makes all the stairs point in the same direction. Am I missing something? I'm using the details here on setting up Tile Entities (as well as what I see done by the original minecraft code) http://www.minecraftforge.net/wiki/How_to_use_NBT_Tag_Compound#Making_the_TileEntity You can find my code at: https://github.com/Kyraleese/Mod-To-Dye-For-1.3.2.001 If someone could point me in the right direction for what I might be forgetting to do, I would greatly appreciate it. I keep thinking that I need to do a readFromNBT instead of referencing ourEntity.orientation directly like I am. -
I know the vanilla version of the fire texture file named above is a bit complex looking, but the one I have in my dev instance after installing forge has this.particleRed|Blue|Green. I'd tinker with those, see what it might do.