Class SeatInteractionBehaviour
java.lang.Object
com.simibubi.create.content.contraptions.components.structureMovement.MovingInteractionBehaviour
com.simibubi.create.content.contraptions.components.actors.SeatInteractionBehaviour
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleEntityCollision(net.minecraft.world.entity.Entity entity, net.minecraft.core.BlockPos localPos, AbstractContraptionEntity contraptionEntity) booleanhandlePlayerInteraction(net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand activeHand, net.minecraft.core.BlockPos localPos, AbstractContraptionEntity contraptionEntity) Methods inherited from class com.simibubi.create.content.contraptions.components.structureMovement.MovingInteractionBehaviour
setContraptionActorData, setContraptionBlockData
-
Constructor Details
-
SeatInteractionBehaviour
public SeatInteractionBehaviour()
-
-
Method Details
-
handlePlayerInteraction
public boolean handlePlayerInteraction(net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand activeHand, net.minecraft.core.BlockPos localPos, AbstractContraptionEntity contraptionEntity) - Overrides:
handlePlayerInteractionin classMovingInteractionBehaviour
-
handleEntityCollision
public void handleEntityCollision(net.minecraft.world.entity.Entity entity, net.minecraft.core.BlockPos localPos, AbstractContraptionEntity contraptionEntity) - Overrides:
handleEntityCollisionin classMovingInteractionBehaviour
-