Class ContextNbtProvider
java.lang.Object
net.minecraft.world.level.storage.loot.providers.nbt.ContextNbtProvider
- All Implemented Interfaces:
NbtProvider
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static interface
static class
static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ContextNbtProvider
private static final String
private static final ContextNbtProvider.Getter
(package private) final ContextNbtProvider.Getter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) static ContextNbtProvider
createFromContext
(String p_165575_) static NbtProvider
forContextEntity
(LootContext.EntityTarget p_165571_) private static ContextNbtProvider.Getter
forEntity
(LootContext.EntityTarget p_165578_) get
(LootContext p_165573_) Set<LootContextParam<?>>
getType()
-
Field Details
-
BLOCK_ENTITY_ID
- See Also:
-
BLOCK_ENTITY_PROVIDER
-
BLOCK_ENTITY
-
getter
-
-
Constructor Details
-
ContextNbtProvider
-
-
Method Details
-
forEntity
-
getType
- Specified by:
getType
in interfaceNbtProvider
-
get
- Specified by:
get
in interfaceNbtProvider
-
getReferencedContextParams
- Specified by:
getReferencedContextParams
in interfaceNbtProvider
-
forContextEntity
-
createFromContext
-