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

public class LootItemFunctions

eth
net.minecraft.world.level.storage.loot.functions.LootItemFunctions
net.minecraft.class_131
net.minecraft.loot.function.LootFunctionTypes
net.minecraft.src.C_2931_
net.minecraft.world.level.storage.loot.functions.LootItemFunctions

Field summary

Modifier and TypeField
public static final BiFunction<ItemStack, LootContext, ItemStack>
a
IDENTITY
field_1102
NOOP
f_80735_
public static final com.mojang.serialization.Codec<LootItemFunction>
b
TYPED_CODEC
field_45831
BASE_CODEC
f_291775_
public static final com.mojang.serialization.Codec<LootItemFunction>
c
ROOT_CODEC
field_50023
CODEC
f_314213_
public static final com.mojang.serialization.Codec<Holder<LootItemFunction>>
d
CODEC
field_45832
ENTRY_CODEC
f_291699_
public static final LootItemFunctionType<SetItemCountFunction>
e
SET_COUNT
field_25214
SET_COUNT
f_80736_
public static final LootItemFunctionType<SetItemFunction>
f
SET_ITEM
field_51426
SET_ITEM
f_314595_
public static final LootItemFunctionType<EnchantWithLevelsFunction>
g
ENCHANT_WITH_LEVELS
field_25215
ENCHANT_WITH_LEVELS
f_80737_
public static final LootItemFunctionType<EnchantRandomlyFunction>
h
ENCHANT_RANDOMLY
field_25216
ENCHANT_RANDOMLY
f_80738_
public static final LootItemFunctionType<SetEnchantmentsFunction>
i
SET_ENCHANTMENTS
field_27906
SET_ENCHANTMENTS
f_165221_
public static final LootItemFunctionType<SetCustomDataFunction>
j
SET_CUSTOM_DATA
field_49441
SET_CUSTOM_DATA
f_316637_
public static final LootItemFunctionType<SetComponentsFunction>
k
SET_COMPONENTS
field_49442
SET_COMPONENTS
f_316980_
public static final LootItemFunctionType<SmeltItemFunction>
l
FURNACE_SMELT
field_25218
FURNACE_SMELT
f_80740_
public static final LootItemFunctionType<EnchantedCountIncreaseFunction>
m
ENCHANTED_COUNT_INCREASE
field_51800
ENCHANTED_COUNT_INCREASE
f_337006_
public static final LootItemFunctionType<SetItemDamageFunction>
n
SET_DAMAGE
field_25220
SET_DAMAGE
f_80742_
public static final LootItemFunctionType<SetAttributesFunction>
o
SET_ATTRIBUTES
field_25221
SET_ATTRIBUTES
f_80743_
public static final LootItemFunctionType<SetNameFunction>
p
SET_NAME
field_25222
SET_NAME
f_80744_
public static final LootItemFunctionType<ExplorationMapFunction>
q
EXPLORATION_MAP
field_25223
EXPLORATION_MAP
f_80745_
public static final LootItemFunctionType<SetStewEffectFunction>
r
SET_STEW_EFFECT
field_25224
SET_STEW_EFFECT
f_80746_
public static final LootItemFunctionType<CopyNameFunction>
s
COPY_NAME
field_25225
COPY_NAME
f_80747_
public static final LootItemFunctionType<SetContainerContents>
t
SET_CONTENTS
field_25226
SET_CONTENTS
f_80748_
public static final LootItemFunctionType<ModifyContainerContents>
u
MODIFY_CONTENTS
field_51427
MODIFY_CONTENTS
f_314745_
public static final LootItemFunctionType<FilteredFunction>
v
FILTERED
field_51428
FILTERED
f_316507_
public static final LootItemFunctionType<LimitCount>
w
LIMIT_COUNT
field_25227
LIMIT_COUNT
f_80749_
public static final LootItemFunctionType<ApplyBonusCount>
x
APPLY_BONUS
field_25228
APPLY_BONUS
f_80750_
public static final LootItemFunctionType<SetContainerLootTable>
y
SET_LOOT_TABLE
field_25229
SET_LOOT_TABLE
f_80751_
public static final LootItemFunctionType<ApplyExplosionDecay>
z
EXPLOSION_DECAY
field_25230
EXPLOSION_DECAY
f_80752_
public static final LootItemFunctionType<SetLoreFunction>
A
SET_LORE
field_25231
SET_LORE
f_80753_
public static final LootItemFunctionType<FillPlayerHead>
B
FILL_PLAYER_HEAD
field_25232
FILL_PLAYER_HEAD
f_80754_
public static final LootItemFunctionType<CopyCustomDataFunction>
C
COPY_CUSTOM_DATA
field_49443
COPY_CUSTOM_DATA
f_315380_
public static final LootItemFunctionType<CopyBlockState>
D
COPY_STATE
field_25234
COPY_STATE
f_80756_
public static final LootItemFunctionType<SetBannerPatternFunction>
E
SET_BANNER_PATTERN
field_27342
SET_BANNER_PATTERN
f_165222_
public static final LootItemFunctionType<SetPotionFunction>
F
SET_POTION
field_35079
SET_POTION
f_193030_
public static final LootItemFunctionType<SetInstrumentFunction>
G
SET_INSTRUMENT
field_39060
SET_INSTRUMENT
f_230994_
public static final LootItemFunctionType<FunctionReference>
H
REFERENCE
field_44508
REFERENCE
f_278442_
public static final LootItemFunctionType<SequenceFunction>
I
SEQUENCE
field_45830
SEQUENCE
f_290647_
public static final LootItemFunctionType<CopyComponentsFunction>
J
COPY_COMPONENTS
field_49440
COPY_COMPONENTS
f_315087_
public static final LootItemFunctionType<SetFireworksFunction>
K
SET_FIREWORKS
field_49865
SET_FIREWORKS
f_315674_
public static final LootItemFunctionType<SetFireworkExplosionFunction>
L
SET_FIREWORK_EXPLOSION
field_49866
SET_FIREWORK_EXPLOSION
f_314869_
public static final LootItemFunctionType<SetBookCoverFunction>
M
SET_BOOK_COVER
field_49867
SET_BOOK_COVER
f_315027_
public static final LootItemFunctionType<SetWrittenBookPagesFunction>
N
SET_WRITTEN_BOOK_PAGES
field_49868
SET_WRITTEN_BOOK_PAGES
f_316039_
public static final LootItemFunctionType<SetWritableBookPagesFunction>
O
SET_WRITABLE_BOOK_PAGES
field_49869
SET_WRITABLE_BOOK_PAGES
f_315246_
public static final LootItemFunctionType<ToggleTooltips>
P
TOGGLE_TOOLTIPS
field_50022
TOGGLE_TOOLTIPS
f_316954_
public static final LootItemFunctionType<SetOminousBottleAmplifierFunction>
Q
SET_OMINOUS_BOTTLE_AMPLIFIER
field_50207
SET_OMINOUS_BOTTLE_AMPLIFIER
f_316756_
public static final LootItemFunctionType<SetCustomModelDataFunction>
R
SET_CUSTOM_MODEL_DATA
field_51425
SET_CUSTOM_MODEL_DATA
f_316565_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private static <T extends LootItemFunction> LootItemFunctionType<T>
a(String arg0, com.mojang.serialization.MapCodec<T> arg1)
register(String arg0, com.mojang.serialization.MapCodec<T> arg1)
method_29323(String arg0, com.mojang.serialization.MapCodec<T> arg1)
register(String id, com.mojang.serialization.MapCodec<T> codec)
m_80762_(String p_80763_, com.mojang.serialization.MapCodec<T> p_329222_)
public static BiFunction<ItemStack, LootContext, ItemStack>
a(List<? extends BiFunction<cuq, err, cuq>> arg0)
compose(List<? extends BiFunction<ItemStack, LootContext, ItemStack>> arg0)
method_594(List<? extends BiFunction<class_1799, class_47, class_1799>> arg0)
join(List<? extends BiFunction<ItemStack, LootContext, ItemStack>> terms)
m_80770_(List<? extends BiFunction<C_1391_, C_2811_, C_1391_>> p_298840_)