Class BlockEntityStorage

java.lang.Object
dev.engine_room.flywheel.impl.visualization.storage.Storage<net.minecraft.world.level.block.entity.BlockEntity>
dev.engine_room.flywheel.impl.visualization.storage.BlockEntityStorage

public class BlockEntityStorage extends Storage<net.minecraft.world.level.block.entity.BlockEntity>
  • Constructor Details

    • BlockEntityStorage

      public BlockEntityStorage()
  • Method Details

    • visualAtPos

      @Nullable public @Nullable dev.engine_room.flywheel.api.visual.BlockEntityVisual<?> visualAtPos(long pos)
    • willAccept

      public boolean willAccept(net.minecraft.world.level.block.entity.BlockEntity blockEntity)
      Description copied from class: Storage
      Is the given object currently capable of being added?
      Specified by:
      willAccept in class Storage<net.minecraft.world.level.block.entity.BlockEntity>
      Returns:
      true if the object is currently capable of being visualized.
    • createRaw

      @Nullable protected @Nullable dev.engine_room.flywheel.api.visual.BlockEntityVisual<?> createRaw(dev.engine_room.flywheel.api.visualization.VisualizationContext visualizationContext, net.minecraft.world.level.block.entity.BlockEntity obj, float partialTick)
      Specified by:
      createRaw in class Storage<net.minecraft.world.level.block.entity.BlockEntity>
    • remove

      public void remove(net.minecraft.world.level.block.entity.BlockEntity obj)
      Overrides:
      remove in class Storage<net.minecraft.world.level.block.entity.BlockEntity>
    • recreateAll

      public void recreateAll(dev.engine_room.flywheel.api.visualization.VisualizationContext visualizationContext, float partialTick)
      Overrides:
      recreateAll in class Storage<net.minecraft.world.level.block.entity.BlockEntity>
    • invalidate

      public void invalidate()
      Overrides:
      invalidate in class Storage<net.minecraft.world.level.block.entity.BlockEntity>