Package net.minecraft.data.loot
Class EntityLootTables
java.lang.Object
net.minecraft.data.loot.EntityLootTables
- All Implemented Interfaces:
Consumer<BiConsumer<ResourceLocation,
LootTable.Builder>>
public class EntityLootTables
extends Object
implements Consumer<BiConsumer<ResourceLocation,LootTable.Builder>>
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final EntityPredicate.Builder
private final Map<ResourceLocation,
LootTable.Builder> private static final Set<EntityType<?>>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(BiConsumer<ResourceLocation, LootTable.Builder> p_accept_1_) protected void
add
(EntityType<?> p_218582_1_, LootTable.Builder p_218582_2_) protected void
add
(ResourceLocation p_218585_1_, LootTable.Builder p_218585_2_) protected void
private static LootTable.Builder
createSheepTable
(IItemProvider p_218583_0_) protected Iterable<EntityType<?>>
protected boolean
isNonLiving
(EntityType<?> entitytype)
-
Field Details
-
ENTITY_ON_FIRE
-
SPECIAL_LOOT_TABLE_TYPES
-
map
-
-
Constructor Details
-
EntityLootTables
public EntityLootTables()
-
-
Method Details
-
createSheepTable
-
addTables
protected void addTables() -
accept
- Specified by:
accept
in interfaceConsumer<BiConsumer<ResourceLocation,
LootTable.Builder>>
-
getKnownEntities
-
isNonLiving
-
add
-
add
-