net.minecraft.world.entity.projectile

public class ThrownPotion

extends ThrowableProjectile implements ItemSupplier

All mapped superinterfaces:

Nameable, CommandSource, Projectile, ItemSupplier

azg
net.minecraft.world.entity.projectile.ThrownPotion
net.minecraft.class_1686
net.minecraft.entity.thrown.ThrownPotionEntity
net.minecraft.entity.projectile.PotionEntity
net.minecraft.server.v1_15_R1.EntityPotion

Field summary

Modifier and TypeField
private static final EntityDataAccessor<ItemStack>
f
DATA_ITEM_STACK
field_7652
ITEM_STACK
field_184545_d
private static final org.apache.logging.log4j.Logger
g
LOGGER
field_7651
LOGGER
field_184546_e
public static final Predicate<LivingEntity>
e
WATER_SENSITIVE
field_7653
WATER_HURTS
field_190546_d

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
w_()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
public ItemStack
f()
getItem()
method_7495()
getStack()
func_184543_l()
getItem()
public void
b(bek arg0)
setItem(ItemStack arg0)
method_7494(class_1799 arg0)
setItemStack(ItemStack arg0)
func_184541_a(ItemStack arg0)
setItem(ItemStack arg0)
protected float
l()
getGravity()
method_7490()
getGravity()
func_70185_h()
protected void
a(cvf arg0)
onHit(HitResult arg0)
method_7492(class_239 arg0)
onCollision(HitResult arg0)
func_70184_a(RayTraceResult arg0)
private void
i()
applyWater()
method_7500()
damageEntitiesHurtByWater()
func_190545_n()
splash()
private void
a(List<akh> arg0, akn arg1)
applySplash(List<MobEffectInstance> arg0, Entity arg1)
method_7498(List<class_1293> arg0, class_1297 arg1)
applySplashPotion(List<StatusEffectInstance> arg0, Entity arg1)
func_213888_a(List<EffectInstance> arg0, Entity arg1)
private void
a(bek arg0, bga arg1)
makeAreaOfEffectCloud(ItemStack arg0, Potion arg1)
method_7497(class_1799 arg0, class_1842 arg1)
applyLingeringPotion(ItemStack arg0, Potion arg1)
func_190542_a(ItemStack arg0, Potion arg1)
private boolean
k()
isLingering()
method_7501()
isLingering()
func_184544_n()
isLingering()
private void
a(fk arg0, fp arg1)
dowseFire(BlockPos arg0, Direction arg1)
method_7499(class_2338 arg0, class_2350 arg1)
extinguishFire(BlockPos arg0, Direction arg1)
func_184542_a(BlockPos arg0, Direction arg1)
public void
a(jt arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
public void
b(jt arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
private static boolean
a(akw arg0)
isWaterSensitiveEntity(LivingEntity arg0)
method_7496(class_1309 arg0)
doesWaterHurt(LivingEntity entityHit)
func_190544_c(LivingEntity arg0)