Package net.jcm.vsch.mixin.minecraft
Class MixinLevelChunk
java.lang.Object
net.minecraft.world.level.chunk.ChunkAccess
net.jcm.vsch.mixin.minecraft.MixinLevelChunk
- All Implemented Interfaces:
NodeGetter,net.minecraft.world.level.biome.BiomeManager.NoiseBiomeSource,net.minecraft.world.level.BlockGetter,net.minecraft.world.level.chunk.LightChunk,net.minecraft.world.level.chunk.StructureAccess,net.minecraft.world.level.LevelHeightAccessor,net.minecraftforge.common.extensions.IForgeBlockGetter
public abstract class MixinLevelChunk
extends net.minecraft.world.level.chunk.ChunkAccess
implements net.minecraft.world.level.BlockGetter, NodeGetter
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.chunk.ChunkAccess
net.minecraft.world.level.chunk.ChunkAccess.TicksToSave -
Field Summary
Fields inherited from class net.minecraft.world.level.chunk.ChunkAccess
blendingData, blockEntities, chunkPos, heightmaps, levelHeightAccessor, NO_FILLED_SECTION, noiseChunk, pendingBlockEntities, postProcessing, sections, skyLightSources, unsaved, upgradeData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract net.minecraft.world.level.LevelgetLevel()getNode(int x, int y, int z, int index) PipeNode[]getNodes(int x, int y, int z) booleanbooleanvoidreadNodes(net.minecraft.network.FriendlyByteBuf buf) voidvoidwriteNodes(net.minecraft.network.FriendlyByteBuf buf) Methods inherited from class net.minecraft.world.level.chunk.ChunkAccess
addEntity, addPackedPostProcess, addReferenceForStructure, carverBiome, fillBiomesFromNoise, findBlockLightSources, findBlocks, findBlocks, getAllReferences, getAllStarts, getBelowZeroRetrogen, getBlendingData, getBlockEntitiesPos, getBlockEntityNbt, getBlockEntityNbtForSaving, getBlockTicks, getFluidTicks, getHeight, getHeight, getHeightAccessorForGeneration, getHeightmaps, getHighestFilledSectionIndex, getHighestGeneratedStatus, getHighestSectionPosition, getInhabitedTime, getListenerRegistry, getMinBuildHeight, getNoiseBiome, getOrCreateHeightmapUnprimed, getOrCreateNoiseChunk, getOrCreateOffsetList, getPos, getPostProcessing, getReferencesForStructure, getSection, getSections, getSkyLightSources, getStartForStructure, getStatus, getTicksForSerialization, getUpgradeData, getWorldForge, hasAnyStructureReferences, hasPrimedHeightmap, incrementInhabitedTime, initializeLightSources, isLightCorrect, isOldNoiseGeneration, isUnsaved, isUpgrading, isYSpaceEmpty, markPosForPostprocessing, removeBlockEntity, setAllReferences, setAllStarts, setBlendingData, setBlockEntity, setBlockEntityNbt, setBlockState, setHeightmap, setInhabitedTime, setLightCorrect, setStartForStructure, setUnsavedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.level.BlockGetter
clip, clipWithInteractionOverride, getBlockEntity, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockState, getBlockStates, getFluidState, getLightEmission, getMaxLightLevel, isBlockInLineMethods inherited from interface net.minecraftforge.common.extensions.IForgeBlockGetter
getExistingBlockEntity, getModelDataManagerMethods inherited from interface net.minecraft.world.level.LevelHeightAccessor
getHeight, getMaxBuildHeight, getMaxSection, getMinBuildHeight, getMinSection, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, isOutsideBuildHeight, isOutsideBuildHeight
-
Constructor Details
-
MixinLevelChunk
protected MixinLevelChunk()
-
-
Method Details
-
getLevel
public abstract net.minecraft.world.level.Level getLevel() -
getNode
- Specified by:
getNodein interfaceNodeGetter
-
getNodes
- Specified by:
getNodesin interfaceNodeGetter
-
setNode
- Specified by:
setNodein interfaceNodeGetter
-
streamNodes
- Specified by:
streamNodesin interfaceNodeGetter
-
hasAnyNode
public boolean hasAnyNode()- Specified by:
hasAnyNodein interfaceNodeGetter
-
writeNodes
public void writeNodes(net.minecraft.network.FriendlyByteBuf buf) - Specified by:
writeNodesin interfaceNodeGetter
-
readNodes
public void readNodes(net.minecraft.network.FriendlyByteBuf buf) - Specified by:
readNodesin interfaceNodeGetter
-
isNodesUnsaved
public boolean isNodesUnsaved()- Specified by:
isNodesUnsavedin interfaceNodeGetter
-
setNodesUnsaved
public void setNodesUnsaved()- Specified by:
setNodesUnsavedin interfaceNodeGetter
-