MixinChunkRendererRegion

public abstract class MixinChunkRendererRegion implements RenderAttachedBlockView

Functions

countVerticalSections
Link copied to clipboard
int countVerticalSections()
getBaseLightLevel
Link copied to clipboard
int getBaseLightLevel(BlockPos pos, int ambientDarkness)
getBlockEntity
Link copied to clipboard
abstract BlockEntity getBlockEntity(BlockPos pos)
Optional<TgetBlockEntity<T extends BlockEntity>(BlockPos pos, BlockEntityType<T> type)
getBlockEntityRenderAttachment
Link copied to clipboard
Object getBlockEntityRenderAttachment(BlockPos pos)
For models associated with Block Entities that implement RenderAttachmentBlockEntity this will be the most recent value provided by that implementation for the given block position.
getBlockState
Link copied to clipboard
abstract BlockState getBlockState(BlockPos pos)
getBottomSectionCoord
Link copied to clipboard
int getBottomSectionCoord()
getBottomY
Link copied to clipboard
abstract int getBottomY()
getBrightness
Link copied to clipboard
abstract float getBrightness(Direction direction, boolean shaded)
getColor
Link copied to clipboard
abstract int getColor(BlockPos pos, ColorResolver colorResolver)
getDismountHeight
Link copied to clipboard
double getDismountHeight(VoxelShape blockCollisionShape, Supplier<VoxelShape> belowBlockCollisionShapeGetter)
getFluidState
Link copied to clipboard
abstract FluidState getFluidState(BlockPos pos)
getHeight
Link copied to clipboard
abstract int getHeight()
getLightingProvider
Link copied to clipboard
abstract LightingProvider getLightingProvider()
getLightLevel
Link copied to clipboard
int getLightLevel(LightType type, BlockPos pos)
getLuminance
Link copied to clipboard
int getLuminance(BlockPos pos)
getMaxLightLevel
Link copied to clipboard
int getMaxLightLevel()
getSectionIndex
Link copied to clipboard
int getSectionIndex(int y)
getStatesInBox
Link copied to clipboard
Stream<BlockStategetStatesInBox(Box box)
getTopSectionCoord
Link copied to clipboard
int getTopSectionCoord()
getTopY
Link copied to clipboard
int getTopY()
init
Link copied to clipboard
void init(World world, int cxOff, int czOff, Array<Array<WorldChunk>> chunks, BlockPos posFrom, BlockPos posTo, CallbackInfo info)
isOutOfHeightLimit
Link copied to clipboard
boolean isOutOfHeightLimit(BlockPos pos)
isSkyVisible
Link copied to clipboard
boolean isSkyVisible(BlockPos pos)
raycast
Link copied to clipboard
BlockHitResult raycast(BlockStateRaycastContext context)
static T raycast<T, C>(Vec3d start, Vec3d end, C context, BiFunction<C, BlockPos, T> blockHitFactory, Function<C, T> missFactory)
raycastBlock
Link copied to clipboard
BlockHitResult raycastBlock(Vec3d start, Vec3d end, BlockPos pos, VoxelShape shape, BlockState state)
sectionCoordToIndex
Link copied to clipboard
int sectionCoordToIndex(int coord)
sectionIndexToCoord
Link copied to clipboard
int sectionIndexToCoord(int index)

Sources

jvm source
Link copied to clipboard