Class BlueprintBlockAccess
java.lang.Object
net.neoforged.neoforge.attachment.AttachmentHolder
net.minecraft.world.level.Level
com.ldtteam.common.fakelevel.FakeLevel<Blueprint>
com.ldtteam.structurize.client.fakelevel.BlueprintBlockAccess
- All Implemented Interfaces:
AutoCloseable,net.minecraft.world.level.biome.BiomeManager.NoiseBiomeSource,net.minecraft.world.level.BlockAndTintGetter,net.minecraft.world.level.BlockGetter,net.minecraft.world.level.CollisionGetter,net.minecraft.world.level.CommonLevelAccessor,net.minecraft.world.level.EntityGetter,net.minecraft.world.level.LevelAccessor,net.minecraft.world.level.LevelHeightAccessor,net.minecraft.world.level.LevelReader,net.minecraft.world.level.LevelSimulatedReader,net.minecraft.world.level.LevelSimulatedRW,net.minecraft.world.level.LevelTimeAccess,net.minecraft.world.level.LevelWriter,net.minecraft.world.level.SignalGetter,net.neoforged.neoforge.attachment.IAttachmentHolder,net.neoforged.neoforge.common.extensions.IBlockAndTintGetterExtension,net.neoforged.neoforge.common.extensions.IBlockGetterExtension,net.neoforged.neoforge.common.extensions.ILevelExtension
Exists to separate blueprint specific rendering from FakeLevel.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.Level
net.minecraft.world.level.Level.ExplosionInteractionNested classes/interfaces inherited from class net.neoforged.neoforge.attachment.AttachmentHolder
net.neoforged.neoforge.attachment.AttachmentHolder.AsField -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.ldtteam.common.fakelevel.IFakeLevelLightProviderFields inherited from class com.ldtteam.common.fakelevel.FakeLevel
blockEntities, chunkSource, levelEntityGetter, levelSource, lightProvider, overrideBeLevel, realLevel, scoreboard, worldPosFields inherited from class net.minecraft.world.level.Level
addend, blockEntityTickers, captureBlockSnapshots, capturedBlockSnapshots, END, isClientSide, levelData, LONG_PARTICLE_CLIP_RANGE, MAX_BRIGHTNESS, MAX_ENTITY_SPAWN_Y, MAX_LEVEL_SIZE, MIN_ENTITY_SPAWN_Y, neighborUpdater, NETHER, oRainLevel, oThunderLevel, OVERWORLD, rainLevel, random, randValue, RESOURCE_KEY_CODEC, restoringBlockSnapshots, SHORT_PARTICLE_CLIP_RANGE, thunderLevel, TICKS_PER_DAYFields inherited from class net.neoforged.neoforge.attachment.AttachmentHolder
ATTACHMENTS_NBT_KEYFields inherited from interface net.minecraft.world.level.SignalGetter
DIRECTIONS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.level.block.state.BlockStategetBlockState(net.minecraft.core.BlockPos pos) net.minecraft.world.level.block.state.BlockStateprepareBlockStateForRendering(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.BlockPos pos) Methods inherited from class com.ldtteam.common.fakelevel.FakeLevel
addBlockEntityTicker, addFreshBlockEntities, blockEvent, close, damageSources, destroyBlock, destroyBlockProgress, dimension, dimensionType, dimensionTypeId, dimensionTypeRegistration, enabledFeatures, explode, fillReportDetails, gameEvent, gatherChunkSourceStats, getBiome, getBiomeManager, getBlockEntity, getBlockTicks, getBrightness, getCapability, getCapability, getChunk, getChunkSource, getEntities, getEntity, getFluidState, getFluidTicks, getFreeMapId, getHeight, getHeight, getLevelSource, getLightEngine, getMapData, getMinBuildHeight, getNoiseBiome, getProfiler, getProfilerSupplier, getRainLevel, getRawBrightness, getRecipeManager, getScoreboard, getSeaLevel, getShade, getSkyDarken, getThunderLevel, getUncachedNoiseBiome, getWorldBorder, getWorldPos, hasChunk, invalidateCapabilities, invalidateCapabilities, isDay, isInWorldBounds, isLoaded, isRainingAt, levelEvent, markAndNotifyBlock, mayInteract, neighborShapeChanged, noSave, players, playSeededSound, playSeededSound, realLevel, registryAccess, removeBlock, sendBlockUpdated, setBlock, setBlockEntities, setEntities, setLevelSource, setMapData, setRainLevel, setRealLevel, setSpawnSettings, setThunderLevel, setWorldPos, shouldTickBlocksAt, shouldTickDeath, tickBlockEntities, tickRateManager, updateNeighborsAt, updateSkyBrightnessMethods inherited from class net.minecraft.world.level.Level
addAlwaysVisibleParticle, addAlwaysVisibleParticle, addDestroyBlockEffect, addParticle, addParticle, blockEntityChanged, broadcastDamageEvent, broadcastEntityEvent, createFireworks, disconnect, explode, explode, explode, explode, explode, getBlockRandomPos, getChunk, getChunkAt, getChunkForCollisions, getCurrentDifficultyAt, getDayTime, getEntities, getEntities, getEntities, getEntities, getGameRules, getGameTime, getLevelData, getMaxEntityRadius, getModelDataManager, getRandom, getServer, getSharedSpawnAngle, getSharedSpawnPos, getSunAngle, globalLevelEvent, guardEntityTick, increaseMaxEntityRadius, isClientSide, isDebug, isFluidAtPosition, isInSpawnableBounds, isNight, isRaining, isStateAtPosition, isThundering, loadedAndEntityCanStandOn, loadedAndEntityCanStandOnFace, neighborChanged, neighborChanged, nextSubTickCount, onBlockStateChange, playLocalSound, playLocalSound, playLocalSound, playSeededSound, playSound, playSound, playSound, playSound, playSound, prepareWeather, removeBlockEntity, sendPacketToServer, setBlock, setBlockAndUpdate, setBlockEntity, setBlocksDirty, setSkyFlashTime, shouldTickBlocksAt, updateNeighborsAtExceptFromFacing, updateNeighbourForOutputSignalMethods inherited from class net.neoforged.neoforge.attachment.AttachmentHolder
areAttachmentsCompatible, deserializeAttachments, getData, getExistingData, hasAttachments, hasData, removeData, serializeAttachments, setDataMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.level.BlockAndTintGetter
canSeeSkyMethods inherited from interface net.minecraft.world.level.BlockGetter
clip, clipWithInteractionOverride, getBlockFloorHeight, getBlockFloorHeight, getBlockStates, getLightEmission, getMaxLightLevel, isBlockInLineMethods inherited from interface net.minecraft.world.level.CollisionGetter
collidesWithSuffocatingBlock, findFreePosition, findSupportingBlock, getBlockCollisions, getCollisions, getEntityCollisions, isUnobstructed, isUnobstructed, isUnobstructed, noBlockCollision, noCollision, noCollision, noCollisionMethods inherited from interface net.minecraft.world.level.CommonLevelAccessor
getBlockEntity, getEntityCollisions, getHeightmapPos, isUnobstructedMethods inherited from interface net.minecraft.world.level.EntityGetter
getEntities, getEntitiesOfClass, getEntitiesOfClass, getNearbyEntities, getNearbyPlayers, getNearestEntity, getNearestEntity, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getPlayerByUUID, hasNearbyAlivePlayerMethods inherited from interface net.neoforged.neoforge.attachment.IAttachmentHolder
getData, getExistingData, hasData, removeData, setDataMethods inherited from interface net.neoforged.neoforge.common.extensions.IBlockAndTintGetterExtension
getShadeMethods inherited from interface net.neoforged.neoforge.common.extensions.IBlockGetterExtension
getAuxLightManager, getAuxLightManagerMethods inherited from interface net.neoforged.neoforge.common.extensions.ILevelExtension
getPartEntitiesMethods inherited from interface net.minecraft.world.level.LevelAccessor
blockUpdated, dayTime, gameEvent, gameEvent, gameEvent, getDifficulty, levelEvent, playSound, scheduleTick, scheduleTick, scheduleTick, scheduleTickMethods inherited from interface net.minecraft.world.level.LevelHeightAccessor
getMaxBuildHeight, getMaxSection, getMinSection, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, isOutsideBuildHeight, isOutsideBuildHeightMethods inherited from interface net.minecraft.world.level.LevelReader
canSeeSkyFromBelowWater, containsAnyLiquid, getBlockStatesIfLoaded, getBlockTint, getChunk, getChunk, getLightLevelDependentMagicValue, getMaxLocalRawBrightness, getMaxLocalRawBrightness, getPathfindingCostFromLightLevels, hasChunkAt, hasChunkAt, hasChunksAt, hasChunksAt, hasChunksAt, holderLookup, isAreaLoaded, isEmptyBlock, isWaterAtMethods inherited from interface net.minecraft.world.level.LevelTimeAccess
getMoonBrightness, getMoonPhase, getTimeOfDayMethods inherited from interface net.minecraft.world.level.LevelWriter
addFreshEntity, destroyBlock, destroyBlockMethods inherited from interface net.minecraft.world.level.SignalGetter
getBestNeighborSignal, getControlInputSignal, getDirectSignal, getDirectSignalTo, getSignal, hasNeighborSignal, hasSignal
-
Field Details
-
LIGHT_PROVIDER
public static final com.ldtteam.common.fakelevel.IFakeLevelLightProvider LIGHT_PROVIDER
-
-
Constructor Details
-
BlueprintBlockAccess
-
-
Method Details
-
getBlockState
public net.minecraft.world.level.block.state.BlockState getBlockState(net.minecraft.core.BlockPos pos) - Specified by:
getBlockStatein interfacenet.minecraft.world.level.BlockGetter- Overrides:
getBlockStatein classcom.ldtteam.common.fakelevel.FakeLevel<Blueprint>
-
prepareBlockStateForRendering
public net.minecraft.world.level.block.state.BlockState prepareBlockStateForRendering(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.BlockPos pos)
-