Class BeltWrenchBehaviour
java.lang.Object
me.desht.pneumaticcraft.common.thirdparty.create.BeltWrenchBehaviour
- All Implemented Interfaces:
BiFunction<net.minecraft.world.item.context.UseOnContext,net.minecraft.world.level.block.state.BlockState, net.minecraft.world.InteractionResult>
public class BeltWrenchBehaviour
extends Object
implements BiFunction<net.minecraft.world.item.context.UseOnContext,net.minecraft.world.level.block.state.BlockState,net.minecraft.world.InteractionResult>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.InteractionResultapply(net.minecraft.world.item.context.UseOnContext ctx, net.minecraft.world.level.block.state.BlockState state) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiFunction
andThen
-
Constructor Details
-
BeltWrenchBehaviour
public BeltWrenchBehaviour()
-
-
Method Details
-
apply
public net.minecraft.world.InteractionResult apply(net.minecraft.world.item.context.UseOnContext ctx, net.minecraft.world.level.block.state.BlockState state) - Specified by:
applyin interfaceBiFunction<net.minecraft.world.item.context.UseOnContext,net.minecraft.world.level.block.state.BlockState, net.minecraft.world.InteractionResult>
-