java.lang.Object
com.jozufozu.flywheel.impl.visualization.storage.Storage<T>
Direct Known Subclasses:
BlockEntityStorage, EffectStorage, EntityStorage

public abstract class Storage<T> extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • getAllVisuals

      public Collection<Visual> getAllVisuals()
    • add

      public void add(T obj, float partialTick)
    • remove

      public void remove(T obj)
    • update

      public void update(T obj, float partialTick)
    • recreateAll

      public void recreateAll(float partialTick)
    • invalidate

      public void invalidate()
    • createRaw

      @Nullable protected abstract @Nullable Visual createRaw(T obj)
    • framePlan

      public Plan<DynamicVisual.Context> framePlan()
    • tickPlan

      public Plan<TickableVisual.Context> tickPlan()
    • enqueueLightUpdateSection

      public void enqueueLightUpdateSection(long section)
    • willAccept

      public abstract boolean willAccept(T obj)
      Is the given object currently capable of being added?
      Returns:
      true if the object is currently capable of being visualized.