Hey developers,
at the moment i implement the FurnaceData
into SpongeCommon. I have to get the data of the TileEntityFurnace
now.
How i get the data? I found the class MixinTileEntityFurnace
, it that a reason? Its my first time to work at the development, sry when its very easy.
Thanks Feeliiix.
Furnace spongeFurnace = ...;
TileEntityFurnace mcFurnace = (TileEntityFurnace) spongeFurnace;
That i know. I need the remainingBurnTime and the remainingCookTime of the TileEntityFurnace
You can find them as private
fields inside TileEntityFurnace
- mcFurnace.furnaceBurnTime
and mcFurnace.cookTime
. Add them to the access transformer so they become public
.