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

public class CopyBlockState

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

dbx
net.minecraft.world.level.storage.loot.functions.CopyBlockState
net.minecraft.class_4488
net.minecraft.loot.function.CopyStateFunction
net.minecraft.loot.functions.CopyBlockState
net.minecraft.server.v1_16_R1.LootItemFunctionCopyState

Field summary

Modifier and TypeField
private final Block
a
block
field_20449
block
field_227543_a_
private final Set<Property<?>>
b
properties
field_20450
properties
field_227544_c_

Constructor summary

ModifierConstructor
private (LootItemCondition[] arg0, Block arg1, Set<Property<?>> properties)

Method summary

Modifier and TypeMethod
public LootItemFunctionType
b()
getType()
method_29321()
getType()
func_230425_b_()
public Set<LootContextParam<?>>
a()
getReferencedContextParams()
method_293()
getRequiredParameters()
func_215855_a()
protected ItemStack
a(bki arg0, dat arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
func_215859_a(ItemStack arg0, LootContext arg1)
public static CopyBlockState$Builder
a(bvr arg0)
copyState(Block arg0)
method_21892(class_2248 arg0)
getBuilder(Block arg0)
func_227545_a_(Block arg0)
private static <T extends Comparable<T>> String
a(cfj arg0, cgl<T> arg1)
serialize(BlockState arg0, Property<T> arg1)
method_21893(class_2680 arg0, class_2769<T> arg1)
method_21893(BlockState arg0, Property<T> arg1)
func_227546_a_(BlockState arg0, Property<T> arg1)