java.lang.Object
com.simibubi.create.content.contraptions.components.structureMovement.Contraption
com.simibubi.create.content.contraptions.components.structureMovement.TranslatingContraption
Direct Known Subclasses:
GantryContraption, PistonContraption, PulleyContraption

public abstract class TranslatingContraption extends Contraption
  • Field Details

    • cachedColliders

      protected Set<net.minecraft.core.BlockPos> cachedColliders
    • cachedColliderDirection

      protected net.minecraft.core.Direction cachedColliderDirection
  • Constructor Details

    • TranslatingContraption

      public TranslatingContraption()
  • Method Details

    • getColliders

      public Set<net.minecraft.core.BlockPos> getColliders(net.minecraft.world.level.Level world, net.minecraft.core.Direction movementDirection)
    • removeBlocksFromWorld

      public void removeBlocksFromWorld(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos offset)
      Overrides:
      removeBlocksFromWorld in class Contraption
    • canBeStabilized

      public boolean canBeStabilized(net.minecraft.core.Direction facing, net.minecraft.core.BlockPos localPos)
      Specified by:
      canBeStabilized in class Contraption