Class LeverMovingInteraction
java.lang.Object
com.simibubi.create.content.contraptions.components.structureMovement.MovingInteractionBehaviour
com.simibubi.create.content.contraptions.components.structureMovement.interaction.SimpleBlockMovingInteraction
com.simibubi.create.content.contraptions.components.structureMovement.interaction.LeverMovingInteraction
-
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) Methods inherited from class com.simibubi.create.content.contraptions.components.structureMovement.interaction.SimpleBlockMovingInteraction
handlePlayerInteraction, playSound, updateCollidersMethods inherited from class com.simibubi.create.content.contraptions.components.structureMovement.MovingInteractionBehaviour
invalidate, setContraptionActorData, setContraptionBlockData
-
Constructor Details
-
LeverMovingInteraction
public LeverMovingInteraction()
-
-
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
-