类 PointOfInterestSet


  • public class PointOfInterestSet
    extends Object
    Mappings:
    Namespace Name
    official bcq
    intermediary net/minecraft/class_4157
    named net/minecraft/world/poi/PointOfInterestSet
    • 字段详细资料

      • LOGGER

        private static final Logger LOGGER
        Mappings:
        Namespace Name Mixin selector
        official a Lbcq;a:Lorg/apache/logging/log4j/Logger;
        intermediary field_18496 Lnet/minecraft/class_4157;field_18496:Lorg/apache/logging/log4j/Logger;
        named LOGGER Lnet/minecraft/world/poi/PointOfInterestSet;LOGGER:Lorg/apache/logging/log4j/Logger;
      • pointsOfInterestByPos

        private final Short2ObjectMap<PointOfInterest> pointsOfInterestByPos
        Mappings:
        Namespace Name Mixin selector
        official b Lbcq;b:Lit/unimi/dsi/fastutil/shorts/Short2ObjectMap;
        intermediary field_18497 Lnet/minecraft/class_4157;field_18497:Lit/unimi/dsi/fastutil/shorts/Short2ObjectMap;
        named pointsOfInterestByPos Lnet/minecraft/world/poi/PointOfInterestSet;pointsOfInterestByPos:Lit/unimi/dsi/fastutil/shorts/Short2ObjectMap;
      • pointsOfInterestByType

        private final Map<PointOfInterestType,​Set<PointOfInterest>> pointsOfInterestByType
        Mappings:
        Namespace Name Mixin selector
        official c Lbcq;c:Ljava/util/Map;
        intermediary field_18498 Lnet/minecraft/class_4157;field_18498:Ljava/util/Map;
        named pointsOfInterestByType Lnet/minecraft/world/poi/PointOfInterestSet;pointsOfInterestByType:Ljava/util/Map;
      • updateListener

        private final Runnable updateListener
        Mappings:
        Namespace Name Mixin selector
        official d Lbcq;d:Ljava/lang/Runnable;
        intermediary field_18499 Lnet/minecraft/class_4157;field_18499:Ljava/lang/Runnable;
        named updateListener Lnet/minecraft/world/poi/PointOfInterestSet;updateListener:Ljava/lang/Runnable;
      • valid

        private boolean valid
        Mappings:
        Namespace Name Mixin selector
        official e Lbcq;e:Z
        intermediary field_19226 Lnet/minecraft/class_4157;field_19226:Z
        named valid Lnet/minecraft/world/poi/PointOfInterestSet;valid:Z
    • 构造器详细资料

      • PointOfInterestSet

        public PointOfInterestSet​(Runnable updateListener)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lbcq;<init>(Ljava/lang/Runnable;)V
        intermediary <init> Lnet/minecraft/class_4157;<init>(Ljava/lang/Runnable;)V
        named <init> Lnet/minecraft/world/poi/PointOfInterestSet;<init>(Ljava/lang/Runnable;)V
      • PointOfInterestSet

        private PointOfInterestSet​(Runnable updateListener,
                                   boolean valid,
                                   List<PointOfInterest> list)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lbcq;<init>(Ljava/lang/Runnable;ZLjava/util/List;)V
        intermediary <init> Lnet/minecraft/class_4157;<init>(Ljava/lang/Runnable;ZLjava/util/List;)V
        named <init> Lnet/minecraft/world/poi/PointOfInterestSet;<init>(Ljava/lang/Runnable;ZLjava/util/List;)V
    • 方法详细资料

      • createCodec

        public static com.mojang.serialization.Codec<PointOfInterestSet> createCodec​(Runnable updateListener)
        Mappings:
        Namespace Name Mixin selector
        official a Lbcq;a(Ljava/lang/Runnable;)Lcom/mojang/serialization/Codec;
        intermediary method_28364 Lnet/minecraft/class_4157;method_28364(Ljava/lang/Runnable;)Lcom/mojang/serialization/Codec;
        named createCodec Lnet/minecraft/world/poi/PointOfInterestSet;createCodec(Ljava/lang/Runnable;)Lcom/mojang/serialization/Codec;
      • get

        public Stream<PointOfInterest> get​(Predicate<PointOfInterestType> predicate,
                                           PointOfInterestStorage.OccupationStatus occupationStatus)
        Mappings:
        Namespace Name Mixin selector
        official a Lbcq;a(Ljava/util/function/Predicate;Lbco$b;)Ljava/util/stream/Stream;
        intermediary method_19150 Lnet/minecraft/class_4157;method_19150(Ljava/util/function/Predicate;Lnet/minecraft/class_4153$class_4155;)Ljava/util/stream/Stream;
        named get Lnet/minecraft/world/poi/PointOfInterestSet;get(Ljava/util/function/Predicate;Lnet/minecraft/world/poi/PointOfInterestStorage$OccupationStatus;)Ljava/util/stream/Stream;
      • add

        public void add​(BlockPos pos,
                        PointOfInterestType type)
        Mappings:
        Namespace Name Mixin selector
        official a Lbcq;a(Lgb;Lbcr;)V
        intermediary method_19146 Lnet/minecraft/class_4157;method_19146(Lnet/minecraft/class_2338;Lnet/minecraft/class_4158;)V
        named add Lnet/minecraft/world/poi/PointOfInterestSet;add(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/poi/PointOfInterestType;)V
      • add

        private boolean add​(PointOfInterest poi)
        Mappings:
        Namespace Name Mixin selector
        official a Lbcq;a(Lbcp;)Z
        intermediary method_20350 Lnet/minecraft/class_4157;method_20350(Lnet/minecraft/class_4156;)Z
        named add Lnet/minecraft/world/poi/PointOfInterestSet;add(Lnet/minecraft/world/poi/PointOfInterest;)Z
      • remove

        public void remove​(BlockPos pos)
        Mappings:
        Namespace Name Mixin selector
        official a Lbcq;a(Lgb;)V
        intermediary method_19145 Lnet/minecraft/class_4157;method_19145(Lnet/minecraft/class_2338;)V
        named remove Lnet/minecraft/world/poi/PointOfInterestSet;remove(Lnet/minecraft/util/math/BlockPos;)V
      • method_35157

        @Deprecated
        public int method_35157​(BlockPos blockPos)
        已过时。
        Mappings:
        Namespace Name Mixin selector
        official b Lbcq;b(Lgb;)I
        intermediary method_35157 Lnet/minecraft/class_4157;method_35157(Lnet/minecraft/class_2338;)I
        named method_35157 Lnet/minecraft/world/poi/PointOfInterestSet;method_35157(Lnet/minecraft/util/math/BlockPos;)I
      • releaseTicket

        public boolean releaseTicket​(BlockPos pos)
        Mappings:
        Namespace Name Mixin selector
        official c Lbcq;c(Lgb;)Z
        intermediary method_19153 Lnet/minecraft/class_4157;method_19153(Lnet/minecraft/class_2338;)Z
        named releaseTicket Lnet/minecraft/world/poi/PointOfInterestSet;releaseTicket(Lnet/minecraft/util/math/BlockPos;)Z
      • test

        public boolean test​(BlockPos pos,
                            Predicate<PointOfInterestType> predicate)
        Mappings:
        Namespace Name Mixin selector
        official a Lbcq;a(Lgb;Ljava/util/function/Predicate;)Z
        intermediary method_19147 Lnet/minecraft/class_4157;method_19147(Lnet/minecraft/class_2338;Ljava/util/function/Predicate;)Z
        named test Lnet/minecraft/world/poi/PointOfInterestSet;test(Lnet/minecraft/util/math/BlockPos;Ljava/util/function/Predicate;)Z
      • getType

        public Optional<PointOfInterestType> getType​(BlockPos pos)
        Mappings:
        Namespace Name Mixin selector
        official d Lbcq;d(Lgb;)Ljava/util/Optional;
        intermediary method_19154 Lnet/minecraft/class_4157;method_19154(Lnet/minecraft/class_2338;)Ljava/util/Optional;
        named getType Lnet/minecraft/world/poi/PointOfInterestSet;getType(Lnet/minecraft/util/math/BlockPos;)Ljava/util/Optional;
      • get

        private Optional<PointOfInterest> get​(BlockPos pos)
        Mappings:
        Namespace Name Mixin selector
        official e Lbcq;e(Lgb;)Ljava/util/Optional;
        intermediary method_33584 Lnet/minecraft/class_4157;method_33584(Lnet/minecraft/class_2338;)Ljava/util/Optional;
        named get Lnet/minecraft/world/poi/PointOfInterestSet;get(Lnet/minecraft/util/math/BlockPos;)Ljava/util/Optional;
      • updatePointsOfInterest

        public void updatePointsOfInterest​(Consumer<BiConsumer<BlockPos,​PointOfInterestType>> consumer)
        Mappings:
        Namespace Name Mixin selector
        official a Lbcq;a(Ljava/util/function/Consumer;)V
        intermediary method_20353 Lnet/minecraft/class_4157;method_20353(Ljava/util/function/Consumer;)V
        named updatePointsOfInterest Lnet/minecraft/world/poi/PointOfInterestSet;updatePointsOfInterest(Ljava/util/function/Consumer;)V
      • clear

        private void clear()
        Mappings:
        Namespace Name Mixin selector
        official b Lbcq;b()V
        intermediary method_20395 Lnet/minecraft/class_4157;method_20395()V
        named clear Lnet/minecraft/world/poi/PointOfInterestSet;clear()V
      • isValid

        boolean isValid()
        Mappings:
        Namespace Name Mixin selector
        official a Lbcq;a()Z
        intermediary method_22444 Lnet/minecraft/class_4157;method_22444()Z
        named isValid Lnet/minecraft/world/poi/PointOfInterestSet;isValid()Z