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)
     
    createActor(org.apache.commons.lang3.tuple.Pair<net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate.StructureBlockInfo,MovementContext> actor)
     
    protected boolean
    shouldFrameUpdate(net.minecraft.core.BlockPos worldPos, float lookX, float lookY, float lookZ, int cX, int cY, int cZ)
     
    void
     

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

    canCreateInstance, canInstance, createRaw

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

    add, addInternal, createInternal, detachLightListeners, getInstance, getUpdateDivisor, invalidate, onOriginShift, processQueuedAdditions, processQueuedUpdates, queueAdd, queueUpdate, remove, removeInternal, tick, 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()
    • 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>
    • shouldFrameUpdate

      protected boolean shouldFrameUpdate(net.minecraft.core.BlockPos worldPos, float lookX, float lookY, float lookZ, int cX, int cY, int cZ)
      Overrides:
      shouldFrameUpdate 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)