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
-
Field Summary
Fields inherited from class dev.engine_room.flywheel.impl.visualization.storage.Storage
dynamicVisuals, lightUpdatedVisuals, shaderLightVisuals, simpleDynamicVisuals, simpleTickableVisuals, tickableVisuals -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected @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) voidvoidrecreateAll(dev.engine_room.flywheel.api.visualization.VisualizationContext visualizationContext, float partialTick) voidremove(net.minecraft.world.level.block.entity.BlockEntity obj) @Nullable dev.engine_room.flywheel.api.visual.BlockEntityVisual<?>visualAtPos(long pos) booleanwillAccept(net.minecraft.world.level.block.entity.BlockEntity blockEntity) Is the given object currently capable of being added?Methods inherited from class dev.engine_room.flywheel.impl.visualization.storage.Storage
add, framePlan, getAllVisuals, lightUpdatedVisuals, shaderLightVisuals, tickPlan, update
-
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:StorageIs the given object currently capable of being added?- Specified by:
willAcceptin classStorage<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) -
remove
public void remove(net.minecraft.world.level.block.entity.BlockEntity obj) -
recreateAll
public void recreateAll(dev.engine_room.flywheel.api.visualization.VisualizationContext visualizationContext, float partialTick) - Overrides:
recreateAllin classStorage<net.minecraft.world.level.block.entity.BlockEntity>
-
invalidate
public void invalidate()- Overrides:
invalidatein classStorage<net.minecraft.world.level.block.entity.BlockEntity>
-