extends LootItemConditionalFunction
All mapped superinterfaces:
LootItemFunction, LootContextUser
fan | |
net.minecraft.world.level.storage.loot.functions.SetCustomModelDataFunction | |
net.minecraft.class_9670 | |
net.minecraft.loot.function.SetCustomModelDataLootFunction |
Field summary
Modifier and Type | Field | ||||||||
---|---|---|---|---|---|---|---|---|---|
private static final com.mojang.serialization.Codec<NumberProvider> |
| ||||||||
public static final com.mojang.serialization.MapCodec<SetCustomModelDataFunction> |
| ||||||||
private final Optional<ListOperation$StandAlone<NumberProvider>> |
| ||||||||
private final Optional<ListOperation$StandAlone<Boolean>> |
| ||||||||
private final Optional<ListOperation$StandAlone<String>> |
| ||||||||
private final Optional<ListOperation$StandAlone<NumberProvider>> |
|
Constructor summary
Modifier | Constructor |
---|---|
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 Type | Method | ||||||||
---|---|---|---|---|---|---|---|---|---|
public Set<ContextKey<?>> |
| ||||||||
public LootItemFunctionType<SetCustomModelDataFunction> |
| ||||||||
private static <T> List<T> |
| ||||||||
private static <T, E> List<E> |
| ||||||||
public ItemStack |
|