Class EntityGenerator.Data
java.lang.Object
net.rebel459.unified.api.data.registry.EntityGenerator.Data
- Enclosing class:
EntityGenerator
-
Method Summary
Modifier and TypeMethodDescriptionloot(BiFunction<net.minecraft.world.entity.EntityType<?>, EntityLootSubProvider, net.minecraft.world.level.storage.loot.LootTable.Builder> lootTable) optionalTag(net.minecraft.tags.TagKey<net.minecraft.world.entity.EntityType<?>> tag) tag(net.minecraft.tags.TagKey<net.minecraft.world.entity.EntityType<?>> tag)
-
Method Details
-
tag
public EntityGenerator.Data tag(net.minecraft.tags.TagKey<net.minecraft.world.entity.EntityType<?>> tag) -
optionalTag
public EntityGenerator.Data optionalTag(net.minecraft.tags.TagKey<net.minecraft.world.entity.EntityType<?>> tag) -
loot
public EntityGenerator.Data loot(BiFunction<net.minecraft.world.entity.EntityType<?>, EntityLootSubProvider, net.minecraft.world.level.storage.loot.LootTable.Builder> lootTable)
-