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 cao
intermediary net/minecraft/class_5281
named net/minecraft/world/StructureWorldAccess
-
Method Summary
Modifier and TypeMethodDescriptionlong
getSeed()
List<? extends StructureStart<?>>
getStructures
(ChunkSectionPos pos, StructureFeature<?> feature) default boolean
Returnstrue
if the given position is an accessible position for thesetBlockState
function.default void
setCurrentlyGeneratingStructureName
(@Nullable Supplier<String> structureName) Methods inherited from interface net.minecraft.world.BlockRenderView
getBaseLightLevel, getBrightness, getLightingProvider, getLightLevel, isSkyVisible
Methods inherited from interface net.minecraft.world.BlockView
getBlockEntity, getBlockState, getDismountHeight, getDismountHeight, getFluidState, getLuminance, getMaxLightLevel, getStatesInBox, raycast, raycast, raycastBlock
Methods inherited from interface net.minecraft.world.CollisionView
canCollide, canPlace, findClosestCollision, getBlockCollisions, getCollisions, getEntityCollisions, getWorldBorder, intersectsEntities, intersectsEntities, isSpaceEmpty, isSpaceEmpty, isSpaceEmpty
Methods inherited from interface net.minecraft.world.EntityView
getClosestEntity, getClosestEntity, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getEntitiesByClass, getEntitiesByType, getNonSpectatingEntities, getOtherEntities, getOtherEntities, getPlayerByUuid, getPlayers, getPlayers, getTargets, isPlayerInRange
Methods inherited from interface net.minecraft.world.HeightLimitView
countVerticalSections, getBottomSectionCoord, getSectionIndex, getTopSectionCoord, getTopY, isOutOfHeightLimit, isOutOfHeightLimit, sectionCoordToIndex, sectionIndexToCoord
Methods inherited from interface net.minecraft.world.LunarWorldView
getMoonPhase, getMoonSize, getSkyAngle
Methods inherited from interface net.minecraft.world.ModifiableWorld
breakBlock, breakBlock, breakBlock, removeBlock, setBlockState, setBlockState, spawnEntity
Methods inherited from interface net.minecraft.world.RegistryWorldView
getBiomeKey, getBlockEntity, getEntityCollisions, getRegistryManager, getTopPosition, intersectsEntities
Methods inherited from interface net.minecraft.world.ServerWorldAccess
spawnEntityAndPassengers, toServerWorld
Methods inherited from interface net.minecraft.world.TestableWorld
testBlockState, testFluidState
Methods 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, syncWorldEvent, syncWorldEvent, updateNeighbors
Methods 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, getSeaLevel, getStatesInBoxIfLoaded, getStrongRedstonePower, getTopY, isAir, isChunkLoaded, isClient, isPosLoaded, isRegionLoaded, isRegionLoaded, isRegionLoaded, isSkyVisibleAllowingSea, isWater
-
Method Details
-
getSeed
long getSeed()- Mappings:
Namespace Name Mixin selector official E
Lcao;E()J
intermediary method_8412
Lnet/minecraft/class_5281;method_8412()J
named getSeed
Lnet/minecraft/world/StructureWorldAccess;getSeed()J
-
getStructures
- Mappings:
Namespace Name Mixin selector official a
Lcao;a(Lha;Lcxy;)Ljava/util/List;
intermediary method_30275
Lnet/minecraft/class_5281;method_30275(Lnet/minecraft/class_4076;Lnet/minecraft/class_3195;)Ljava/util/List;
named getStructures
Lnet/minecraft/world/StructureWorldAccess;getStructures(Lnet/minecraft/util/math/ChunkSectionPos;Lnet/minecraft/world/gen/feature/StructureFeature;)Ljava/util/List;
-
isValidForSetBlock
Returnstrue
if the given position is an accessible position for thesetBlockState
function.- Returns:
true
if the given position is an accessible position for thesetBlockState
function- Mappings:
Namespace Name Mixin selector official e_
Lcao;e_(Lgh;)Z
intermediary method_37368
Lnet/minecraft/class_5281;method_37368(Lnet/minecraft/class_2338;)Z
named isValidForSetBlock
Lnet/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 a
Lcao;a(Ljava/util/function/Supplier;)V
intermediary method_36972
Lnet/minecraft/class_5281;method_36972(Ljava/util/function/Supplier;)V
named setCurrentlyGeneratingStructureName
Lnet/minecraft/world/StructureWorldAccess;setCurrentlyGeneratingStructureName(Ljava/util/function/Supplier;)V
-