类 ChunkRegion
- java.lang.Object
-
- net.minecraft.world.ChunkRegion
-
- 所有已实现的接口:
BiomeAccess.Storage,BlockRenderView,BlockView,CollisionView,EntityView,HeightLimitView,LunarWorldView,ModifiableTestableWorld,ModifiableWorld,RegistryWorldView,ServerWorldAccess,StructureWorldAccess,TestableWorld,WorldAccess,WorldView
public class ChunkRegion extends Object implements StructureWorldAccess
- Mappings:
Namespace Name official abpintermediary net/minecraft/class_3233named net/minecraft/world/ChunkRegion
-
-
字段概要
字段 修饰符和类型 字段 说明 private BiomeAccessbiomeAccessprivate TickScheduler<Block>blockTickSchedulerprivate ChunkPoscenterPosprivate List<Chunk>chunksprivate DimensionTypedimensionprivate TickScheduler<Fluid>fluidTickSchedulerprivate WorldPropertieslevelPropertiesprivate static LoggerLOGGERprivate ChunkPoslowerCornerprivate Randomrandomprivate longseedprivate StructureAccessorstructureAccessorprivate ChunkPosupperCornerprivate intwidthprivate ServerWorldworld
-
构造器概要
构造器 构造器 说明 ChunkRegion(ServerWorld world, List<Chunk> chunks)
-
方法概要
所有方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 voidaddParticle(ParticleEffect parameters, double x, double y, double z, double velocityX, double velocityY, double velocityZ)booleanbreakBlock(BlockPos pos, boolean drop, @Nullable Entity breakingEntity, int maxUpdateDepth)voidemitGameEvent(@Nullable Entity entity, GameEvent event, BlockPos pos)intgetAmbientDarkness()BiomeAccessgetBiomeAccess()@Nullable BlockEntitygetBlockEntity(BlockPos pos)BlockStategetBlockState(BlockPos pos)TickScheduler<Block>getBlockTickScheduler()intgetBottomY()Returns the bottom Y level, or height, inclusive, of this view.floatgetBrightness(Direction direction, boolean shaded)ChunkPosgetCenterPos()ChunkgetChunk(int chunkX, int chunkZ)@Nullable ChunkgetChunk(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create)ChunkManagergetChunkManager()@Nullable PlayerEntitygetClosestPlayer(double x, double y, double z, double maxDistance, Predicate<Entity> targetPredicate)DimensionTypegetDimension()<T extends Entity>
List<T>getEntitiesByType(TypeFilter<Entity,T> filter, Box box, Predicate<? super T> predicate)FluidStategetFluidState(BlockPos pos)TickScheduler<Fluid>getFluidTickScheduler()BiomegetGeneratorStoredBiome(int biomeX, int biomeY, int biomeZ)intgetHeight()WorldPropertiesgetLevelProperties()LightingProvidergetLightingProvider()LocalDifficultygetLocalDifficulty(BlockPos pos)List<Entity>getOtherEntities(@Nullable Entity except, Box box, @Nullable Predicate<? super Entity> predicate)Computes a list of entities within some box, excluding the given entity, that satisfy the given predicate.List<PlayerEntity>getPlayers()RandomgetRandom()DynamicRegistryManagergetRegistryManager()intgetSeaLevel()longgetSeed()@Nullable MinecraftServergetServer()Stream<? extends StructureStart<?>>getStructures(ChunkSectionPos pos, StructureFeature<?> feature)intgetTopY(Heightmap.Type heightmap, int x, int z)WorldBordergetWorldBorder()booleanisChunkLoaded(int chunkX, int chunkZ)booleanisClient()Checks if this world view is on the logical client.private voidmarkBlockForPostProcessing(BlockPos pos)voidplaySound(@Nullable PlayerEntity player, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch)booleanremoveBlock(BlockPos pos, boolean move)booleansetBlockState(BlockPos pos, BlockState state, int flags, int maxUpdateDepth)Updates the block state at a position, calling appropriate callbacks.booleanspawnEntity(Entity entity)voidsyncWorldEvent(@Nullable PlayerEntity player, int eventId, BlockPos pos, int data)booleantestBlockState(BlockPos pos, Predicate<BlockState> state)booleantestFluidState(BlockPos pos, Predicate<FluidState> state)ServerWorldtoServerWorld()已过时。-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.world.biome.source.BiomeAccess.Storage
getBiomeForNoiseGen
-
从接口继承的方法 net.minecraft.world.BlockRenderView
getBaseLightLevel, getLightLevel, isSkyVisible
-
从接口继承的方法 net.minecraft.world.BlockView
getDismountHeight, getDismountHeight, getLuminance, getMaxLightLevel, getStatesInBox, raycast, raycast, raycastBlock
-
从接口继承的方法 net.minecraft.world.CollisionView
canPlace, getBlockCollisions, getBlockCollisions, getCollisions, getEntityCollisions, intersectsEntities, intersectsEntities, isBlockSpaceEmpty, isSpaceEmpty, isSpaceEmpty, isSpaceEmpty, isSpaceEmpty, method_33594
-
从接口继承的方法 net.minecraft.world.EntityView
getClosestEntity, getClosestEntity, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getEntitiesByClass, getNonSpectatingEntities, getOtherEntities, getPlayerByUuid, getPlayers, getTargets, isPlayerInRange
-
从接口继承的方法 net.minecraft.world.HeightLimitView
countVerticalSections, getBottomSectionCoord, getSectionIndex, getTopSectionCoord, getTopY, isOutOfHeightLimit, isOutOfHeightLimit, sectionCoordToIndex, sectionIndexToCoord
-
从接口继承的方法 net.minecraft.world.LunarWorldView
getMoonPhase, getMoonSize, getSkyAngle
-
从接口继承的方法 net.minecraft.world.ModifiableWorld
breakBlock, breakBlock, setBlockState
-
从接口继承的方法 net.minecraft.world.RegistryWorldView
getBiomeKey, getBlockEntity, getEntityCollisions, getTopPosition, intersectsEntities
-
从接口继承的方法 net.minecraft.world.ServerWorldAccess
spawnEntityAndPassengers
-
从接口继承的方法 net.minecraft.world.WorldAccess
emitGameEvent, emitGameEvent, emitGameEvent, getDifficulty, getLogicalHeight, getLunarTime, syncWorldEvent, updateNeighbors
-
从接口继承的方法 net.minecraft.world.WorldView
containsFluid, getBiome, getBiomeForNoiseGen, getBrightness, getChunk, getChunk, getChunkAsView, getColor, getLightLevel, getLightLevel, getStatesInBoxIfLoaded, getStrongRedstonePower, isAir, isChunkLoaded, isPosLoaded, isRegionLoaded, isRegionLoaded, isRegionLoaded, isSkyVisibleAllowingSea, isWater
-
-
-
-
字段详细资料
-
LOGGER
private static final Logger LOGGER
- Mappings:
Namespace Name Mixin selector official aLabp;a:Lorg/apache/logging/log4j/Logger;intermediary field_14092Lnet/minecraft/class_3233;field_14092:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/world/ChunkRegion;LOGGER:Lorg/apache/logging/log4j/Logger;
-
chunks
private final List<Chunk> chunks
- Mappings:
Namespace Name Mixin selector official bLabp;b:Ljava/util/List;intermediary field_14098Lnet/minecraft/class_3233;field_14098:Ljava/util/List;named chunksLnet/minecraft/world/ChunkRegion;chunks:Ljava/util/List;
-
centerPos
private final ChunkPos centerPos
- Mappings:
Namespace Name Mixin selector official cLabp;c:Lbuw;intermediary field_28557Lnet/minecraft/class_3233;field_28557:Lnet/minecraft/class_1923;named centerPosLnet/minecraft/world/ChunkRegion;centerPos:Lnet/minecraft/util/math/ChunkPos;
-
width
private final int width
- Mappings:
Namespace Name Mixin selector official dLabp;d:Iintermediary field_14088Lnet/minecraft/class_3233;field_14088:Inamed widthLnet/minecraft/world/ChunkRegion;width:I
-
world
private final ServerWorld world
- Mappings:
Namespace Name Mixin selector official eLabp;e:Labj;intermediary field_14093Lnet/minecraft/class_3233;field_14093:Lnet/minecraft/class_3218;named worldLnet/minecraft/world/ChunkRegion;world:Lnet/minecraft/server/world/ServerWorld;
-
seed
private final long seed
- Mappings:
Namespace Name Mixin selector official fLabp;f:Jintermediary field_14087Lnet/minecraft/class_3233;field_14087:Jnamed seedLnet/minecraft/world/ChunkRegion;seed:J
-
levelProperties
private final WorldProperties levelProperties
- Mappings:
Namespace Name Mixin selector official gLabp;g:Ldgy;intermediary field_14097Lnet/minecraft/class_3233;field_14097:Lnet/minecraft/class_5217;named levelPropertiesLnet/minecraft/world/ChunkRegion;levelProperties:Lnet/minecraft/world/WorldProperties;
-
random
private final Random random
- Mappings:
Namespace Name Mixin selector official hLabp;h:Ljava/util/Random;intermediary field_14091Lnet/minecraft/class_3233;field_14091:Ljava/util/Random;named randomLnet/minecraft/world/ChunkRegion;random:Ljava/util/Random;
-
dimension
private final DimensionType dimension
- Mappings:
Namespace Name Mixin selector official iLabp;i:Lcmt;intermediary field_14096Lnet/minecraft/class_3233;field_14096:Lnet/minecraft/class_2874;named dimensionLnet/minecraft/world/ChunkRegion;dimension:Lnet/minecraft/world/dimension/DimensionType;
-
blockTickScheduler
private final TickScheduler<Block> blockTickScheduler
- Mappings:
Namespace Name Mixin selector official jLabp;j:Lbwj;intermediary field_14099Lnet/minecraft/class_3233;field_14099:Lnet/minecraft/class_1951;named blockTickSchedulerLnet/minecraft/world/ChunkRegion;blockTickScheduler:Lnet/minecraft/world/TickScheduler;
-
fluidTickScheduler
private final TickScheduler<Fluid> fluidTickScheduler
- Mappings:
Namespace Name Mixin selector official kLabp;k:Lbwj;intermediary field_14094Lnet/minecraft/class_3233;field_14094:Lnet/minecraft/class_1951;named fluidTickSchedulerLnet/minecraft/world/ChunkRegion;fluidTickScheduler:Lnet/minecraft/world/TickScheduler;
-
biomeAccess
private final BiomeAccess biomeAccess
- Mappings:
Namespace Name Mixin selector official lLabp;l:Lbws;intermediary field_20668Lnet/minecraft/class_3233;field_20668:Lnet/minecraft/class_4543;named biomeAccessLnet/minecraft/world/ChunkRegion;biomeAccess:Lnet/minecraft/world/biome/source/BiomeAccess;
-
lowerCorner
private final ChunkPos lowerCorner
- Mappings:
Namespace Name Mixin selector official mLabp;m:Lbuw;intermediary field_23788Lnet/minecraft/class_3233;field_23788:Lnet/minecraft/class_1923;named lowerCornerLnet/minecraft/world/ChunkRegion;lowerCorner:Lnet/minecraft/util/math/ChunkPos;
-
upperCorner
private final ChunkPos upperCorner
- Mappings:
Namespace Name Mixin selector official nLabp;n:Lbuw;intermediary field_23789Lnet/minecraft/class_3233;field_23789:Lnet/minecraft/class_1923;named upperCornerLnet/minecraft/world/ChunkRegion;upperCorner:Lnet/minecraft/util/math/ChunkPos;
-
structureAccessor
private final StructureAccessor structureAccessor
- Mappings:
Namespace Name Mixin selector official oLabp;o:Lbwi;intermediary field_26822Lnet/minecraft/class_3233;field_26822:Lnet/minecraft/class_5138;named structureAccessorLnet/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;)Vintermediary <init>Lnet/minecraft/class_3233;<init>(Lnet/minecraft/class_3218;Ljava/util/List;)Vnamed <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 aLabp;a()Lbuw;intermediary method_33561Lnet/minecraft/class_3233;method_33561()Lnet/minecraft/class_1923;named getCenterPosLnet/minecraft/world/ChunkRegion;getCenterPos()Lnet/minecraft/util/math/ChunkPos;
-
getChunk
public Chunk getChunk(int chunkX, int chunkZ)
-
getChunk
@Nullable public @Nullable Chunk getChunk(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create)
- 指定者:
getChunk在接口中WorldView- Mappings:
Namespace Name Mixin selector official aLbvu;a(IILclo;Z)Lclk;intermediary method_8402Lnet/minecraft/class_4538;method_8402(IILnet/minecraft/class_2806;Z)Lnet/minecraft/class_2791;named getChunkLnet/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 bLbvu;b(II)Zintermediary method_8393Lnet/minecraft/class_4538;method_8393(II)Znamed isChunkLoadedLnet/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_8320Lnet/minecraft/class_1922;method_8320(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;named getBlockStateLnet/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 bLbuv;b(Lgb;)Ldds;intermediary method_8316Lnet/minecraft/class_1922;method_8316(Lnet/minecraft/class_2338;)Lnet/minecraft/class_3610;named getFluidStateLnet/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 aLbvi;a(DDDDLjava/util/function/Predicate;)Lbjf;intermediary method_8604Lnet/minecraft/class_1924;method_8604(DDDDLjava/util/function/Predicate;)Lnet/minecraft/class_1657;named getClosestPlayerLnet/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 bLbvu;b()Iintermediary method_8594Lnet/minecraft/class_4538;method_8594()Inamed getAmbientDarknessLnet/minecraft/world/WorldView;getAmbientDarkness()I
-
getBiomeAccess
public BiomeAccess getBiomeAccess()
- 指定者:
getBiomeAccess在接口中WorldView- Mappings:
Namespace Name Mixin selector official cLbvu;c()Lbws;intermediary method_22385Lnet/minecraft/class_4538;method_22385()Lnet/minecraft/class_4543;named getBiomeAccessLnet/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 aLbvu;a(III)Lbwq;intermediary method_22387Lnet/minecraft/class_4538;method_22387(III)Lnet/minecraft/class_1959;named getGeneratorStoredBiomeLnet/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 aLbut;a(Lgg;Z)Fintermediary method_24852Lnet/minecraft/class_1920;method_24852(Lnet/minecraft/class_2350;Z)Fnamed getBrightnessLnet/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_22336Lnet/minecraft/class_1920;method_22336()Lnet/minecraft/class_3568;named getLightingProviderLnet/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 aLbvz;a(Lgb;ZLasl;I)Zintermediary method_30093Lnet/minecraft/class_1945;method_30093(Lnet/minecraft/class_2338;ZLnet/minecraft/class_1297;I)Znamed breakBlockLnet/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 cLbuv;c(Lgb;)Lchp;intermediary method_8321Lnet/minecraft/class_1922;method_8321(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2586;named getBlockEntityLnet/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 positionstate- the block state to setflags- the bitwise flag combination, as described abovemaxUpdateDepth- the limit for the cascading block updates- Mappings:
Namespace Name Mixin selector official aLbvz;a(Lgb;Lcjr;II)Zintermediary method_30092Lnet/minecraft/class_1945;method_30092(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;II)Znamed setBlockStateLnet/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 iLabp;i(Lgb;)Vintermediary method_14338Lnet/minecraft/class_3233;method_14338(Lnet/minecraft/class_2338;)Vnamed markBlockForPostProcessingLnet/minecraft/world/ChunkRegion;markBlockForPostProcessing(Lnet/minecraft/util/math/BlockPos;)V
-
spawnEntity
public boolean spawnEntity(Entity entity)
- 指定者:
spawnEntity在接口中ModifiableWorld- Mappings:
Namespace Name Mixin selector official bLbvz;b(Lasl;)Zintermediary method_8649Lnet/minecraft/class_1945;method_8649(Lnet/minecraft/class_1297;)Znamed spawnEntityLnet/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 aLbvz;a(Lgb;Z)Zintermediary method_8650Lnet/minecraft/class_1945;method_8650(Lnet/minecraft/class_2338;Z)Znamed removeBlockLnet/minecraft/world/ModifiableWorld;removeBlock(Lnet/minecraft/util/math/BlockPos;Z)Z
-
getWorldBorder
public WorldBorder getWorldBorder()
- 指定者:
getWorldBorder在接口中CollisionView- Mappings:
Namespace Name Mixin selector official eLbva;e()Lclh;intermediary method_8621Lnet/minecraft/class_1941;method_8621()Lnet/minecraft/class_2784;named getWorldBorderLnet/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.
-
toServerWorld
@Deprecated public ServerWorld toServerWorld()
已过时。- 指定者:
toServerWorld在接口中ServerWorldAccess- Mappings:
Namespace Name Mixin selector official GLbwf;G()Labj;intermediary method_8410Lnet/minecraft/class_5425;method_8410()Lnet/minecraft/class_3218;named toServerWorldLnet/minecraft/world/ServerWorldAccess;toServerWorld()Lnet/minecraft/server/world/ServerWorld;
-
getRegistryManager
public DynamicRegistryManager getRegistryManager()
- 指定者:
getRegistryManager在接口中RegistryWorldView- Mappings:
Namespace Name Mixin selector official tLbvc;t()Lgs;intermediary method_30349Lnet/minecraft/class_5423;method_30349()Lnet/minecraft/class_5455;named getRegistryManagerLnet/minecraft/world/RegistryWorldView;getRegistryManager()Lnet/minecraft/util/registry/DynamicRegistryManager;
-
getLevelProperties
public WorldProperties getLevelProperties()
- 指定者:
getLevelProperties在接口中WorldAccess- Mappings:
Namespace Name Mixin selector official gLbvs;g()Ldgy;intermediary method_8401Lnet/minecraft/class_1936;method_8401()Lnet/minecraft/class_5217;named getLevelPropertiesLnet/minecraft/world/WorldAccess;getLevelProperties()Lnet/minecraft/world/WorldProperties;
-
getLocalDifficulty
public LocalDifficulty getLocalDifficulty(BlockPos pos)
- 指定者:
getLocalDifficulty在接口中WorldAccess- Mappings:
Namespace Name Mixin selector official dLbvs;d(Lgb;)Lare;intermediary method_8404Lnet/minecraft/class_1936;method_8404(Lnet/minecraft/class_2338;)Lnet/minecraft/class_1266;named getLocalDifficultyLnet/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 nLbvs;n()Lnet/minecraft/server/MinecraftServer;intermediary method_8503Lnet/minecraft/class_1936;method_8503()Lnet/minecraft/server/MinecraftServer;named getServerLnet/minecraft/world/WorldAccess;getServer()Lnet/minecraft/server/MinecraftServer;
-
getChunkManager
public ChunkManager getChunkManager()
- 指定者:
getChunkManager在接口中WorldAccess- Mappings:
Namespace Name Mixin selector official LLbvs;L()Lcln;intermediary method_8398Lnet/minecraft/class_1936;method_8398()Lnet/minecraft/class_2802;named getChunkManagerLnet/minecraft/world/WorldAccess;getChunkManager()Lnet/minecraft/world/chunk/ChunkManager;
-
getSeed
public long getSeed()
- 指定者:
getSeed在接口中StructureWorldAccess- Mappings:
Namespace Name Mixin selector official ELbwm;E()Jintermediary method_8412Lnet/minecraft/class_5281;method_8412()Jnamed getSeedLnet/minecraft/world/StructureWorldAccess;getSeed()J
-
getBlockTickScheduler
public TickScheduler<Block> getBlockTickScheduler()
- 指定者:
getBlockTickScheduler在接口中WorldAccess- Mappings:
Namespace Name Mixin selector official NLbvs;N()Lbwj;intermediary method_8397Lnet/minecraft/class_1936;method_8397()Lnet/minecraft/class_1951;named getBlockTickSchedulerLnet/minecraft/world/WorldAccess;getBlockTickScheduler()Lnet/minecraft/world/TickScheduler;
-
getFluidTickScheduler
public TickScheduler<Fluid> getFluidTickScheduler()
- 指定者:
getFluidTickScheduler在接口中WorldAccess- Mappings:
Namespace Name Mixin selector official MLbvs;M()Lbwj;intermediary method_8405Lnet/minecraft/class_1936;method_8405()Lnet/minecraft/class_1951;named getFluidTickSchedulerLnet/minecraft/world/WorldAccess;getFluidTickScheduler()Lnet/minecraft/world/TickScheduler;
-
getSeaLevel
public int getSeaLevel()
- 指定者:
getSeaLevel在接口中WorldView- Mappings:
Namespace Name Mixin selector official u_Lbvu;u_()Iintermediary method_8615Lnet/minecraft/class_4538;method_8615()Inamed getSeaLevelLnet/minecraft/world/WorldView;getSeaLevel()I
-
getRandom
public Random getRandom()
- 指定者:
getRandom在接口中WorldAccess- Mappings:
Namespace Name Mixin selector official iLbvs;i()Ljava/util/Random;intermediary method_8409Lnet/minecraft/class_1936;method_8409()Ljava/util/Random;named getRandomLnet/minecraft/world/WorldAccess;getRandom()Ljava/util/Random;
-
getTopY
public int getTopY(Heightmap.Type heightmap, int x, int z)
-
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 aLbvs;a(Lbjf;Lgb;Laev;Laex;FF)Vintermediary method_8396Lnet/minecraft/class_1936;method_8396(Lnet/minecraft/class_1657;Lnet/minecraft/class_2338;Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)Vnamed playSoundLnet/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 aLbvs;a(Lho;DDDDDD)Vintermediary method_8406Lnet/minecraft/class_1936;method_8406(Lnet/minecraft/class_2394;DDDDDD)Vnamed addParticleLnet/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 aLbvs;a(Lbjf;ILgb;I)Vintermediary method_8444Lnet/minecraft/class_1936;method_8444(Lnet/minecraft/class_1657;ILnet/minecraft/class_2338;I)Vnamed syncWorldEventLnet/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 aLbvs;a(Lasl;Lcnt;Lgb;)Vintermediary method_32888Lnet/minecraft/class_1936;method_32888(Lnet/minecraft/class_1297;Lnet/minecraft/class_5712;Lnet/minecraft/class_2338;)Vnamed emitGameEventLnet/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 kLbvu;k()Lcmt;intermediary method_8597Lnet/minecraft/class_4538;method_8597()Lnet/minecraft/class_2874;named getDimensionLnet/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 aLbvx;a(Lgb;Ljava/util/function/Predicate;)Zintermediary method_16358Lnet/minecraft/class_3746;method_16358(Lnet/minecraft/class_2338;Ljava/util/function/Predicate;)Znamed testBlockStateLnet/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 bLbvx;b(Lgb;Ljava/util/function/Predicate;)Zintermediary method_35237Lnet/minecraft/class_3746;method_35237(Lnet/minecraft/class_2338;Ljava/util/function/Predicate;)Znamed testFluidStateLnet/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 aLbvi;a(Lcni;Ldlv;Ljava/util/function/Predicate;)Ljava/util/List;intermediary method_18023Lnet/minecraft/class_1924;method_18023(Lnet/minecraft/class_5575;Lnet/minecraft/class_238;Ljava/util/function/Predicate;)Ljava/util/List;named getEntitiesByTypeLnet/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 entitiespredicate- 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 aLbvi;a(Lasl;Ldlv;Ljava/util/function/Predicate;)Ljava/util/List;intermediary method_8333Lnet/minecraft/class_1924;method_8333(Lnet/minecraft/class_1297;Lnet/minecraft/class_238;Ljava/util/function/Predicate;)Ljava/util/List;named getOtherEntitiesLnet/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 zLbvi;z()Ljava/util/List;intermediary method_18456Lnet/minecraft/class_1924;method_18456()Ljava/util/List;named getPlayersLnet/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 aLbwm;a(Lgu;Lcsx;)Ljava/util/stream/Stream;intermediary method_30275Lnet/minecraft/class_5281;method_30275(Lnet/minecraft/class_4076;Lnet/minecraft/class_3195;)Ljava/util/stream/Stream;named getStructuresLnet/minecraft/world/StructureWorldAccess;getStructures(Lnet/minecraft/util/math/ChunkSectionPos;Lnet/minecraft/world/gen/feature/StructureFeature;)Ljava/util/stream/Stream;
-
getBottomY
public int getBottomY()
Returns the bottom Y level, or height, inclusive, of this view.- 指定者:
getBottomY在接口中HeightLimitView- 指定者:
getBottomY在接口中WorldView- 另请参阅:
HeightLimitView.getTopY(),HeightLimitView.getHeight()- Mappings:
Namespace Name Mixin selector official v_Lbvt;v_()Iintermediary method_31607Lnet/minecraft/class_5539;method_31607()Inamed getBottomYLnet/minecraft/world/HeightLimitView;getBottomY()I
-
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 mLbvt;m()Iintermediary method_31605Lnet/minecraft/class_5539;method_31605()Inamed getHeightLnet/minecraft/world/HeightLimitView;getHeight()I
-
-