Uses of Class
net.minecraft.util.ActionResult
-
Packages that use ActionResult Package Description net.minecraft.item net.minecraft.util net.minecraftforge.event net.minecraftforge.event.entity.player -
-
Uses of ActionResult in net.minecraft.item
Methods in net.minecraft.item that return ActionResult Modifier and Type Method Description ActionResult<ItemStack>
ArmorItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
BoatItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
BowItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
BucketItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
CrossbowItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
EggItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
ElytraItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
EnderEyeItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
EnderPearlItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
ExperienceBottleItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
FireworkRocketItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
FishingRodItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
GlassBottleItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
HoneyBottleItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
Item. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
ItemStack. use(World p_77957_1_, PlayerEntity p_77957_2_, Hand p_77957_3_)
ActionResult<ItemStack>
KnowledgeBookItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
LilyPadItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
LingeringPotionItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
MapItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
MilkBucketItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
OnAStickItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
PotionItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
ShieldItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
SnowballItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
SpawnEggItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
SplashPotionItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
ThrowablePotionItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
TridentItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
WritableBookItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
WrittenBookItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
-
Uses of ActionResult in net.minecraft.util
Methods in net.minecraft.util that return ActionResult Modifier and Type Method Description static <T> ActionResult<T>
ActionResult. consume(T p_226249_0_)
static <T> ActionResult<T>
ActionResult. fail(T p_226251_0_)
static <T> ActionResult<T>
ActionResult. pass(T p_226250_0_)
static <T> ActionResult<T>
ActionResult. sidedSuccess(T p_233538_0_, boolean p_233538_1_)
static <T> ActionResult<T>
ActionResult. success(T p_226248_0_)
static ActionResult<ItemStack>
DrinkHelper. useDrink(World p_234707_0_, PlayerEntity p_234707_1_, Hand p_234707_2_)
-
Uses of ActionResult in net.minecraftforge.event
Methods in net.minecraftforge.event that return ActionResult Modifier and Type Method Description static ActionResult<ItemStack>
ForgeEventFactory. onArrowNock(ItemStack item, World world, PlayerEntity player, Hand hand, boolean hasAmmo)
static ActionResult<ItemStack>
ForgeEventFactory. onBucketUse(PlayerEntity player, World world, ItemStack stack, RayTraceResult target)
-
Uses of ActionResult in net.minecraftforge.event.entity.player
Fields in net.minecraftforge.event.entity.player declared as ActionResult Modifier and Type Field Description private ActionResult<ItemStack>
ArrowNockEvent. action
Methods in net.minecraftforge.event.entity.player that return ActionResult Modifier and Type Method Description ActionResult<ItemStack>
ArrowNockEvent. getAction()
Methods in net.minecraftforge.event.entity.player with parameters of type ActionResult Modifier and Type Method Description void
ArrowNockEvent. setAction(ActionResult<ItemStack> action)
-