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 |
---|---|
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) |
protected static final EntityPredicate.Builder ON_FIRE
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)