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 ActionResultTypeCakeBlock. eat(IWorld p_226911_1_, BlockPos p_226911_2_, BlockState p_226911_3_, PlayerEntity p_226911_4_)ActionResultTypeAbstractBlock.AbstractBlockState. use(World p_227031_1_, PlayerEntity p_227031_2_, Hand p_227031_3_, BlockRayTraceResult p_227031_4_)ActionResultTypeAbstractBlock. 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.ActionResultTypeAbstractButtonBlock. 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_)ActionResultTypeAbstractFurnaceBlock. 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_)ActionResultTypeAbstractSignBlock. 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_)ActionResultTypeAnvilBlock. 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_)ActionResultTypeBarrelBlock. 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_)ActionResultTypeBeaconBlock. 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_)ActionResultTypeBedBlock. 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_)ActionResultTypeBeehiveBlock. 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_)ActionResultTypeBellBlock. 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_)ActionResultTypeBrewingStandBlock. 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_)ActionResultTypeCakeBlock. 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_)ActionResultTypeCampfireBlock. 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_)ActionResultTypeCartographyTableBlock. 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_)ActionResultTypeCauldronBlock. 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_)ActionResultTypeChestBlock. 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_)ActionResultTypeCommandBlockBlock. 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_)ActionResultTypeComparatorBlock. 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_)ActionResultTypeComposterBlock. 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_)ActionResultTypeCraftingTableBlock. 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_)ActionResultTypeDaylightDetectorBlock. 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_)ActionResultTypeDispenserBlock. 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_)ActionResultTypeDoorBlock. 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_)ActionResultTypeDragonEggBlock. 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_)ActionResultTypeEnchantingTableBlock. 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_)ActionResultTypeEnderChestBlock. 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_)ActionResultTypeFenceBlock. 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_)ActionResultTypeFenceGateBlock. 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_)ActionResultTypeFletchingTableBlock. 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_)ActionResultTypeFlowerPotBlock. 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_)ActionResultTypeGrindstoneBlock. 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_)ActionResultTypeHopperBlock. 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_)ActionResultTypeJigsawBlock. 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_)ActionResultTypeJukeboxBlock. 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_)ActionResultTypeLecternBlock. 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_)ActionResultTypeLeverBlock. 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_)ActionResultTypeLoomBlock. 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_)ActionResultTypeMovingPistonBlock. 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_)ActionResultTypeNoteBlock. 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_)ActionResultTypePumpkinBlock. 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_)ActionResultTypeRedstoneOreBlock. 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_)ActionResultTypeRedstoneWireBlock. 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_)ActionResultTypeRepeaterBlock. 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_)ActionResultTypeRespawnAnchorBlock. 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_)ActionResultTypeShulkerBoxBlock. 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_)ActionResultTypeSmithingTableBlock. 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_)ActionResultTypeStairsBlock. 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_)ActionResultTypeStonecutterBlock. 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_)ActionResultTypeStructureBlock. 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_)ActionResultTypeSweetBerryBushBlock. 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_)ActionResultTypeTNTBlock. 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_)ActionResultTypeTrapDoorBlock. 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 ActionResultTypePlayerController. interact(PlayerEntity p_187097_1_, Entity p_187097_2_, Hand p_187097_3_)ActionResultTypePlayerController. interactAt(PlayerEntity p_187102_1_, Entity p_187102_2_, EntityRayTraceResult p_187102_3_, Hand p_187102_4_)ActionResultTypePlayerController. useItem(PlayerEntity p_187101_1_, World p_187101_2_, Hand p_187101_3_)ActionResultTypePlayerController. 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 ActionResultTypeMobEntity. checkAndHandleImportantInteractions(PlayerEntity p_233661_1_, Hand p_233661_2_)ActionResultTypeEntity. interact(PlayerEntity p_184230_1_, Hand p_184230_2_)ActionResultTypeMobEntity. interact(PlayerEntity p_184230_1_, Hand p_184230_2_)ActionResultTypeEntity. interactAt(PlayerEntity p_184199_1_, Vector3d p_184199_2_, Hand p_184199_3_)protected ActionResultTypeMobEntity. 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 ActionResultTypeBoatEntity. interact(PlayerEntity p_184230_1_, Hand p_184230_2_)ActionResultTypeItemFrameEntity. interact(PlayerEntity p_184230_1_, Hand p_184230_2_)ActionResultTypeLeashKnotEntity. interact(PlayerEntity p_184230_1_, Hand p_184230_2_)ActionResultTypeArmorStandEntity. 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 ActionResultTypeCommandBlockMinecartEntity. interact(PlayerEntity p_184230_1_, Hand p_184230_2_)ActionResultTypeContainerMinecartEntity. interact(PlayerEntity p_184230_1_, Hand p_184230_2_)ActionResultTypeFurnaceMinecartEntity. interact(PlayerEntity p_184230_1_, Hand p_184230_2_)ActionResultTypeMinecartEntity. 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 ActionResultTypeVillagerEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)ActionResultTypeWanderingTraderEntity. 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 ActionResultTypeCreeperEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)ActionResultTypeHoglinEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)ActionResultTypeZombieVillagerEntity. 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 ActionResultTypePiglinEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)static ActionResultTypePiglinTasks. 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 ActionResultTypeAnimalEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)ActionResultTypeCatEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)ActionResultTypeCowEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)protected ActionResultTypeDolphinEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)protected ActionResultTypeIronGolemEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)ActionResultTypeMooshroomEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)ActionResultTypeOcelotEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)ActionResultTypePandaEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)ActionResultTypeParrotEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)ActionResultTypePigEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)ActionResultTypeSheepEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)protected ActionResultTypeSnowGolemEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)ActionResultTypeStriderEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)ActionResultTypeWolfEntity. 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 ActionResultTypeAbstractFishEntity. 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 ActionResultTypeAbstractHorseEntity. fedFood(PlayerEntity p_241395_1_, ItemStack p_241395_2_)ActionResultTypeAbstractChestedHorseEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)ActionResultTypeHorseEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)ActionResultTypeSkeletonHorseEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)ActionResultTypeZombieHorseEntity. 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 ActionResultTypePlayerEntity. 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 ActionResultTypeItemStack. 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 ActionResultTypeDemoPlayerInteractionManager. useItem(ServerPlayerEntity p_187250_1_, World p_187250_2_, ItemStack p_187250_3_, Hand p_187250_4_)ActionResultTypePlayerInteractionManager. useItem(ServerPlayerEntity p_187250_1_, World p_187250_2_, ItemStack p_187250_3_, Hand p_187250_4_)ActionResultTypeDemoPlayerInteractionManager. useItemOn(ServerPlayerEntity p_219441_1_, World p_219441_2_, ItemStack p_219441_3_, Hand p_219441_4_, BlockRayTraceResult p_219441_5_)ActionResultTypePlayerInteractionManager. 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 ActionResultTypeCommandBlockLogic. 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 ActionResultTypeActionResult. resultMethods in net.minecraft.util that return ActionResultType Modifier and Type Method Description ActionResultTypeActionResult. getResult()static ActionResultTypeActionResultType. sidedSuccess(boolean p_233537_0_)static ActionResultTypeActionResultType. 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 ActionResultTypeForgeHooks. onInteractEntity(PlayerEntity player, Entity entity, Hand hand)static ActionResultTypeForgeHooks. onInteractEntityAt(PlayerEntity player, Entity entity, RayTraceResult ray, Hand hand)static ActionResultTypeForgeHooks. onInteractEntityAt(PlayerEntity player, Entity entity, Vector3d vec3d, Hand hand)static ActionResultTypeForgeHooks. onItemRightClick(PlayerEntity player, Hand hand)static ActionResultTypeForgeHooks. 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 ActionResultTypeIForgeItem. onItemUseFirst(ItemStack stack, ItemUseContext context)This is called when the item is used, before the block is activated.default ActionResultTypeIForgeItemStack. 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 ActionResultTypeCustomRespawnTest.CustomRespawnBlock. use(BlockState p_225533_1_, World world, BlockPos pos, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)ActionResultTypeFullPotsAccessorDemo.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 ActionResultTypePlayerInteractEvent. cancellationResultMethods in net.minecraftforge.event.entity.player that return ActionResultType Modifier and Type Method Description ActionResultTypePlayerInteractEvent. getCancellationResult()Methods in net.minecraftforge.event.entity.player with parameters of type ActionResultType Modifier and Type Method Description voidPlayerInteractEvent. 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.
-