Class Storage<T>
java.lang.Object
com.jozufozu.flywheel.impl.visualization.storage.Storage<T>
- Direct Known Subclasses:
BlockEntityStorage,EffectStorage,EntityStorage
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final PlanMap<DynamicVisual,DynamicVisual.Context> protected final LitVisualStorageprotected final List<SimpleDynamicVisual>protected final List<SimpleTickableVisual>protected final PlanMap<TickableVisual,TickableVisual.Context> protected final Supplier<VisualizationContext> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected abstract @Nullable VisualvoidenqueueLightUpdateSection(long section) voidvoidrecreateAll(float partialTick) voidtickPlan()voidabstract booleanwillAccept(T obj) Is the given object currently capable of being added?
-
Field Details
-
visualizationContextSupplier
-
dynamicVisuals
-
tickableVisuals
-
simpleDynamicVisuals
-
simpleTickableVisuals
-
litVisuals
-
-
Constructor Details
-
Storage
-
-
Method Details
-
getAllVisuals
-
add
-
remove
-
update
-
recreateAll
public void recreateAll(float partialTick) -
invalidate
public void invalidate() -
createRaw
-
framePlan
-
tickPlan
-
enqueueLightUpdateSection
public void enqueueLightUpdateSection(long section) -
willAccept
Is the given object currently capable of being added?- Returns:
- true if the object is currently capable of being visualized.
-