extends LootItemConditionalFunction
All mapped superinterfaces:
LootItemFunction, LootContextUser
| eyp | |
| net.minecraft.world.level.storage.loot.functions.SetCustomModelDataFunction | |
| net.minecraft.class_9670 | |
| net.minecraft.loot.function.SetCustomModelDataLootFunction | |
| net.minecraft.src.C_313612_ |
Field summary
| Modifier and Type | Field | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| static final com.mojang.serialization.MapCodec<SetCustomModelDataFunction> |
| ||||||||||
| private final NumberProvider |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| private | (List<LootItemCondition> conditions, NumberProvider value) |
Method summary
| Modifier and Type | Method | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public Set<ContextKey<?>> |
| ||||||||||
| public LootItemFunctionType<SetCustomModelDataFunction> |
| ||||||||||
| public ItemStack |
|