Class FabricOriginBlockAndTintGetter

java.lang.Object
dev.engine_room.flywheel.lib.model.baked.VirtualBlockGetter
dev.engine_room.flywheel.lib.model.baked.OriginBlockAndTintGetter
dev.engine_room.flywheel.lib.model.baked.FabricOriginBlockAndTintGetter
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 FabricOriginBlockAndTintGetter extends dev.engine_room.flywheel.lib.model.baked.OriginBlockAndTintGetter
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected @Nullable Object
     

    Fields inherited from class dev.engine_room.flywheel.lib.model.baked.OriginBlockAndTintGetter

    originBlockEntity, originBlockState

    Fields inherited from class dev.engine_room.flywheel.lib.model.baked.VirtualBlockGetter

    lightEngine
  • Constructor Summary

    Constructors
    Constructor
    Description
    FabricOriginBlockAndTintGetter(ToIntFunction<net.minecraft.core.BlockPos> blockLightFunc, ToIntFunction<net.minecraft.core.BlockPos> skyLightFunc)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable Object
    getBlockEntityRenderData(net.minecraft.core.BlockPos pos)
     
    void
    originRenderData(@Nullable Object renderData)
     

    Methods inherited from class dev.engine_room.flywheel.lib.model.baked.OriginBlockAndTintGetter

    getBlockEntity, getBlockState, getHeight, getMinBuildHeight, originBlockEntity, originBlockState

    Methods inherited from class dev.engine_room.flywheel.lib.model.baked.VirtualBlockGetter

    getBlockTint, getFluidState, getLightEngine, getShade

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.world.level.BlockAndTintGetter

    canSeeSky, getBrightness, getRawBrightness

    Methods inherited from interface net.minecraft.world.level.BlockGetter

    clip, clipWithInteractionOverride, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockStates, getLightEmission, getMaxLightLevel, isBlockInLine

    Methods inherited from interface net.fabricmc.fabric.api.blockview.v2.FabricBlockView

    getBiomeFabric, hasBiomes

    Methods inherited from interface net.minecraft.world.level.LevelHeightAccessor

    getMaxBuildHeight, getMaxSection, getMinSection, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, isOutsideBuildHeight, isOutsideBuildHeight
  • Field Details

    • originRenderData

      @Nullable protected @Nullable Object originRenderData
  • Constructor Details

    • FabricOriginBlockAndTintGetter

      public FabricOriginBlockAndTintGetter(ToIntFunction<net.minecraft.core.BlockPos> blockLightFunc, ToIntFunction<net.minecraft.core.BlockPos> skyLightFunc)
  • Method Details

    • originRenderData

      public void originRenderData(@Nullable @Nullable Object renderData)
    • getBlockEntityRenderData

      @Nullable public @Nullable Object getBlockEntityRenderData(net.minecraft.core.BlockPos pos)