Modifier and Type | Field and Description |
---|---|
private Hand |
ClientPlayerEntity.activeHand |
Modifier and Type | Method and Description |
---|---|
Hand |
ClientPlayerEntity.getActiveHand() |
Modifier and Type | Method and Description |
---|---|
void |
ClientPlayerEntity.openBook(ItemStack stack,
Hand hand) |
void |
ClientPlayerEntity.setActiveHand(Hand hand) |
void |
ClientPlayerEntity.swingArm(Hand hand) |
Modifier and Type | Field and Description |
---|---|
private Hand |
EditBookScreen.hand |
Constructor and Description |
---|
EditBookScreen(PlayerEntity player,
ItemStack bookIn,
Hand handIn) |
Modifier and Type | Method and Description |
---|---|
ActionResultType |
PlayerController.func_217292_a(ClientPlayerEntity p_217292_1_,
ClientWorld p_217292_2_,
Hand p_217292_3_,
BlockRayTraceResult p_217292_4_) |
ActionResultType |
PlayerController.interactWithEntity(PlayerEntity player,
Entity target,
EntityRayTraceResult ray,
Hand hand) |
ActionResultType |
PlayerController.interactWithEntity(PlayerEntity player,
Entity target,
Hand hand) |
ActionResultType |
PlayerController.processRightClick(PlayerEntity player,
World worldIn,
Hand hand) |
Modifier and Type | Method and Description |
---|---|
private void |
FirstPersonRenderer.renderItemInFirstPerson(AbstractClientPlayerEntity player,
float partialTicks,
float pitch,
Hand handIn,
float swingProgress,
ItemStack stack,
float equippedProgress,
MatrixStack matrixStackIn,
IRenderTypeBuffer bufferIn,
int combinedLightIn) |
void |
FirstPersonRenderer.resetEquippedProgress(Hand hand) |
Modifier and Type | Method and Description |
---|---|
private BipedModel.ArmPose |
PlayerRenderer.getArmPose(AbstractClientPlayerEntity playerIn,
ItemStack itemStackMain,
ItemStack itemStackOff,
Hand handIn) |
Modifier and Type | Field and Description |
---|---|
Hand |
LivingEntity.swingingHand |
Modifier and Type | Method and Description |
---|---|
Hand |
LivingEntity.getActiveHand() |
Modifier and Type | Method and Description |
---|---|
ActionResultType |
Entity.applyPlayerInteraction(PlayerEntity player,
Vec3d vec,
Hand hand) |
ItemStack |
LivingEntity.getHeldItem(Hand hand) |
boolean |
MobEntity.processInitialInteract(PlayerEntity player,
Hand hand) |
boolean |
Entity.processInitialInteract(PlayerEntity player,
Hand hand) |
protected boolean |
MobEntity.processInteract(PlayerEntity player,
Hand hand) |
boolean |
AgeableEntity.processInteract(PlayerEntity player,
Hand hand) |
void |
LivingEntity.sendBreakAnimation(Hand p_213334_1_) |
void |
LivingEntity.setActiveHand(Hand hand) |
void |
LivingEntity.setHeldItem(Hand hand,
ItemStack stack) |
void |
LivingEntity.swing(Hand handIn,
boolean p_226292_2_) |
void |
LivingEntity.swingArm(Hand hand) |
Modifier and Type | Method and Description |
---|---|
ActionResultType |
ArmorStandEntity.applyPlayerInteraction(PlayerEntity player,
Vec3d vec,
Hand hand) |
private boolean |
ArmorStandEntity.func_226529_a_(PlayerEntity p_226529_1_,
EquipmentSlotType p_226529_2_,
ItemStack p_226529_3_,
Hand p_226529_4_) |
boolean |
BoatEntity.processInitialInteract(PlayerEntity player,
Hand hand) |
boolean |
ItemFrameEntity.processInitialInteract(PlayerEntity player,
Hand hand) |
boolean |
LeashKnotEntity.processInitialInteract(PlayerEntity player,
Hand hand) |
Modifier and Type | Method and Description |
---|---|
boolean |
FurnaceMinecartEntity.processInitialInteract(PlayerEntity player,
Hand hand) |
boolean |
ContainerMinecartEntity.processInitialInteract(PlayerEntity player,
Hand hand) |
boolean |
MinecartEntity.processInitialInteract(PlayerEntity player,
Hand hand) |
boolean |
MinecartCommandBlockEntity.processInitialInteract(PlayerEntity player,
Hand hand) |
Modifier and Type | Method and Description |
---|---|
boolean |
VillagerEntity.processInteract(PlayerEntity player,
Hand hand) |
boolean |
WanderingTraderEntity.processInteract(PlayerEntity player,
Hand hand) |
Modifier and Type | Method and Description |
---|---|
boolean |
ZombieEntity.processInteract(PlayerEntity player,
Hand hand) |
protected boolean |
CreeperEntity.processInteract(PlayerEntity player,
Hand hand) |
boolean |
ZombieVillagerEntity.processInteract(PlayerEntity player,
Hand hand) |
Modifier and Type | Method and Description |
---|---|
boolean |
WolfEntity.processInteract(PlayerEntity player,
Hand hand) |
boolean |
CatEntity.processInteract(PlayerEntity player,
Hand hand) |
boolean |
CowEntity.processInteract(PlayerEntity player,
Hand hand) |
boolean |
SheepEntity.processInteract(PlayerEntity player,
Hand hand) |
protected boolean |
DolphinEntity.processInteract(PlayerEntity player,
Hand hand) |
protected boolean |
IronGolemEntity.processInteract(PlayerEntity player,
Hand hand) |
boolean |
PandaEntity.processInteract(PlayerEntity player,
Hand hand) |
boolean |
MooshroomEntity.processInteract(PlayerEntity player,
Hand hand) |
boolean |
ParrotEntity.processInteract(PlayerEntity player,
Hand hand) |
protected boolean |
SnowGolemEntity.processInteract(PlayerEntity player,
Hand hand) |
boolean |
OcelotEntity.processInteract(PlayerEntity player,
Hand hand) |
boolean |
PigEntity.processInteract(PlayerEntity player,
Hand hand) |
boolean |
AnimalEntity.processInteract(PlayerEntity player,
Hand hand) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
AbstractFishEntity.processInteract(PlayerEntity player,
Hand hand) |
Modifier and Type | Method and Description |
---|---|
boolean |
SkeletonHorseEntity.processInteract(PlayerEntity player,
Hand hand) |
boolean |
HorseEntity.processInteract(PlayerEntity player,
Hand hand) |
boolean |
ZombieHorseEntity.processInteract(PlayerEntity player,
Hand hand) |
boolean |
AbstractChestedHorseEntity.processInteract(PlayerEntity player,
Hand hand) |
Modifier and Type | Method and Description |
---|---|
ActionResultType |
PlayerEntity.interactOn(Entity entityToInteractOn,
Hand hand) |
void |
PlayerEntity.openBook(ItemStack stack,
Hand hand) |
void |
ServerPlayerEntity.openBook(ItemStack stack,
Hand hand) |
void |
ServerPlayerEntity.swingArm(Hand hand) |
Modifier and Type | Method and Description |
---|---|
static Hand |
ProjectileHelper.getHandWith(LivingEntity living,
Item itemIn) |
Modifier and Type | Field and Description |
---|---|
protected Hand |
ItemUseContext.hand |
Modifier and Type | Method and Description |
---|---|
Hand |
ItemUseContext.getHand() |
Constructor and Description |
---|
BlockItemUseContext(World worldIn,
PlayerEntity playerIn,
Hand handIn,
ItemStack stackIn,
BlockRayTraceResult rayTraceResultIn) |
ItemUseContext(PlayerEntity player,
Hand handIn,
BlockRayTraceResult rayTraceResultIn) |
ItemUseContext(World worldIn,
PlayerEntity player,
Hand handIn,
ItemStack heldItem,
BlockRayTraceResult rayTraceResultIn) |
Modifier and Type | Field and Description |
---|---|
private Hand |
CEditBookPacket.hand |
private Hand |
CPlayerTryUseItemOnBlockPacket.hand |
private Hand |
CPlayerTryUseItemPacket.hand |
private Hand |
CUseEntityPacket.hand |
private Hand |
CAnimateHandPacket.hand |
Modifier and Type | Method and Description |
---|---|
Hand |
CEditBookPacket.getHand() |
Hand |
CPlayerTryUseItemOnBlockPacket.getHand() |
Hand |
CPlayerTryUseItemPacket.getHand() |
Hand |
CUseEntityPacket.getHand() |
Hand |
CAnimateHandPacket.getHand() |
Constructor and Description |
---|
CAnimateHandPacket(Hand handIn) |
CEditBookPacket(ItemStack stackIn,
boolean updateAllIn,
Hand handIn) |
CPlayerTryUseItemOnBlockPacket(Hand p_i50756_1_,
BlockRayTraceResult p_i50756_2_) |
CPlayerTryUseItemPacket(Hand handIn) |
CUseEntityPacket(Entity entityIn,
Hand handIn) |
CUseEntityPacket(Entity entityIn,
Hand handIn,
Vec3d hitVecIn) |
Modifier and Type | Field and Description |
---|---|
private Hand |
SOpenBookWindowPacket.hand |
Modifier and Type | Method and Description |
---|---|
Hand |
SOpenBookWindowPacket.getHand() |
Constructor and Description |
---|
SOpenBookWindowPacket(Hand hand) |
Modifier and Type | Method and Description |
---|---|
ActionResultType |
DemoPlayerInteractionManager.func_219441_a(PlayerEntity playerIn,
World worldIn,
ItemStack stackIn,
Hand handIn,
BlockRayTraceResult blockRaytraceResultIn) |
ActionResultType |
PlayerInteractionManager.func_219441_a(PlayerEntity playerIn,
World worldIn,
ItemStack stackIn,
Hand handIn,
BlockRayTraceResult blockRaytraceResultIn) |
ActionResultType |
DemoPlayerInteractionManager.processRightClick(PlayerEntity player,
World worldIn,
ItemStack stack,
Hand hand) |
ActionResultType |
PlayerInteractionManager.processRightClick(PlayerEntity player,
World worldIn,
ItemStack stack,
Hand hand) |
Modifier and Type | Method and Description |
---|---|
static Hand |
Hand.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Hand[] |
Hand.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static InputEvent.ClickInputEvent |
ForgeHooksClient.onClickInput(int button,
KeyBinding keyBinding,
Hand hand) |
static boolean |
ForgeHooksClient.renderSpecificFirstPersonHand(Hand hand,
MatrixStack mat,
IRenderTypeBuffer buffers,
int light,
float partialTicks,
float interpPitch,
float swingProgress,
float equipProgress,
ItemStack stack) |
Modifier and Type | Field and Description |
---|---|
private Hand |
InputEvent.ClickInputEvent.hand |
private Hand |
RenderHandEvent.hand |
Modifier and Type | Method and Description |
---|---|
Hand |
InputEvent.ClickInputEvent.getHand()
The hand which is causing the event to get triggered.
|
Hand |
RenderHandEvent.getHand() |
Constructor and Description |
---|
ClickInputEvent(int button,
KeyBinding keyBinding,
Hand hand) |
RenderHandEvent(Hand hand,
MatrixStack mat,
IRenderTypeBuffer buffers,
int light,
float partialTicks,
float interpolatedPitch,
float swingProgress,
float equipProgress,
ItemStack stack) |
Modifier and Type | Method and Description |
---|---|
static void |
ForgeHooks.onEmptyClick(PlayerEntity player,
Hand hand) |
static ActionResultType |
ForgeHooks.onInteractEntity(PlayerEntity player,
Entity entity,
Hand hand) |
static ActionResultType |
ForgeHooks.onInteractEntityAt(PlayerEntity player,
Entity entity,
RayTraceResult ray,
Hand hand) |
static ActionResultType |
ForgeHooks.onInteractEntityAt(PlayerEntity player,
Entity entity,
Vec3d vec3d,
Hand hand) |
static ActionResultType |
ForgeHooks.onItemRightClick(PlayerEntity player,
Hand hand) |
static PlayerInteractEvent.RightClickBlock |
ForgeHooks.onRightClickBlock(PlayerEntity player,
Hand hand,
BlockPos pos,
Direction face) |
Modifier and Type | Method and Description |
---|---|
default BlockState |
IForgeBlock.getStateForPlacement(BlockState state,
Direction facing,
BlockState state2,
IWorld world,
BlockPos pos1,
BlockPos pos2,
Hand hand)
//TODO: Re-Evaluate
Gets the
IBlockState to place |
default BlockState |
IForgeBlockState.getStateForPlacement(Direction facing,
BlockState state2,
IWorld world,
BlockPos pos1,
BlockPos pos2,
Hand hand)
//TODO: Re-Evaluate
Gets the
IBlockState to place |
Modifier and Type | Method and Description |
---|---|
static ActionResult<ItemStack> |
ForgeEventFactory.onArrowNock(ItemStack item,
World world,
PlayerEntity player,
Hand hand,
boolean hasAmmo) |
static void |
ForgeEventFactory.onPlayerDestroyItem(PlayerEntity player,
ItemStack stack,
Hand hand) |
Modifier and Type | Field and Description |
---|---|
private Hand |
PlayerInteractEvent.hand |
private Hand |
ArrowNockEvent.hand |
private Hand |
PlayerDestroyItemEvent.hand |
Modifier and Type | Method and Description |
---|---|
Hand |
PlayerInteractEvent.getHand() |
Hand |
ArrowNockEvent.getHand() |
Hand |
PlayerDestroyItemEvent.getHand() |
Constructor and Description |
---|
ArrowNockEvent(PlayerEntity player,
ItemStack item,
Hand hand,
World world,
boolean hasAmmo) |
EntityInteract(PlayerEntity player,
Hand hand,
Entity target) |
EntityInteractSpecific(PlayerEntity player,
Hand hand,
Entity target,
Vec3d localPos) |
PlayerDestroyItemEvent(PlayerEntity player,
ItemStack original,
Hand hand) |
PlayerInteractEvent(PlayerEntity player,
Hand hand,
BlockPos pos,
Direction face) |
RightClickBlock(PlayerEntity player,
Hand hand,
BlockPos pos,
Direction face) |
RightClickEmpty(PlayerEntity player,
Hand hand) |
RightClickItem(PlayerEntity player,
Hand hand) |
Modifier and Type | Method and Description |
---|---|
static boolean |
FluidUtil.interactWithFluidHandler(PlayerEntity player,
Hand hand,
IFluidHandler handler)
Used to handle the common case of a player holding a fluid item and right-clicking on a fluid handler.
|
static boolean |
FluidUtil.interactWithFluidHandler(PlayerEntity player,
Hand hand,
World world,
BlockPos pos,
Direction side)
Used to handle the common case of a player holding a fluid item and right-clicking on a fluid handler block.
|
static boolean |
FluidUtil.tryPlaceFluid(PlayerEntity player,
World world,
Hand hand,
BlockPos pos,
IFluidHandler fluidSource,
FluidStack resource)
Tries to place a fluid resource into the world as a block and drains the fluidSource.
|
static FluidActionResult |
FluidUtil.tryPlaceFluid(PlayerEntity player,
World world,
Hand hand,
BlockPos pos,
ItemStack container,
FluidStack resource)
ItemStack version of
#tryPlaceFluid(PlayerEntity, World, BlockPos, IFluidHandler, FluidStack) . |