Class OriginBlockAndTintGetter
java.lang.Object
dev.engine_room.flywheel.lib.model.baked.VirtualBlockGetter
dev.engine_room.flywheel.lib.model.baked.OriginBlockAndTintGetter
- All Implemented Interfaces:
net.minecraft.world.level.BlockAndTintGetter,net.minecraft.world.level.BlockGetter,net.minecraft.world.level.LevelHeightAccessor,net.neoforged.neoforge.common.extensions.IBlockAndTintGetterExtension,net.neoforged.neoforge.common.extensions.IBlockGetterExtension
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected @Nullable net.minecraft.world.level.block.entity.BlockEntityprotected net.minecraft.world.level.block.state.BlockStateFields inherited from class dev.engine_room.flywheel.lib.model.baked.VirtualBlockGetter
lightEngine -
Constructor Summary
ConstructorsConstructorDescriptionOriginBlockAndTintGetter(ToIntFunction<net.minecraft.core.BlockPos> blockLightFunc, ToIntFunction<net.minecraft.core.BlockPos> skyLightFunc) -
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) intintvoidoriginBlockEntity(@Nullable net.minecraft.world.level.block.entity.BlockEntity blockEntity) voidoriginBlockState(net.minecraft.world.level.block.state.BlockState state) Methods inherited from class dev.engine_room.flywheel.lib.model.baked.VirtualBlockGetter
getBlockTint, getFluidState, 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.neoforged.neoforge.common.extensions.IBlockAndTintGetterExtension
getShadeMethods inherited from interface net.neoforged.neoforge.common.extensions.IBlockGetterExtension
getAuxLightManager, getAuxLightManager, getModelDataMethods inherited from interface net.minecraft.world.level.LevelHeightAccessor
getMaxBuildHeight, getMaxSection, getMinSection, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, isOutsideBuildHeight, isOutsideBuildHeight
-
Field Details
-
originBlockEntity
@Nullable protected @Nullable net.minecraft.world.level.block.entity.BlockEntity originBlockEntity -
originBlockState
protected net.minecraft.world.level.block.state.BlockState originBlockState
-
-
Constructor Details
-
OriginBlockAndTintGetter
public OriginBlockAndTintGetter(ToIntFunction<net.minecraft.core.BlockPos> blockLightFunc, ToIntFunction<net.minecraft.core.BlockPos> skyLightFunc)
-
-
Method Details
-
originBlockEntity
public void originBlockEntity(@Nullable @Nullable net.minecraft.world.level.block.entity.BlockEntity blockEntity) -
originBlockState
public void originBlockState(net.minecraft.world.level.block.state.BlockState state) -
getBlockEntity
@Nullable public @Nullable net.minecraft.world.level.block.entity.BlockEntity getBlockEntity(net.minecraft.core.BlockPos pos) -
getBlockState
public net.minecraft.world.level.block.state.BlockState getBlockState(net.minecraft.core.BlockPos pos) -
getHeight
public int getHeight() -
getMinBuildHeight
public int getMinBuildHeight()
-