net.minecraft.entity.projectile

public class PotionEntity

extends ThrownEntity

All mapped superinterfaces:

CommandSource, Dispensable

abt
net.minecraft.class_1000
net.minecraft.entity.projectile.PotionEntity
net.minecraft.entity.projectile.EntityPotion

Field summary

Modifier and TypeField
private static final DataAttribute<ItemStack>
e
field_12206
POTION
ITEM
private static final org.apache.logging.log4j.Logger
f
field_12207
LOGGER
LOGGER
public static final com.google.common.base.Predicate<LivingEntity>
d
field_15096
AFFECTED_BY_WATER
WATER_SENSITIVE

Constructor summary

ModifierConstructor
public (World world)
public (World world, LivingEntity thrower, ItemStack potion)
public (World world, double x, double y, double z, ItemStack potion)

Method summary

Modifier and TypeMethod
protected void
i()
method_2484()
registerSyncedData()
entityInit()
public ItemStack
l()
method_11317()
getPotion()
getPotion()
public void
a(afj arg0)
method_11315(class_1071 arg0)
setPotion(ItemStack potion)
setItem(ItemStack stack)
protected float
j()
method_3236()
getGravity()
getGravityVelocity()
protected void
a(bdu arg0)
method_3232(class_234 arg0)
onCollision(HitResult arg0)
onImpact(RayTraceResult arg0)
private void
n()
method_13634()
applyWater()
applyWater()
private void
a(bdu arg0, List<sh> arg1)
method_13631(class_234 arg0, List<class_861> arg1)
applySplashPotion(HitResult hitResult, List<StatusEffectInstance> statusEffects)
applySplash(RayTraceResult arg0, List<PotionEffect> arg1)
private void
a(afj arg0, agy arg1)
method_13630(class_1071 arg0, class_2695 arg1)
applyLingeringPotion(ItemStack item, Potion potion)
makeAreaOfEffectCloud(ItemStack arg0, PotionType arg1)
private boolean
o()
method_11318()
isLingering()
isLingering()
private void
a(co arg0)
method_11316(class_2552 arg0)
extinguishFire(BlockPos pos)
extinguishFires(BlockPos pos)
public static void
a(ph arg0)
method_13299(class_2934 arg0)
registerSchema(DataFixerUpper dfu)
registerFixesPotion(DataFixer fixer)
public void
a(du arg0)
method_2498(class_322 arg0)
readCustomNbt(NbtCompound arg0)
readEntityFromNBT(NBTTagCompound arg0)
public void
b(du arg0)
method_2528(class_322 arg0)
writeCustomNbt(NbtCompound arg0)
writeEntityToNBT(NBTTagCompound arg0)
private static boolean
c(sw arg0)
method_13633(class_1699 arg0)
isOnFire(LivingEntity entity)
isWaterSensitiveEntity(EntityLivingBase arg0)