net.minecraft.world.entity.projectile

public class ThrownPotion

extends ThrowableItemProjectile implements ItemSupplier

All mapped superinterfaces:

Nameable, CommandSource, ItemSupplier

bgu
net.minecraft.world.entity.projectile.ThrownPotion
net.minecraft.class_1686
net.minecraft.entity.projectile.thrown.PotionEntity
net.minecraft.entity.projectile.PotionEntity
net.minecraft.server.v1_16_R2.EntityPotion

Field summary

Modifier and TypeField
public static final Predicate<LivingEntity>
b
WATER_SENSITIVE
field_7653
WATER_HURTS
field_190546_d

Constructor summary

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

Method summary

Modifier and TypeMethod
protected Item
h()
getDefaultItem()
method_16942()
getDefaultItem()
func_213885_i()
getDefaultItem()
protected float
k()
getGravity()
method_7490()
getGravity()
func_70185_h()
protected void
a(dcg arg0)
onHitBlock(BlockHitResult arg0)
method_24920(class_3965 arg0)
onBlockHit(BlockHitResult arg0)
func_230299_a_(BlockRayTraceResult arg0)
protected void
a(dci arg0)
onHit(HitResult arg0)
method_7488(class_239 arg0)
onCollision(HitResult arg0)
func_70227_a(RayTraceResult arg0)
private void
m()
applyWater()
method_7500()
damageEntitiesHurtByWater()
func_190545_n()
splash()
private void
a(List<apr> arg0, apx arg1)
applySplash(List<MobEffectInstance> arg0, Entity arg1)
method_7498(List<class_1293> arg0, class_1297 arg1)
applySplashPotion(List<StatusEffectInstance> statusEffects, Entity entity)
func_213888_a(List<EffectInstance> arg0, Entity arg1)
private void
a(bly arg0, bnq arg1)
makeAreaOfEffectCloud(ItemStack arg0, Potion arg1)
method_7497(class_1799 arg0, class_1842 arg1)
applyLingeringPotion(ItemStack stack, Potion potion)
func_190542_a(ItemStack arg0, Potion arg1)
private boolean
n()
isLingering()
method_7501()
isLingering()
func_184544_n()
isLingering()
private void
a(fx arg0, gc arg1)
dowseFire(BlockPos arg0, Direction arg1)
method_7499(class_2338 arg0, class_2350 arg1)
extinguishFire(BlockPos pos, Direction direction)
func_184542_a(BlockPos arg0, Direction arg1)