Class MovingInteractionBehaviour
java.lang.Object
com.simibubi.create.content.contraptions.components.structureMovement.MovingInteractionBehaviour
- Direct Known Subclasses:
DeployerMovingInteraction,SimpleBlockMovingInteraction
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanhandlePlayerInteraction(net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand activeHand, net.minecraft.core.BlockPos localPos, AbstractContraptionEntity contraptionEntity) protected voidinvalidate(Contraption contraption) protected voidsetContraptionActorData(AbstractContraptionEntity contraptionEntity, int index, net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate.StructureBlockInfo info, MovementContext ctx) protected voidsetContraptionBlockData(AbstractContraptionEntity contraptionEntity, net.minecraft.core.BlockPos pos, net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate.StructureBlockInfo info)
-
Constructor Details
-
MovingInteractionBehaviour
public MovingInteractionBehaviour()
-
-
Method Details
-
setContraptionActorData
protected void setContraptionActorData(AbstractContraptionEntity contraptionEntity, int index, net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate.StructureBlockInfo info, MovementContext ctx) -
setContraptionBlockData
protected void setContraptionBlockData(AbstractContraptionEntity contraptionEntity, net.minecraft.core.BlockPos pos, net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate.StructureBlockInfo info) -
invalidate
-
handlePlayerInteraction
public boolean handlePlayerInteraction(net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand activeHand, net.minecraft.core.BlockPos localPos, AbstractContraptionEntity contraptionEntity)
-