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

public class CopyBlockState

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

ewr
net.minecraft.world.level.storage.loot.functions.CopyBlockState
net.minecraft.class_4488
net.minecraft.unmapped.C_wvgabkvo
net.minecraft.loot.function.CopyStateLootFunction
net.minecraft.loot.function.CopyStateFunction
net.minecraft.src.C_2885_
net.minecraft.world.level.storage.loot.functions.LootItemFunctionCopyState

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<CopyBlockState>
a
CODEC
field_45816
f_qlqkxurw
CODEC
CODEC
f_291384_
private final Holder<Block>
b
block
field_20449
f_pyckvicf
block
block
f_80047_
private final Set<Property<?>>
c
properties
field_20450
f_webqigsf
properties
properties
f_80048_

Constructor summary

ModifierConstructor
(List<LootItemCondition> conditions, Holder<Block> block, Set<Property<?>> properties)
private (List<LootItemCondition> conditions, Holder<Block> block, List<String> properties)

Method summary

Modifier and TypeMethod
public LootItemFunctionType<CopyBlockState>
b()
getType()
method_29321()
m_ngvoddkv()
getType()
getType()
m_7162_()
public Set<ContextKey<?>>
a()
getReferencedContextParams()
method_293()
m_oozesizv()
getAllowedParameters()
getRequiredParameters()
m_6231_()
protected 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_80061_, C_2811_ arg1)
public static CopyBlockState$Builder
a(djn arg0)
copyState(Block arg0)
method_21892(class_2248 arg0)
m_nwoyzure(C_mmxmpdoq arg0)
builder(Block block)
getBuilder(Block block)
m_80062_(C_1706_ p_80063_)