Interface VirtualEmptyBlockGetter

All Superinterfaces:
net.minecraft.world.level.BlockAndTintGetter, net.minecraft.world.level.BlockGetter, net.minecraftforge.client.extensions.IForgeBlockAndTintGetter, net.minecraftforge.common.extensions.IForgeBlockGetter, net.minecraft.world.level.LevelHeightAccessor
All Known Implementing Classes:
VirtualEmptyBlockGetter.StaticLightImpl

public interface VirtualEmptyBlockGetter extends net.minecraft.world.level.BlockAndTintGetter
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default net.minecraft.world.level.block.entity.BlockEntity
    getBlockEntity(net.minecraft.core.BlockPos pos)
     
    default net.minecraft.world.level.block.state.BlockState
    getBlockState(net.minecraft.core.BlockPos pos)
     
    default int
    getBlockTint(net.minecraft.core.BlockPos pos, net.minecraft.world.level.ColorResolver resolver)
     
    default net.minecraft.world.level.material.FluidState
    getFluidState(net.minecraft.core.BlockPos pos)
     
    default int
     
    default int
     
    default float
    getShade(net.minecraft.core.Direction direction, boolean shaded)
     
    static boolean
    is(net.minecraft.world.level.BlockAndTintGetter blockGetter)
     

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

    canSeeSky, getBrightness, getLightEngine, 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
  • Field Details

  • Method Details

    • is

      static boolean is(net.minecraft.world.level.BlockAndTintGetter blockGetter)
    • getBlockEntity

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

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

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

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

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

      default float getShade(net.minecraft.core.Direction direction, boolean shaded)
      Specified by:
      getShade in interface net.minecraft.world.level.BlockAndTintGetter
    • getBlockTint

      default int getBlockTint(net.minecraft.core.BlockPos pos, net.minecraft.world.level.ColorResolver resolver)
      Specified by:
      getBlockTint in interface net.minecraft.world.level.BlockAndTintGetter