net.minecraft.world.level.storage.loot.functions

public class SetCustomModelDataFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

fbh
net.minecraft.world.level.storage.loot.functions.SetCustomModelDataFunction
net.minecraft.class_9670
net.minecraft.unmapped.C_zesqnwxo
net.minecraft.loot.function.SetCustomModelDataLootFunction
net.minecraft.loot.function.SetCustomModelDataLootFunction

Field summary

Modifier and TypeField
private static final com.mojang.serialization.Codec<NumberProvider>
b
COLOR_PROVIDER_CODEC
field_55219
f_glfbaxsc
COLOR_CODEC
public static final com.mojang.serialization.MapCodec<SetCustomModelDataFunction>
a
CODEC
field_51434
f_jcqvtpts
CODEC
private final Optional<ListOperation$StandAlone<NumberProvider>>
c
floats
field_55220
f_jhungxss
floats
floats
private final Optional<ListOperation$StandAlone<Boolean>>
d
flags
field_55221
f_zirgtoga
flags
flags
private final Optional<ListOperation$StandAlone<String>>
e
strings
field_55222
f_qaggmkmz
strings
strings
private final Optional<ListOperation$StandAlone<NumberProvider>>
f
colors
field_55223
f_ojadexhv
colors
colors

Constructor summary

ModifierConstructor
public (List<LootItemCondition> conditions, Optional<ListOperation$StandAlone<NumberProvider>> floats, Optional<ListOperation$StandAlone<Boolean>> flags, Optional<ListOperation$StandAlone<String>> strings, Optional<ListOperation$StandAlone<NumberProvider>> colors)

Method summary

Modifier and TypeMethod
public Set<ContextKey<?>>
a()
getReferencedContextParams()
method_293()
m_oozesizv()
getAllowedParameters()
getRequiredParameters()
public LootItemFunctionType<SetCustomModelDataFunction>
b()
getType()
method_29321()
m_ngvoddkv()
getType()
getType()
private static <T> List<T>
a(Optional<fat$e<T>> arg0, List<T> arg1)
apply(Optional<ListOperation$StandAlone<T>> arg0, List<T> arg1)
method_65379(Optional<class_9368$class_9677<T>> arg0, List<T> arg1)
m_qgismwij(Optional<C_ewwujywv$C_hxkbztnt<T>> arg0, List<T> arg1)
apply(Optional<ListOperation$Values<T>> values, List<T> current)
m_qgismwij(Optional<ListOperation$Applier<T>> arg0, List<T> other)
private static <T, E> List<E>
a(Optional<fat$e<T>> arg0, List<E> arg1, Function<T, E> arg2)
apply(Optional<ListOperation$StandAlone<T>> arg0, List<E> arg1, Function<T, E> arg2)
method_65380(Optional<class_9368$class_9677<T>> arg0, List<E> arg1, Function<T, E> arg2)
m_bfldffok(Optional<C_ewwujywv$C_hxkbztnt<T>> arg0, List<E> arg1, Function<T, E> arg2)
apply(Optional<ListOperation$Values<T>> values, List<E> current, Function<T, E> operationValueToAppliedValue)
m_bfldffok(Optional<ListOperation$Applier<T>> arg0, List<E> other, Function<T, E> arg2)
public ItemStack
a(czd arg0, ezh arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
m_axzztavb(C_sddaxwyk arg0, C_iakykpgh arg1)
process(ItemStack arg0, LootContext arg1)
process(ItemStack arg0, LootContext arg1)