Class CobbleGenLevel

java.lang.Object
net.neoforged.neoforge.attachment.AttachmentHolder
net.minecraft.world.level.Level
net.createmod.catnip.levelWrappers.WrappedLevel
com.simibubi.create.content.kinetics.drill.CobbleGenLevel
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, net.neoforged.neoforge.common.extensions.ILevelReaderExtension

public class CobbleGenLevel extends net.createmod.catnip.levelWrappers.WrappedLevel
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraft.world.level.Level

    net.minecraft.world.level.Level.ExplosionInteraction

    Nested classes/interfaces inherited from class net.neoforged.neoforge.attachment.AttachmentHolder

    net.neoforged.neoforge.attachment.AttachmentHolder.AsField
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    HashMap<net.minecraft.core.BlockPos,net.minecraft.world.level.block.state.BlockState>
     

    Fields inherited from class net.createmod.catnip.levelWrappers.WrappedLevel

    chunkSource, entityGetter, level

    Fields 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_DAY

    Fields inherited from class net.neoforged.neoforge.attachment.AttachmentHolder

    ATTACHMENTS_NBT_KEY

    Fields inherited from interface net.neoforged.neoforge.common.extensions.ILevelExtension

    TRANSLATION_PREFIX

    Fields inherited from interface net.minecraft.world.level.SignalGetter

    DIRECTIONS
  • Constructor Summary

    Constructors
    Constructor
    Description
    CobbleGenLevel(net.minecraft.world.level.Level level)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    blockEvent(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.Block block, int eventID, int eventParam)
     
    void
     
    void
    levelEvent(int type, net.minecraft.core.BlockPos pos, int data)
     
    void
    levelEvent(net.minecraft.world.entity.player.Player player, int type, net.minecraft.core.BlockPos pos, int data)
     
    void
    scheduleTick(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.Block block, int delay)
     
    void
    scheduleTick(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.Block block, int delay, net.minecraft.world.ticks.TickPriority priority)
     
    void
    scheduleTick(net.minecraft.core.BlockPos pos, net.minecraft.world.level.material.Fluid fluid, int delay)
     
    void
    scheduleTick(net.minecraft.core.BlockPos pos, net.minecraft.world.level.material.Fluid fluid, int delay, net.minecraft.world.ticks.TickPriority priority)
     
    boolean
    setBlock(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState newState, int flags)
     
    boolean
    setBlockAndUpdate(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
     

    Methods inherited from class net.createmod.catnip.levelWrappers.WrappedLevel

    addFreshEntity, destroyBlockProgress, enabledFeatures, gameEvent, gameEvent, gatherChunkSourceStats, getBlockEntity, getBlockState, getBlockTicks, getChunkSource, getDayTimeFraction, getDayTimePerTick, getEntities, getEntity, getFluidTicks, getFreeMapId, getLevel, getLightEngine, getMapData, getMaxBuildHeight, getMaxLocalRawBrightness, getMaxSection, getMinSection, getRecipeManager, getScoreboard, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, getShade, getUncachedNoiseBiome, isOutsideBuildHeight, isOutsideBuildHeight, isStateAtPosition, players, playSeededSound, playSeededSound, playSound, playSound, potionBrewing, registryAccess, sendBlockUpdated, setChunkSource, setDayTimeFraction, setDayTimePerTick, setMapData, tickRateManager, updateNeighbourForOutputSignal

    Methods inherited from class net.minecraft.world.level.Level

    addAlwaysVisibleParticle, addAlwaysVisibleParticle, addBlockEntityTicker, addDestroyBlockEffect, addFreshBlockEntities, addParticle, addParticle, advanceDaytime, blockEntityChanged, broadcastDamageEvent, broadcastEntityEvent, close, createFireworks, damageSources, destroyBlock, dimension, dimensionType, dimensionTypeRegistration, disconnect, explode, explode, explode, explode, explode, explode, fillReportDetails, getBiomeManager, getBlockRandomPos, getChunk, getChunk, getChunkAt, getChunkForCollisions, getCurrentDifficultyAt, getDayTime, getEntities, getEntities, getEntities, getEntities, getFluidState, getGameRules, getGameTime, getHeight, getLevelData, getMaxEntityRadius, getProfiler, getProfilerSupplier, getRainLevel, getRandom, getSeaLevel, getServer, getSharedSpawnAngle, getSharedSpawnPos, getSkyDarken, getSunAngle, getThunderLevel, getWorldBorder, globalLevelEvent, guardEntityTick, increaseMaxEntityRadius, isClientSide, isDay, isDebug, isFluidAtPosition, isInSpawnableBounds, isInWorldBounds, isLoaded, isNight, isRaining, isRainingAt, isThundering, loadedAndEntityCanStandOn, loadedAndEntityCanStandOnFace, markAndNotifyBlock, mayInteract, neighborChanged, neighborChanged, neighborShapeChanged, nextSubTickCount, noSave, onBlockStateChange, playLocalSound, playLocalSound, playLocalSound, playSeededSound, playSound, playSound, playSound, playSound, prepareWeather, removeBlock, removeBlockEntity, sendPacketToServer, setBlock, setBlockEntity, setBlocksDirty, setRainLevel, setSkyFlashTime, setSpawnSettings, setThunderLevel, shouldTickBlocksAt, shouldTickBlocksAt, shouldTickDeath, tickBlockEntities, updateNeighborsAt, updateNeighborsAtExceptFromFacing, updateSkyBrightness

    Methods inherited from class net.neoforged.neoforge.attachment.AttachmentHolder

    deserializeAttachments, getData, getExistingData, hasAttachments, hasData, removeData, serializeAttachments, setData

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.world.level.BlockAndTintGetter

    canSeeSky, getBrightness, getRawBrightness

    Methods inherited from interface net.minecraft.world.level.BlockGetter

    clip, clipWithInteractionOverride, getBlockFloorHeight, getBlockFloorHeight, getBlockStates, getLightEmission, getMaxLightLevel, isBlockInLine

    Methods inherited from interface net.minecraft.world.level.CollisionGetter

    collidesWithSuffocatingBlock, findFreePosition, findSupportingBlock, getBlockCollisions, getCollisions, getEntityCollisions, isUnobstructed, isUnobstructed, isUnobstructed, noBlockCollision, noCollision, noCollision, noCollision

    Methods inherited from interface net.minecraft.world.level.CommonLevelAccessor

    getBlockEntity, getEntityCollisions, getHeightmapPos, isUnobstructed

    Methods inherited from interface net.minecraft.world.level.EntityGetter

    getEntities, getEntitiesOfClass, getEntitiesOfClass, getNearbyEntities, getNearbyPlayers, getNearestEntity, getNearestEntity, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getPlayerByUUID, hasNearbyAlivePlayer

    Methods inherited from interface net.neoforged.neoforge.attachment.IAttachmentHolder

    getData, getExistingData, hasData, removeData, setData

    Methods inherited from interface net.neoforged.neoforge.common.extensions.IBlockAndTintGetterExtension

    getShade

    Methods inherited from interface net.neoforged.neoforge.common.extensions.IBlockGetterExtension

    getAuxLightManager, getAuxLightManager, getModelData

    Methods inherited from interface net.neoforged.neoforge.common.extensions.ILevelExtension

    getCapability, getCapability, getCapability, getCapability, getDescription, getDescriptionKey, getModelDataManager, getPartEntities, invalidateCapabilities, invalidateCapabilities

    Methods inherited from interface net.neoforged.neoforge.common.extensions.ILevelReaderExtension

    holder, holderOrThrow, isAreaLoaded

    Methods inherited from interface net.minecraft.world.level.LevelAccessor

    blockUpdated, dayTime, gameEvent, gameEvent, gameEvent, getDifficulty, hasChunk, playSound

    Methods inherited from interface net.minecraft.world.level.LevelReader

    canSeeSkyFromBelowWater, containsAnyLiquid, getBiome, getBlockStatesIfLoaded, getBlockTint, getChunk, getChunk, getHeight, getLightLevelDependentMagicValue, getMaxLocalRawBrightness, getMinBuildHeight, getNoiseBiome, getPathfindingCostFromLightLevels, hasChunkAt, hasChunkAt, hasChunksAt, hasChunksAt, hasChunksAt, holderLookup, isEmptyBlock, isWaterAt

    Methods inherited from interface net.minecraft.world.level.LevelTimeAccess

    getMoonBrightness, getMoonPhase, getTimeOfDay

    Methods inherited from interface net.minecraft.world.level.LevelWriter

    destroyBlock, destroyBlock

    Methods inherited from interface net.minecraft.world.level.SignalGetter

    getBestNeighborSignal, getControlInputSignal, getDirectSignal, getDirectSignalTo, getSignal, hasNeighborSignal, hasSignal
  • Field Details

    • blocksAdded

      public HashMap<net.minecraft.core.BlockPos,net.minecraft.world.level.block.state.BlockState> blocksAdded
  • Constructor Details

    • CobbleGenLevel

      public CobbleGenLevel(net.minecraft.world.level.Level level)
  • Method Details

    • clear

      public void clear()
    • setBlock

      public boolean setBlock(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState newState, int flags)
      Specified by:
      setBlock in interface net.minecraft.world.level.LevelWriter
      Overrides:
      setBlock in class net.createmod.catnip.levelWrappers.WrappedLevel
    • setBlockAndUpdate

      public boolean setBlockAndUpdate(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
      Overrides:
      setBlockAndUpdate in class net.minecraft.world.level.Level
    • scheduleTick

      public void scheduleTick(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.Block block, int delay)
    • scheduleTick

      public void scheduleTick(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.Block block, int delay, net.minecraft.world.ticks.TickPriority priority)
    • scheduleTick

      public void scheduleTick(net.minecraft.core.BlockPos pos, net.minecraft.world.level.material.Fluid fluid, int delay)
    • scheduleTick

      public void scheduleTick(net.minecraft.core.BlockPos pos, net.minecraft.world.level.material.Fluid fluid, int delay, net.minecraft.world.ticks.TickPriority priority)
    • levelEvent

      public void levelEvent(int type, net.minecraft.core.BlockPos pos, int data)
    • levelEvent

      public void levelEvent(net.minecraft.world.entity.player.Player player, int type, net.minecraft.core.BlockPos pos, int data)
      Specified by:
      levelEvent in interface net.minecraft.world.level.LevelAccessor
      Overrides:
      levelEvent in class net.createmod.catnip.levelWrappers.WrappedLevel
    • blockEvent

      public void blockEvent(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.Block block, int eventID, int eventParam)
      Overrides:
      blockEvent in class net.minecraft.world.level.Level