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

public class ContextNbtProvider

implements NbtProvider

fak
net.minecraft.world.level.storage.loot.providers.nbt.ContextNbtProvider
net.minecraft.class_5646
net.minecraft.loot.provider.nbt.ContextLootNbtProvider
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
private static final ContextNbtProvider$Getter
e
BLOCK_ENTITY_PROVIDER
field_27915
BLOCK_ENTITY_TARGET
public static final ContextNbtProvider
a
BLOCK_ENTITY
field_27914
BLOCK_ENTITY
private static final com.mojang.serialization.Codec<ContextNbtProvider$Getter>
f
GETTER_CODEC
field_45881
TARGET_CODEC
public static final com.mojang.serialization.MapCodec<ContextNbtProvider>
b
CODEC
field_45879
CODEC
public static final com.mojang.serialization.Codec<ContextNbtProvider>
c
INLINE_CODEC
field_45880
INLINE_CODEC
private final ContextNbtProvider$Getter
g
getter
field_27916
target

Constructor summary

ModifierConstructor
private (ContextNbtProvider$Getter target)

Method summary

Modifier and TypeMethod
private static ContextNbtProvider$Getter
b(ewp$b arg0)
forEntity(LootContext$EntityTarget arg0)
method_32430(class_47$class_50 arg0)
getTarget(LootContext$EntityTarget entityTarget)
public LootNbtProviderType
a()
getType()
method_32439()
getType()
public Tag
a(ewp arg0)
get(LootContext arg0)
method_32440(class_47 arg0)
getNbt(LootContext arg0)
public Set<ContextKey<?>>
b()
getReferencedContextParams()
method_32441()
getRequiredParameters()
public static NbtProvider
a(ewp$b arg0)
forContextEntity(LootContext$EntityTarget arg0)
method_35568(class_47$class_50 arg0)
fromTarget(LootContext$EntityTarget target)