net.minecraft.world.entity.projectile

public class ThrownPotion

extends ThrowableItemProjectile implements ItemSupplier

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, CommandSource, ScoreHolder, TraceableEntity, ItemSupplier

cob
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
b
SPLASH_RANGE
field_30667
f_cvejbdic
field_30667
SPLASH_RANGE
f_150190_
private static final double
d
SPLASH_RANGE_SQ
field_30668
f_kesoqvzx
field_30668
SPLASH_RANGE_SQUARED
f_150191_
public static final Predicate<LivingEntity>
c
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)
public (Level world, double x, double y, double z)

Method summary

Modifier and TypeMethod
protected Item
t()
getDefaultItem()
method_16942()
m_dieyvesa()
getDefaultItem()
getDefaultItem()
m_7881_()
protected double
aZ()
getDefaultGravity()
method_7490()
m_pvspcngk()
getGravity()
getDefaultGravity()
m_319564_()
protected void
a(ewy 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(exa 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
v()
applyWater()
method_7500()
m_macznrho()
applyWater()
applyWaterEffects()
m_37552_()
private void
a(Iterable<brz> arg0, bsr arg1)
applySplash(Iterable<MobEffectInstance> arg0, Entity arg1)
method_7498(Iterable<class_1293> arg0, class_1297 arg1)
m_sqxawfxg(Iterable<C_wpfizwve> arg0, C_astfners arg1)
applySplashPotion(Iterable<StatusEffectInstance> effects, Entity entity)
applySplashPotion(Iterable<StatusEffectInstance> effects, Entity entity)
m_37547_(Iterable<C_498_> p_37549_, C_507_ arg1)
private void
a(cwu 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
w()
isLingering()
method_7501()
m_shmwbfcb()
isLingering()
isLingering()
m_37553_()
private void
a(jd 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_(btn arg0, brk 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)
m_339151_(C_524_ p_343470_, C_489_ arg1)