Interface IWrenchableWithBracket
- All Superinterfaces:
IWrenchable
- All Known Implementing Classes:
AbstractShaftBlock,AxisPipeBlock,CogWheelBlock,FluidPipeBlock,GlassFluidPipeBlock,ShaftBlock
-
Method Summary
Modifier and TypeMethodDescriptiondefault net.minecraft.world.InteractionResultonWrenched(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.item.context.UseOnContext context) Optional<net.minecraft.world.item.ItemStack>removeBracket(net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos, boolean inOnReplacedContext) default booleantryRemoveBracket(net.minecraft.world.item.context.UseOnContext context) Methods inherited from interface com.simibubi.create.content.contraptions.wrench.IWrenchable
getRotatedBlockState, onSneakWrenched, playRemoveSound, playRotateSound, updateAfterWrenched
-
Method Details
-
removeBracket
Optional<net.minecraft.world.item.ItemStack> removeBracket(net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos, boolean inOnReplacedContext) -
onWrenched
default net.minecraft.world.InteractionResult onWrenched(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.item.context.UseOnContext context) - Specified by:
onWrenchedin interfaceIWrenchable
-
tryRemoveBracket
default boolean tryRemoveBracket(net.minecraft.world.item.context.UseOnContext context)
-