java.lang.Object
com.simibubi.create.content.contraptions.components.structureMovement.Contraption
com.simibubi.create.content.contraptions.components.structureMovement.mounted.MountedContraption

public class MountedContraption extends Contraption
  • Field Details

  • Constructor Details

  • Method Details

    • getType

      protected ContraptionType getType()
      Specified by:
      getType in class Contraption
    • assemble

      public boolean assemble(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos) throws AssemblyException
      Specified by:
      assemble in class Contraption
      Throws:
      AssemblyException
    • addToInitialFrontier

      protected boolean addToInitialFrontier(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction direction, Queue<net.minecraft.core.BlockPos> frontier)
      Overrides:
      addToInitialFrontier in class Contraption
    • capture

      protected org.apache.commons.lang3.tuple.Pair<net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate.StructureBlockInfo,net.minecraft.world.level.block.entity.BlockEntity> capture(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos)
      Overrides:
      capture in class Contraption
    • movementAllowed

      protected boolean movementAllowed(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos)
      Overrides:
      movementAllowed in class Contraption
    • testSecondaryCartAssembler

      protected boolean testSecondaryCartAssembler(net.minecraft.world.level.Level world, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.BlockPos pos)
    • writeNBT

      public net.minecraft.nbt.CompoundTag writeNBT(boolean spawnPacket)
      Overrides:
      writeNBT in class Contraption
    • readNBT

      public void readNBT(net.minecraft.world.level.Level world, net.minecraft.nbt.CompoundTag nbt, boolean spawnData)
      Overrides:
      readNBT in class Contraption
    • customBlockPlacement

      protected boolean customBlockPlacement(net.minecraft.world.level.LevelAccessor world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
      Overrides:
      customBlockPlacement in class Contraption
    • customBlockRemoval

      protected boolean customBlockRemoval(net.minecraft.world.level.LevelAccessor world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
      Overrides:
      customBlockRemoval in class Contraption
    • canBeStabilized

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

      public void addExtraInventories(net.minecraft.world.entity.Entity cart)
      Overrides:
      addExtraInventories in class Contraption
    • makeLighter

      public ContraptionLighter<?> makeLighter()
      Overrides:
      makeLighter in class Contraption