Uses of Record Class
net.minecraft.world.item.enchantment.EnchantedItemInUse
Package
Description
-
Uses of EnchantedItemInUse in net.minecraft.world.item.enchantment
Modifier and TypeMethodDescriptionstatic Optional
<EnchantedItemInUse> EnchantmentHelper.getRandomItemWith
(DataComponentType<?> p_345509_, LivingEntity p_44841_, Predicate<ItemStack> p_44842_) Modifier and TypeMethodDescriptionvoid
EnchantmentHelper.EnchantmentInSlotVisitor.accept
(Holder<Enchantment> p_346326_, int p_346009_, EnchantedItemInUse p_345960_) void
Enchantment.doPostAttack
(ServerLevel p_344857_, int p_44688_, EnchantedItemInUse p_345323_, EnchantmentTarget p_345287_, Entity p_44687_, DamageSource p_345177_) static void
Enchantment.doPostAttack
(TargetedConditionalEffect<EnchantmentEntityEffect> p_346387_, ServerLevel p_345844_, int p_344928_, EnchantedItemInUse p_345486_, Entity p_345472_, DamageSource p_345022_) void
Enchantment.onHitBlock
(ServerLevel p_345175_, int p_346193_, EnchantedItemInUse p_344721_, Entity p_345951_, Vec3 p_344878_, BlockState p_351026_) void
Enchantment.onProjectileSpawned
(ServerLevel p_345440_, int p_346424_, EnchantedItemInUse p_346046_, Entity p_345958_) void
Enchantment.runLocationChangedEffects
(ServerLevel p_345522_, int p_345228_, EnchantedItemInUse p_345521_, LivingEntity p_346133_) void
Enchantment.stopLocationBasedEffects
(int p_345030_, EnchantedItemInUse p_345497_, LivingEntity p_344904_) void
Enchantment.tick
(ServerLevel p_345064_, int p_346148_, EnchantedItemInUse p_345056_, Entity p_345139_) -
Uses of EnchantedItemInUse in net.minecraft.world.item.enchantment.effects
Modifier and TypeMethodDescriptionvoid
AllOf.EntityEffects.apply
(ServerLevel p_346093_, int p_345940_, EnchantedItemInUse p_344929_, Entity p_345319_, Vec3 p_345200_) void
ApplyMobEffect.apply
(ServerLevel p_345355_, int p_346112_, EnchantedItemInUse p_344766_, Entity p_345996_, Vec3 p_345315_) void
DamageEntity.apply
(ServerLevel p_345710_, int p_344734_, EnchantedItemInUse p_345002_, Entity p_345450_, Vec3 p_345442_) void
DamageItem.apply
(ServerLevel p_345496_, int p_344926_, EnchantedItemInUse p_345827_, Entity p_345408_, Vec3 p_345110_) void
EnchantmentEntityEffect.apply
(ServerLevel p_345106_, int p_346004_, EnchantedItemInUse p_344966_, Entity p_346140_, Vec3 p_345890_) void
ExplodeEffect.apply
(ServerLevel p_346186_, int p_345966_, EnchantedItemInUse p_346324_, Entity p_345305_, Vec3 p_344916_) void
Ignite.apply
(ServerLevel p_345606_, int p_344968_, EnchantedItemInUse p_346032_, Entity p_346370_, Vec3 p_344775_) void
PlaySoundEffect.apply
(ServerLevel p_344971_, int p_344872_, EnchantedItemInUse p_345016_, Entity p_346106_, Vec3 p_345017_) void
ReplaceBlock.apply
(ServerLevel p_345756_, int p_346215_, EnchantedItemInUse p_345202_, Entity p_346293_, Vec3 p_345339_) void
ReplaceDisk.apply
(ServerLevel p_353045_, int p_353076_, EnchantedItemInUse p_353050_, Entity p_353038_, Vec3 p_353044_) void
RunFunction.apply
(ServerLevel p_346152_, int p_344788_, EnchantedItemInUse p_344801_, Entity p_346210_, Vec3 p_345413_) void
SetBlockProperties.apply
(ServerLevel p_346105_, int p_345373_, EnchantedItemInUse p_346028_, Entity p_346068_, Vec3 p_345511_) void
SpawnParticlesEffect.apply
(ServerLevel p_345529_, int p_346425_, EnchantedItemInUse p_346391_, Entity p_345668_, Vec3 p_344842_) void
SummonEntityEffect.apply
(ServerLevel p_345900_, int p_346183_, EnchantedItemInUse p_345549_, Entity p_346414_, Vec3 p_346284_) void
AllOf.LocationBasedEffects.onChangedBlock
(ServerLevel p_345329_, int p_345154_, EnchantedItemInUse p_344984_, Entity p_345671_, Vec3 p_344781_, boolean p_345113_) void
EnchantmentAttributeEffect.onChangedBlock
(ServerLevel p_346176_, int p_345071_, EnchantedItemInUse p_345394_, Entity p_345539_, Vec3 p_346261_, boolean p_345801_) default void
EnchantmentEntityEffect.onChangedBlock
(ServerLevel p_345419_, int p_345173_, EnchantedItemInUse p_344724_, Entity p_346126_, Vec3 p_345614_, boolean p_346410_) void
EnchantmentLocationBasedEffect.onChangedBlock
(ServerLevel p_345577_, int p_345675_, EnchantedItemInUse p_345807_, Entity p_345378_, Vec3 p_344844_, boolean p_345637_) void
AllOf.LocationBasedEffects.onDeactivated
(EnchantedItemInUse p_346024_, Entity p_346234_, Vec3 p_346036_, int p_345698_) void
EnchantmentAttributeEffect.onDeactivated
(EnchantedItemInUse p_346016_, Entity p_346371_, Vec3 p_345145_, int p_346185_) default void
EnchantmentLocationBasedEffect.onDeactivated
(EnchantedItemInUse p_346131_, Entity p_345920_, Vec3 p_345758_, int p_344750_)