Class ThrownPotionMeta

java.lang.Object
net.minestom.server.entity.metadata.EntityMeta
net.minestom.server.entity.metadata.item.ThrownPotionMeta

public class ThrownPotionMeta extends EntityMeta
  • Constructor Details

    • ThrownPotionMeta

      public ThrownPotionMeta(@NotNull @NotNull Entity entity, @NotNull @NotNull MetadataHolder metadata)
  • Method Details

    • getItem

      @NotNull public @NotNull ItemStack getItem()
    • setItem

      public void setItem(@NotNull @NotNull ItemStack item)