类 LootContextParameter<T>


  • public class LootContextParameter<T>
    extends Object
    Mappings:
    Namespace Name
    official djs
    intermediary net/minecraft/class_169
    named net/minecraft/loot/context/LootContextParameter
    • 字段详细资料

      • id

        private final Identifier id
        Mappings:
        Namespace Name Mixin selector
        official a Ldjs;a:Lwp;
        intermediary field_1162 Lnet/minecraft/class_169;field_1162:Lnet/minecraft/class_2960;
        named id Lnet/minecraft/loot/context/LootContextParameter;id:Lnet/minecraft/util/Identifier;
    • 构造器详细资料

      • LootContextParameter

        public LootContextParameter​(Identifier id)
        Mappings:
        Namespace Name Mixin selector
        official <init> Ldjs;<init>(Lwp;)V
        intermediary <init> Lnet/minecraft/class_169;<init>(Lnet/minecraft/class_2960;)V
        named <init> Lnet/minecraft/loot/context/LootContextParameter;<init>(Lnet/minecraft/util/Identifier;)V
    • 方法详细资料

      • getIdentifier

        public Identifier getIdentifier()
        Mappings:
        Namespace Name Mixin selector
        official a Ldjs;a()Lwp;
        intermediary method_746 Lnet/minecraft/class_169;method_746()Lnet/minecraft/class_2960;
        named getIdentifier Lnet/minecraft/loot/context/LootContextParameter;getIdentifier()Lnet/minecraft/util/Identifier;
      • toString

        public String toString()
        覆盖:
        toString 在类中 Object
        Mappings:
        Namespace Name Mixin selector
        official toString Ldjs;toString()Ljava/lang/String;
        intermediary toString Lnet/minecraft/class_169;toString()Ljava/lang/String;
        named toString Lnet/minecraft/loot/context/LootContextParameter;toString()Ljava/lang/String;