Package net.minecraft.world
Interface StructureWorldAccess
- All Superinterfaces:
BiomeAccess.Storage
,BlockRenderView
,BlockView
,CollisionView
,EntityView
,HeightLimitView
,LunarWorldView
,ModifiableTestableWorld
,ModifiableWorld
,RedstoneView
,RegistryWorldView
,ScheduledTickView
,ServerWorldAccess
,TestableWorld
,WorldAccess
,WorldView
- All Known Implementing Classes:
ChunkRegion
,ServerWorld
- Mappings:
Namespace Name named net/minecraft/world/StructureWorldAccess
intermediary net/minecraft/class_5281
official dif
-
Field Summary
Fields inherited from interface net.minecraft.world.BlockView
field_54147
Fields inherited from interface net.minecraft.world.RedstoneView
DIRECTIONS
-
Method Summary
Modifier and TypeMethodDescriptionlong
getSeed()
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, getStatesInBox, raycast, raycast, raycastBlock
Methods inherited from interface net.minecraft.world.CollisionView
canCollide, canPlace, doesNotIntersectEntities, doesNotIntersectEntities, findClosestCollision, findSupportingBlockPos, getBlockCollisions, getBlockOrFluidCollisions, getCollisions, getCollisionsIncludingWorldBorder, getEntityCollisions, getWorldBorder, isBlockSpaceEmpty, isSpaceEmpty, isSpaceEmpty, isSpaceEmpty, isSpaceEmpty
Methods inherited from interface net.minecraft.world.EntityView
getClosestPlayer, getClosestPlayer, getClosestPlayer, getEntitiesByClass, getEntitiesByType, getNonSpectatingEntities, getOtherEntities, getOtherEntities, getPlayerByUuid, getPlayers, isPlayerInRange
Methods inherited from interface net.minecraft.world.HeightLimitView
countVerticalSections, getBottomSectionCoord, getSectionIndex, getTopSectionCoord, getTopYInclusive, isInHeightLimit, 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.RedstoneView
getEmittedRedstonePower, getEmittedRedstonePower, getReceivedRedstonePower, getReceivedStrongRedstonePower, getStrongRedstonePower, isEmittingRedstonePower, isReceivingRedstonePower
Methods inherited from interface net.minecraft.world.RegistryWorldView
doesNotIntersectEntities, getBlockEntity, getEntityCollisions, getTopPosition
Methods inherited from interface net.minecraft.world.tick.ScheduledTickView
getBlockTickScheduler, getFluidTickScheduler, scheduleBlockTick, scheduleBlockTick, scheduleFluidTick, scheduleFluidTick
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, createOrderedTick, createOrderedTick, emitGameEvent, emitGameEvent, emitGameEvent, emitGameEvent, emitGameEvent, getChunkManager, getDifficulty, getLevelProperties, getLocalDifficulty, getLunarTime, getRandom, getServer, getTickOrder, isChunkLoaded, playSound, playSound, replaceWithStateForNeighborUpdate, syncWorldEvent, syncWorldEvent, updateNeighbors
Methods inherited from interface net.minecraft.world.WorldView
containsFluid, createCommandRegistryWrapper, getAmbientDarkness, getBiome, getBiomeAccess, getBiomeForNoiseGen, getBottomY, getBrightness, getChunk, getChunk, getChunk, getChunk, getChunkAsView, getColor, getDimension, getEnabledFeatures, getGeneratorStoredBiome, getHeight, getLightLevel, getLightLevel, getPhototaxisFavor, getRegistryManager, getSeaLevel, getStatesInBoxIfLoaded, getTopY, isAir, isChunkLoaded, isClient, isPosLoaded, isRegionLoaded, isRegionLoaded, isRegionLoaded, isSkyVisibleAllowingSea, isWater
-
Method Details
-
getSeed
long getSeed()- Mappings:
Namespace Name Mixin selector named getSeed
Lnet/minecraft/world/StructureWorldAccess;getSeed()J
intermediary method_8412
Lnet/minecraft/class_5281;method_8412()J
official D
Ldif;D()J
-
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 named isValidForSetBlock
Lnet/minecraft/world/StructureWorldAccess;isValidForSetBlock(Lnet/minecraft/util/math/BlockPos;)Z
intermediary method_37368
Lnet/minecraft/class_5281;method_37368(Lnet/minecraft/class_2338;)Z
official f_
Ldif;f_(Ljh;)Z
-
setCurrentlyGeneratingStructureName
default void setCurrentlyGeneratingStructureName(@Nullable @Nullable Supplier<String> structureName) - Mappings:
Namespace Name Mixin selector named setCurrentlyGeneratingStructureName
Lnet/minecraft/world/StructureWorldAccess;setCurrentlyGeneratingStructureName(Ljava/util/function/Supplier;)V
intermediary method_36972
Lnet/minecraft/class_5281;method_36972(Ljava/util/function/Supplier;)V
official a
Ldif;a(Ljava/util/function/Supplier;)V
-