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

public class LootItemFunctions

eyf
net.minecraft.world.level.storage.loot.functions.LootItemFunctions
net.minecraft.class_131
net.minecraft.loot.function.LootFunctionTypes
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
public static final com.mojang.serialization.Codec<LootItemFunction>
b
TYPED_CODEC
field_45831
BASE_CODEC
public static final com.mojang.serialization.Codec<LootItemFunction>
c
ROOT_CODEC
field_50023
CODEC
public static final com.mojang.serialization.Codec<Holder<LootItemFunction>>
d
CODEC
field_45832
ENTRY_CODEC
public static final LootItemFunctionType<SetItemCountFunction>
e
SET_COUNT
field_25214
SET_COUNT
public static final LootItemFunctionType<SetItemFunction>
f
SET_ITEM
field_51426
SET_ITEM
public static final LootItemFunctionType<EnchantWithLevelsFunction>
g
ENCHANT_WITH_LEVELS
field_25215
ENCHANT_WITH_LEVELS
public static final LootItemFunctionType<EnchantRandomlyFunction>
h
ENCHANT_RANDOMLY
field_25216
ENCHANT_RANDOMLY
public static final LootItemFunctionType<SetEnchantmentsFunction>
i
SET_ENCHANTMENTS
field_27906
SET_ENCHANTMENTS
public static final LootItemFunctionType<SetCustomDataFunction>
j
SET_CUSTOM_DATA
field_49441
SET_CUSTOM_DATA
public static final LootItemFunctionType<SetComponentsFunction>
k
SET_COMPONENTS
field_49442
SET_COMPONENTS
public static final LootItemFunctionType<SmeltItemFunction>
l
FURNACE_SMELT
field_25218
FURNACE_SMELT
public static final LootItemFunctionType<EnchantedCountIncreaseFunction>
m
ENCHANTED_COUNT_INCREASE
field_51800
ENCHANTED_COUNT_INCREASE
public static final LootItemFunctionType<SetItemDamageFunction>
n
SET_DAMAGE
field_25220
SET_DAMAGE
public static final LootItemFunctionType<SetAttributesFunction>
o
SET_ATTRIBUTES
field_25221
SET_ATTRIBUTES
public static final LootItemFunctionType<SetNameFunction>
p
SET_NAME
field_25222
SET_NAME
public static final LootItemFunctionType<ExplorationMapFunction>
q
EXPLORATION_MAP
field_25223
EXPLORATION_MAP
public static final LootItemFunctionType<SetStewEffectFunction>
r
SET_STEW_EFFECT
field_25224
SET_STEW_EFFECT
public static final LootItemFunctionType<CopyNameFunction>
s
COPY_NAME
field_25225
COPY_NAME
public static final LootItemFunctionType<SetContainerContents>
t
SET_CONTENTS
field_25226
SET_CONTENTS
public static final LootItemFunctionType<ModifyContainerContents>
u
MODIFY_CONTENTS
field_51427
MODIFY_CONTENTS
public static final LootItemFunctionType<FilteredFunction>
v
FILTERED
field_51428
FILTERED
public static final LootItemFunctionType<LimitCount>
w
LIMIT_COUNT
field_25227
LIMIT_COUNT
public static final LootItemFunctionType<ApplyBonusCount>
x
APPLY_BONUS
field_25228
APPLY_BONUS
public static final LootItemFunctionType<SetContainerLootTable>
y
SET_LOOT_TABLE
field_25229
SET_LOOT_TABLE
public static final LootItemFunctionType<ApplyExplosionDecay>
z
EXPLOSION_DECAY
field_25230
EXPLOSION_DECAY
public static final LootItemFunctionType<SetLoreFunction>
A
SET_LORE
field_25231
SET_LORE
public static final LootItemFunctionType<FillPlayerHead>
B
FILL_PLAYER_HEAD
field_25232
FILL_PLAYER_HEAD
public static final LootItemFunctionType<CopyCustomDataFunction>
C
COPY_CUSTOM_DATA
field_49443
COPY_CUSTOM_DATA
public static final LootItemFunctionType<CopyBlockState>
D
COPY_STATE
field_25234
COPY_STATE
public static final LootItemFunctionType<SetBannerPatternFunction>
E
SET_BANNER_PATTERN
field_27342
SET_BANNER_PATTERN
public static final LootItemFunctionType<SetPotionFunction>
F
SET_POTION
field_35079
SET_POTION
public static final LootItemFunctionType<SetInstrumentFunction>
G
SET_INSTRUMENT
field_39060
SET_INSTRUMENT
public static final LootItemFunctionType<FunctionReference>
H
REFERENCE
field_44508
REFERENCE
public static final LootItemFunctionType<SequenceFunction>
I
SEQUENCE
field_45830
SEQUENCE
public static final LootItemFunctionType<CopyComponentsFunction>
J
COPY_COMPONENTS
field_49440
COPY_COMPONENTS
public static final LootItemFunctionType<SetFireworksFunction>
K
SET_FIREWORKS
field_49865
SET_FIREWORKS
public static final LootItemFunctionType<SetFireworkExplosionFunction>
L
SET_FIREWORK_EXPLOSION
field_49866
SET_FIREWORK_EXPLOSION
public static final LootItemFunctionType<SetBookCoverFunction>
M
SET_BOOK_COVER
field_49867
SET_BOOK_COVER
public static final LootItemFunctionType<SetWrittenBookPagesFunction>
N
SET_WRITTEN_BOOK_PAGES
field_49868
SET_WRITTEN_BOOK_PAGES
public static final LootItemFunctionType<SetWritableBookPagesFunction>
O
SET_WRITABLE_BOOK_PAGES
field_49869
SET_WRITABLE_BOOK_PAGES
public static final LootItemFunctionType<ToggleTooltips>
P
TOGGLE_TOOLTIPS
field_50022
TOGGLE_TOOLTIPS
public static final LootItemFunctionType<SetOminousBottleAmplifierFunction>
Q
SET_OMINOUS_BOTTLE_AMPLIFIER
field_50207
SET_OMINOUS_BOTTLE_AMPLIFIER
public static final LootItemFunctionType<SetCustomModelDataFunction>
R
SET_CUSTOM_MODEL_DATA
field_51425
SET_CUSTOM_MODEL_DATA

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)
public static BiFunction<ItemStack, LootContext, ItemStack>
a(List<? extends BiFunction<cxp, ewp, cxp>> 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)