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

public class SetCustomModelDataFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

exs
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
net.minecraft.src.C_313612_
net.minecraft.world.level.storage.loot.functions.SetCustomModelDataFunction

Field summary

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

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()
m_6231_()
public LootItemFunctionType<SetCustomModelDataFunction>
b()
getType()
method_29321()
m_ngvoddkv()
getType()
getType()
m_7162_()
private static <T> List<T>
a(Optional<exe$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)
m_373653_(Optional<C_313598_$C_313741_<T>> p_375697_, List<T> p_377009_)
private static <T, E> List<E>
a(Optional<exe$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)
m_374100_(Optional<C_313598_$C_313741_<T>> p_377686_, List<E> p_377143_, Function<T, E> p_376371_)
public ItemStack
a(cwq arg0, evs 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)
m_7372_(C_1391_ p_333702_, C_2811_ arg1)