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

public class CopyBlockState

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

djq
net.minecraft.world.level.storage.loot.functions.CopyBlockState
net.minecraft.class_4488
net.minecraft.loot.function.CopyStateFunction
net.minecraft.src.C_2885_
net.minecraft.world.level.storage.loot.functions.LootItemFunctionCopyState

Field summary

Modifier and TypeField
final Block
a
block
field_20449
block
f_80047_
final Set<Property<?>>
b
properties
field_20450
properties
f_80048_

Constructor summary

ModifierConstructor
(LootItemCondition[] p_80051_, Block p_80052_, Set<Property<?>> arg2)

Method summary

Modifier and TypeMethod
public LootItemFunctionType
a()
getType()
method_29321()
getType()
m_7162_()
public Set<LootContextParam<?>>
b()
getReferencedContextParams()
method_293()
getRequiredParameters()
m_6231_()
protected ItemStack
a(bqq arg0, dip arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
m_7372_(C_1391_ p_80061_, C_2811_ arg1)
public static CopyBlockState$Builder
a(bzp arg0)
copyState(Block arg0)
method_21892(class_2248 arg0)
getBuilder(Block block)
m_80062_(C_1706_ p_80063_)
private static <T extends Comparable<T>> String
a(ckt arg0, clw<T> arg1)
serialize(BlockState arg0, Property<T> arg1)
method_21893(class_2680 arg0, class_2769<T> arg1)
getPropertyName(BlockState state, Property<T> property)
m_80064_(C_2064_ p_80065_, C_2097_<T> p_80066_)