Package net.minecraft.loot.functions
Class SetAttributes
java.lang.Object
net.minecraft.loot.LootFunction
net.minecraft.loot.functions.SetAttributes
- All Implemented Interfaces:
BiFunction<ItemStack,,LootContext, ItemStack> ILootFunction,IParameterized
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static classstatic classNested classes/interfaces inherited from class net.minecraft.loot.LootFunction
LootFunction.Builder<T extends LootFunction.Builder<T>>Nested classes/interfaces inherited from interface net.minecraft.loot.functions.ILootFunction
ILootFunction.IBuilder -
Field Summary
FieldsFields inherited from class net.minecraft.loot.LootFunction
predicates -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateSetAttributes(ILootCondition[] p_i51228_1_, List<SetAttributes.Modifier> p_i51228_2_) -
Method Summary
Methods inherited from class net.minecraft.loot.LootFunction
apply, simpleBuilder, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiFunction
andThenMethods inherited from interface net.minecraft.loot.IParameterized
getReferencedContextParams
-
Field Details
-
modifiers
-
-
Constructor Details
-
SetAttributes
-
-
Method Details
-
getType
-
run
- Specified by:
runin classLootFunction
-