net.minecraft.entity.projectile

public class PotionEntity

extends ThrownEntity implements C_18206840

All mapped superinterfaces:

Nameable, CommandSource, Dispensable, C_18206840

awy
net.minecraft.class_1686
net.minecraft.entity.projectile.PotionEntity
net.minecraft.entity.projectile.PotionEntity
net.minecraft.entity.projectile.PotionEntity

Field summary

Modifier and TypeField
private static final DataAttribute<ItemStack>
f
field_7652
POTION
field_184545_d
field_184545_d
private static final org.apache.logging.log4j.Logger
g
field_7651
LOGGER
field_184546_e
field_184546_e
public static final Predicate<LivingEntity>
e
field_7653
AFFECTED_BY_WATER
field_190546_d
field_190546_d

Constructor summary

ModifierConstructor
public (EntityType<? extends PotionEntity> arg0, World arg1)
public (World world, LivingEntity thrower)
public (World world, double x, double y, double z)

Method summary

Modifier and TypeMethod
protected void
u_()
method_5693()
registerSyncedData()
func_70088_a()
registerData()
public ItemStack
f()
method_7495()
getStatusEffect()
func_184543_l()
getPotion()
public void
b(bcb arg0)
method_7494(class_1799 arg0)
setPotion(ItemStack potion)
func_184541_a(ItemStack arg0)
setItem(ItemStack stack)
protected float
l()
method_7490()
getGravity()
func_70185_h()
getGravityVelocity()
protected void
a(crv arg0)
method_7492(class_239 arg0)
onCollision(HitResult arg0)
func_70184_a(RayTraceResult arg0)
onImpact(RayTraceResult arg0)
private void
i()
method_7500()
applyWater()
func_190545_n()
applyWater()
private void
a(List<aic> arg0, aii arg1)
method_7498(List<class_1293> arg0, class_1297 arg1)
applySplashPotion(List<StatusEffectInstance> arg0, Entity arg1)
func_213888_a(List<EffectInstance> arg0, Entity arg1)
func_213888_a(List<EffectInstance> arg0, Entity arg1)
private void
a(bcb arg0, bdq arg1)
method_7497(class_1799 arg0, class_1842 arg1)
applyLingeringPotion(ItemStack item, Potion potion)
func_190542_a(ItemStack arg0, Potion arg1)
makeAreaOfEffectCloud(ItemStack arg0, Potion arg1)
private boolean
k()
method_7501()
isLingering()
func_184544_n()
isLingering()
private void
a(ev arg0, fa arg1)
method_7499(class_2338 arg0, class_2350 arg1)
extinguishFire(BlockPos pos, Direction direction)
func_184542_a(BlockPos arg0, Direction arg1)
extinguishFires(BlockPos pos, Direction arg1)
public void
a(ib arg0)
method_5749(class_2487 arg0)
readCustomNbt(NbtCompound arg0)
func_70037_a(CompoundNBT arg0)
readAdditional(CompoundNBT arg0)
public void
b(ib arg0)
method_5652(class_2487 arg0)
writeCustomNbt(NbtCompound arg0)
func_213281_b(CompoundNBT arg0)
func_213281_b(CompoundNBT arg0)
private static boolean
a(air arg0)
method_7496(class_1309 arg0)
isOnFire(LivingEntity entity)
func_190544_c(LivingEntity arg0)
isWaterSensitiveEntity(LivingEntity arg0)