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

public class CopyBlockState

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

csy
net.minecraft.world.level.storage.loot.functions.CopyBlockState
net.minecraft.class_4488
net.minecraft.loot.function.CopyStateFunction
net.minecraft.world.storage.loot.functions.CopyBlockState
net.minecraft.server.v1_15_R1.LootItemFunctionCopyState

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public Set<LootContextParam<?>>
a()
getReferencedContextParams()
method_293()
getRequiredParameters()
func_215855_a()
protected ItemStack
a(ben arg0, crx 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(bph 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(byj arg0, bzm<T> arg1)
serialize(BlockState arg0, Property<T> arg1)
method_21893(class_2680 arg0, class_2769<T> arg1)
func_227546_a_(BlockState arg0, IProperty<T> arg1)