Class BlockEntityStorage
java.lang.Object
com.jozufozu.flywheel.impl.visualization.storage.Storage<net.minecraft.world.level.block.entity.BlockEntity>
com.jozufozu.flywheel.impl.visualization.manager.BlockEntityStorage
-
Field Summary
Fields inherited from class com.jozufozu.flywheel.impl.visualization.storage.Storage
dynamicVisuals, litVisuals, simpleDynamicVisuals, simpleTickableVisuals, tickableVisuals, visualizationContextSupplier -
Constructor Summary
ConstructorsConstructorDescriptionBlockEntityStorage(Supplier<VisualizationContext> visualizationContextSupplier) -
Method Summary
Modifier and TypeMethodDescriptionprotected @Nullable VisualcreateRaw(net.minecraft.world.level.block.entity.BlockEntity obj) 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 com.jozufozu.flywheel.impl.visualization.storage.Storage
add, enqueueLightUpdateSection, framePlan, getAllVisuals, invalidate, recreateAll, tickPlan, update
-
Constructor Details
-
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 Visual createRaw(net.minecraft.world.level.block.entity.BlockEntity obj) -
remove
public void remove(net.minecraft.world.level.block.entity.BlockEntity obj)
-