Class MoveableIControlContraption

java.lang.Object
net.jcm.vsch.util.assemble.MoveableIControlContraption
All Implemented Interfaces:
IMoveable<List<com.simibubi.create.content.contraptions.AbstractContraptionEntity>>

public class MoveableIControlContraption extends Object implements IMoveable<List<com.simibubi.create.content.contraptions.AbstractContraptionEntity>>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    afterMove(net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos origin, net.minecraft.core.BlockPos target, List<com.simibubi.create.content.contraptions.AbstractContraptionEntity> data)
     
    List<com.simibubi.create.content.contraptions.AbstractContraptionEntity>
    beforeMove(net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos origin, net.minecraft.core.BlockPos target)
     
    static com.simibubi.create.content.contraptions.AbstractContraptionEntity
    moveContraptionEntity(net.minecraft.server.level.ServerLevel level, com.simibubi.create.content.contraptions.AbstractContraptionEntity entity, net.minecraft.core.Vec3i offset)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.jcm.vsch.util.assemble.IMoveable

    beforeSaveForMove
  • Field Details

  • Method Details

    • beforeMove

      public List<com.simibubi.create.content.contraptions.AbstractContraptionEntity> beforeMove(net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos origin, net.minecraft.core.BlockPos target)
      Specified by:
      beforeMove in interface IMoveable<List<com.simibubi.create.content.contraptions.AbstractContraptionEntity>>
    • afterMove

      public void afterMove(net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos origin, net.minecraft.core.BlockPos target, List<com.simibubi.create.content.contraptions.AbstractContraptionEntity> data)
      Specified by:
      afterMove in interface IMoveable<List<com.simibubi.create.content.contraptions.AbstractContraptionEntity>>
    • moveContraptionEntity

      public static com.simibubi.create.content.contraptions.AbstractContraptionEntity moveContraptionEntity(net.minecraft.server.level.ServerLevel level, com.simibubi.create.content.contraptions.AbstractContraptionEntity entity, net.minecraft.core.Vec3i offset)