Class ChunkRegion
- All Implemented Interfaces:
BiomeAccess.Storage,BlockRenderView,BlockView,CollisionView,EntityView,HeightLimitView,LunarWorldView,ModifiableTestableWorld,ModifiableWorld,RegistryWorldView,ServerWorldAccess,StructureWorldAccess,TestableWorld,WorldAccess,WorldView
- Mappings:
Namespace Name official aduintermediary net/minecraft/class_3233named net/minecraft/world/ChunkRegion
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BiomeAccessprivate final MultiTickScheduler<Block>private final Chunkprivate final DimensionTypeprivate final MultiTickScheduler<Fluid>private final WorldPropertiesprivate static final org.slf4j.Loggerprivate final ChunkPosprivate final intThe number of neighboring chunks which can be accessed for block placement.private final Randomprivate final longprivate final ChunkStatusprivate final StructureAccessorprivate final AtomicLongprivate final ChunkPosprivate final intprivate final ServerWorld -
Constructor Summary
ConstructorsConstructorDescriptionChunkRegion(ServerWorld world, List<Chunk> chunks, ChunkStatus status, int placementRadius) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddParticle(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) intgetBlockEntity(BlockPos pos) getBlockState(BlockPos pos) intReturns the bottom Y level, or height, inclusive, of this view.floatgetBrightness(Direction direction, boolean shaded) getChunk(int chunkX, int chunkZ) getChunk(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create) getClosestPlayer(double x, double y, double z, double maxDistance, Predicate<Entity> targetPredicate) getEntitiesByType(TypeFilter<Entity, T> filter, Box box, Predicate<? super T> predicate) getFluidState(BlockPos pos) getGeneratorStoredBiome(int biomeX, int biomeY, int biomeZ) intComputes a list of entities within some box, excluding the given entity, that satisfy the given predicate.intlonggetSeed()List<? extends StructureStart<?>>getStructures(ChunkSectionPos pos, StructureFeature<?> feature) longintgetTopY(Heightmap.Type heightmap, int x, int z) booleanisChunkLoaded(int chunkX, int chunkZ) booleanisClient()Checks if this world view is on the logical client.booleanReturnstrueif the given position is an accessible position for thesetBlockStatefunction.private voidvoidplaySound(@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.voidsetCurrentlyGeneratingStructureName(@Nullable Supplier<String> structureName) 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) Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.BlockRenderView
getBaseLightLevel, getLightLevel, isSkyVisibleMethods inherited from interface net.minecraft.world.BlockView
getDismountHeight, getDismountHeight, getLuminance, getMaxLightLevel, getStatesInBox, raycast, raycast, raycastBlockMethods inherited from interface net.minecraft.world.CollisionView
canCollide, canPlace, doesNotIntersectEntities, doesNotIntersectEntities, findClosestCollision, getBlockCollisions, getCollisions, getEntityCollisions, isSpaceEmpty, isSpaceEmpty, isSpaceEmptyMethods inherited from interface net.minecraft.world.EntityView
getClosestEntity, getClosestEntity, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getEntitiesByClass, getNonSpectatingEntities, getOtherEntities, getPlayerByUuid, getPlayers, getTargets, isPlayerInRangeMethods inherited from interface net.minecraft.world.HeightLimitView
countVerticalSections, getBottomSectionCoord, getSectionIndex, getTopSectionCoord, getTopY, isOutOfHeightLimit, isOutOfHeightLimit, sectionCoordToIndex, sectionIndexToCoordMethods inherited from interface net.minecraft.world.LunarWorldView
getMoonPhase, getMoonSize, getSkyAngleMethods inherited from interface net.minecraft.world.ModifiableWorld
breakBlock, breakBlock, setBlockStateMethods inherited from interface net.minecraft.world.RegistryWorldView
doesNotIntersectEntities, getBiomeKey, getBlockEntity, getEntityCollisions, getTopPositionMethods inherited from interface net.minecraft.world.ServerWorldAccess
spawnEntityAndPassengersMethods inherited from interface net.minecraft.world.WorldAccess
createAndScheduleBlockTick, createAndScheduleBlockTick, createAndScheduleFluidTick, createAndScheduleFluidTick, emitGameEvent, emitGameEvent, emitGameEvent, getDifficulty, getLunarTime, syncWorldEvent, updateNeighborsMethods inherited from interface net.minecraft.world.WorldView
containsFluid, getBiome, getBiomeForNoiseGen, getBrightness, getChunk, getChunk, getChunkAsView, getColor, getLightLevel, getLightLevel, getStatesInBoxIfLoaded, getStrongRedstonePower, isAir, isChunkLoaded, isPosLoaded, isRegionLoaded, isRegionLoaded, isRegionLoaded, isSkyVisibleAllowingSea, isWater
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER- Mappings:
Namespace Name Mixin selector official aLadu;a:Lorg/slf4j/Logger;intermediary field_14092Lnet/minecraft/class_3233;field_14092:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/world/ChunkRegion;LOGGER:Lorg/slf4j/Logger;
-
chunks
- Mappings:
Namespace Name Mixin selector official bLadu;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
- Mappings:
Namespace Name Mixin selector official cLadu;c:Lcqd;intermediary field_28557Lnet/minecraft/class_3233;field_28557:Lnet/minecraft/class_2791;named centerPosLnet/minecraft/world/ChunkRegion;centerPos:Lnet/minecraft/world/chunk/Chunk;
-
width
private final int width- Mappings:
Namespace Name Mixin selector official dLadu;d:Iintermediary field_14088Lnet/minecraft/class_3233;field_14088:Inamed widthLnet/minecraft/world/ChunkRegion;width:I
-
world
- Mappings:
Namespace Name Mixin selector official eLadu;e:Ladn;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 fLadu;f:Jintermediary field_14087Lnet/minecraft/class_3233;field_14087:Jnamed seedLnet/minecraft/world/ChunkRegion;seed:J
-
levelProperties
- Mappings:
Namespace Name Mixin selector official gLadu;g:Ldjp;intermediary field_14097Lnet/minecraft/class_3233;field_14097:Lnet/minecraft/class_5217;named levelPropertiesLnet/minecraft/world/ChunkRegion;levelProperties:Lnet/minecraft/world/WorldProperties;
-
random
- Mappings:
Namespace Name Mixin selector official hLadu;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
- Mappings:
Namespace Name Mixin selector official iLadu;i:Lcrl;intermediary field_14096Lnet/minecraft/class_3233;field_14096:Lnet/minecraft/class_2874;named dimensionLnet/minecraft/world/ChunkRegion;dimension:Lnet/minecraft/world/dimension/DimensionType;
-
blockTickScheduler
- Mappings:
Namespace Name Mixin selector official jLadu;j:Ldqg;intermediary field_14099Lnet/minecraft/class_3233;field_14099:Lnet/minecraft/class_3235;named blockTickSchedulerLnet/minecraft/world/ChunkRegion;blockTickScheduler:Lnet/minecraft/world/tick/MultiTickScheduler;
-
fluidTickScheduler
- Mappings:
Namespace Name Mixin selector official kLadu;k:Ldqg;intermediary field_14094Lnet/minecraft/class_3233;field_14094:Lnet/minecraft/class_3235;named fluidTickSchedulerLnet/minecraft/world/ChunkRegion;fluidTickScheduler:Lnet/minecraft/world/tick/MultiTickScheduler;
-
biomeAccess
- Mappings:
Namespace Name Mixin selector official lLadu;l:Lcbg;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
- Mappings:
Namespace Name Mixin selector official mLadu;m:Lbzp;intermediary field_23788Lnet/minecraft/class_3233;field_23788:Lnet/minecraft/class_1923;named lowerCornerLnet/minecraft/world/ChunkRegion;lowerCorner:Lnet/minecraft/util/math/ChunkPos;
-
upperCorner
- Mappings:
Namespace Name Mixin selector official nLadu;n:Lbzp;intermediary field_23789Lnet/minecraft/class_3233;field_23789:Lnet/minecraft/class_1923;named upperCornerLnet/minecraft/world/ChunkRegion;upperCorner:Lnet/minecraft/util/math/ChunkPos;
-
structureAccessor
- Mappings:
Namespace Name Mixin selector official oLadu;o:Lcaz;intermediary field_26822Lnet/minecraft/class_3233;field_26822:Lnet/minecraft/class_5138;named structureAccessorLnet/minecraft/world/ChunkRegion;structureAccessor:Lnet/minecraft/world/gen/StructureAccessor;
-
status
- Mappings:
Namespace Name Mixin selector official pLadu;p:Lcqg;intermediary field_33754Lnet/minecraft/class_3233;field_33754:Lnet/minecraft/class_2806;named statusLnet/minecraft/world/ChunkRegion;status:Lnet/minecraft/world/chunk/ChunkStatus;
-
placementRadius
private final int placementRadiusThe number of neighboring chunks which can be accessed for block placement.A value of
0means that only this chunk is accessible. A positive value means that the given amount of neighbors are accessible in each direction. A negative value means that this region shouldn't be used for block placement.- Mappings:
Namespace Name Mixin selector official qLadu;q:Iintermediary field_33755Lnet/minecraft/class_3233;field_33755:Inamed placementRadiusLnet/minecraft/world/ChunkRegion;placementRadius:I
-
currentlyGeneratingStructureName
- Mappings:
Namespace Name Mixin selector official rLadu;r:Ljava/util/function/Supplier;intermediary field_33756Lnet/minecraft/class_3233;field_33756:Ljava/util/function/Supplier;named currentlyGeneratingStructureNameLnet/minecraft/world/ChunkRegion;currentlyGeneratingStructureName:Ljava/util/function/Supplier;
-
tickOrder
- Mappings:
Namespace Name Mixin selector official sLadu;s:Ljava/util/concurrent/atomic/AtomicLong;intermediary field_35442Lnet/minecraft/class_3233;field_35442:Ljava/util/concurrent/atomic/AtomicLong;named tickOrderLnet/minecraft/world/ChunkRegion;tickOrder:Ljava/util/concurrent/atomic/AtomicLong;
-
-
Constructor Details
-
ChunkRegion
- Mappings:
Namespace Name Mixin selector official <init>Ladu;<init>(Ladn;Ljava/util/List;Lcqg;I)Vintermediary <init>Lnet/minecraft/class_3233;<init>(Lnet/minecraft/class_3218;Ljava/util/List;Lnet/minecraft/class_2806;I)Vnamed <init>Lnet/minecraft/world/ChunkRegion;<init>(Lnet/minecraft/server/world/ServerWorld;Ljava/util/List;Lnet/minecraft/world/chunk/ChunkStatus;I)V
-
-
Method Details
-
getCenterPos
- Mappings:
Namespace Name Mixin selector official aLadu;a()Lbzp;intermediary method_33561Lnet/minecraft/class_3233;method_33561()Lnet/minecraft/class_1923;named getCenterPosLnet/minecraft/world/ChunkRegion;getCenterPos()Lnet/minecraft/util/math/ChunkPos;
-
setCurrentlyGeneratingStructureName
- Specified by:
setCurrentlyGeneratingStructureNamein interfaceStructureWorldAccess- Mappings:
Namespace Name Mixin selector official aLcba;a(Ljava/util/function/Supplier;)Vintermediary method_36972Lnet/minecraft/class_5281;method_36972(Ljava/util/function/Supplier;)Vnamed setCurrentlyGeneratingStructureNameLnet/minecraft/world/StructureWorldAccess;setCurrentlyGeneratingStructureName(Ljava/util/function/Supplier;)V
-
getChunk
-
getChunk
@Nullable public @Nullable Chunk getChunk(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create) - Specified by:
getChunkin interfaceWorldView- Mappings:
Namespace Name Mixin selector official aLcal;a(IILcqg;Z)Lcqd;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) - Specified by:
isChunkLoadedin interfaceWorldAccess- Specified by:
isChunkLoadedin interfaceWorldView- Mappings:
Namespace Name Mixin selector official bLcal;b(II)Zintermediary method_8393Lnet/minecraft/class_4538;method_8393(II)Znamed isChunkLoadedLnet/minecraft/world/WorldView;isChunkLoaded(II)Z
-
getBlockState
- Specified by:
getBlockStatein interfaceBlockView- Mappings:
Namespace Name Mixin selector official a_Lbzo;a_(Lgh;)Lcoh;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
- Specified by:
getFluidStatein interfaceBlockView- Mappings:
Namespace Name Mixin selector official b_Lbzo;b_(Lgh;)Ldia;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) - Specified by:
getClosestPlayerin interfaceEntityView- Mappings:
Namespace Name Mixin selector official aLbzz;a(DDDDLjava/util/function/Predicate;)Lbnw;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()- Specified by:
getAmbientDarknessin interfaceWorldView- Mappings:
Namespace Name Mixin selector official o_Lcal;o_()Iintermediary method_8594Lnet/minecraft/class_4538;method_8594()Inamed getAmbientDarknessLnet/minecraft/world/WorldView;getAmbientDarkness()I
-
getBiomeAccess
- Specified by:
getBiomeAccessin interfaceWorldView- Mappings:
Namespace Name Mixin selector official s_Lcal;s_()Lcbg;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
- Specified by:
getGeneratorStoredBiomein interfaceWorldView- Mappings:
Namespace Name Mixin selector official aLcal;a(III)Lcbe;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
- Specified by:
getBrightnessin interfaceBlockRenderView- Mappings:
Namespace Name Mixin selector official aLbzl;a(Lgm;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
- Specified by:
getLightingProviderin interfaceBlockRenderView- Mappings:
Namespace Name Mixin selector official l_Lbzl;l_()Ldhr;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) - Specified by:
breakBlockin interfaceModifiableWorld- Mappings:
Namespace Name Mixin selector official aLcaq;a(Lgh;ZLawy;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
- Specified by:
getBlockEntityin interfaceBlockView- Mappings:
Namespace Name Mixin selector official c_Lbzo;c_(Lgh;)Lcme;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;
-
isValidForSetBlock
Returnstrueif the given position is an accessible position for thesetBlockStatefunction.- Specified by:
isValidForSetBlockin interfaceStructureWorldAccess- Returns:
trueif the given position is an accessible position for thesetBlockStatefunction- Mappings:
Namespace Name Mixin selector official e_Lcba;e_(Lgh;)Zintermediary method_37368Lnet/minecraft/class_5281;method_37368(Lnet/minecraft/class_2338;)Znamed isValidForSetBlockLnet/minecraft/world/StructureWorldAccess;isValidForSetBlock(Lnet/minecraft/util/math/BlockPos;)Z
-
setBlockState
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.- Specified by:
setBlockStatein interfaceModifiableWorld- Parameters:
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 aLcaq;a(Lgh;Lcoh;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
- Mappings:
Namespace Name Mixin selector official fLadu;f(Lgh;)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
- Specified by:
spawnEntityin interfaceModifiableWorld- Mappings:
Namespace Name Mixin selector official bLcaq;b(Lawy;)Zintermediary method_8649Lnet/minecraft/class_1945;method_8649(Lnet/minecraft/class_1297;)Znamed spawnEntityLnet/minecraft/world/ModifiableWorld;spawnEntity(Lnet/minecraft/entity/Entity;)Z
-
removeBlock
- Specified by:
removeBlockin interfaceModifiableWorld- Mappings:
Namespace Name Mixin selector official aLcaq;a(Lgh;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
- Specified by:
getWorldBorderin interfaceCollisionView- Mappings:
Namespace Name Mixin selector official p_Lbzs;p_()Lcpy;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.- Specified by:
toServerWorldin interfaceServerWorldAccess- Mappings:
Namespace Name Mixin selector official GLcax;G()Ladn;intermediary method_8410Lnet/minecraft/class_5425;method_8410()Lnet/minecraft/class_3218;named toServerWorldLnet/minecraft/world/ServerWorldAccess;toServerWorld()Lnet/minecraft/server/world/ServerWorld;
-
getRegistryManager
- Specified by:
getRegistryManagerin interfaceRegistryWorldView- Mappings:
Namespace Name Mixin selector official tLbzu;t()Lgy;intermediary method_30349Lnet/minecraft/class_5423;method_30349()Lnet/minecraft/class_5455;named getRegistryManagerLnet/minecraft/world/RegistryWorldView;getRegistryManager()Lnet/minecraft/util/registry/DynamicRegistryManager;
-
getLevelProperties
- Specified by:
getLevelPropertiesin interfaceWorldAccess- Mappings:
Namespace Name Mixin selector official n_Lcaj;n_()Ldjp;intermediary method_8401Lnet/minecraft/class_1936;method_8401()Lnet/minecraft/class_5217;named getLevelPropertiesLnet/minecraft/world/WorldAccess;getLevelProperties()Lnet/minecraft/world/WorldProperties;
-
getLocalDifficulty
- Specified by:
getLocalDifficultyin interfaceWorldAccess- Mappings:
Namespace Name Mixin selector official d_Lcaj;d_(Lgh;)Lavt;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
- Specified by:
getServerin interfaceWorldAccess- Mappings:
Namespace Name Mixin selector official nLcaj;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
- Specified by:
getChunkManagerin interfaceWorldAccess- Mappings:
Namespace Name Mixin selector official LLcaj;L()Lcqf;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()- Specified by:
getSeedin interfaceStructureWorldAccess- Mappings:
Namespace Name Mixin selector official ELcba;E()Jintermediary method_8412Lnet/minecraft/class_5281;method_8412()Jnamed getSeedLnet/minecraft/world/StructureWorldAccess;getSeed()J
-
getBlockTickScheduler
- Specified by:
getBlockTickSchedulerin interfaceWorldAccess- Mappings:
Namespace Name Mixin selector official NLcaj;N()Ldpx;intermediary method_8397Lnet/minecraft/class_1936;method_8397()Lnet/minecraft/class_6756;named getBlockTickSchedulerLnet/minecraft/world/WorldAccess;getBlockTickScheduler()Lnet/minecraft/world/tick/QueryableTickScheduler;
-
getFluidTickScheduler
- Specified by:
getFluidTickSchedulerin interfaceWorldAccess- Mappings:
Namespace Name Mixin selector official MLcaj;M()Ldpx;intermediary method_8405Lnet/minecraft/class_1936;method_8405()Lnet/minecraft/class_6756;named getFluidTickSchedulerLnet/minecraft/world/WorldAccess;getFluidTickScheduler()Lnet/minecraft/world/tick/QueryableTickScheduler;
-
getSeaLevel
public int getSeaLevel()- Specified by:
getSeaLevelin interfaceWorldView- Mappings:
Namespace Name Mixin selector official m_Lcal;m_()Iintermediary method_8615Lnet/minecraft/class_4538;method_8615()Inamed getSeaLevelLnet/minecraft/world/WorldView;getSeaLevel()I
-
getRandom
- Specified by:
getRandomin interfaceWorldAccess- Mappings:
Namespace Name Mixin selector official r_Lcaj;r_()Ljava/util/Random;intermediary method_8409Lnet/minecraft/class_1936;method_8409()Ljava/util/Random;named getRandomLnet/minecraft/world/WorldAccess;getRandom()Ljava/util/Random;
-
getTopY
- Specified by:
getTopYin interfaceWorldView- Mappings:
Namespace Name Mixin selector official aLcal;a(Lcth$a;II)Iintermediary method_8624Lnet/minecraft/class_4538;method_8624(Lnet/minecraft/class_2902$class_2903;II)Inamed getTopYLnet/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) - Specified by:
playSoundin interfaceWorldAccess- Mappings:
Namespace Name Mixin selector official aLcaj;a(Lbnw;Lgh;Lagz;Lahb;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) - Specified by:
addParticlein interfaceWorldAccess- Mappings:
Namespace Name Mixin selector official aLcaj;a(Lhv;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) - Specified by:
syncWorldEventin interfaceWorldAccess- Mappings:
Namespace Name Mixin selector official aLcaj;a(Lbnw;ILgh;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
- Specified by:
emitGameEventin interfaceWorldAccess- Mappings:
Namespace Name Mixin selector official aLcaj;a(Lawy;Lcsl;Lgh;)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
- Specified by:
getDimensionin interfaceWorldView- Mappings:
Namespace Name Mixin selector official q_Lcal;q_()Lcrl;intermediary method_8597Lnet/minecraft/class_4538;method_8597()Lnet/minecraft/class_2874;named getDimensionLnet/minecraft/world/WorldView;getDimension()Lnet/minecraft/world/dimension/DimensionType;
-
testBlockState
- Specified by:
testBlockStatein interfaceTestableWorld- Mappings:
Namespace Name Mixin selector official aLcao;a(Lgh;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
- Specified by:
testFluidStatein interfaceTestableWorld- Mappings:
Namespace Name Mixin selector official bLcao;b(Lgh;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) - Specified by:
getEntitiesByTypein interfaceEntityView- Mappings:
Namespace Name Mixin selector official aLbzz;a(Lcsa;Ldom;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.- Specified by:
getOtherEntitiesin interfaceEntityView- Parameters:
except- the entity the box logically surrounds; this entity is ignored if it is inside the boxbox- the box in which to search for entitiespredicate- a predicate which entities must satisfy in order to be included in the returned list- Returns:
- a list of entities within a box, excluding the given entity, all satisfying the given predicate
- Mappings:
Namespace Name Mixin selector official aLbzz;a(Lawy;Ldom;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
- Specified by:
getPlayersin interfaceEntityView- Mappings:
Namespace Name Mixin selector official zLbzz;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 List<? extends StructureStart<?>> getStructures(ChunkSectionPos pos, StructureFeature<?> feature) - Specified by:
getStructuresin interfaceStructureWorldAccess- Mappings:
Namespace Name Mixin selector official aLcba;a(Lha;Lcyn;)Ljava/util/List;intermediary method_30275Lnet/minecraft/class_5281;method_30275(Lnet/minecraft/class_4076;Lnet/minecraft/class_3195;)Ljava/util/List;named getStructuresLnet/minecraft/world/StructureWorldAccess;getStructures(Lnet/minecraft/util/math/ChunkSectionPos;Lnet/minecraft/world/gen/feature/StructureFeature;)Ljava/util/List;
-
getBottomY
public int getBottomY()Returns the bottom Y level, or height, inclusive, of this view.- Specified by:
getBottomYin interfaceHeightLimitView- Specified by:
getBottomYin interfaceWorldView- See Also:
- Mappings:
Namespace Name Mixin selector official u_Lcak;u_()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.
- Specified by:
getHeightin interfaceHeightLimitView- Specified by:
getHeightin interfaceWorldView- Returns:
- the difference in the minimum and maximum height
- See Also:
- Mappings:
Namespace Name Mixin selector official v_Lcak;v_()Iintermediary method_31605Lnet/minecraft/class_5539;method_31605()Inamed getHeightLnet/minecraft/world/HeightLimitView;getHeight()I
-
getTickOrder
public long getTickOrder()- Specified by:
getTickOrderin interfaceWorldAccess- Mappings:
Namespace Name Mixin selector official t_Lcaj;t_()Jintermediary method_39224Lnet/minecraft/class_1936;method_39224()Jnamed getTickOrderLnet/minecraft/world/WorldAccess;getTickOrder()J
-