Class SeatInteractionBehaviour
java.lang.Object
com.simibubi.create.api.behaviour.interaction.MovingInteractionBehaviour
com.simibubi.create.content.contraptions.actors.seat.SeatInteractionBehaviour
-
Field Summary
Fields inherited from class com.simibubi.create.api.behaviour.interaction.MovingInteractionBehaviour
REGISTRY -
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.api.behaviour.interaction.MovingInteractionBehaviour
interactionBehaviour, 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
-