Package fr.rodofire.ewc.blockdata
Class BlockDataKey
java.lang.Object
fr.rodofire.ewc.blockdata.BlockDataKey
class to store objects that represents a block
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBlockDataKey(net.minecraft.world.level.block.state.BlockState state) BlockDataKey(net.minecraft.world.level.block.state.BlockState state, @Nullable net.minecraft.nbt.CompoundTag tag) -
Method Summary
-
Field Details
-
CODEC
-
-
Constructor Details
-
BlockDataKey
public BlockDataKey(net.minecraft.world.level.block.state.BlockState state) -
BlockDataKey
public BlockDataKey(net.minecraft.world.level.block.state.BlockState state, @Nullable @Nullable net.minecraft.nbt.CompoundTag tag)
-
-
Method Details
-
getState
public net.minecraft.world.level.block.state.BlockState getState() -
setState
public void setState(net.minecraft.world.level.block.state.BlockState state) -
getTag
public net.minecraft.nbt.CompoundTag getTag() -
setTag
public void setTag(net.minecraft.nbt.CompoundTag tag) -
equals
-
hashCode
public int hashCode()
-