public record LootDataType<T extends LootTableReportable>
| net.minecraft.world.level.storage.loot.LootDataType | |
| net.minecraft.class_8490 | |
| net.minecraft.loot.LootDataType |
Field summary
| Modifier and Type | Field | ||||||
|---|---|---|---|---|---|---|---|
| private final RegistryKey<Registry<T>> |
|
||||||
| private final com.mojang.serialization.Codec<T> |
|
||||||
| private final LootDataType$ContextTypeGetter<T> |
|
||||||
| public static final LootDataType<LootCondition> |
|
||||||
| public static final LootDataType<LootFunction> |
|
||||||
| public static final LootDataType<LootTable> |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| public | (RegistryKey<Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec, LootDataType$ContextTypeGetter<T> contextGetter) |
Method summary
| Modifier and Type | Method | ||||||
|---|---|---|---|---|---|---|---|
| public void |
|
||||||
| public void |
|
||||||
| public static Stream<LootDataType<?>> |
|
||||||
| public RegistryKey<Registry<T>> |
|
||||||
| public com.mojang.serialization.Codec<T> |
|
||||||
| public LootDataType$ContextTypeGetter<T> |
|
||||||
| private void |
|