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 -
Method Summary
Modifier and TypeMethodDescription@Nullable net.minecraft.world.level.block.entity.BlockEntitygetBlockEntity(net.minecraft.core.BlockPos pos) net.minecraft.world.level.block.state.BlockStategetBlockState(net.minecraft.core.BlockPos pos) intgetBlockTint(net.minecraft.core.BlockPos pos, net.minecraft.world.level.ColorResolver colorResolver) intgetBrightness(net.minecraft.world.level.LightLayer lightLayer, net.minecraft.core.BlockPos pos) net.minecraft.world.level.material.FluidStategetFluidState(net.minecraft.core.BlockPos pos) intnet.minecraft.world.level.lighting.LevelLightEngineintfloatgetShade(net.minecraft.core.Direction side, boolean bl) voidsetCapture(BlockCapture capture) 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, getRawBrightnessMethods inherited from interface net.minecraft.world.level.BlockGetter
clip, clipWithInteractionOverride, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockStates, getLightEmission, getMaxLightLevel, isBlockInLineMethods inherited from interface net.minecraftforge.client.extensions.IForgeBlockAndTintGetter
getShadeMethods inherited from interface net.minecraftforge.common.extensions.IForgeBlockGetter
getExistingBlockEntity, getModelDataManagerMethods 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
-
getBlockEntity
@Nullable public @Nullable net.minecraft.world.level.block.entity.BlockEntity getBlockEntity(net.minecraft.core.BlockPos pos) - Specified by:
getBlockEntityin interfacenet.minecraft.world.level.BlockGetter
-
getBlockState
public net.minecraft.world.level.block.state.BlockState getBlockState(net.minecraft.core.BlockPos pos) - Specified by:
getBlockStatein interfacenet.minecraft.world.level.BlockGetter
-
getFluidState
public net.minecraft.world.level.material.FluidState getFluidState(net.minecraft.core.BlockPos pos) - Specified by:
getFluidStatein interfacenet.minecraft.world.level.BlockGetter
-
getShade
public float getShade(net.minecraft.core.Direction side, boolean bl) - Specified by:
getShadein interfacenet.minecraft.world.level.BlockAndTintGetter
-
getBrightness
public int getBrightness(net.minecraft.world.level.LightLayer lightLayer, net.minecraft.core.BlockPos pos) - Specified by:
getBrightnessin interfacenet.minecraft.world.level.BlockAndTintGetter
-
getLightEngine
public net.minecraft.world.level.lighting.LevelLightEngine getLightEngine()- Specified by:
getLightEnginein interfacenet.minecraft.world.level.BlockAndTintGetter
-
getBlockTint
public int getBlockTint(net.minecraft.core.BlockPos pos, net.minecraft.world.level.ColorResolver colorResolver) - Specified by:
getBlockTintin interfacenet.minecraft.world.level.BlockAndTintGetter
-
getHeight
public int getHeight()- Specified by:
getHeightin interfacenet.minecraft.world.level.LevelHeightAccessor
-
getMinBuildHeight
public int getMinBuildHeight()- Specified by:
getMinBuildHeightin interfacenet.minecraft.world.level.LevelHeightAccessor
-