Package net.jcm.vsch.util.assemble
Class MoveableIControlContraption
java.lang.Object
net.jcm.vsch.util.assemble.MoveableIControlContraption
- All Implemented Interfaces:
IMoveable<List<com.simibubi.create.content.contraptions.AbstractContraptionEntity>>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidafterMove(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.AbstractContraptionEntitymoveContraptionEntity(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, waitMethods inherited from interface net.jcm.vsch.util.assemble.IMoveable
beforeSaveForMove
-
Field Details
-
INSTANCE
-
-
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:
beforeMovein interfaceIMoveable<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) -
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)
-