Package baritone.api.utils
Interface IPlayerController
public interface IPlayerController
- Since:
- 12/14/2018
- Author:
- Brady
-
Method Summary
Modifier and TypeMethodDescriptionbooleanclickBlock(net.minecraft.core.BlockPos loc, net.minecraft.core.Direction face) default doublenet.minecraft.world.level.GameTypebooleanbooleanonPlayerDamageBlock(net.minecraft.core.BlockPos pos, net.minecraft.core.Direction side) net.minecraft.world.InteractionResultprocessRightClick(net.minecraft.client.player.LocalPlayer player, net.minecraft.world.level.Level world, net.minecraft.world.InteractionHand hand) net.minecraft.world.InteractionResultprocessRightClickBlock(net.minecraft.client.player.LocalPlayer player, net.minecraft.world.level.Level world, net.minecraft.world.InteractionHand hand, net.minecraft.world.phys.BlockHitResult result) voidvoidsetHittingBlock(boolean hittingBlock) voidvoidwindowClick(int windowId, int slotId, int mouseButton, net.minecraft.world.inventory.ClickType type, net.minecraft.world.entity.player.Player player)
-
Method Details
-
syncHeldItem
void syncHeldItem() -
hasBrokenBlock
boolean hasBrokenBlock() -
onPlayerDamageBlock
-
resetBlockRemoving
void resetBlockRemoving() -
windowClick
void windowClick(int windowId, int slotId, int mouseButton, net.minecraft.world.inventory.ClickType type, net.minecraft.world.entity.player.Player player) -
getGameType
net.minecraft.world.level.GameType getGameType() -
processRightClickBlock
net.minecraft.world.InteractionResult processRightClickBlock(net.minecraft.client.player.LocalPlayer player, net.minecraft.world.level.Level world, net.minecraft.world.InteractionHand hand, net.minecraft.world.phys.BlockHitResult result) -
processRightClick
net.minecraft.world.InteractionResult processRightClick(net.minecraft.client.player.LocalPlayer player, net.minecraft.world.level.Level world, net.minecraft.world.InteractionHand hand) -
clickBlock
-
setHittingBlock
-
getBlockReachDistance
-