Class DoorMovingInteraction
java.lang.Object
com.simibubi.create.api.behaviour.interaction.MovingInteractionBehaviour
com.simibubi.create.content.contraptions.behaviour.SimpleBlockMovingInteraction
com.simibubi.create.content.contraptions.behaviour.DoorMovingInteraction
-
Field Summary
Fields inherited from class com.simibubi.create.api.behaviour.interaction.MovingInteractionBehaviour
REGISTRY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected net.minecraft.world.level.block.state.BlockStatehandle(net.minecraft.world.entity.player.Player player, Contraption contraption, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState currentState) protected booleanMethods inherited from class com.simibubi.create.content.contraptions.behaviour.SimpleBlockMovingInteraction
handlePlayerInteraction, playSoundMethods inherited from class com.simibubi.create.api.behaviour.interaction.MovingInteractionBehaviour
handleEntityCollision, interactionBehaviour, setContraptionActorData, setContraptionBlockData
-
Constructor Details
-
DoorMovingInteraction
public DoorMovingInteraction()
-
-
Method Details
-
handle
protected net.minecraft.world.level.block.state.BlockState handle(net.minecraft.world.entity.player.Player player, Contraption contraption, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState currentState) - Specified by:
handlein classSimpleBlockMovingInteraction
-
updateColliders
protected boolean updateColliders()- Overrides:
updateCollidersin classSimpleBlockMovingInteraction
-