Package net.minecraft.world
Interface StructureWorldAccess
- All Superinterfaces:
BiomeAccess.Storage,BlockRenderView,BlockView,CollisionView,EntityView,HeightLimitView,LunarWorldView,ModifiableTestableWorld,ModifiableWorld,RegistryWorldView,ServerWorldAccess,TestableWorld,WorldAccess,WorldView
- All Known Implementing Classes:
ChunkRegion,ServerWorld
- Mappings:
Namespace Name official cgsintermediary net/minecraft/class_5281named net/minecraft/world/StructureWorldAccess
-
Method Summary
Modifier and TypeMethodDescriptionlonggetSeed()default booleanReturnstrueif the given position is an accessible position for thesetBlockStatefunction.default voidsetCurrentlyGeneratingStructureName(@Nullable Supplier<String> structureName) Methods inherited from interface net.minecraft.world.BlockRenderView
getBaseLightLevel, getBrightness, getLightingProvider, getLightLevel, isSkyVisibleMethods inherited from interface net.minecraft.world.BlockView
getBlockEntity, getBlockState, getDismountHeight, getDismountHeight, getFluidState, getLuminance, getMaxLightLevel, getStatesInBox, raycast, raycast, raycastBlockMethods inherited from interface net.minecraft.world.CollisionView
canCollide, canPlace, doesNotIntersectEntities, doesNotIntersectEntities, findClosestCollision, getBlockCollisions, getCollisions, getEntityCollisions, getWorldBorder, isSpaceEmpty, isSpaceEmpty, isSpaceEmptyMethods inherited from interface net.minecraft.world.EntityView
getClosestEntity, getClosestEntity, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getEntitiesByClass, getEntitiesByType, getNonSpectatingEntities, getOtherEntities, getOtherEntities, getPlayerByUuid, getPlayers, 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, breakBlock, removeBlock, setBlockState, setBlockState, spawnEntityMethods inherited from interface net.minecraft.world.RegistryWorldView
doesNotIntersectEntities, getBlockEntity, getEntityCollisions, getRegistryManager, getTopPositionMethods inherited from interface net.minecraft.world.ServerWorldAccess
spawnEntityAndPassengers, toServerWorldMethods inherited from interface net.minecraft.world.TestableWorld
testBlockState, testFluidStateMethods inherited from interface net.minecraft.world.WorldAccess
addParticle, createAndScheduleBlockTick, createAndScheduleBlockTick, createAndScheduleFluidTick, createAndScheduleFluidTick, emitGameEvent, emitGameEvent, emitGameEvent, emitGameEvent, getBlockTickScheduler, getChunkManager, getDifficulty, getFluidTickScheduler, getLevelProperties, getLocalDifficulty, getLunarTime, getRandom, getServer, getTickOrder, isChunkLoaded, playSound, replaceWithStateForNeighborUpdate, syncWorldEvent, syncWorldEvent, updateNeighborsMethods inherited from interface net.minecraft.world.WorldView
containsFluid, getAmbientDarkness, getBiome, getBiomeAccess, getBiomeForNoiseGen, getBottomY, getBrightness, getChunk, getChunk, getChunk, getChunk, getChunkAsView, getColor, getDimension, getGeneratorStoredBiome, getHeight, getLightLevel, getLightLevel, getPhototaxisFavor, getSeaLevel, getStatesInBoxIfLoaded, getStrongRedstonePower, getTopY, isAir, isChunkLoaded, isClient, isPosLoaded, isRegionLoaded, isRegionLoaded, isRegionLoaded, isSkyVisibleAllowingSea, isWater
-
Method Details
-
getSeed
long getSeed()- Mappings:
Namespace Name Mixin selector official BLcgs;B()Jintermediary method_8412Lnet/minecraft/class_5281;method_8412()Jnamed getSeedLnet/minecraft/world/StructureWorldAccess;getSeed()J
-
isValidForSetBlock
Returnstrueif the given position is an accessible position for thesetBlockStatefunction.- Returns:
trueif the given position is an accessible position for thesetBlockStatefunction- Mappings:
Namespace Name Mixin selector official e_Lcgs;e_(Lgt;)Zintermediary method_37368Lnet/minecraft/class_5281;method_37368(Lnet/minecraft/class_2338;)Znamed isValidForSetBlockLnet/minecraft/world/StructureWorldAccess;isValidForSetBlock(Lnet/minecraft/util/math/BlockPos;)Z
-
setCurrentlyGeneratingStructureName
default void setCurrentlyGeneratingStructureName(@Nullable @Nullable Supplier<String> structureName) - Mappings:
Namespace Name Mixin selector official aLcgs;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
-