Package net.minecraft.data.loot
Class EntityLoot
java.lang.Object
net.minecraft.data.loot.EntityLoot
- All Implemented Interfaces:
Consumer<BiConsumer<ResourceLocation,LootTable.Builder>>
public class EntityLoot
extends Object
implements Consumer<BiConsumer<ResourceLocation,LootTable.Builder>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static EntityPredicate.Builderprivate Map<ResourceLocation,LootTable.Builder>private static Set<EntityType<?>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(BiConsumer<ResourceLocation,LootTable.Builder> p_124377_)protected voidadd(ResourceLocation p_124381_, LootTable.Builder p_124382_)protected voidadd(EntityType<?> p_124372_, LootTable.Builder p_124373_)protected voidprivate static LootTable.BuildercreateSheepTable(ItemLike p_124375_)protected Iterable<EntityType<?>>protected booleanisNonLiving(EntityType<?> entitytype)
-
Field Details
-
ENTITY_ON_FIRE
-
SPECIAL_LOOT_TABLE_TYPES
-
map
-
-
Constructor Details
-
EntityLoot
public EntityLoot()
-
-
Method Details
-
createSheepTable
-
addTables
protected void addTables() -
accept
- Specified by:
acceptin interfaceConsumer<BiConsumer<ResourceLocation,LootTable.Builder>>
-
getKnownEntities
-
isNonLiving
-
add
-
add
-