Class BellInstance

java.lang.Object
com.jozufozu.flywheel.backend.instancing.AbstractInstance
com.jozufozu.flywheel.backend.instancing.blockentity.BlockEntityInstance<net.minecraft.world.level.block.entity.BellBlockEntity>
com.jozufozu.flywheel.vanilla.BellInstance
All Implemented Interfaces:
DynamicInstance, Instance, LightListener

public class BellInstance extends BlockEntityInstance<net.minecraft.world.level.block.entity.BellBlockEntity> implements DynamicInstance
  • Constructor Details

    • BellInstance

      public BellInstance(MaterialManager materialManager, net.minecraft.world.level.block.entity.BellBlockEntity blockEntity)
  • Method Details

    • beginFrame

      public void beginFrame()
      Description copied from interface: DynamicInstance
      Called every frame, and after initialization.
      DISPATCHED IN PARALLEL, don't attempt to mutate anything outside this instance.
      Instancer/InstanceData creation/acquisition is safe here.
      Specified by:
      beginFrame in interface DynamicInstance
    • updateLight

      public void updateLight()
      Description copied from class: AbstractInstance
      Called after construction and when a light update occurs in the world.
      If your model needs it, update light here.
      Overrides:
      updateLight in class AbstractInstance
    • remove

      public void remove()
      Description copied from class: AbstractInstance
      Free any acquired resources.
      Specified by:
      remove in class AbstractInstance