类 ContextLootNbtProvider
- java.lang.Object
-
- net.minecraft.loot.provider.nbt.ContextLootNbtProvider
-
- 所有已实现的接口:
LootNbtProvider
public class ContextLootNbtProvider extends Object implements LootNbtProvider
- Mappings:
Namespace Name official dktintermediary net/minecraft/class_5646named net/minecraft/loot/provider/nbt/ContextLootNbtProvider
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classContextLootNbtProvider.CustomSerializerstatic classContextLootNbtProvider.Serializer(专用程序包) static interfaceContextLootNbtProvider.Target
-
字段概要
字段 修饰符和类型 字段 说明 static ContextLootNbtProviderBLOCK_ENTITYprivate static ContextLootNbtProvider.TargetBLOCK_ENTITY_TARGETprivate static StringBLOCK_ENTITY_TARGET_NAMEprivate ContextLootNbtProvider.Targettarget
-
构造器概要
构造器 限定符 构造器 说明 privateContextLootNbtProvider(ContextLootNbtProvider.Target target)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static LootNbtProviderfromTarget(LootContext.EntityTarget target)@Nullable TaggetNbtTag(LootContext context)Set<LootContextParameter<?>>getRequiredParameters()private static ContextLootNbtProvider.TargetgetTarget(LootContext.EntityTarget entityTarget)LootNbtProviderTypegetType()private static ContextLootNbtProvidersetTarget(String target)
-
-
-
字段详细资料
-
BLOCK_ENTITY_TARGET_NAME
private static final String BLOCK_ENTITY_TARGET_NAME
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official bLdkt;b:Ljava/lang/String;intermediary field_31875Lnet/minecraft/class_5646;field_31875:Ljava/lang/String;named BLOCK_ENTITY_TARGET_NAMELnet/minecraft/loot/provider/nbt/ContextLootNbtProvider;BLOCK_ENTITY_TARGET_NAME:Ljava/lang/String;
-
BLOCK_ENTITY_TARGET
private static final ContextLootNbtProvider.Target BLOCK_ENTITY_TARGET
- Mappings:
Namespace Name Mixin selector official cLdkt;c:Ldkt$a;intermediary field_27915Lnet/minecraft/class_5646;field_27915:Lnet/minecraft/class_5646$class_5648;named BLOCK_ENTITY_TARGETLnet/minecraft/loot/provider/nbt/ContextLootNbtProvider;BLOCK_ENTITY_TARGET:Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider$Target;
-
BLOCK_ENTITY
public static final ContextLootNbtProvider BLOCK_ENTITY
- Mappings:
Namespace Name Mixin selector official aLdkt;a:Ldkt;intermediary field_27914Lnet/minecraft/class_5646;field_27914:Lnet/minecraft/class_5646;named BLOCK_ENTITYLnet/minecraft/loot/provider/nbt/ContextLootNbtProvider;BLOCK_ENTITY:Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider;
-
target
private final ContextLootNbtProvider.Target target
- Mappings:
Namespace Name Mixin selector official dLdkt;d:Ldkt$a;intermediary field_27916Lnet/minecraft/class_5646;field_27916:Lnet/minecraft/class_5646$class_5648;named targetLnet/minecraft/loot/provider/nbt/ContextLootNbtProvider;target:Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider$Target;
-
-
构造器详细资料
-
ContextLootNbtProvider
private ContextLootNbtProvider(ContextLootNbtProvider.Target target)
- Mappings:
Namespace Name Mixin selector official <init>Ldkt;<init>(Ldkt$a;)Vintermediary <init>Lnet/minecraft/class_5646;<init>(Lnet/minecraft/class_5646$class_5648;)Vnamed <init>Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider;<init>(Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider$Target;)V
-
-
方法详细资料
-
getTarget
private static ContextLootNbtProvider.Target getTarget(LootContext.EntityTarget entityTarget)
- Mappings:
Namespace Name Mixin selector official bLdkt;b(Ldhp$c;)Ldkt$a;intermediary method_32430Lnet/minecraft/class_5646;method_32430(Lnet/minecraft/class_47$class_50;)Lnet/minecraft/class_5646$class_5648;named getTargetLnet/minecraft/loot/provider/nbt/ContextLootNbtProvider;getTarget(Lnet/minecraft/loot/context/LootContext$EntityTarget;)Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider$Target;
-
getType
public LootNbtProviderType getType()
- 指定者:
getType在接口中LootNbtProvider- Mappings:
Namespace Name Mixin selector official aLdkv;a()Ldku;intermediary method_32439Lnet/minecraft/class_5651;method_32439()Lnet/minecraft/class_5650;named getTypeLnet/minecraft/loot/provider/nbt/LootNbtProvider;getType()Lnet/minecraft/loot/provider/nbt/LootNbtProviderType;
-
getNbtTag
@Nullable public @Nullable Tag getNbtTag(LootContext context)
- 指定者:
getNbtTag在接口中LootNbtProvider- Mappings:
Namespace Name Mixin selector official aLdkv;a(Ldhp;)Lnn;intermediary method_32440Lnet/minecraft/class_5651;method_32440(Lnet/minecraft/class_47;)Lnet/minecraft/class_2520;named getNbtTagLnet/minecraft/loot/provider/nbt/LootNbtProvider;getNbtTag(Lnet/minecraft/loot/context/LootContext;)Lnet/minecraft/nbt/Tag;
-
getRequiredParameters
public Set<LootContextParameter<?>> getRequiredParameters()
- 指定者:
getRequiredParameters在接口中LootNbtProvider- Mappings:
Namespace Name Mixin selector official bLdkv;b()Ljava/util/Set;intermediary method_32441Lnet/minecraft/class_5651;method_32441()Ljava/util/Set;named getRequiredParametersLnet/minecraft/loot/provider/nbt/LootNbtProvider;getRequiredParameters()Ljava/util/Set;
-
fromTarget
public static LootNbtProvider fromTarget(LootContext.EntityTarget target)
- Mappings:
Namespace Name Mixin selector official aLdkt;a(Ldhp$c;)Ldkv;intermediary method_35568Lnet/minecraft/class_5646;method_35568(Lnet/minecraft/class_47$class_50;)Lnet/minecraft/class_5651;named fromTargetLnet/minecraft/loot/provider/nbt/ContextLootNbtProvider;fromTarget(Lnet/minecraft/loot/context/LootContext$EntityTarget;)Lnet/minecraft/loot/provider/nbt/LootNbtProvider;
-
setTarget
private static ContextLootNbtProvider setTarget(String target)
- Mappings:
Namespace Name Mixin selector official bLdkt;b(Ljava/lang/String;)Ldkt;intermediary method_32431Lnet/minecraft/class_5646;method_32431(Ljava/lang/String;)Lnet/minecraft/class_5646;named setTargetLnet/minecraft/loot/provider/nbt/ContextLootNbtProvider;setTarget(Ljava/lang/String;)Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider;
-
-