类 ChunkRegion

    • 字段详细资料

      • LOGGER

        private static final Logger LOGGER
        Mappings:
        Namespace Name Mixin selector
        official a Labp;a:Lorg/apache/logging/log4j/Logger;
        intermediary field_14092 Lnet/minecraft/class_3233;field_14092:Lorg/apache/logging/log4j/Logger;
        named LOGGER Lnet/minecraft/world/ChunkRegion;LOGGER:Lorg/apache/logging/log4j/Logger;
      • chunks

        private final List<Chunk> chunks
        Mappings:
        Namespace Name Mixin selector
        official b Labp;b:Ljava/util/List;
        intermediary field_14098 Lnet/minecraft/class_3233;field_14098:Ljava/util/List;
        named chunks Lnet/minecraft/world/ChunkRegion;chunks:Ljava/util/List;
      • centerPos

        private final ChunkPos centerPos
        Mappings:
        Namespace Name Mixin selector
        official c Labp;c:Lbuw;
        intermediary field_28557 Lnet/minecraft/class_3233;field_28557:Lnet/minecraft/class_1923;
        named centerPos Lnet/minecraft/world/ChunkRegion;centerPos:Lnet/minecraft/util/math/ChunkPos;
      • width

        private final int width
        Mappings:
        Namespace Name Mixin selector
        official d Labp;d:I
        intermediary field_14088 Lnet/minecraft/class_3233;field_14088:I
        named width Lnet/minecraft/world/ChunkRegion;width:I
      • world

        private final ServerWorld world
        Mappings:
        Namespace Name Mixin selector
        official e Labp;e:Labj;
        intermediary field_14093 Lnet/minecraft/class_3233;field_14093:Lnet/minecraft/class_3218;
        named world Lnet/minecraft/world/ChunkRegion;world:Lnet/minecraft/server/world/ServerWorld;
      • seed

        private final long seed
        Mappings:
        Namespace Name Mixin selector
        official f Labp;f:J
        intermediary field_14087 Lnet/minecraft/class_3233;field_14087:J
        named seed Lnet/minecraft/world/ChunkRegion;seed:J
      • levelProperties

        private final WorldProperties levelProperties
        Mappings:
        Namespace Name Mixin selector
        official g Labp;g:Ldgy;
        intermediary field_14097 Lnet/minecraft/class_3233;field_14097:Lnet/minecraft/class_5217;
        named levelProperties Lnet/minecraft/world/ChunkRegion;levelProperties:Lnet/minecraft/world/WorldProperties;
      • random

        private final Random random
        Mappings:
        Namespace Name Mixin selector
        official h Labp;h:Ljava/util/Random;
        intermediary field_14091 Lnet/minecraft/class_3233;field_14091:Ljava/util/Random;
        named random Lnet/minecraft/world/ChunkRegion;random:Ljava/util/Random;
      • dimension

        private final DimensionType dimension
        Mappings:
        Namespace Name Mixin selector
        official i Labp;i:Lcmt;
        intermediary field_14096 Lnet/minecraft/class_3233;field_14096:Lnet/minecraft/class_2874;
        named dimension Lnet/minecraft/world/ChunkRegion;dimension:Lnet/minecraft/world/dimension/DimensionType;
      • blockTickScheduler

        private final TickScheduler<Block> blockTickScheduler
        Mappings:
        Namespace Name Mixin selector
        official j Labp;j:Lbwj;
        intermediary field_14099 Lnet/minecraft/class_3233;field_14099:Lnet/minecraft/class_1951;
        named blockTickScheduler Lnet/minecraft/world/ChunkRegion;blockTickScheduler:Lnet/minecraft/world/TickScheduler;
      • fluidTickScheduler

        private final TickScheduler<Fluid> fluidTickScheduler
        Mappings:
        Namespace Name Mixin selector
        official k Labp;k:Lbwj;
        intermediary field_14094 Lnet/minecraft/class_3233;field_14094:Lnet/minecraft/class_1951;
        named fluidTickScheduler Lnet/minecraft/world/ChunkRegion;fluidTickScheduler:Lnet/minecraft/world/TickScheduler;
      • biomeAccess

        private final BiomeAccess biomeAccess
        Mappings:
        Namespace Name Mixin selector
        official l Labp;l:Lbws;
        intermediary field_20668 Lnet/minecraft/class_3233;field_20668:Lnet/minecraft/class_4543;
        named biomeAccess Lnet/minecraft/world/ChunkRegion;biomeAccess:Lnet/minecraft/world/biome/source/BiomeAccess;
      • lowerCorner

        private final ChunkPos lowerCorner
        Mappings:
        Namespace Name Mixin selector
        official m Labp;m:Lbuw;
        intermediary field_23788 Lnet/minecraft/class_3233;field_23788:Lnet/minecraft/class_1923;
        named lowerCorner Lnet/minecraft/world/ChunkRegion;lowerCorner:Lnet/minecraft/util/math/ChunkPos;
      • upperCorner

        private final ChunkPos upperCorner
        Mappings:
        Namespace Name Mixin selector
        official n Labp;n:Lbuw;
        intermediary field_23789 Lnet/minecraft/class_3233;field_23789:Lnet/minecraft/class_1923;
        named upperCorner Lnet/minecraft/world/ChunkRegion;upperCorner:Lnet/minecraft/util/math/ChunkPos;
      • structureAccessor

        private final StructureAccessor structureAccessor
        Mappings:
        Namespace Name Mixin selector
        official o Labp;o:Lbwi;
        intermediary field_26822 Lnet/minecraft/class_3233;field_26822:Lnet/minecraft/class_5138;
        named structureAccessor Lnet/minecraft/world/ChunkRegion;structureAccessor:Lnet/minecraft/world/gen/StructureAccessor;
    • 构造器详细资料

      • ChunkRegion

        public ChunkRegion​(ServerWorld world,
                           List<Chunk> chunks)
        Mappings:
        Namespace Name Mixin selector
        official <init> Labp;<init>(Labj;Ljava/util/List;)V
        intermediary <init> Lnet/minecraft/class_3233;<init>(Lnet/minecraft/class_3218;Ljava/util/List;)V
        named <init> Lnet/minecraft/world/ChunkRegion;<init>(Lnet/minecraft/server/world/ServerWorld;Ljava/util/List;)V
    • 方法详细资料

      • getCenterPos

        public ChunkPos getCenterPos()
        Mappings:
        Namespace Name Mixin selector
        official a Labp;a()Lbuw;
        intermediary method_33561 Lnet/minecraft/class_3233;method_33561()Lnet/minecraft/class_1923;
        named getCenterPos Lnet/minecraft/world/ChunkRegion;getCenterPos()Lnet/minecraft/util/math/ChunkPos;
      • getChunk

        public Chunk getChunk​(int chunkX,
                              int chunkZ)
        指定者:
        getChunk 在接口中 WorldView
        Mappings:
        Namespace Name Mixin selector
        official a Lbvu;a(II)Lclk;
        intermediary method_8392 Lnet/minecraft/class_4538;method_8392(II)Lnet/minecraft/class_2791;
        named getChunk Lnet/minecraft/world/WorldView;getChunk(II)Lnet/minecraft/world/chunk/Chunk;
      • getChunk

        @Nullable
        public @Nullable Chunk getChunk​(int chunkX,
                                        int chunkZ,
                                        ChunkStatus leastStatus,
                                        boolean create)
        指定者:
        getChunk 在接口中 WorldView
        Mappings:
        Namespace Name Mixin selector
        official a Lbvu;a(IILclo;Z)Lclk;
        intermediary method_8402 Lnet/minecraft/class_4538;method_8402(IILnet/minecraft/class_2806;Z)Lnet/minecraft/class_2791;
        named getChunk Lnet/minecraft/world/WorldView;getChunk(IILnet/minecraft/world/chunk/ChunkStatus;Z)Lnet/minecraft/world/chunk/Chunk;
      • isChunkLoaded

        public boolean isChunkLoaded​(int chunkX,
                                     int chunkZ)
        指定者:
        isChunkLoaded 在接口中 WorldAccess
        指定者:
        isChunkLoaded 在接口中 WorldView
        Mappings:
        Namespace Name Mixin selector
        official b Lbvu;b(II)Z
        intermediary method_8393 Lnet/minecraft/class_4538;method_8393(II)Z
        named isChunkLoaded Lnet/minecraft/world/WorldView;isChunkLoaded(II)Z
      • getBlockState

        public BlockState getBlockState​(BlockPos pos)
        指定者:
        getBlockState 在接口中 BlockView
        Mappings:
        Namespace Name Mixin selector
        official d_ Lbuv;d_(Lgb;)Lcjr;
        intermediary method_8320 Lnet/minecraft/class_1922;method_8320(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;
        named getBlockState Lnet/minecraft/world/BlockView;getBlockState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
      • getFluidState

        public FluidState getFluidState​(BlockPos pos)
        指定者:
        getFluidState 在接口中 BlockView
        Mappings:
        Namespace Name Mixin selector
        official b Lbuv;b(Lgb;)Ldds;
        intermediary method_8316 Lnet/minecraft/class_1922;method_8316(Lnet/minecraft/class_2338;)Lnet/minecraft/class_3610;
        named getFluidState Lnet/minecraft/world/BlockView;getFluidState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/fluid/FluidState;
      • getClosestPlayer

        @Nullable
        public @Nullable PlayerEntity getClosestPlayer​(double x,
                                                       double y,
                                                       double z,
                                                       double maxDistance,
                                                       Predicate<Entity> targetPredicate)
        指定者:
        getClosestPlayer 在接口中 EntityView
        Mappings:
        Namespace Name Mixin selector
        official a Lbvi;a(DDDDLjava/util/function/Predicate;)Lbjf;
        intermediary method_8604 Lnet/minecraft/class_1924;method_8604(DDDDLjava/util/function/Predicate;)Lnet/minecraft/class_1657;
        named getClosestPlayer Lnet/minecraft/world/EntityView;getClosestPlayer(DDDDLjava/util/function/Predicate;)Lnet/minecraft/entity/player/PlayerEntity;
      • getAmbientDarkness

        public int getAmbientDarkness()
        指定者:
        getAmbientDarkness 在接口中 WorldView
        Mappings:
        Namespace Name Mixin selector
        official b Lbvu;b()I
        intermediary method_8594 Lnet/minecraft/class_4538;method_8594()I
        named getAmbientDarkness Lnet/minecraft/world/WorldView;getAmbientDarkness()I
      • getBiomeAccess

        public BiomeAccess getBiomeAccess()
        指定者:
        getBiomeAccess 在接口中 WorldView
        Mappings:
        Namespace Name Mixin selector
        official c Lbvu;c()Lbws;
        intermediary method_22385 Lnet/minecraft/class_4538;method_22385()Lnet/minecraft/class_4543;
        named getBiomeAccess Lnet/minecraft/world/WorldView;getBiomeAccess()Lnet/minecraft/world/biome/source/BiomeAccess;
      • getGeneratorStoredBiome

        public Biome getGeneratorStoredBiome​(int biomeX,
                                             int biomeY,
                                             int biomeZ)
        指定者:
        getGeneratorStoredBiome 在接口中 WorldView
        Mappings:
        Namespace Name Mixin selector
        official a Lbvu;a(III)Lbwq;
        intermediary method_22387 Lnet/minecraft/class_4538;method_22387(III)Lnet/minecraft/class_1959;
        named getGeneratorStoredBiome Lnet/minecraft/world/WorldView;getGeneratorStoredBiome(III)Lnet/minecraft/world/biome/Biome;
      • getBrightness

        public float getBrightness​(Direction direction,
                                   boolean shaded)
        指定者:
        getBrightness 在接口中 BlockRenderView
        Mappings:
        Namespace Name Mixin selector
        official a Lbut;a(Lgg;Z)F
        intermediary method_24852 Lnet/minecraft/class_1920;method_24852(Lnet/minecraft/class_2350;Z)F
        named getBrightness Lnet/minecraft/world/BlockRenderView;getBrightness(Lnet/minecraft/util/math/Direction;Z)F
      • getLightingProvider

        public LightingProvider getLightingProvider()
        指定者:
        getLightingProvider 在接口中 BlockRenderView
        Mappings:
        Namespace Name Mixin selector
        official t_ Lbut;t_()Lddj;
        intermediary method_22336 Lnet/minecraft/class_1920;method_22336()Lnet/minecraft/class_3568;
        named getLightingProvider Lnet/minecraft/world/BlockRenderView;getLightingProvider()Lnet/minecraft/world/chunk/light/LightingProvider;
      • breakBlock

        public boolean breakBlock​(BlockPos pos,
                                  boolean drop,
                                  @Nullable
                                  @Nullable Entity breakingEntity,
                                  int maxUpdateDepth)
        指定者:
        breakBlock 在接口中 ModifiableWorld
        Mappings:
        Namespace Name Mixin selector
        official a Lbvz;a(Lgb;ZLasl;I)Z
        intermediary method_30093 Lnet/minecraft/class_1945;method_30093(Lnet/minecraft/class_2338;ZLnet/minecraft/class_1297;I)Z
        named breakBlock Lnet/minecraft/world/ModifiableWorld;breakBlock(Lnet/minecraft/util/math/BlockPos;ZLnet/minecraft/entity/Entity;I)Z
      • getBlockEntity

        @Nullable
        public @Nullable BlockEntity getBlockEntity​(BlockPos pos)
        指定者:
        getBlockEntity 在接口中 BlockView
        Mappings:
        Namespace Name Mixin selector
        official c Lbuv;c(Lgb;)Lchp;
        intermediary method_8321 Lnet/minecraft/class_1922;method_8321(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2586;
        named getBlockEntity Lnet/minecraft/world/BlockView;getBlockEntity(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/entity/BlockEntity;
      • setBlockState

        public boolean setBlockState​(BlockPos pos,
                                     BlockState state,
                                     int flags,
                                     int maxUpdateDepth)
        Updates the block state at a position, calling appropriate callbacks.

        When called on the server, the new block state is stored and propagated to clients and listeners as dictated by the supplied flags. Note that calling this on the client will update the world locally, but may not see the change persisted across loads. It's recommended to check whether this world is client before interacting with the world in this way.

        See ModifiableWorld.setBlockState(BlockPos, BlockState, int) for a list of accepted flags.

        指定者:
        setBlockState 在接口中 ModifiableWorld
        参数:
        pos - the target position
        state - the block state to set
        flags - the bitwise flag combination, as described above
        maxUpdateDepth - the limit for the cascading block updates
        Mappings:
        Namespace Name Mixin selector
        official a Lbvz;a(Lgb;Lcjr;II)Z
        intermediary method_30092 Lnet/minecraft/class_1945;method_30092(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;II)Z
        named setBlockState Lnet/minecraft/world/ModifiableWorld;setBlockState(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;II)Z
      • markBlockForPostProcessing

        private void markBlockForPostProcessing​(BlockPos pos)
        Mappings:
        Namespace Name Mixin selector
        official i Labp;i(Lgb;)V
        intermediary method_14338 Lnet/minecraft/class_3233;method_14338(Lnet/minecraft/class_2338;)V
        named markBlockForPostProcessing Lnet/minecraft/world/ChunkRegion;markBlockForPostProcessing(Lnet/minecraft/util/math/BlockPos;)V
      • spawnEntity

        public boolean spawnEntity​(Entity entity)
        指定者:
        spawnEntity 在接口中 ModifiableWorld
        Mappings:
        Namespace Name Mixin selector
        official b Lbvz;b(Lasl;)Z
        intermediary method_8649 Lnet/minecraft/class_1945;method_8649(Lnet/minecraft/class_1297;)Z
        named spawnEntity Lnet/minecraft/world/ModifiableWorld;spawnEntity(Lnet/minecraft/entity/Entity;)Z
      • removeBlock

        public boolean removeBlock​(BlockPos pos,
                                   boolean move)
        指定者:
        removeBlock 在接口中 ModifiableWorld
        Mappings:
        Namespace Name Mixin selector
        official a Lbvz;a(Lgb;Z)Z
        intermediary method_8650 Lnet/minecraft/class_1945;method_8650(Lnet/minecraft/class_2338;Z)Z
        named removeBlock Lnet/minecraft/world/ModifiableWorld;removeBlock(Lnet/minecraft/util/math/BlockPos;Z)Z
      • getWorldBorder

        public WorldBorder getWorldBorder()
        指定者:
        getWorldBorder 在接口中 CollisionView
        Mappings:
        Namespace Name Mixin selector
        official e Lbva;e()Lclh;
        intermediary method_8621 Lnet/minecraft/class_1941;method_8621()Lnet/minecraft/class_2784;
        named getWorldBorder Lnet/minecraft/world/CollisionView;getWorldBorder()Lnet/minecraft/world/border/WorldBorder;
      • isClient

        public boolean isClient()
        Checks if this world view is on the logical client.

        If the value returned is false, it is expected that this world is present on a logical server.

        指定者:
        isClient 在接口中 WorldView
        Mappings:
        Namespace Name Mixin selector
        official s_ Lbvu;s_()Z
        intermediary method_8608 Lnet/minecraft/class_4538;method_8608()Z
        named isClient Lnet/minecraft/world/WorldView;isClient()Z
      • toServerWorld

        @Deprecated
        public ServerWorld toServerWorld()
        已过时。
        指定者:
        toServerWorld 在接口中 ServerWorldAccess
        Mappings:
        Namespace Name Mixin selector
        official G Lbwf;G()Labj;
        intermediary method_8410 Lnet/minecraft/class_5425;method_8410()Lnet/minecraft/class_3218;
        named toServerWorld Lnet/minecraft/world/ServerWorldAccess;toServerWorld()Lnet/minecraft/server/world/ServerWorld;
      • getRegistryManager

        public DynamicRegistryManager getRegistryManager()
        指定者:
        getRegistryManager 在接口中 RegistryWorldView
        Mappings:
        Namespace Name Mixin selector
        official t Lbvc;t()Lgs;
        intermediary method_30349 Lnet/minecraft/class_5423;method_30349()Lnet/minecraft/class_5455;
        named getRegistryManager Lnet/minecraft/world/RegistryWorldView;getRegistryManager()Lnet/minecraft/util/registry/DynamicRegistryManager;
      • getLevelProperties

        public WorldProperties getLevelProperties()
        指定者:
        getLevelProperties 在接口中 WorldAccess
        Mappings:
        Namespace Name Mixin selector
        official g Lbvs;g()Ldgy;
        intermediary method_8401 Lnet/minecraft/class_1936;method_8401()Lnet/minecraft/class_5217;
        named getLevelProperties Lnet/minecraft/world/WorldAccess;getLevelProperties()Lnet/minecraft/world/WorldProperties;
      • getLocalDifficulty

        public LocalDifficulty getLocalDifficulty​(BlockPos pos)
        指定者:
        getLocalDifficulty 在接口中 WorldAccess
        Mappings:
        Namespace Name Mixin selector
        official d Lbvs;d(Lgb;)Lare;
        intermediary method_8404 Lnet/minecraft/class_1936;method_8404(Lnet/minecraft/class_2338;)Lnet/minecraft/class_1266;
        named getLocalDifficulty Lnet/minecraft/world/WorldAccess;getLocalDifficulty(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/world/LocalDifficulty;
      • getServer

        @Nullable
        public @Nullable MinecraftServer getServer()
        指定者:
        getServer 在接口中 WorldAccess
        Mappings:
        Namespace Name Mixin selector
        official n Lbvs;n()Lnet/minecraft/server/MinecraftServer;
        intermediary method_8503 Lnet/minecraft/class_1936;method_8503()Lnet/minecraft/server/MinecraftServer;
        named getServer Lnet/minecraft/world/WorldAccess;getServer()Lnet/minecraft/server/MinecraftServer;
      • getChunkManager

        public ChunkManager getChunkManager()
        指定者:
        getChunkManager 在接口中 WorldAccess
        Mappings:
        Namespace Name Mixin selector
        official L Lbvs;L()Lcln;
        intermediary method_8398 Lnet/minecraft/class_1936;method_8398()Lnet/minecraft/class_2802;
        named getChunkManager Lnet/minecraft/world/WorldAccess;getChunkManager()Lnet/minecraft/world/chunk/ChunkManager;
      • getSeed

        public long getSeed()
        指定者:
        getSeed 在接口中 StructureWorldAccess
        Mappings:
        Namespace Name Mixin selector
        official E Lbwm;E()J
        intermediary method_8412 Lnet/minecraft/class_5281;method_8412()J
        named getSeed Lnet/minecraft/world/StructureWorldAccess;getSeed()J
      • getBlockTickScheduler

        public TickScheduler<Block> getBlockTickScheduler()
        指定者:
        getBlockTickScheduler 在接口中 WorldAccess
        Mappings:
        Namespace Name Mixin selector
        official N Lbvs;N()Lbwj;
        intermediary method_8397 Lnet/minecraft/class_1936;method_8397()Lnet/minecraft/class_1951;
        named getBlockTickScheduler Lnet/minecraft/world/WorldAccess;getBlockTickScheduler()Lnet/minecraft/world/TickScheduler;
      • getFluidTickScheduler

        public TickScheduler<Fluid> getFluidTickScheduler()
        指定者:
        getFluidTickScheduler 在接口中 WorldAccess
        Mappings:
        Namespace Name Mixin selector
        official M Lbvs;M()Lbwj;
        intermediary method_8405 Lnet/minecraft/class_1936;method_8405()Lnet/minecraft/class_1951;
        named getFluidTickScheduler Lnet/minecraft/world/WorldAccess;getFluidTickScheduler()Lnet/minecraft/world/TickScheduler;
      • getSeaLevel

        public int getSeaLevel()
        指定者:
        getSeaLevel 在接口中 WorldView
        Mappings:
        Namespace Name Mixin selector
        official u_ Lbvu;u_()I
        intermediary method_8615 Lnet/minecraft/class_4538;method_8615()I
        named getSeaLevel Lnet/minecraft/world/WorldView;getSeaLevel()I
      • getRandom

        public Random getRandom()
        指定者:
        getRandom 在接口中 WorldAccess
        Mappings:
        Namespace Name Mixin selector
        official i Lbvs;i()Ljava/util/Random;
        intermediary method_8409 Lnet/minecraft/class_1936;method_8409()Ljava/util/Random;
        named getRandom Lnet/minecraft/world/WorldAccess;getRandom()Ljava/util/Random;
      • getTopY

        public int getTopY​(Heightmap.Type heightmap,
                           int x,
                           int z)
        指定者:
        getTopY 在接口中 WorldView
        Mappings:
        Namespace Name Mixin selector
        official a Lbvu;a(Lcor$a;II)I
        intermediary method_8624 Lnet/minecraft/class_4538;method_8624(Lnet/minecraft/class_2902$class_2903;II)I
        named getTopY Lnet/minecraft/world/WorldView;getTopY(Lnet/minecraft/world/Heightmap$Type;II)I
      • playSound

        public void playSound​(@Nullable
                              @Nullable PlayerEntity player,
                              BlockPos pos,
                              SoundEvent sound,
                              SoundCategory category,
                              float volume,
                              float pitch)
        指定者:
        playSound 在接口中 WorldAccess
        Mappings:
        Namespace Name Mixin selector
        official a Lbvs;a(Lbjf;Lgb;Laev;Laex;FF)V
        intermediary method_8396 Lnet/minecraft/class_1936;method_8396(Lnet/minecraft/class_1657;Lnet/minecraft/class_2338;Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)V
        named playSound Lnet/minecraft/world/WorldAccess;playSound(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FF)V
      • addParticle

        public void addParticle​(ParticleEffect parameters,
                                double x,
                                double y,
                                double z,
                                double velocityX,
                                double velocityY,
                                double velocityZ)
        指定者:
        addParticle 在接口中 WorldAccess
        Mappings:
        Namespace Name Mixin selector
        official a Lbvs;a(Lho;DDDDDD)V
        intermediary method_8406 Lnet/minecraft/class_1936;method_8406(Lnet/minecraft/class_2394;DDDDDD)V
        named addParticle Lnet/minecraft/world/WorldAccess;addParticle(Lnet/minecraft/particle/ParticleEffect;DDDDDD)V
      • syncWorldEvent

        public void syncWorldEvent​(@Nullable
                                   @Nullable PlayerEntity player,
                                   int eventId,
                                   BlockPos pos,
                                   int data)
        指定者:
        syncWorldEvent 在接口中 WorldAccess
        Mappings:
        Namespace Name Mixin selector
        official a Lbvs;a(Lbjf;ILgb;I)V
        intermediary method_8444 Lnet/minecraft/class_1936;method_8444(Lnet/minecraft/class_1657;ILnet/minecraft/class_2338;I)V
        named syncWorldEvent Lnet/minecraft/world/WorldAccess;syncWorldEvent(Lnet/minecraft/entity/player/PlayerEntity;ILnet/minecraft/util/math/BlockPos;I)V
      • emitGameEvent

        public void emitGameEvent​(@Nullable
                                  @Nullable Entity entity,
                                  GameEvent event,
                                  BlockPos pos)
        指定者:
        emitGameEvent 在接口中 WorldAccess
        Mappings:
        Namespace Name Mixin selector
        official a Lbvs;a(Lasl;Lcnt;Lgb;)V
        intermediary method_32888 Lnet/minecraft/class_1936;method_32888(Lnet/minecraft/class_1297;Lnet/minecraft/class_5712;Lnet/minecraft/class_2338;)V
        named emitGameEvent Lnet/minecraft/world/WorldAccess;emitGameEvent(Lnet/minecraft/entity/Entity;Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/util/math/BlockPos;)V
      • getDimension

        public DimensionType getDimension()
        指定者:
        getDimension 在接口中 WorldView
        Mappings:
        Namespace Name Mixin selector
        official k Lbvu;k()Lcmt;
        intermediary method_8597 Lnet/minecraft/class_4538;method_8597()Lnet/minecraft/class_2874;
        named getDimension Lnet/minecraft/world/WorldView;getDimension()Lnet/minecraft/world/dimension/DimensionType;
      • testBlockState

        public boolean testBlockState​(BlockPos pos,
                                      Predicate<BlockState> state)
        指定者:
        testBlockState 在接口中 TestableWorld
        Mappings:
        Namespace Name Mixin selector
        official a Lbvx;a(Lgb;Ljava/util/function/Predicate;)Z
        intermediary method_16358 Lnet/minecraft/class_3746;method_16358(Lnet/minecraft/class_2338;Ljava/util/function/Predicate;)Z
        named testBlockState Lnet/minecraft/world/TestableWorld;testBlockState(Lnet/minecraft/util/math/BlockPos;Ljava/util/function/Predicate;)Z
      • testFluidState

        public boolean testFluidState​(BlockPos pos,
                                      Predicate<FluidState> state)
        指定者:
        testFluidState 在接口中 TestableWorld
        Mappings:
        Namespace Name Mixin selector
        official b Lbvx;b(Lgb;Ljava/util/function/Predicate;)Z
        intermediary method_35237 Lnet/minecraft/class_3746;method_35237(Lnet/minecraft/class_2338;Ljava/util/function/Predicate;)Z
        named testFluidState Lnet/minecraft/world/TestableWorld;testFluidState(Lnet/minecraft/util/math/BlockPos;Ljava/util/function/Predicate;)Z
      • getEntitiesByType

        public <T extends Entity> List<T> getEntitiesByType​(TypeFilter<Entity,​T> filter,
                                                            Box box,
                                                            Predicate<? super T> predicate)
        指定者:
        getEntitiesByType 在接口中 EntityView
        Mappings:
        Namespace Name Mixin selector
        official a Lbvi;a(Lcni;Ldlv;Ljava/util/function/Predicate;)Ljava/util/List;
        intermediary method_18023 Lnet/minecraft/class_1924;method_18023(Lnet/minecraft/class_5575;Lnet/minecraft/class_238;Ljava/util/function/Predicate;)Ljava/util/List;
        named getEntitiesByType Lnet/minecraft/world/EntityView;getEntitiesByType(Lnet/minecraft/util/TypeFilter;Lnet/minecraft/util/math/Box;Ljava/util/function/Predicate;)Ljava/util/List;
      • getOtherEntities

        public List<Entity> getOtherEntities​(@Nullable
                                             @Nullable Entity except,
                                             Box box,
                                             @Nullable
                                             @Nullable Predicate<? super Entity> predicate)
        Computes a list of entities within some box, excluding the given entity, that satisfy the given predicate.
        指定者:
        getOtherEntities 在接口中 EntityView
        参数:
        except - the entity the box logically surrounds. This entity is ignored if it is inside the box.
        box - the box in which to search for entities
        predicate - a predicate which entities must satisfy in order to be included in the returned list.
        返回:
        a list of entities within a box, excluding the given entity, all satisfying the given predicate
        Mappings:
        Namespace Name Mixin selector
        official a Lbvi;a(Lasl;Ldlv;Ljava/util/function/Predicate;)Ljava/util/List;
        intermediary method_8333 Lnet/minecraft/class_1924;method_8333(Lnet/minecraft/class_1297;Lnet/minecraft/class_238;Ljava/util/function/Predicate;)Ljava/util/List;
        named getOtherEntities Lnet/minecraft/world/EntityView;getOtherEntities(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Box;Ljava/util/function/Predicate;)Ljava/util/List;
      • getPlayers

        public List<PlayerEntity> getPlayers()
        指定者:
        getPlayers 在接口中 EntityView
        Mappings:
        Namespace Name Mixin selector
        official z Lbvi;z()Ljava/util/List;
        intermediary method_18456 Lnet/minecraft/class_1924;method_18456()Ljava/util/List;
        named getPlayers Lnet/minecraft/world/EntityView;getPlayers()Ljava/util/List;
      • getStructures

        public Stream<? extends StructureStart<?>> getStructures​(ChunkSectionPos pos,
                                                                 StructureFeature<?> feature)
        指定者:
        getStructures 在接口中 StructureWorldAccess
        Mappings:
        Namespace Name Mixin selector
        official a Lbwm;a(Lgu;Lcsx;)Ljava/util/stream/Stream;
        intermediary method_30275 Lnet/minecraft/class_5281;method_30275(Lnet/minecraft/class_4076;Lnet/minecraft/class_3195;)Ljava/util/stream/Stream;
        named getStructures Lnet/minecraft/world/StructureWorldAccess;getStructures(Lnet/minecraft/util/math/ChunkSectionPos;Lnet/minecraft/world/gen/feature/StructureFeature;)Ljava/util/stream/Stream;
      • getHeight

        public int getHeight()
        Returns the difference in the minimum and maximum height.

        This is the number of blocks that can be modified in any vertical column within the view, or the vertical size, in blocks, of the view.

        指定者:
        getHeight 在接口中 HeightLimitView
        指定者:
        getHeight 在接口中 WorldView
        返回:
        the difference in the minimum and maximum height
        另请参阅:
        HeightLimitView.getBottomY(), HeightLimitView.getTopY()
        Mappings:
        Namespace Name Mixin selector
        official m Lbvt;m()I
        intermediary method_31605 Lnet/minecraft/class_5539;method_31605()I
        named getHeight Lnet/minecraft/world/HeightLimitView;getHeight()I