Uses of Enum Class
net.minecraft.util.ActionResultType
Package
Description
-
Uses of ActionResultType in net.minecraft.block
Modifier and TypeMethodDescriptionprivate ActionResultType
CakeBlock.eat
(IWorld p_226911_1_, BlockPos p_226911_2_, BlockState p_226911_3_, PlayerEntity p_226911_4_) AbstractBlock.AbstractBlockState.use
(World p_227031_1_, PlayerEntity p_227031_2_, Hand p_227031_3_, BlockRayTraceResult p_227031_4_) AbstractBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) Deprecated.AbstractButtonBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) AbstractFurnaceBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) AbstractSignBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) AnvilBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) BarrelBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) BeaconBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) BedBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) BeehiveBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) BellBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) BrewingStandBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) CakeBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) CampfireBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) CartographyTableBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) CauldronBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) ChestBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) CommandBlockBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) ComparatorBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) ComposterBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) CraftingTableBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) DaylightDetectorBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) DispenserBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) DoorBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) DragonEggBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) EnchantingTableBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) EnderChestBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) FenceBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) FenceGateBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) FletchingTableBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) FlowerPotBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) GrindstoneBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) HopperBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) JigsawBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) JukeboxBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) LecternBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) LeverBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) LoomBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) MovingPistonBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) NoteBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) PumpkinBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) RedstoneOreBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) RedstoneWireBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) RepeaterBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) RespawnAnchorBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) ShulkerBoxBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) SmithingTableBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) StairsBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) StonecutterBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) StructureBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) SweetBerryBushBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) TNTBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) TrapDoorBlock.use
(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) -
Uses of ActionResultType in net.minecraft.client.multiplayer
Modifier and TypeMethodDescriptionPlayerController.interact
(PlayerEntity p_187097_1_, Entity p_187097_2_, Hand p_187097_3_) PlayerController.interactAt
(PlayerEntity p_187102_1_, Entity p_187102_2_, EntityRayTraceResult p_187102_3_, Hand p_187102_4_) PlayerController.useItem
(PlayerEntity p_187101_1_, World p_187101_2_, Hand p_187101_3_) PlayerController.useItemOn
(ClientPlayerEntity p_217292_1_, ClientWorld p_217292_2_, Hand p_217292_3_, BlockRayTraceResult p_217292_4_) -
Uses of ActionResultType in net.minecraft.entity
Modifier and TypeMethodDescriptionprivate ActionResultType
MobEntity.checkAndHandleImportantInteractions
(PlayerEntity p_233661_1_, Hand p_233661_2_) Entity.interact
(PlayerEntity p_184230_1_, Hand p_184230_2_) final ActionResultType
MobEntity.interact
(PlayerEntity p_184230_1_, Hand p_184230_2_) Entity.interactAt
(PlayerEntity p_184199_1_, Vector3d p_184199_2_, Hand p_184199_3_) protected ActionResultType
MobEntity.mobInteract
(PlayerEntity p_230254_1_, Hand p_230254_2_) -
Uses of ActionResultType in net.minecraft.entity.item
Modifier and TypeMethodDescriptionBoatEntity.interact
(PlayerEntity p_184230_1_, Hand p_184230_2_) ItemFrameEntity.interact
(PlayerEntity p_184230_1_, Hand p_184230_2_) LeashKnotEntity.interact
(PlayerEntity p_184230_1_, Hand p_184230_2_) ArmorStandEntity.interactAt
(PlayerEntity p_184199_1_, Vector3d p_184199_2_, Hand p_184199_3_) -
Uses of ActionResultType in net.minecraft.entity.item.minecart
Modifier and TypeMethodDescriptionCommandBlockMinecartEntity.interact
(PlayerEntity p_184230_1_, Hand p_184230_2_) ContainerMinecartEntity.interact
(PlayerEntity p_184230_1_, Hand p_184230_2_) FurnaceMinecartEntity.interact
(PlayerEntity p_184230_1_, Hand p_184230_2_) MinecartEntity.interact
(PlayerEntity p_184230_1_, Hand p_184230_2_) -
Uses of ActionResultType in net.minecraft.entity.merchant.villager
Modifier and TypeMethodDescriptionVillagerEntity.mobInteract
(PlayerEntity p_230254_1_, Hand p_230254_2_) WanderingTraderEntity.mobInteract
(PlayerEntity p_230254_1_, Hand p_230254_2_) -
Uses of ActionResultType in net.minecraft.entity.monster
Modifier and TypeMethodDescriptionprotected ActionResultType
CreeperEntity.mobInteract
(PlayerEntity p_230254_1_, Hand p_230254_2_) HoglinEntity.mobInteract
(PlayerEntity p_230254_1_, Hand p_230254_2_) ZombieVillagerEntity.mobInteract
(PlayerEntity p_230254_1_, Hand p_230254_2_) -
Uses of ActionResultType in net.minecraft.entity.monster.piglin
Modifier and TypeMethodDescriptionPiglinEntity.mobInteract
(PlayerEntity p_230254_1_, Hand p_230254_2_) static ActionResultType
PiglinTasks.mobInteract
(PiglinEntity p_234471_0_, PlayerEntity p_234471_1_, Hand p_234471_2_) -
Uses of ActionResultType in net.minecraft.entity.passive
Modifier and TypeMethodDescriptionAnimalEntity.mobInteract
(PlayerEntity p_230254_1_, Hand p_230254_2_) CatEntity.mobInteract
(PlayerEntity p_230254_1_, Hand p_230254_2_) CowEntity.mobInteract
(PlayerEntity p_230254_1_, Hand p_230254_2_) protected ActionResultType
DolphinEntity.mobInteract
(PlayerEntity p_230254_1_, Hand p_230254_2_) protected ActionResultType
IronGolemEntity.mobInteract
(PlayerEntity p_230254_1_, Hand p_230254_2_) MooshroomEntity.mobInteract
(PlayerEntity p_230254_1_, Hand p_230254_2_) OcelotEntity.mobInteract
(PlayerEntity p_230254_1_, Hand p_230254_2_) PandaEntity.mobInteract
(PlayerEntity p_230254_1_, Hand p_230254_2_) ParrotEntity.mobInteract
(PlayerEntity p_230254_1_, Hand p_230254_2_) PigEntity.mobInteract
(PlayerEntity p_230254_1_, Hand p_230254_2_) SheepEntity.mobInteract
(PlayerEntity p_230254_1_, Hand p_230254_2_) protected ActionResultType
SnowGolemEntity.mobInteract
(PlayerEntity p_230254_1_, Hand p_230254_2_) StriderEntity.mobInteract
(PlayerEntity p_230254_1_, Hand p_230254_2_) WolfEntity.mobInteract
(PlayerEntity p_230254_1_, Hand p_230254_2_) -
Uses of ActionResultType in net.minecraft.entity.passive.fish
Modifier and TypeMethodDescriptionprotected ActionResultType
AbstractFishEntity.mobInteract
(PlayerEntity p_230254_1_, Hand p_230254_2_) -
Uses of ActionResultType in net.minecraft.entity.passive.horse
Modifier and TypeMethodDescriptionAbstractHorseEntity.fedFood
(PlayerEntity p_241395_1_, ItemStack p_241395_2_) AbstractChestedHorseEntity.mobInteract
(PlayerEntity p_230254_1_, Hand p_230254_2_) HorseEntity.mobInteract
(PlayerEntity p_230254_1_, Hand p_230254_2_) SkeletonHorseEntity.mobInteract
(PlayerEntity p_230254_1_, Hand p_230254_2_) ZombieHorseEntity.mobInteract
(PlayerEntity p_230254_1_, Hand p_230254_2_) -
Uses of ActionResultType in net.minecraft.entity.player
-
Uses of ActionResultType in net.minecraft.item
Modifier and TypeMethodDescriptionstatic ActionResultType
LeadItem.bindPlayerMobs
(PlayerEntity p_226641_0_, World p_226641_1_, BlockPos p_226641_2_) DyeItem.interactLivingEntity
(ItemStack p_111207_1_, PlayerEntity p_111207_2_, LivingEntity p_111207_3_, Hand p_111207_4_) Item.interactLivingEntity
(ItemStack p_111207_1_, PlayerEntity p_111207_2_, LivingEntity p_111207_3_, Hand p_111207_4_) ItemStack.interactLivingEntity
(PlayerEntity p_111282_1_, LivingEntity p_111282_2_, Hand p_111282_3_) NameTagItem.interactLivingEntity
(ItemStack p_111207_1_, PlayerEntity p_111207_2_, LivingEntity p_111207_3_, Hand p_111207_4_) SaddleItem.interactLivingEntity
(ItemStack p_111207_1_, PlayerEntity p_111207_2_, LivingEntity p_111207_3_, Hand p_111207_4_) ShearsItem.interactLivingEntity
(ItemStack stack, PlayerEntity playerIn, LivingEntity entity, Hand hand) private ActionResultType
ItemStack.onItemUse
(ItemUseContext p_196084_1_, Function<ItemUseContext, ActionResultType> callback) ItemStack.onItemUseFirst
(ItemUseContext p_196084_1_) BlockItem.place
(BlockItemUseContext p_195942_1_) ArmorStandItem.useOn
(ItemUseContext p_195939_1_) AxeItem.useOn
(ItemUseContext p_195939_1_) BlockItem.useOn
(ItemUseContext p_195939_1_) BoneMealItem.useOn
(ItemUseContext p_195939_1_) CompassItem.useOn
(ItemUseContext p_195939_1_) DebugStickItem.useOn
(ItemUseContext p_195939_1_) EnderCrystalItem.useOn
(ItemUseContext p_195939_1_) EnderEyeItem.useOn
(ItemUseContext p_195939_1_) FilledMapItem.useOn
(ItemUseContext p_195939_1_) FireChargeItem.useOn
(ItemUseContext p_195939_1_) FireworkRocketItem.useOn
(ItemUseContext p_195939_1_) FlintAndSteelItem.useOn
(ItemUseContext p_195939_1_) HangingEntityItem.useOn
(ItemUseContext p_195939_1_) HoeItem.useOn
(ItemUseContext p_195939_1_) Item.useOn
(ItemUseContext p_195939_1_) ItemStack.useOn
(ItemUseContext p_196084_1_) LeadItem.useOn
(ItemUseContext p_195939_1_) LilyPadItem.useOn
(ItemUseContext p_195939_1_) MinecartItem.useOn
(ItemUseContext p_195939_1_) MusicDiscItem.useOn
(ItemUseContext p_195939_1_) ShovelItem.useOn
(ItemUseContext p_195939_1_) SpawnEggItem.useOn
(ItemUseContext p_195939_1_) WritableBookItem.useOn
(ItemUseContext p_195939_1_) WrittenBookItem.useOn
(ItemUseContext p_195939_1_) Modifier and TypeMethodDescriptionprivate ActionResultType
ItemStack.onItemUse
(ItemUseContext p_196084_1_, Function<ItemUseContext, ActionResultType> callback) -
Uses of ActionResultType in net.minecraft.server.management
Modifier and TypeMethodDescriptionDemoPlayerInteractionManager.useItem
(ServerPlayerEntity p_187250_1_, World p_187250_2_, ItemStack p_187250_3_, Hand p_187250_4_) PlayerInteractionManager.useItem
(ServerPlayerEntity p_187250_1_, World p_187250_2_, ItemStack p_187250_3_, Hand p_187250_4_) DemoPlayerInteractionManager.useItemOn
(ServerPlayerEntity p_219441_1_, World p_219441_2_, ItemStack p_219441_3_, Hand p_219441_4_, BlockRayTraceResult p_219441_5_) PlayerInteractionManager.useItemOn
(ServerPlayerEntity p_219441_1_, World p_219441_2_, ItemStack p_219441_3_, Hand p_219441_4_, BlockRayTraceResult p_219441_5_) -
Uses of ActionResultType in net.minecraft.tileentity
-
Uses of ActionResultType in net.minecraft.util
Modifier and TypeMethodDescriptionActionResult.getResult()
static ActionResultType
ActionResultType.sidedSuccess
(boolean p_233537_0_) static ActionResultType
Returns the enum constant of this class with the specified name.static ActionResultType[]
ActionResultType.values()
Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of ActionResultType in net.minecraftforge.common
Modifier and TypeMethodDescriptionstatic 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, Vector3d vec3d, Hand hand) static ActionResultType
ForgeHooks.onItemRightClick
(PlayerEntity player, Hand hand) static ActionResultType
ForgeHooks.onPlaceItemIntoWorld
(ItemUseContext context) -
Uses of ActionResultType in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptiondefault ActionResultType
IForgeItem.onItemUseFirst
(ItemStack stack, ItemUseContext context) This is called when the item is used, before the block is activated.default ActionResultType
IForgeItemStack.onItemUseFirst
(ItemUseContext context) -
Uses of ActionResultType in net.minecraftforge.debug.block
Modifier and TypeMethodDescriptionCustomRespawnTest.CustomRespawnBlock.use
(BlockState p_225533_1_, World world, BlockPos pos, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_) FullPotsAccessorDemo.DioriteFlowerPotBlock.use
(BlockState state, World level, BlockPos pos, PlayerEntity player, Hand hand, BlockRayTraceResult hit) -
Uses of ActionResultType in net.minecraftforge.event.entity.player
Modifier and TypeMethodDescriptionvoid
PlayerInteractEvent.setCancellationResult
(ActionResultType result) Set the EnumActionResult that will be returned to vanilla if the event is cancelled, instead of calling the relevant method of the event.