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

public class ContextNbtProvider

implements NbtProvider

egb
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

Field summary

Modifier and TypeField
private static final String
d
BLOCK_ENTITY_ID
field_31875
BLOCK_ENTITY_TARGET_NAME
f_165563_
private static final ContextNbtProvider$Getter
e
BLOCK_ENTITY_PROVIDER
field_27915
BLOCK_ENTITY_TARGET
f_165564_
public static final ContextNbtProvider
a
BLOCK_ENTITY
field_27914
BLOCK_ENTITY
f_165562_
private static final com.mojang.serialization.Codec<ContextNbtProvider$Getter>
f
GETTER_CODEC
field_45881
field_45881
f_290468_
public static final com.mojang.serialization.Codec<ContextNbtProvider>
b
CODEC
field_45879
CODEC
f_291532_
public static final com.mojang.serialization.Codec<ContextNbtProvider>
c
INLINE_CODEC
field_45880
field_45880
f_290817_
private final ContextNbtProvider$Getter
g
getter
field_27916
target
f_165565_

Constructor summary

ModifierConstructor
private (ContextNbtProvider$Getter target)

Method summary

Modifier and TypeMethod
private static ContextNbtProvider$Getter
b(ecq$b arg0)
forEntity(LootContext$EntityTarget arg0)
method_32430(class_47$class_50 arg0)
getTarget(LootContext$EntityTarget entityTarget)
m_165577_(C_2811_$C_2815_ p_165578_)
public LootNbtProviderType
a()
getType()
method_32439()
getType()
m_142624_()
public Tag
a(ecq arg0)
get(LootContext arg0)
method_32440(class_47 arg0)
getNbt(LootContext arg0)
m_142301_(C_2811_ arg0)
public Set<LootContextParam<?>>
b()
getReferencedContextParams()
method_32441()
getRequiredParameters()
m_142677_()
public static NbtProvider
a(ecq$b arg0)
forContextEntity(LootContext$EntityTarget arg0)
method_35568(class_47$class_50 arg0)
fromTarget(LootContext$EntityTarget target)
m_165570_(C_2811_$C_2815_ p_165571_)