Package net.minecraft.loot
Class LootTypesManager.LootTypeRegistryWrapper<E,T extends LootType<E>>
- java.lang.Object
-
- net.minecraft.loot.LootTypesManager.LootTypeRegistryWrapper<E,T>
-
- Enclosing class:
- LootTypesManager
public static class LootTypesManager.LootTypeRegistryWrapper<E,T extends LootType<E>> extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private com.mojang.datafixers.util.Pair<T,LootTypesManager.ISerializer<? extends E>>
defaultType
private java.lang.String
elementName
private Registry<T>
registry
private java.util.function.Function<E,T>
typeGetter
private java.lang.String
typeKey
-
Constructor Summary
Constructors Modifier Constructor Description private
LootTypeRegistryWrapper(Registry<T> p_i232160_1_, java.lang.String p_i232160_2_, java.lang.String p_i232160_3_, java.util.function.Function<E,T> p_i232160_4_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
build()
-
-
-
Field Detail
-
elementName
private final java.lang.String elementName
-
typeKey
private final java.lang.String typeKey
-
defaultType
@Nullable private com.mojang.datafixers.util.Pair<T extends LootType<E>,LootTypesManager.ISerializer<? extends E>> defaultType
-
-