Package com.beansgalaxy.backpacks.events
Class UseKeyEvent
java.lang.Object
com.beansgalaxy.backpacks.events.UseKeyEvent
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancauldronPickup(net.minecraft.world.entity.player.Player player) static booleancauldronPickup(net.minecraft.world.entity.player.Player player, net.minecraft.core.BlockPos blockPos, net.minecraft.world.level.Level level, BackData backData) static booleancauldronPickup(net.minecraft.world.phys.BlockHitResult blockHitResult, net.minecraft.world.entity.player.Player player) static booleancauldronPlace(net.minecraft.world.entity.player.Player player, net.minecraft.world.phys.BlockHitResult blockHitResult) static booleancauldronPlace(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos blockPos, net.minecraft.world.level.block.state.BlockState blockState, BackData backData) protected static net.minecraft.world.phys.BlockHitResultgetPlayerPOVHitResult(net.minecraft.world.level.Level level, net.minecraft.world.entity.player.Player player, net.minecraft.world.level.ClipContext.Fluid fluid) protected static voidplayEmptySound(net.minecraft.world.entity.player.Player $$0, net.minecraft.world.level.LevelAccessor $$1, net.minecraft.core.BlockPos $$2, net.minecraft.world.item.Item bucket) static booleanpotCauldronEquip(net.minecraft.core.BlockPos blockPos, net.minecraft.world.level.Level level, BackData backData) static booleantryUseCauldron(net.minecraft.client.player.LocalPlayer player, net.minecraft.world.phys.HitResult hitResult)
-
Constructor Details
-
UseKeyEvent
public UseKeyEvent()
-
-
Method Details
-
tryUseCauldron
public static boolean tryUseCauldron(net.minecraft.client.player.LocalPlayer player, net.minecraft.world.phys.HitResult hitResult) -
cauldronPickup
public static boolean cauldronPickup(net.minecraft.world.entity.player.Player player) -
cauldronPickup
public static boolean cauldronPickup(net.minecraft.world.phys.BlockHitResult blockHitResult, net.minecraft.world.entity.player.Player player) -
potCauldronEquip
public static boolean potCauldronEquip(net.minecraft.core.BlockPos blockPos, net.minecraft.world.level.Level level, BackData backData) -
cauldronPickup
public static boolean cauldronPickup(net.minecraft.world.entity.player.Player player, net.minecraft.core.BlockPos blockPos, net.minecraft.world.level.Level level, BackData backData) -
getPlayerPOVHitResult
protected static net.minecraft.world.phys.BlockHitResult getPlayerPOVHitResult(net.minecraft.world.level.Level level, net.minecraft.world.entity.player.Player player, net.minecraft.world.level.ClipContext.Fluid fluid) -
cauldronPlace
public static boolean cauldronPlace(net.minecraft.world.entity.player.Player player, net.minecraft.world.phys.BlockHitResult blockHitResult) -
cauldronPlace
public static boolean cauldronPlace(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos blockPos, net.minecraft.world.level.block.state.BlockState blockState, BackData backData) -
playEmptySound
protected static void playEmptySound(@Nullable net.minecraft.world.entity.player.Player $$0, net.minecraft.world.level.LevelAccessor $$1, net.minecraft.core.BlockPos $$2, net.minecraft.world.item.Item bucket)
-