Class EmptyVirtualBlockGetter
java.lang.Object
dev.engine_room.flywheel.lib.model.baked.VirtualBlockGetter
dev.engine_room.flywheel.lib.model.baked.EmptyVirtualBlockGetter
- All Implemented Interfaces:
net.minecraft.world.level.BlockAndTintGetter,net.minecraft.world.level.BlockGetter,net.minecraft.world.level.LevelHeightAccessor
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EmptyVirtualBlockGetterstatic final EmptyVirtualBlockGetterFields inherited from class dev.engine_room.flywheel.lib.model.baked.VirtualBlockGetter
lightEngine -
Constructor Summary
ConstructorsConstructorDescriptionEmptyVirtualBlockGetter(ToIntFunction<net.minecraft.core.BlockPos> blockLightFunc, ToIntFunction<net.minecraft.core.BlockPos> skyLightFunc) -
Method Summary
Modifier and TypeMethodDescriptionfinal @Nullable net.minecraft.world.level.block.entity.BlockEntitygetBlockEntity(net.minecraft.core.BlockPos pos) final net.minecraft.world.level.block.state.BlockStategetBlockState(net.minecraft.core.BlockPos pos) final net.minecraft.world.level.material.FluidStategetFluidState(net.minecraft.core.BlockPos pos) final intfinal intMethods inherited from class dev.engine_room.flywheel.lib.model.baked.VirtualBlockGetter
getBlockTint, getLightEngine, getShadeMethods 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, getBrightness, getRawBrightnessMethods inherited from interface net.minecraft.world.level.BlockGetter
clip, clipWithInteractionOverride, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockStates, getLightEmission, getMaxLightLevel, isBlockInLineMethods inherited from interface net.minecraft.world.level.LevelHeightAccessor
getMaxBuildHeight, getMaxSection, getMinSection, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, isOutsideBuildHeight, isOutsideBuildHeight
-
Field Details
-
FULL_DARK
-
FULL_BRIGHT
-
-
Constructor Details
-
EmptyVirtualBlockGetter
public EmptyVirtualBlockGetter(ToIntFunction<net.minecraft.core.BlockPos> blockLightFunc, ToIntFunction<net.minecraft.core.BlockPos> skyLightFunc)
-
-
Method Details
-
getBlockEntity
@Nullable public final @Nullable net.minecraft.world.level.block.entity.BlockEntity getBlockEntity(net.minecraft.core.BlockPos pos) -
getBlockState
public final net.minecraft.world.level.block.state.BlockState getBlockState(net.minecraft.core.BlockPos pos) -
getFluidState
public final net.minecraft.world.level.material.FluidState getFluidState(net.minecraft.core.BlockPos pos) - Specified by:
getFluidStatein interfacenet.minecraft.world.level.BlockGetter- Overrides:
getFluidStatein classVirtualBlockGetter
-
getHeight
public final int getHeight() -
getMinBuildHeight
public final int getMinBuildHeight()
-