net.minecraft.world.entity.projectile

public class ThrownPotion

extends ThrowableItemProjectile implements ItemSupplier

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, ItemSupplier

blf
net.minecraft.world.entity.projectile.ThrownPotion
net.minecraft.class_1686
net.minecraft.unmapped.C_nmolkgnw
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
f_150190_
private static final double
d
SPLASH_RANGE_SQ
field_30668
f_kesoqvzx
field_30668
f_150191_
public static final Predicate<LivingEntity>
c
WATER_SENSITIVE
field_7653
f_yimlrqbo
WATER_HURTS
f_37524_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected Item
i()
getDefaultItem()
method_16942()
m_dieyvesa()
getDefaultItem()
m_7881_()
getDefaultItem()
protected float
l()
getGravity()
method_7490()
m_mvirpdeu()
getGravity()
m_7139_()
protected void
a(dmw arg0)
onHitBlock(BlockHitResult arg0)
method_24920(class_3965 arg0)
m_ggjsldmr(C_jdakttms arg0)
onBlockHit(BlockHitResult arg0)
m_8060_(C_3041_ arg0)
protected void
a(dmy arg0)
onHit(HitResult arg0)
method_7488(class_239 arg0)
m_xlvwraww(C_eetoegzn arg0)
onCollision(HitResult arg0)
m_6532_(C_3043_ arg0)
private void
n()
applyWater()
method_7500()
m_macznrho()
damageEntitiesHurtByWater()
m_37552_()
splash()
private void
a(List<ata> arg0, atg arg1)
applySplash(List<MobEffectInstance> arg0, Entity arg1)
method_7498(List<class_1293> arg0, class_1297 arg1)
m_sqxawfxg(List<C_wpfizwve> arg0, C_astfners arg1)
applySplashPotion(List<StatusEffectInstance> statusEffects, Entity entity)
m_37547_(List<C_498_> p_37549_, C_507_ arg1)
private void
a(bqq arg0, bsl arg1)
makeAreaOfEffectCloud(ItemStack arg0, Potion arg1)
method_7497(class_1799 arg0, class_1842 arg1)
m_hcdjzzvh(C_sddaxwyk arg0, C_almkolgw arg1)
applyLingeringPotion(ItemStack stack, Potion potion)
m_37537_(C_1391_ p_37539_, C_1440_ arg1)
private boolean
o()
isLingering()
method_7501()
m_shmwbfcb()
isLingering()
m_37553_()
isLingering()
private void
a(gg arg0)
dowseFire(BlockPos arg0)
method_7499(class_2338 arg0)
m_jbiwwbhx(C_hynzadkk arg0)
extinguishFire(BlockPos pos)
m_150192_(C_4675_ arg0)