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
    Modifier and Type
    Class
    Description
    static interface 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.simibubi.create.foundation.blockEntity.behaviour.BehaviourType<WoodenBlockEntityBehaviour>
     
    protected WoodHelper.Wood
     

    Fields inherited from class com.simibubi.create.foundation.blockEntity.behaviour.BlockEntityBehaviour

    blockEntity
  • Constructor Summary

    Constructors
    Constructor
    Description
    WoodenBlockEntityBehaviour(com.simibubi.create.foundation.blockEntity.SmartBlockEntity be)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    collectImplicitComponents(net.minecraft.core.component.DataComponentMap.Builder components)
     
    net.neoforged.neoforge.client.model.data.ModelData
     
    com.simibubi.create.foundation.blockEntity.behaviour.BehaviourType<?>
     
     
    void
    read(net.minecraft.nbt.CompoundTag tag, net.minecraft.core.HolderLookup.Provider registries, boolean clientPacket)
     
    void
    write(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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • WoodenBlockEntityBehaviour

      public WoodenBlockEntityBehaviour(com.simibubi.create.foundation.blockEntity.SmartBlockEntity be)
  • Method Details

    • getWood

      public WoodHelper.Wood getWood()
    • read

      public void read(net.minecraft.nbt.CompoundTag tag, net.minecraft.core.HolderLookup.Provider registries, boolean clientPacket)
      Overrides:
      read in class com.simibubi.create.foundation.blockEntity.behaviour.BlockEntityBehaviour
    • write

      public void write(net.minecraft.nbt.CompoundTag tag, net.minecraft.core.HolderLookup.Provider registries, boolean clientPacket)
      Overrides:
      write in class com.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:
      getType in class com.simibubi.create.foundation.blockEntity.behaviour.BlockEntityBehaviour