java.lang.Object
com.simibubi.create.content.contraptions.components.structureMovement.MovingInteractionBehaviour
Direct Known Subclasses:
DeployerMovingInteraction, SimpleBlockMovingInteraction

public abstract class MovingInteractionBehaviour extends Object
  • 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

      protected void invalidate(Contraption contraption)
    • handlePlayerInteraction

      public boolean handlePlayerInteraction(net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand activeHand, net.minecraft.core.BlockPos localPos, AbstractContraptionEntity contraptionEntity)