Uses of Interface
net.minecraft.util.ActionResult
Package
Description
Provides the cauldron behavior system,
which determines what happens when a player interacts with a cauldron.
Contains utility method classes, various enums, serialization helpers, and
miscellaneous classes.
-
Uses of ActionResult in net.minecraft.block
Modifier and TypeMethodDescriptionAbstractBlock.AbstractBlockState.onUse
(World world, PlayerEntity player, BlockHitResult hit) protected ActionResult
AbstractBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
AbstractFurnaceBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
AbstractSignBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
AnvilBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
BarrelBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
BeaconBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
BedBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
BellBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
BrewingStandBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
ButtonBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
CakeBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
CandleCakeBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
CartographyTableBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
CaveVinesBodyBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
CaveVinesHeadBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
ChestBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
ChiseledBookshelfBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
CommandBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
ComparatorBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
ComposterBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
CrafterBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
CraftingTableBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
DaylightDetectorBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
DecoratedPotBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
DispenserBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
DoorBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
DragonEggBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
EnchantingTableBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
EnderChestBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
FenceBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
FenceGateBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
FletchingTableBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
FlowerPotBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
GrindstoneBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
HopperBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
JigsawBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
JukeboxBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
LecternBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
LeverBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
LightBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
LoomBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
NoteBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
PistonExtensionBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
RedstoneWireBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
RepeaterBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
RespawnAnchorBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
ShulkerBoxBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
SmithingTableBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
StonecutterBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
StructureBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
SweetBerryBushBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
TrapdoorBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) AbstractBlock.AbstractBlockState.onUseWithItem
(ItemStack stack, World world, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
AbstractBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
AbstractCauldronBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
AbstractSignBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
BeehiveBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
CakeBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
CampfireBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
CandleBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
CandleCakeBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
ChiseledBookshelfBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
ComposterBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
DecoratedPotBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
FlowerPotBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
HangingSignBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
JukeboxBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
LecternBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
NoteBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
PumpkinBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
RedstoneOreBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
RespawnAnchorBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
SweetBerryBushBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
TntBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) VaultBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
WallHangingSignBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) static ActionResult
CaveVines.pickBerries
(@Nullable Entity picker, BlockState state, World world, BlockPos pos) protected static ActionResult
CakeBlock.tryEat
(WorldAccess world, BlockPos pos, BlockState state, PlayerEntity player) -
Uses of ActionResult in net.minecraft.block.cauldron
Modifier and TypeMethodDescriptionprivate static ActionResult
CauldronBehavior.cleanArmor
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack) private static ActionResult
CauldronBehavior.cleanBanner
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack) private static ActionResult
CauldronBehavior.cleanShulkerBox
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack) static ActionResult
CauldronBehavior.emptyCauldron
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack, ItemStack output, Predicate<BlockState> fullPredicate, SoundEvent soundEvent) Empties a cauldron if it's full.static ActionResult
CauldronBehavior.fillCauldron
(World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack, BlockState state, SoundEvent soundEvent) Fills a cauldron from a bucket stack.CauldronBehavior.interact
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack) Called when a player interacts with a cauldron.private static ActionResult
CauldronBehavior.tryFillWithLava
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack) private static ActionResult
CauldronBehavior.tryFillWithPowderSnow
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack) private static ActionResult
CauldronBehavior.tryFillWithWater
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack) -
Uses of ActionResult in net.minecraft.client.network
Modifier and TypeMethodDescriptionClientPlayerInteractionManager.interactBlock
(ClientPlayerEntity player, Hand hand, BlockHitResult hitResult) private ActionResult
ClientPlayerInteractionManager.interactBlockInternal
(ClientPlayerEntity player, Hand hand, BlockHitResult hitResult) ClientPlayerInteractionManager.interactEntity
(PlayerEntity player, Entity entity, Hand hand) ClientPlayerInteractionManager.interactEntityAtLocation
(PlayerEntity player, Entity entity, EntityHitResult hitResult, Hand hand) ClientPlayerInteractionManager.interactItem
(PlayerEntity player, Hand hand) -
Uses of ActionResult in net.minecraft.component.type
Modifier and TypeMethodDescriptionConsumableComponent.consume
(LivingEntity user, ItemStack stack, Hand hand) EquippableComponent.equip
(ItemStack stack, PlayerEntity player) static ActionResult
JukeboxPlayableComponent.tryPlayStack
(World world, BlockPos pos, ItemStack stack, PlayerEntity player) -
Uses of ActionResult in net.minecraft.entity
Modifier and TypeMethodDescriptionEntity.interact
(PlayerEntity player, Hand hand) Called when a player interacts with this entity.Entity.interactAt
(PlayerEntity player, Vec3d hitPos, Hand hand) Called when the player interacts with the entity at the specific position.Modifier and TypeMethodDescriptionstatic <T extends LivingEntity & Bucketable>
Optional<ActionResult> Bucketable.tryBucket
(PlayerEntity player, Hand hand, T entity) -
Uses of ActionResult in net.minecraft.entity.decoration
Modifier and TypeMethodDescriptionInteractionEntity.interact
(PlayerEntity player, Hand hand) Called when a player interacts with this entity.ItemFrameEntity.interact
(PlayerEntity player, Hand hand) Called when a player interacts with this entity.LeashKnotEntity.interact
(PlayerEntity player, Hand hand) Called when a player interacts with this entity.ArmorStandEntity.interactAt
(PlayerEntity player, Vec3d hitPos, Hand hand) Called when the player interacts with the entity at the specific position. -
Uses of ActionResult in net.minecraft.entity.mob
Modifier and TypeMethodDescriptionfinal ActionResult
MobEntity.interact
(PlayerEntity player, Hand hand) Called when a player interacts with this entity.protected ActionResult
BoggedEntity.interactMob
(PlayerEntity player, Hand hand) protected ActionResult
CreeperEntity.interactMob
(PlayerEntity player, Hand hand) HoglinEntity.interactMob
(PlayerEntity player, Hand hand) protected ActionResult
MobEntity.interactMob
(PlayerEntity player, Hand hand) PiglinEntity.interactMob
(PlayerEntity player, Hand hand) SkeletonHorseEntity.interactMob
(PlayerEntity player, Hand hand) ZombieHorseEntity.interactMob
(PlayerEntity player, Hand hand) ZombieVillagerEntity.interactMob
(PlayerEntity player, Hand hand) private ActionResult
MobEntity.interactWithItem
(PlayerEntity player, Hand hand) static ActionResult
PiglinBrain.playerInteract
(ServerWorld world, PiglinEntity piglin, PlayerEntity player, Hand hand) -
Uses of ActionResult in net.minecraft.entity.passive
Modifier and TypeMethodDescriptionAbstractHorseEntity.interactHorse
(PlayerEntity player, ItemStack stack) AbstractDonkeyEntity.interactMob
(PlayerEntity player, Hand hand) AbstractHorseEntity.interactMob
(PlayerEntity player, Hand hand) protected ActionResult
AllayEntity.interactMob
(PlayerEntity player, Hand hand) AnimalEntity.interactMob
(PlayerEntity player, Hand hand) ArmadilloEntity.interactMob
(PlayerEntity player, Hand hand) AxolotlEntity.interactMob
(PlayerEntity player, Hand hand) CamelEntity.interactMob
(PlayerEntity player, Hand hand) CatEntity.interactMob
(PlayerEntity player, Hand hand) CowEntity.interactMob
(PlayerEntity player, Hand hand) protected ActionResult
DolphinEntity.interactMob
(PlayerEntity player, Hand hand) protected ActionResult
FishEntity.interactMob
(PlayerEntity player, Hand hand) GoatEntity.interactMob
(PlayerEntity player, Hand hand) HorseEntity.interactMob
(PlayerEntity player, Hand hand) protected ActionResult
IronGolemEntity.interactMob
(PlayerEntity player, Hand hand) MooshroomEntity.interactMob
(PlayerEntity player, Hand hand) OcelotEntity.interactMob
(PlayerEntity player, Hand hand) PandaEntity.interactMob
(PlayerEntity player, Hand hand) ParrotEntity.interactMob
(PlayerEntity player, Hand hand) PigEntity.interactMob
(PlayerEntity player, Hand hand) SheepEntity.interactMob
(PlayerEntity player, Hand hand) SnifferEntity.interactMob
(PlayerEntity player, Hand hand) protected ActionResult
SnowGolemEntity.interactMob
(PlayerEntity player, Hand hand) StriderEntity.interactMob
(PlayerEntity player, Hand hand) TadpoleEntity.interactMob
(PlayerEntity player, Hand hand) VillagerEntity.interactMob
(PlayerEntity player, Hand hand) WanderingTraderEntity.interactMob
(PlayerEntity player, Hand hand) WolfEntity.interactMob
(PlayerEntity player, Hand hand) -
Uses of ActionResult in net.minecraft.entity.player
-
Uses of ActionResult in net.minecraft.entity.vehicle
Modifier and TypeMethodDescriptionAbstractBoatEntity.interact
(PlayerEntity player, Hand hand) Called when a player interacts with this entity.AbstractChestBoatEntity.interact
(PlayerEntity player, Hand hand) Called when a player interacts with this entity.ChestMinecartEntity.interact
(PlayerEntity player, Hand hand) Called when a player interacts with this entity.CommandBlockMinecartEntity.interact
(PlayerEntity player, Hand hand) Called when a player interacts with this entity.FurnaceMinecartEntity.interact
(PlayerEntity player, Hand hand) Called when a player interacts with this entity.MinecartEntity.interact
(PlayerEntity player, Hand hand) Called when a player interacts with this entity.StorageMinecartEntity.interact
(PlayerEntity player, Hand hand) Called when a player interacts with this entity.default ActionResult
VehicleInventory.open
(PlayerEntity player) -
Uses of ActionResult in net.minecraft.item
Modifier and TypeMethodDescriptionstatic ActionResult
LeadItem.attachHeldMobsToBlock
(PlayerEntity player, World world, BlockPos pos) static ActionResult
ItemUsage.consumeHeldItem
(World world, PlayerEntity player, Hand hand) Consumes the item thatplayer
holds.BlockItem.place
(ItemPlacementContext context) BoatItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.BowItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.BucketItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.BundleItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.CrossbowItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.EggItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.EmptyMapItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.EnderEyeItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.EnderPearlItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.ExperienceBottleItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.FireworkRocketItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.FishingRodItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.GlassBottleItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.GoatHornItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.Item.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.ItemStack.use
(World world, PlayerEntity user, Hand hand) KnowledgeBookItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.LingeringPotionItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.OnAStickItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.PlaceableOnWaterItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.ShieldItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.SnowballItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.SpawnEggItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.SplashPotionItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.SpyglassItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.ThrowablePotionItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.TridentItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.WindChargeItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.WritableBookItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.WrittenBookItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.ArmorStandItem.useOnBlock
(ItemUsageContext context) Called when an item is used on a block.AxeItem.useOnBlock
(ItemUsageContext context) Called when an item is used on a block.BlockItem.useOnBlock
(ItemUsageContext context) Called when an item is used on a block.BoneMealItem.useOnBlock
(ItemUsageContext context) Called when an item is used on a block.BrushItem.useOnBlock
(ItemUsageContext context) Called when an item is used on a block.CompassItem.useOnBlock
(ItemUsageContext context) Called when an item is used on a block.DebugStickItem.useOnBlock
(ItemUsageContext context) Called when an item is used on a block.DecorationItem.useOnBlock
(ItemUsageContext context) Called when an item is used on a block.EndCrystalItem.useOnBlock
(ItemUsageContext context) Called when an item is used on a block.EnderEyeItem.useOnBlock
(ItemUsageContext context) Called when an item is used on a block.FilledMapItem.useOnBlock
(ItemUsageContext context) Called when an item is used on a block.FireChargeItem.useOnBlock
(ItemUsageContext context) Called when an item is used on a block.FireworkRocketItem.useOnBlock
(ItemUsageContext context) Called when an item is used on a block.FlintAndSteelItem.useOnBlock
(ItemUsageContext context) Called when an item is used on a block.HoeItem.useOnBlock
(ItemUsageContext context) Called when an item is used on a block.HoneycombItem.useOnBlock
(ItemUsageContext context) Called when an item is used on a block.Item.useOnBlock
(ItemUsageContext context) Called when an item is used on a block.ItemStack.useOnBlock
(ItemUsageContext context) LeadItem.useOnBlock
(ItemUsageContext context) Called when an item is used on a block.MinecartItem.useOnBlock
(ItemUsageContext context) Called when an item is used on a block.PlaceableOnWaterItem.useOnBlock
(ItemUsageContext context) Called when an item is used on a block.PotionItem.useOnBlock
(ItemUsageContext context) Called when an item is used on a block.PowderSnowBucketItem.useOnBlock
(ItemUsageContext context) Called when an item is used on a block.ShearsItem.useOnBlock
(ItemUsageContext context) Called when an item is used on a block.ShovelItem.useOnBlock
(ItemUsageContext context) Called when an item is used on a block.SpawnEggItem.useOnBlock
(ItemUsageContext context) Called when an item is used on a block.DyeItem.useOnEntity
(ItemStack stack, PlayerEntity user, LivingEntity entity, Hand hand) Called on both the client and the server when a player uses the item on an entity.Item.useOnEntity
(ItemStack stack, PlayerEntity user, LivingEntity entity, Hand hand) Called on both the client and the server when a player uses the item on an entity.ItemStack.useOnEntity
(PlayerEntity user, LivingEntity entity, Hand hand) NameTagItem.useOnEntity
(ItemStack stack, PlayerEntity user, LivingEntity entity, Hand hand) Called on both the client and the server when a player uses the item on an entity.SaddleItem.useOnEntity
(ItemStack stack, PlayerEntity user, LivingEntity entity, Hand hand) Called on both the client and the server when a player uses the item on an entity. -
Uses of ActionResult in net.minecraft.server.network
Modifier and TypeMethodDescriptionDemoServerPlayerInteractionManager.interactBlock
(ServerPlayerEntity player, World world, ItemStack stack, Hand hand, BlockHitResult hitResult) ServerPlayerInteractionManager.interactBlock
(ServerPlayerEntity player, World world, ItemStack stack, Hand hand, BlockHitResult hitResult) DemoServerPlayerInteractionManager.interactItem
(ServerPlayerEntity player, World world, ItemStack stack, Hand hand) ServerPlayerInteractionManager.interactItem
(ServerPlayerEntity player, World world, ItemStack stack, Hand hand) ServerPlayNetworkHandler.Interaction.run
(ServerPlayerEntity player, Entity entity, Hand hand) -
Uses of ActionResult in net.minecraft.util
Modifier and TypeClassDescriptionstatic final record
static final record
static final record
static final record
-
Uses of ActionResult in net.minecraft.world