Class LevelMixin
java.lang.Object
com.lightning.northstar.mixin.level.LevelMixin
- All Implemented Interfaces:
NorthstarLevel,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.common.extensions.IBlockAndTintGetterExtension,net.neoforged.neoforge.common.extensions.IBlockGetterExtension,net.neoforged.neoforge.common.extensions.ILevelReaderExtension
@ParametersAreNonnullByDefault
public abstract class LevelMixin
extends Object
implements NorthstarLevel, net.minecraft.world.level.LevelAccessor
-
Field Summary
Fields inherited from interface com.lightning.northstar.accessor.NorthstarLevel
CLIENT_TRACKER, SERVER_TRACKERFields inherited from interface net.minecraft.world.level.SignalGetter
DIRECTIONS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract net.minecraft.world.level.entity.LevelEntityGetter<net.minecraft.world.entity.Entity> floatbooleanvoid@Nullable Planetvoidnorthstar$queueBlockUpdates(it.unimi.dsi.fastutil.longs.LongCollection positions) Methods 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
canSeeSky, getBrightness, getLightEngine, getRawBrightness, getShadeMethods inherited from interface net.minecraft.world.level.BlockGetter
clip, clipWithInteractionOverride, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockState, getBlockStates, getFluidState, getLightEmission, getMaxLightLevel, isBlockInLineMethods inherited from interface net.minecraft.world.level.CollisionGetter
collidesWithSuffocatingBlock, findFreePosition, findSupportingBlock, getBlockCollisions, getCollisions, getEntityCollisions, getWorldBorder, 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, getEntities, getEntities, getEntitiesOfClass, getEntitiesOfClass, getNearbyEntities, getNearbyPlayers, getNearestEntity, getNearestEntity, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getPlayerByUUID, hasNearbyAlivePlayer, playersMethods inherited from interface net.neoforged.neoforge.common.extensions.IBlockAndTintGetterExtension
getShadeMethods inherited from interface net.neoforged.neoforge.common.extensions.IBlockGetterExtension
getAuxLightManager, getAuxLightManager, getModelDataMethods inherited from interface net.neoforged.neoforge.common.extensions.ILevelReaderExtension
holder, holderOrThrow, isAreaLoadedMethods inherited from interface net.minecraft.world.level.LevelAccessor
addParticle, blockUpdated, dayTime, gameEvent, gameEvent, gameEvent, gameEvent, gameEvent, getBlockTicks, getChunkSource, getCurrentDifficultyAt, getDifficulty, getFluidTicks, getLevelData, getRandom, getServer, hasChunk, levelEvent, levelEvent, neighborShapeChanged, nextSubTickCount, playSound, 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, dimensionType, enabledFeatures, getBiome, getBiomeManager, getBlockStatesIfLoaded, getBlockTint, getChunk, getChunk, getChunk, getChunk, getChunkForCollisions, getHeight, getHeight, getLightLevelDependentMagicValue, getMaxLocalRawBrightness, getMaxLocalRawBrightness, getMinBuildHeight, getNoiseBiome, getPathfindingCostFromLightLevels, getSeaLevel, getSkyDarken, getUncachedNoiseBiome, hasChunkAt, hasChunkAt, hasChunksAt, hasChunksAt, hasChunksAt, holderLookup, isClientSide, isEmptyBlock, isWaterAt, registryAccessMethods inherited from interface net.minecraft.world.level.LevelSimulatedReader
isFluidAtPosition, isStateAtPositionMethods inherited from interface net.minecraft.world.level.LevelTimeAccess
getMoonBrightness, getMoonPhase, getTimeOfDayMethods inherited from interface net.minecraft.world.level.LevelWriter
addFreshEntity, destroyBlock, destroyBlock, destroyBlock, removeBlock, setBlock, setBlockMethods inherited from interface com.lightning.northstar.accessor.NorthstarLevel
northstar$getPlanetTracker, northstar$gravityMethods inherited from interface net.minecraft.world.level.SignalGetter
getBestNeighborSignal, getControlInputSignal, getDirectSignal, getDirectSignalTo, getSignal, hasNeighborSignal, hasSignal
-
Constructor Details
-
LevelMixin
public LevelMixin()
-
-
Method Details
-
getEntities
protected abstract net.minecraft.world.level.entity.LevelEntityGetter<net.minecraft.world.entity.Entity> getEntities() -
northstar$temperature
- Specified by:
northstar$temperaturein interfaceNorthstarLevel
-
northstar$oxygen
- Specified by:
northstar$oxygenin interfaceNorthstarLevel
-
northstar$queueBlockUpdates
public void northstar$queueBlockUpdates(it.unimi.dsi.fastutil.longs.LongCollection positions) - Specified by:
northstar$queueBlockUpdatesin interfaceNorthstarLevel
-
northstar$onResourceReload
public void northstar$onResourceReload()- Specified by:
northstar$onResourceReloadin interfaceNorthstarLevel
-
northstar$planet
- Specified by:
northstar$planetin interfaceNorthstarLevel
-
northstar$dimension
- Specified by:
northstar$dimensionin interfaceNorthstarLevel
-
northstar$gravityScale
public float northstar$gravityScale()- Specified by:
northstar$gravityScalein interfaceNorthstarLevel
-
northstar$isZeroGravity
public boolean northstar$isZeroGravity()- Specified by:
northstar$isZeroGravityin interfaceNorthstarLevel
-