类 LootContextType.Builder

  • 封闭类:
    LootContextType

    public static class LootContextType.Builder
    extends Object
    Mappings:
    Namespace Name
    official djt$a
    intermediary net/minecraft/class_176$class_177
    named net/minecraft/loot/context/LootContextType$Builder
    • 字段详细资料

      • required

        private final Set<LootContextParameter<?>> required
        Mappings:
        Namespace Name Mixin selector
        official a Ldjt$a;a:Ljava/util/Set;
        intermediary field_1218 Lnet/minecraft/class_176$class_177;field_1218:Ljava/util/Set;
        named required Lnet/minecraft/loot/context/LootContextType$Builder;required:Ljava/util/Set;
      • allowed

        private final Set<LootContextParameter<?>> allowed
        Mappings:
        Namespace Name Mixin selector
        official b Ldjt$a;b:Ljava/util/Set;
        intermediary field_1217 Lnet/minecraft/class_176$class_177;field_1217:Ljava/util/Set;
        named allowed Lnet/minecraft/loot/context/LootContextType$Builder;allowed:Ljava/util/Set;
    • 构造器详细资料

      • Builder

        public Builder()
    • 方法详细资料

      • require

        public LootContextType.Builder require​(LootContextParameter<?> parameter)
        Mappings:
        Namespace Name Mixin selector
        official a Ldjt$a;a(Ldjs;)Ldjt$a;
        intermediary method_781 Lnet/minecraft/class_176$class_177;method_781(Lnet/minecraft/class_169;)Lnet/minecraft/class_176$class_177;
        named require Lnet/minecraft/loot/context/LootContextType$Builder;require(Lnet/minecraft/loot/context/LootContextParameter;)Lnet/minecraft/loot/context/LootContextType$Builder;
      • allow

        public LootContextType.Builder allow​(LootContextParameter<?> parameter)
        Mappings:
        Namespace Name Mixin selector
        official b Ldjt$a;b(Ldjs;)Ldjt$a;
        intermediary method_780 Lnet/minecraft/class_176$class_177;method_780(Lnet/minecraft/class_169;)Lnet/minecraft/class_176$class_177;
        named allow Lnet/minecraft/loot/context/LootContextType$Builder;allow(Lnet/minecraft/loot/context/LootContextParameter;)Lnet/minecraft/loot/context/LootContextType$Builder;
      • build

        public LootContextType build()
        Mappings:
        Namespace Name Mixin selector
        official a Ldjt$a;a()Ldjt;
        intermediary method_782 Lnet/minecraft/class_176$class_177;method_782()Lnet/minecraft/class_176;
        named build Lnet/minecraft/loot/context/LootContextType$Builder;build()Lnet/minecraft/loot/context/LootContextType;