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

public class CopyBlockState

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

czz
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_R3.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(bmb arg0, cyv 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(buo 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(ceh arg0, cfj<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)