Package net.minecraft.loot
Class LootParameterSet
- java.lang.Object
-
- net.minecraft.loot.LootParameterSet
-
public class LootParameterSet extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LootParameterSet.Builder
-
Field Summary
Fields Modifier and Type Field Description private java.util.Set<LootParameter<?>>
all
private java.util.Set<LootParameter<?>>
required
-
Constructor Summary
Constructors Modifier Constructor Description private
LootParameterSet(java.util.Set<LootParameter<?>> p_i51211_1_, java.util.Set<LootParameter<?>> p_i51211_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<LootParameter<?>>
getAllowed()
java.util.Set<LootParameter<?>>
getRequired()
java.lang.String
toString()
void
validateUser(ValidationTracker p_227556_1_, IParameterized p_227556_2_)
-
-
-
Field Detail
-
required
private final java.util.Set<LootParameter<?>> required
-
all
private final java.util.Set<LootParameter<?>> all
-
-
Constructor Detail
-
LootParameterSet
private LootParameterSet(java.util.Set<LootParameter<?>> p_i51211_1_, java.util.Set<LootParameter<?>> p_i51211_2_)
-
-
Method Detail
-
getRequired
public java.util.Set<LootParameter<?>> getRequired()
-
getAllowed
public java.util.Set<LootParameter<?>> getAllowed()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
validateUser
public void validateUser(ValidationTracker p_227556_1_, IParameterized p_227556_2_)
-
-