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 -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final VirtualEmptyBlockGetterstatic final VirtualEmptyBlockGetterstatic final VirtualEmptyBlockGetter -
Method Summary
Modifier and TypeMethodDescriptiondefault net.minecraft.world.level.block.entity.BlockEntitygetBlockEntity(net.minecraft.core.BlockPos pos) default net.minecraft.world.level.block.state.BlockStategetBlockState(net.minecraft.core.BlockPos pos) default intgetBlockTint(net.minecraft.core.BlockPos pos, net.minecraft.world.level.ColorResolver resolver) default net.minecraft.world.level.material.FluidStategetFluidState(net.minecraft.core.BlockPos pos) default intdefault intdefault floatgetShade(net.minecraft.core.Direction direction, boolean shaded) static booleanis(net.minecraft.world.level.BlockAndTintGetter blockGetter) Methods inherited from interface net.minecraft.world.level.BlockAndTintGetter
canSeeSky, getBrightness, getLightEngine, 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
-
Field Details
-
INSTANCE
-
FULL_BRIGHT
-
FULL_DARK
-
-
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:
getBlockEntityin interfacenet.minecraft.world.level.BlockGetter
-
getBlockState
default net.minecraft.world.level.block.state.BlockState getBlockState(net.minecraft.core.BlockPos pos) - Specified by:
getBlockStatein interfacenet.minecraft.world.level.BlockGetter
-
getFluidState
default net.minecraft.world.level.material.FluidState getFluidState(net.minecraft.core.BlockPos pos) - Specified by:
getFluidStatein interfacenet.minecraft.world.level.BlockGetter
-
getHeight
default int getHeight()- Specified by:
getHeightin interfacenet.minecraft.world.level.LevelHeightAccessor
-
getMinBuildHeight
default int getMinBuildHeight()- Specified by:
getMinBuildHeightin interfacenet.minecraft.world.level.LevelHeightAccessor
-
getShade
default float getShade(net.minecraft.core.Direction direction, boolean shaded) - Specified by:
getShadein interfacenet.minecraft.world.level.BlockAndTintGetter
-
getBlockTint
default int getBlockTint(net.minecraft.core.BlockPos pos, net.minecraft.world.level.ColorResolver resolver) - Specified by:
getBlockTintin interfacenet.minecraft.world.level.BlockAndTintGetter
-