AbstractHorse
, AbstractVillager
, Ageable
, Ambient
, Animals
, Barrel
, Bat
, Bee
, Blaze
, Cat
, CaveSpider
, Chest
, ChestedHorse
, Chicken
, Cod
, Cow
, Creature
, Creeper
, Dispenser
, Dolphin
, Donkey
, Dropper
, Drowned
, ElderGuardian
, Enderman
, Endermite
, Evoker
, Fish
, Flying
, Fox
, Ghast
, Giant
, Golem
, Guardian
, Hopper
, HopperMinecart
, Horse
, Husk
, Illager
, Illusioner
, IronGolem
, Llama
, MagmaCube
, Mob
, Monster
, Mule
, MushroomCow
, NPC
, Ocelot
, Panda
, Parrot
, Phantom
, Pig
, PigZombie
, Pillager
, PolarBear
, PufferFish
, Rabbit
, Raider
, Ravager
, Salmon
, Sheep
, Shulker
, ShulkerBox
, Silverfish
, Skeleton
, SkeletonHorse
, Slime
, Snowman
, Spellcaster
, Spider
, Squid
, StorageMinecart
, Stray
, Tameable
, TraderLlama
, TropicalFish
, Turtle
, Vex
, Villager
, Vindicator
, WanderingTrader
, WaterMob
, Witch
, Wither
, WitherSkeleton
, Wolf
, Zombie
, ZombieHorse
, ZombieVillager
public interface Lootable
Modifier and Type | Method | Description |
---|---|---|
@Nullable LootTable |
getLootTable() |
Gets the Loot Table attached to this block or entity.
|
long |
getSeed() |
Get the Loot Table's seed.
|
void |
setLootTable(@Nullable LootTable table) |
Set the loot table for a container or entity.
|
void |
setSeed(long seed) |
Set the seed used when this Loot Table generates loot.
|
void setLootTable(@Nullable @Nullable LootTable table)
LootTables.EMPTY
to
clear a LootTable.@Nullable @Nullable LootTable getLootTable()
void setSeed(long seed)
seed
- the seed to used to generate loot. Default is 0.long getSeed()
Copyright © 2020. All rights reserved.