Class BlockCaptureLevel

java.lang.Object
com.supermartijn642.rechiseled.screen.BlockCaptureLevel
All Implemented Interfaces:
net.minecraft.world.level.BlockAndTintGetter, net.minecraft.world.level.BlockGetter, net.minecraft.world.level.LevelHeightAccessor, net.minecraftforge.client.extensions.IForgeBlockAndTintGetter, net.minecraftforge.common.extensions.IForgeBlockGetter

public class BlockCaptureLevel extends Object implements net.minecraft.world.level.BlockAndTintGetter
Created 09/06/2023 by SuperMartijn642
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable net.minecraft.world.level.block.entity.BlockEntity
    getBlockEntity(net.minecraft.core.BlockPos pos)
     
    net.minecraft.world.level.block.state.BlockState
    getBlockState(net.minecraft.core.BlockPos pos)
     
    int
    getBlockTint(net.minecraft.core.BlockPos pos, net.minecraft.world.level.ColorResolver colorResolver)
     
    int
    getBrightness(net.minecraft.world.level.LightLayer lightLayer, net.minecraft.core.BlockPos pos)
     
    net.minecraft.world.level.material.FluidState
    getFluidState(net.minecraft.core.BlockPos pos)
     
    int
     
    net.minecraft.world.level.lighting.LevelLightEngine
     
    int
     
    float
    getShade(net.minecraft.core.Direction side, boolean bl)
     
    void
     

    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, getRawBrightness

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

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

    Methods inherited from interface net.minecraftforge.client.extensions.IForgeBlockAndTintGetter

    getShade

    Methods inherited from interface net.minecraftforge.common.extensions.IForgeBlockGetter

    getExistingBlockEntity, getModelDataManager

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

    getMaxBuildHeight, getMaxSection, getMinSection, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, isOutsideBuildHeight, isOutsideBuildHeight
  • Constructor Details

    • BlockCaptureLevel

      public BlockCaptureLevel()
  • Method Details

    • setCapture

      public void setCapture(BlockCapture capture)
    • getBlockEntity

      @Nullable public @Nullable net.minecraft.world.level.block.entity.BlockEntity getBlockEntity(net.minecraft.core.BlockPos pos)
      Specified by:
      getBlockEntity in interface net.minecraft.world.level.BlockGetter
    • getBlockState

      public net.minecraft.world.level.block.state.BlockState getBlockState(net.minecraft.core.BlockPos pos)
      Specified by:
      getBlockState in interface net.minecraft.world.level.BlockGetter
    • getFluidState

      public net.minecraft.world.level.material.FluidState getFluidState(net.minecraft.core.BlockPos pos)
      Specified by:
      getFluidState in interface net.minecraft.world.level.BlockGetter
    • getShade

      public float getShade(net.minecraft.core.Direction side, boolean bl)
      Specified by:
      getShade in interface net.minecraft.world.level.BlockAndTintGetter
    • getBrightness

      public int getBrightness(net.minecraft.world.level.LightLayer lightLayer, net.minecraft.core.BlockPos pos)
      Specified by:
      getBrightness in interface net.minecraft.world.level.BlockAndTintGetter
    • getLightEngine

      public net.minecraft.world.level.lighting.LevelLightEngine getLightEngine()
      Specified by:
      getLightEngine in interface net.minecraft.world.level.BlockAndTintGetter
    • getBlockTint

      public int getBlockTint(net.minecraft.core.BlockPos pos, net.minecraft.world.level.ColorResolver colorResolver)
      Specified by:
      getBlockTint in interface net.minecraft.world.level.BlockAndTintGetter
    • getHeight

      public int getHeight()
      Specified by:
      getHeight in interface net.minecraft.world.level.LevelHeightAccessor
    • getMinBuildHeight

      public int getMinBuildHeight()
      Specified by:
      getMinBuildHeight in interface net.minecraft.world.level.LevelHeightAccessor