Class FabricSinglePosVirtualBlockGetter
java.lang.Object
dev.engine_room.flywheel.lib.model.baked.VirtualBlockGetter
dev.engine_room.flywheel.lib.model.baked.SinglePosVirtualBlockGetter
dev.engine_room.flywheel.lib.model.baked.FabricSinglePosVirtualBlockGetter
- All Implemented Interfaces:
net.fabricmc.fabric.api.blockview.v2.FabricBlockView,net.minecraft.world.level.BlockAndTintGetter,net.minecraft.world.level.BlockGetter,net.minecraft.world.level.LevelHeightAccessor
public class FabricSinglePosVirtualBlockGetter
extends dev.engine_room.flywheel.lib.model.baked.SinglePosVirtualBlockGetter
-
Field Summary
FieldsFields inherited from class dev.engine_room.flywheel.lib.model.baked.SinglePosVirtualBlockGetter
blockEntity, blockState, posFields inherited from class dev.engine_room.flywheel.lib.model.baked.VirtualBlockGetter
lightEngine -
Constructor Summary
ConstructorsConstructorDescriptionFabricSinglePosVirtualBlockGetter(ToIntFunction<net.minecraft.core.BlockPos> blockLightFunc, ToIntFunction<net.minecraft.core.BlockPos> skyLightFunc) -
Method Summary
Modifier and TypeMethodDescriptionblockEntity(@Nullable net.minecraft.world.level.block.entity.BlockEntity blockEntity) blockState(net.minecraft.world.level.block.state.BlockState state) @Nullable ObjectgetBlockEntityRenderData(net.minecraft.core.BlockPos pos) pos(net.minecraft.core.BlockPos pos) renderData(@Nullable Object renderData) Methods inherited from class dev.engine_room.flywheel.lib.model.baked.SinglePosVirtualBlockGetter
getBlockEntity, getBlockState, getHeight, getMinBuildHeightMethods 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.fabricmc.fabric.api.blockview.v2.FabricBlockView
getBiomeFabric, hasBiomesMethods inherited from interface net.minecraft.world.level.LevelHeightAccessor
getMaxBuildHeight, getMaxSection, getMinSection, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, isOutsideBuildHeight, isOutsideBuildHeight
-
Field Details
-
renderData
-
-
Constructor Details
-
FabricSinglePosVirtualBlockGetter
public FabricSinglePosVirtualBlockGetter(ToIntFunction<net.minecraft.core.BlockPos> blockLightFunc, ToIntFunction<net.minecraft.core.BlockPos> skyLightFunc)
-
-
Method Details
-
createFullDark
-
createFullBright
-
pos
- Overrides:
posin classdev.engine_room.flywheel.lib.model.baked.SinglePosVirtualBlockGetter
-
blockState
public FabricSinglePosVirtualBlockGetter blockState(net.minecraft.world.level.block.state.BlockState state) - Overrides:
blockStatein classdev.engine_room.flywheel.lib.model.baked.SinglePosVirtualBlockGetter
-
blockEntity
public FabricSinglePosVirtualBlockGetter blockEntity(@Nullable @Nullable net.minecraft.world.level.block.entity.BlockEntity blockEntity) - Overrides:
blockEntityin classdev.engine_room.flywheel.lib.model.baked.SinglePosVirtualBlockGetter
-
renderData
-
getBlockEntityRenderData
-