net.minecraft.world.entity.projectile

public class ThrownPotion

extends ThrowableItemProjectile

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder, TraceableEntity, ItemSupplier

cqd
net.minecraft.world.entity.projectile.ThrownPotion
net.minecraft.class_1686
net.minecraft.entity.projectile.thrown.PotionEntity
net.minecraft.world.entity.projectile.EntityPotion

Field summary

Modifier and TypeField
public static final double
a
SPLASH_RANGE
field_30667
field_30667
private static final double
c
SPLASH_RANGE_SQ
field_30668
field_30668
public static final Predicate<LivingEntity>
b
WATER_SENSITIVE_OR_ON_FIRE
field_40737
AFFECTED_BY_WATER

Constructor summary

ModifierConstructor
public (EntityType<? extends ThrownPotion> arg0, Level arg1)
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()
getDefaultItem()
protected double
bd()
getDefaultGravity()
method_7490()
getGravity()
protected void
a(fax arg0)
onHitBlock(BlockHitResult arg0)
method_24920(class_3965 arg0)
onBlockHit(BlockHitResult arg0)
protected void
a(faz arg0)
onHit(HitResult arg0)
method_7488(class_239 arg0)
onCollision(HitResult arg0)
private void
b(ard arg0)
applyWater(ServerLevel arg0)
method_7500(class_3218 arg0)
applyWater(ServerWorld world)
private void
a(ard arg0, Iterable<btr> arg1, bum arg2)
applySplash(ServerLevel arg0, Iterable<MobEffectInstance> arg1, Entity arg2)
method_7498(class_3218 arg0, Iterable<class_1293> arg1, class_1297 arg2)
applySplashPotion(ServerWorld world, Iterable<StatusEffectInstance> effects, Entity entity)
private void
a(cyp arg0)
makeAreaOfEffectCloud(PotionContents arg0)
method_7497(class_1844 arg0)
applyLingeringPotion(PotionContentsComponent potion)
private boolean
s()
isLingering()
method_7501()
isLingering()
private void
a(ji arg0)
dowseFire(BlockPos arg0)
method_7499(class_2338 arg0)
extinguishFire(BlockPos pos)
public it.unimi.dsi.fastutil.doubles.DoubleDoubleImmutablePair
a_(bvi arg0, btc arg1)
calculateHorizontalHurtKnockbackDirection(LivingEntity arg0, DamageSource arg1)
method_59959(class_1309 arg0, class_1282 arg1)
getKnockback(LivingEntity arg0, DamageSource arg1)