java.lang.Object
com.simibubi.create.content.contraptions.components.structureMovement.MovingInteractionBehaviour
Direct Known Subclasses:
BlazeBurnerInteractionBehaviour, ControlsInteractionBehaviour, DeployerMovingInteraction, SeatInteractionBehaviour, 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)
    • handlePlayerInteraction

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

      public void handleEntityCollision(net.minecraft.world.entity.Entity entity, net.minecraft.core.BlockPos localPos, AbstractContraptionEntity contraptionEntity)