net.minecraft.world.level.storage.loot.providers.nbt

public class ContextNbtProvider

implements NbtProvider

fry
net.minecraft.world.level.storage.loot.providers.nbt.ContextNbtProvider
net.minecraft.class_5646
net.minecraft.loot.provider.nbt.ContextLootNbtProvider
net.minecraft.src.C_141483_
net.minecraft.world.level.storage.loot.providers.nbt.ContextNbtProvider

字段概要

修饰符与类型字段
private static final com.mojang.serialization.Codec<LootContextArg<Tag>>
c
GETTER_CODEC
field_45881
TARGET_CODEC
f_290468_
public static final com.mojang.serialization.MapCodec<ContextNbtProvider>
a
MAP_CODEC
field_45879
CODEC
f_412704_
public static final com.mojang.serialization.Codec<ContextNbtProvider>
b
INLINE_CODEC
field_45880
INLINE_CODEC
f_290817_
private final LootContextArg<Tag>
d
source
field_63061
target
f_413678_

构造函数概要

修饰符构造函数
private (LootContextArg<Tag> target)

方法概要

修饰符与类型方法
public LootNbtProviderType
a()
getType()
method_32439()
getType()
m_142624_()
public Tag
a(fnz arg0)
get(LootContext arg0)
method_32440(class_47 arg0)
getNbt(LootContext arg0)
m_142301_(C_2811_ arg0)
public Set<ContextKey<?>>
b()
getReferencedContextParams()
method_32441()
getRequiredParameters()
m_142677_()
public static NbtProvider
a(fnz$c arg0)
forContextEntity(LootContext$EntityTarget arg0)
method_35568(class_47$class_50 arg0)
fromTarget(LootContext$EntityReference target)
m_165570_(C_2811_$C_2815_ p_165571_)