net.minecraft.entity.projectile.thrown

public class LingeringPotionEntity

extends PotionEntity

All mapped superinterfaces:

Nameable, EntityLike, UniquelyIdentifiable, ScoreHolder, DataTracked, ComponentsAccess, HeldItemContext, StackReferenceGetter, DebugTrackable, EntryConvertible, Ownable, FlyingItemEntity

net.minecraft.world.entity.projectile.throwableitemprojectile.ThrownLingeringPotion
net.minecraft.class_10690
net.minecraft.entity.projectile.thrown.LingeringPotionEntity

Constructor summary

ModifierConstructor
public (EntityType<? extends LingeringPotionEntity> type, World level)
public (World world, LivingEntity owner, ItemStack stack)
public (World world, double x, double y, double z, ItemStack stack)

Method summary

Modifier and TypeMethod
protected Item
getDefaultItem()
method_16942()
getDefaultItem()
public void
onHitAsPotion(ServerLevel level, ItemStack potionItem, HitResult hitResult)
method_67148(class_3218 arg0, class_1799 arg1, class_239 arg2)
spawnAreaEffectCloud(ServerWorld arg0, ItemStack arg1, HitResult arg2)