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

public class CopyBlockState

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

eao
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[] conditions, Block block, Set<Property<?>> properties)

Method summary

Modifier and TypeMethod
public LootItemFunctionType
b()
getType()
method_29321()
getType()
m_7162_()
public Set<LootContextParam<?>>
a()
getReferencedContextParams()
method_293()
getRequiredParameters()
m_6231_()
protected ItemStack
a(cfz arg0, dzk 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(cpn arg0)
copyState(Block arg0)
method_21892(class_2248 arg0)
builder(Block block)
m_80062_(C_1706_ p_80063_)
private static <T extends Comparable<T>> String
a(dcb arg0, dde<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_)