Uses of Class
net.minecraft.util.ActionResultType
-
-
Uses of ActionResultType in net.minecraft.block
Methods in net.minecraft.block that return ActionResultType Modifier and Type Method Description private ActionResultType
CakeBlock. eat(IWorld p_226911_1_, BlockPos p_226911_2_, BlockState p_226911_3_, PlayerEntity p_226911_4_)
ActionResultType
AbstractBlock.AbstractBlockState. use(World p_227031_1_, PlayerEntity p_227031_2_, Hand p_227031_3_, BlockRayTraceResult p_227031_4_)
ActionResultType
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.ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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_)
ActionResultType
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
Methods in net.minecraft.client.multiplayer that return ActionResultType Modifier and Type Method Description ActionResultType
PlayerController. interact(PlayerEntity p_187097_1_, Entity p_187097_2_, Hand p_187097_3_)
ActionResultType
PlayerController. interactAt(PlayerEntity p_187102_1_, Entity p_187102_2_, EntityRayTraceResult p_187102_3_, Hand p_187102_4_)
ActionResultType
PlayerController. useItem(PlayerEntity p_187101_1_, World p_187101_2_, Hand p_187101_3_)
ActionResultType
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
Methods in net.minecraft.entity that return ActionResultType Modifier and Type Method Description private ActionResultType
MobEntity. checkAndHandleImportantInteractions(PlayerEntity p_233661_1_, Hand p_233661_2_)
ActionResultType
Entity. interact(PlayerEntity p_184230_1_, Hand p_184230_2_)
ActionResultType
MobEntity. interact(PlayerEntity p_184230_1_, Hand p_184230_2_)
ActionResultType
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
Methods in net.minecraft.entity.item that return ActionResultType Modifier and Type Method Description ActionResultType
BoatEntity. interact(PlayerEntity p_184230_1_, Hand p_184230_2_)
ActionResultType
ItemFrameEntity. interact(PlayerEntity p_184230_1_, Hand p_184230_2_)
ActionResultType
LeashKnotEntity. interact(PlayerEntity p_184230_1_, Hand p_184230_2_)
ActionResultType
ArmorStandEntity. interactAt(PlayerEntity p_184199_1_, Vector3d p_184199_2_, Hand p_184199_3_)
-
Uses of ActionResultType in net.minecraft.entity.item.minecart
Methods in net.minecraft.entity.item.minecart that return ActionResultType Modifier and Type Method Description ActionResultType
CommandBlockMinecartEntity. interact(PlayerEntity p_184230_1_, Hand p_184230_2_)
ActionResultType
ContainerMinecartEntity. interact(PlayerEntity p_184230_1_, Hand p_184230_2_)
ActionResultType
FurnaceMinecartEntity. interact(PlayerEntity p_184230_1_, Hand p_184230_2_)
ActionResultType
MinecartEntity. interact(PlayerEntity p_184230_1_, Hand p_184230_2_)
-
Uses of ActionResultType in net.minecraft.entity.merchant.villager
Methods in net.minecraft.entity.merchant.villager that return ActionResultType Modifier and Type Method Description ActionResultType
VillagerEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
WanderingTraderEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
-
Uses of ActionResultType in net.minecraft.entity.monster
Methods in net.minecraft.entity.monster that return ActionResultType Modifier and Type Method Description protected ActionResultType
CreeperEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
HoglinEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
ZombieVillagerEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
-
Uses of ActionResultType in net.minecraft.entity.monster.piglin
Methods in net.minecraft.entity.monster.piglin that return ActionResultType Modifier and Type Method Description ActionResultType
PiglinEntity. 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
Methods in net.minecraft.entity.passive that return ActionResultType Modifier and Type Method Description ActionResultType
AnimalEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
CatEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
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_)
ActionResultType
MooshroomEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
OcelotEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
PandaEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
ParrotEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
PigEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
SheepEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
protected ActionResultType
SnowGolemEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
StriderEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
WolfEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
-
Uses of ActionResultType in net.minecraft.entity.passive.fish
Methods in net.minecraft.entity.passive.fish that return ActionResultType Modifier and Type Method Description protected ActionResultType
AbstractFishEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
-
Uses of ActionResultType in net.minecraft.entity.passive.horse
Methods in net.minecraft.entity.passive.horse that return ActionResultType Modifier and Type Method Description ActionResultType
AbstractHorseEntity. fedFood(PlayerEntity p_241395_1_, ItemStack p_241395_2_)
ActionResultType
AbstractChestedHorseEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
HorseEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
SkeletonHorseEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
ZombieHorseEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
-
Uses of ActionResultType in net.minecraft.entity.player
Methods in net.minecraft.entity.player that return ActionResultType Modifier and Type Method Description ActionResultType
PlayerEntity. interactOn(Entity p_190775_1_, Hand p_190775_2_)
-
Uses of ActionResultType in net.minecraft.item
Method parameters in net.minecraft.item with type arguments of type ActionResultType Modifier and Type Method Description private ActionResultType
ItemStack. onItemUse(ItemUseContext p_196084_1_, java.util.function.Function<ItemUseContext,ActionResultType> callback)
-
Uses of ActionResultType in net.minecraft.server.management
Methods in net.minecraft.server.management that return ActionResultType Modifier and Type Method Description ActionResultType
DemoPlayerInteractionManager. useItem(ServerPlayerEntity p_187250_1_, World p_187250_2_, ItemStack p_187250_3_, Hand p_187250_4_)
ActionResultType
PlayerInteractionManager. useItem(ServerPlayerEntity p_187250_1_, World p_187250_2_, ItemStack p_187250_3_, Hand p_187250_4_)
ActionResultType
DemoPlayerInteractionManager. useItemOn(ServerPlayerEntity p_219441_1_, World p_219441_2_, ItemStack p_219441_3_, Hand p_219441_4_, BlockRayTraceResult p_219441_5_)
ActionResultType
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
Methods in net.minecraft.tileentity that return ActionResultType Modifier and Type Method Description ActionResultType
CommandBlockLogic. usedBy(PlayerEntity p_175574_1_)
-
Uses of ActionResultType in net.minecraft.util
Fields in net.minecraft.util declared as ActionResultType Modifier and Type Field Description private ActionResultType
ActionResult. result
Methods in net.minecraft.util that return ActionResultType Modifier and Type Method Description ActionResultType
ActionResult. getResult()
static ActionResultType
ActionResultType. sidedSuccess(boolean p_233537_0_)
static ActionResultType
ActionResultType. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ActionResultType[]
ActionResultType. values()
Returns an array containing the constants of this enum type, in the order they are declared.Constructors in net.minecraft.util with parameters of type ActionResultType Constructor Description ActionResult(ActionResultType p_i46821_1_, T p_i46821_2_)
-
Uses of ActionResultType in net.minecraftforge.common
Methods in net.minecraftforge.common that return ActionResultType Modifier and Type Method Description 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, 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
Methods in net.minecraftforge.common.extensions that return ActionResultType Modifier and Type Method Description default 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
Methods in net.minecraftforge.debug.block that return ActionResultType Modifier and Type Method Description ActionResultType
CustomRespawnTest.CustomRespawnBlock. use(BlockState p_225533_1_, World world, BlockPos pos, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
FullPotsAccessorDemo.DioriteFlowerPotBlock. use(BlockState state, World level, BlockPos pos, PlayerEntity player, Hand hand, BlockRayTraceResult hit)
-
Uses of ActionResultType in net.minecraftforge.event.entity.player
Fields in net.minecraftforge.event.entity.player declared as ActionResultType Modifier and Type Field Description private ActionResultType
PlayerInteractEvent. cancellationResult
Methods in net.minecraftforge.event.entity.player that return ActionResultType Modifier and Type Method Description ActionResultType
PlayerInteractEvent. getCancellationResult()
Methods in net.minecraftforge.event.entity.player with parameters of type ActionResultType Modifier and Type Method Description void
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.
-