net.minecraft.world.entity.projectile

public class ThrownPotion

extends ThrowableItemProjectile

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder, TraceableEntity, ItemSupplier

crc
net.minecraft.world.entity.projectile.ThrownPotion
net.minecraft.class_1686
net.minecraft.unmapped.C_nmolkgnw
net.minecraft.entity.projectile.thrown.PotionEntity
net.minecraft.entity.projectile.thrown.PotionEntity
net.minecraft.src.C_1178_
net.minecraft.world.entity.projectile.EntityPotion

Field summary

Modifier and TypeField
public static final double
a
SPLASH_RANGE
field_30667
f_cvejbdic
field_30667
SPLASH_RANGE
f_150190_
private static final double
c
SPLASH_RANGE_SQ
field_30668
f_kesoqvzx
field_30668
SPLASH_RANGE_SQUARED
f_150191_
public static final Predicate<LivingEntity>
b
WATER_SENSITIVE_OR_ON_FIRE
field_40737
f_asitfdjf
AFFECTED_BY_WATER
AFFECTED_BY_WATER
f_252520_

Constructor summary

ModifierConstructor
public (EntityType<? extends ThrownPotion> p_37528_, Level world)
public (Level world, LivingEntity owner, ItemStack stack)
public (Level world, double x, double y, double z, ItemStack stack)

Method summary

Modifier and TypeMethod
protected Item
m()
getDefaultItem()
method_16942()
m_dieyvesa()
getDefaultItem()
getDefaultItem()
m_7881_()
protected double
bd()
getDefaultGravity()
method_7490()
m_pvspcngk()
getGravity()
getDefaultGravity()
m_319564_()
protected void
a(fbu arg0)
onHitBlock(BlockHitResult arg0)
method_24920(class_3965 arg0)
m_ggjsldmr(C_jdakttms arg0)
onBlockHit(BlockHitResult arg0)
onBlockHit(BlockHitResult arg0)
m_8060_(C_3041_ arg0)
protected void
a(fbw arg0)
onHit(HitResult arg0)
method_7488(class_239 arg0)
m_xlvwraww(C_eetoegzn arg0)
onCollision(HitResult arg0)
onCollision(HitResult arg0)
m_6532_(C_3043_ arg0)
private void
b(ash arg0)
applyWater(ServerLevel arg0)
method_7500(class_3218 arg0)
m_macznrho(C_bdwnwhiu arg0)
applyWater(ServerWorld world)
applyWaterEffects(ServerWorld world)
m_37552_(C_12_ arg0)
private void
a(ash arg0, Iterable<bup> arg1, bvk arg2)
applySplash(ServerLevel arg0, Iterable<MobEffectInstance> arg1, Entity arg2)
method_7498(class_3218 arg0, Iterable<class_1293> arg1, class_1297 arg2)
m_sqxawfxg(C_bdwnwhiu arg0, Iterable<C_wpfizwve> arg1, C_astfners arg2)
applySplashPotion(ServerWorld world, Iterable<StatusEffectInstance> effects, Entity entity)
applySplashPotion(ServerWorld world, Iterable<StatusEffectInstance> effects, Entity entity)
m_37547_(C_12_ p_329810_, Iterable<C_498_> p_37549_, C_507_ arg2)
private void
a(czo arg0)
makeAreaOfEffectCloud(PotionContents arg0)
method_7497(class_1844 arg0)
m_hcdjzzvh(C_xpqegwnr arg0)
applyLingeringPotion(PotionContentsComponent potion)
applyLingeringPotion(PotionContentsComponent potionContents)
m_37537_(C_313529_ arg0)
private boolean
s()
isLingering()
method_7501()
m_shmwbfcb()
isLingering()
isLingering()
m_37553_()
private void
a(jh arg0)
dowseFire(BlockPos arg0)
method_7499(class_2338 arg0)
m_jbiwwbhx(C_hynzadkk arg0)
extinguishFire(BlockPos pos)
extinguishFire(BlockPos pos)
m_150192_(C_4675_ arg0)
public it.unimi.dsi.fastutil.doubles.DoubleDoubleImmutablePair
a_(bwg arg0, bua arg1)
calculateHorizontalHurtKnockbackDirection(LivingEntity arg0, DamageSource arg1)
method_59959(class_1309 arg0, class_1282 arg1)
m_rxkvtyyv(C_usxaxydn arg0, C_sbxfkpyv arg1)
getKnockback(LivingEntity arg0, DamageSource arg1)
getHorizontalKnockback(LivingEntity arg0, DamageSource arg1)
m_339151_(C_524_ p_343470_, C_489_ arg1)