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
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_124377_) protected void
add
(ResourceLocation p_124381_, LootTable.Builder p_124382_) protected void
add
(EntityType<?> p_124372_, LootTable.Builder p_124373_) protected void
private static LootTable.Builder
createSheepTable
(ItemLike p_124375_) protected Iterable<EntityType<?>>
protected boolean
isNonLiving
(EntityType<?> entitytype) private LootItemCondition.Builder
private LootItemCondition.Builder
killedByFrogVariant
(FrogVariant p_236266_)
-
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:
accept
in interfaceConsumer<BiConsumer<ResourceLocation,
LootTable.Builder>>
-
getKnownEntities
-
isNonLiving
-
killedByFrog
-
killedByFrogVariant
-
add
-
add
-