Class WoodenBlockEntityBehaviour
java.lang.Object
com.simibubi.create.foundation.blockEntity.behaviour.BlockEntityBehaviour
petrolpark.mc.library.core.world.item.wooden.WoodenBlockEntityBehaviour
public class WoodenBlockEntityBehaviour
extends com.simibubi.create.foundation.blockEntity.behaviour.BlockEntityBehaviour
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.simibubi.create.foundation.blockEntity.behaviour.BehaviourType<WoodenBlockEntityBehaviour> protected WoodHelper.WoodFields inherited from class com.simibubi.create.foundation.blockEntity.behaviour.BlockEntityBehaviour
blockEntity -
Constructor Summary
ConstructorsConstructorDescriptionWoodenBlockEntityBehaviour(com.simibubi.create.foundation.blockEntity.SmartBlockEntity be) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyImplicitComponents(WoodenBlockEntityBehaviour.DataComponentInput componentInput) voidcollectImplicitComponents(net.minecraft.core.component.DataComponentMap.Builder components) net.neoforged.neoforge.client.model.data.ModelDatacom.simibubi.create.foundation.blockEntity.behaviour.BehaviourType<?> getType()getWood()voidread(net.minecraft.nbt.CompoundTag tag, net.minecraft.core.HolderLookup.Provider registries, boolean clientPacket) voidwrite(net.minecraft.nbt.CompoundTag tag, net.minecraft.core.HolderLookup.Provider registries, boolean clientPacket) Methods inherited from class com.simibubi.create.foundation.blockEntity.behaviour.BlockEntityBehaviour
destroy, get, get, getPos, getRequiredItems, getWorld, initialize, isSafeNBT, lazyTick, onBlockChanged, onNeighborChanged, setLazyTickRate, tick, unload, writeSafe
-
Field Details
-
wood
-
TYPE
public static final com.simibubi.create.foundation.blockEntity.behaviour.BehaviourType<WoodenBlockEntityBehaviour> TYPE
-
-
Constructor Details
-
WoodenBlockEntityBehaviour
public WoodenBlockEntityBehaviour(com.simibubi.create.foundation.blockEntity.SmartBlockEntity be)
-
-
Method Details
-
getWood
-
read
public void read(net.minecraft.nbt.CompoundTag tag, net.minecraft.core.HolderLookup.Provider registries, boolean clientPacket) - Overrides:
readin classcom.simibubi.create.foundation.blockEntity.behaviour.BlockEntityBehaviour
-
write
public void write(net.minecraft.nbt.CompoundTag tag, net.minecraft.core.HolderLookup.Provider registries, boolean clientPacket) - Overrides:
writein classcom.simibubi.create.foundation.blockEntity.behaviour.BlockEntityBehaviour
-
collectImplicitComponents
public void collectImplicitComponents(@Nonnull net.minecraft.core.component.DataComponentMap.Builder components) -
applyImplicitComponents
public void applyImplicitComponents(@Nonnull WoodenBlockEntityBehaviour.DataComponentInput componentInput) -
getModelData
public net.neoforged.neoforge.client.model.data.ModelData getModelData() -
getType
public com.simibubi.create.foundation.blockEntity.behaviour.BehaviourType<?> getType()- Specified by:
getTypein classcom.simibubi.create.foundation.blockEntity.behaviour.BlockEntityBehaviour
-