java.lang.Object
com.jozufozu.flywheel.backend.instancing.InstanceManager<net.minecraft.world.level.block.entity.BlockEntity>
com.jozufozu.flywheel.backend.instancing.blockentity.BlockEntityInstanceManager
com.simibubi.create.content.contraptions.components.structureMovement.render.ContraptionInstanceManager
All Implemented Interfaces:
com.jozufozu.flywheel.backend.instancing.instancing.InstancingEngine.OriginShiftListener

public class ContraptionInstanceManager extends com.jozufozu.flywheel.backend.instancing.blockentity.BlockEntityInstanceManager
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     

    Fields inherited from class com.jozufozu.flywheel.backend.instancing.InstanceManager

    dynamicInstances, frame, instances, materialManager, tick, tickableInstances
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    beginFrame(com.jozufozu.flywheel.backend.instancing.TaskEngine taskEngine, net.minecraft.client.Camera info)
     
    protected boolean
    canCreateInstance(net.minecraft.world.level.block.entity.BlockEntity blockEntity)
     
    createActor(org.apache.commons.lang3.tuple.Pair<net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate.StructureBlockInfo,MovementContext> actor)
     
    protected com.jozufozu.flywheel.backend.instancing.AbstractInstance
    createInternal(net.minecraft.world.level.block.entity.BlockEntity obj)
     
    void
     
    protected void
    removeInternal(net.minecraft.world.level.block.entity.BlockEntity obj, com.jozufozu.flywheel.backend.instancing.AbstractInstance instance)
     
    void
     
    protected void
    updateInstance(com.jozufozu.flywheel.api.instance.DynamicInstance dyn, float lookX, float lookY, float lookZ, int cX, int cY, int cZ)
     

    Methods inherited from class com.jozufozu.flywheel.backend.instancing.blockentity.BlockEntityInstanceManager

    canInstance, createRaw

    Methods inherited from class com.jozufozu.flywheel.backend.instancing.InstanceManager

    add, addInternal, createUpdateLimiter, getInstance, getObjectCount, invalidate, onOriginShift, processQueuedAdditions, processQueuedUpdates, queueAdd, queueUpdate, remove, tick, tickInstance, update

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Method Details

    • tick

      public void tick()
    • canCreateInstance

      protected boolean canCreateInstance(net.minecraft.world.level.block.entity.BlockEntity blockEntity)
      Overrides:
      canCreateInstance in class com.jozufozu.flywheel.backend.instancing.blockentity.BlockEntityInstanceManager
    • beginFrame

      public void beginFrame(com.jozufozu.flywheel.backend.instancing.TaskEngine taskEngine, net.minecraft.client.Camera info)
      Overrides:
      beginFrame in class com.jozufozu.flywheel.backend.instancing.InstanceManager<net.minecraft.world.level.block.entity.BlockEntity>
    • updateInstance

      protected void updateInstance(com.jozufozu.flywheel.api.instance.DynamicInstance dyn, float lookX, float lookY, float lookZ, int cX, int cY, int cZ)
      Overrides:
      updateInstance in class com.jozufozu.flywheel.backend.instancing.InstanceManager<net.minecraft.world.level.block.entity.BlockEntity>
    • createActor

      @Nullable public ActorInstance createActor(org.apache.commons.lang3.tuple.Pair<net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate.StructureBlockInfo,MovementContext> actor)
    • createInternal

      protected com.jozufozu.flywheel.backend.instancing.AbstractInstance createInternal(net.minecraft.world.level.block.entity.BlockEntity obj)
      Overrides:
      createInternal in class com.jozufozu.flywheel.backend.instancing.InstanceManager<net.minecraft.world.level.block.entity.BlockEntity>
    • removeInternal

      protected void removeInternal(net.minecraft.world.level.block.entity.BlockEntity obj, com.jozufozu.flywheel.backend.instancing.AbstractInstance instance)
      Overrides:
      removeInternal in class com.jozufozu.flywheel.backend.instancing.InstanceManager<net.minecraft.world.level.block.entity.BlockEntity>
    • detachLightListeners

      public void detachLightListeners()
      Overrides:
      detachLightListeners in class com.jozufozu.flywheel.backend.instancing.InstanceManager<net.minecraft.world.level.block.entity.BlockEntity>