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 BlockEntityVisual<?>createRaw(VisualizationContext visualizationContext, net.minecraft.world.level.block.entity.BlockEntity obj, float partialTick) voidvoidrecreateAll(VisualizationContext visualizationContext, float partialTick) voidremove(net.minecraft.world.level.block.entity.BlockEntity obj) @Nullable 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
-
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 BlockEntityVisual<?> createRaw(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
- Overrides:
recreateAllin classStorage<net.minecraft.world.level.block.entity.BlockEntity>
-
invalidate
public void invalidate()- Overrides:
invalidatein classStorage<net.minecraft.world.level.block.entity.BlockEntity>
-