类 LootPoolEntry

  • 所有已实现的接口:
    EntryCombiner
    直接已知子类:
    CombinedEntry, LeafEntry

    public abstract class LootPoolEntry
    extends Object
    implements EntryCombiner
    Mappings:
    Namespace Name
    official dih
    intermediary net/minecraft/class_79
    named net/minecraft/loot/entry/LootPoolEntry
    • 字段详细资料

      • conditions

        protected final LootCondition[] conditions
        Mappings:
        Namespace Name Mixin selector
        official d Ldih;d:[Ldkh;
        intermediary field_988 Lnet/minecraft/class_79;field_988:[Lnet/minecraft/class_5341;
        named conditions Lnet/minecraft/loot/entry/LootPoolEntry;conditions:[Lnet/minecraft/loot/condition/LootCondition;
      • conditionPredicate

        private final Predicate<LootContext> conditionPredicate
        Mappings:
        Namespace Name Mixin selector
        official c Ldih;c:Ljava/util/function/Predicate;
        intermediary field_989 Lnet/minecraft/class_79;field_989:Ljava/util/function/Predicate;
        named conditionPredicate Lnet/minecraft/loot/entry/LootPoolEntry;conditionPredicate:Ljava/util/function/Predicate;
    • 构造器详细资料

      • LootPoolEntry

        protected LootPoolEntry​(LootCondition[] conditions)
        Mappings:
        Namespace Name Mixin selector
        official <init> Ldih;<init>([Ldkh;)V
        intermediary <init> Lnet/minecraft/class_79;<init>([Lnet/minecraft/class_5341;)V
        named <init> Lnet/minecraft/loot/entry/LootPoolEntry;<init>([Lnet/minecraft/loot/condition/LootCondition;)V
    • 方法详细资料

      • validate

        public void validate​(LootTableReporter reporter)
        Mappings:
        Namespace Name Mixin selector
        official a Ldih;a(Ldhx;)V
        intermediary method_415 Lnet/minecraft/class_79;method_415(Lnet/minecraft/class_58;)V
        named validate Lnet/minecraft/loot/entry/LootPoolEntry;validate(Lnet/minecraft/loot/LootTableReporter;)V
      • test

        protected final boolean test​(LootContext context)
        Mappings:
        Namespace Name Mixin selector
        official a Ldih;a(Ldhp;)Z
        intermediary method_414 Lnet/minecraft/class_79;method_414(Lnet/minecraft/class_47;)Z
        named test Lnet/minecraft/loot/entry/LootPoolEntry;test(Lnet/minecraft/loot/context/LootContext;)Z
      • getType

        public abstract LootPoolEntryType getType()
        Mappings:
        Namespace Name Mixin selector
        official a Ldih;a()Ldii;
        intermediary method_29318 Lnet/minecraft/class_79;method_29318()Lnet/minecraft/class_5338;
        named getType Lnet/minecraft/loot/entry/LootPoolEntry;getType()Lnet/minecraft/loot/entry/LootPoolEntryType;