extends LootItemConditionalFunction
All mapped superinterfaces:
LootItemFunction, LootContextUser
exo | |
net.minecraft.world.level.storage.loot.functions.CopyBlockState | |
net.minecraft.class_4488 | |
net.minecraft.loot.function.CopyStateLootFunction | |
net.minecraft.world.level.storage.loot.functions.LootItemFunctionCopyState |
Field summary
Modifier and Type | Field | ||||||||
---|---|---|---|---|---|---|---|---|---|
public static final com.mojang.serialization.MapCodec<CopyBlockState> |
| ||||||||
private final Holder<Block> |
| ||||||||
private final Set<Property<?>> |
|
Constructor summary
Modifier | Constructor |
---|---|
(List<LootItemCondition> conditions, Holder<Block> block, Set<Property<?>> properties) | |
private | (List<LootItemCondition> conditions, Holder<Block> block, List<String> properties) |
Method summary
Modifier and Type | Method | ||||||||
---|---|---|---|---|---|---|---|---|---|
public LootItemFunctionType<CopyBlockState> |
| ||||||||
public Set<ContextKey<?>> |
| ||||||||
protected ItemStack |
| ||||||||
public static CopyBlockState$Builder |
|