extends ConditionalLootFunction
All mapped superinterfaces:
LootFunction, LootContextAware, LootTableReportable
| net.minecraft.world.level.storage.loot.functions.SetContainerLootTable | |
| net.minecraft.world.level.storage.loot.functions.SetContainerLootTable | |
| net.minecraft.class_144 | |
| net.minecraft.loot.function.SetLootTableLootFunction |
Field summary
| Modifier and Type | Field | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| public static final com.mojang.serialization.Codec<RegistryEntry$Reference<LootTable>> |
| ||||||||
| public static final com.mojang.serialization.MapCodec<SetLootTableLootFunction> |
| ||||||||
| private final RegistryEntry$Reference<LootTable> |
| ||||||||
| private final long |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| private | (Optional<RegistryEntry<LootCondition>> condition, RegistryEntry$Reference<LootTable> lootTableId, long seed) |
Method summary
| Modifier and Type | Method | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| public com.mojang.serialization.MapCodec<SetLootTableLootFunction> |
| ||||||||
| public ItemStack |
| ||||||||
| public static ConditionalLootFunction$Builder<?> |
| ||||||||
| public static ConditionalLootFunction$Builder<?> |
|