public class EntityLootTableGenerator extends Object implements Consumer<BiConsumer<Identifier,LootTable.Builder>>
| Modifier and Type | Field and Description |
|---|---|
private static Set<EntityType<?>> |
ENTITY_TYPES_IN_MISC_GROUP_TO_CHECK |
private Map<Identifier,LootTable.Builder> |
lootTables |
private static EntityPredicate.Builder |
NEEDS_ENTITY_ON_FIRE |
| Constructor and Description |
|---|
EntityLootTableGenerator() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(BiConsumer<Identifier,LootTable.Builder> biConsumer) |
private static LootTable.Builder |
createForSheep(ItemConvertible itemConvertible) |
private void |
register(EntityType<?> entityType,
LootTable.Builder builder) |
private void |
register(Identifier identifier,
LootTable.Builder builder) |
private static final EntityPredicate.Builder NEEDS_ENTITY_ON_FIRE
private static final Set<EntityType<?>> ENTITY_TYPES_IN_MISC_GROUP_TO_CHECK
private final Map<Identifier,LootTable.Builder> lootTables
private static LootTable.Builder createForSheep(ItemConvertible itemConvertible)
public void accept(BiConsumer<Identifier,LootTable.Builder> biConsumer)
accept in interface Consumer<BiConsumer<Identifier,LootTable.Builder>>private void register(EntityType<?> entityType, LootTable.Builder builder)
private void register(Identifier identifier, LootTable.Builder builder)