public class EntityLootTables extends java.lang.Object implements java.util.function.Consumer<java.util.function.BiConsumer<ResourceLocation,LootTable.Builder>>
Modifier and Type | Field and Description |
---|---|
private java.util.Map<ResourceLocation,LootTable.Builder> |
lootTables |
private static java.util.Set<EntityType<?>> |
NO_DROPS |
protected static EntityPredicate.Builder |
ON_FIRE |
Constructor and Description |
---|
EntityLootTables() |
Modifier and Type | Method and Description |
---|---|
void |
accept(java.util.function.BiConsumer<ResourceLocation,LootTable.Builder> p_accept_1_) |
protected void |
addTables() |
protected java.lang.Iterable<EntityType<?>> |
getKnownEntities() |
protected boolean |
isNonLiving(EntityType<?> entitytype) |
protected void |
registerLootTable(EntityType<?> type,
LootTable.Builder table) |
protected void |
registerLootTable(ResourceLocation id,
LootTable.Builder table) |
private static LootTable.Builder |
sheepLootTableBuilderWithDrop(IItemProvider p_218583_0_) |
protected static final EntityPredicate.Builder ON_FIRE
private static final java.util.Set<EntityType<?>> NO_DROPS
private final java.util.Map<ResourceLocation,LootTable.Builder> lootTables
private static LootTable.Builder sheepLootTableBuilderWithDrop(IItemProvider p_218583_0_)
protected void addTables()
public void accept(java.util.function.BiConsumer<ResourceLocation,LootTable.Builder> p_accept_1_)
accept
in interface java.util.function.Consumer<java.util.function.BiConsumer<ResourceLocation,LootTable.Builder>>
protected java.lang.Iterable<EntityType<?>> getKnownEntities()
protected boolean isNonLiving(EntityType<?> entitytype)
protected void registerLootTable(EntityType<?> type, LootTable.Builder table)
protected void registerLootTable(ResourceLocation id, LootTable.Builder table)