Modifier and Type | Method and Description |
---|---|
private void |
BlockModelRenderer.fillQuadBounds(ILightReader blockReaderIn,
BlockState stateIn,
BlockPos posIn,
int[] vertexData,
Direction face,
float[] quadBounds,
java.util.BitSet boundsFlags) |
float |
BlockModelRenderer.Cache.getBrightness(BlockState blockStateIn,
ILightReader lightReaderIn,
BlockPos blockPosIn) |
private int |
FluidBlockRenderer.getCombinedAverageLight(ILightReader lightReaderIn,
BlockPos posIn) |
static int |
WorldRenderer.getCombinedLight(ILightReader lightReaderIn,
BlockPos blockPosIn) |
int |
BlockModelRenderer.Cache.getPackedLight(BlockState blockStateIn,
ILightReader lightReaderIn,
BlockPos blockPosIn) |
static int |
WorldRenderer.getPackedLightmapCoords(ILightReader lightReaderIn,
BlockState blockStateIn,
BlockPos blockPosIn) |
boolean |
FluidBlockRenderer.render(ILightReader lightReaderIn,
BlockPos posIn,
IVertexBuilder vertexBuilderIn,
IFluidState fluidStateIn) |
void |
BlockRendererDispatcher.renderBlockDamage(BlockState blockStateIn,
BlockPos posIn,
ILightReader lightReaderIn,
MatrixStack matrixStackIn,
IVertexBuilder vertexBuilderIn)
Deprecated.
|
boolean |
BlockRendererDispatcher.renderFluid(BlockPos posIn,
ILightReader lightReaderIn,
IVertexBuilder vertexBuilderIn,
IFluidState fluidStateIn) |
boolean |
BlockRendererDispatcher.renderModel(BlockState blockStateIn,
BlockPos posIn,
ILightReader lightReaderIn,
MatrixStack matrixStackIn,
IVertexBuilder vertexBuilderIn,
boolean checkSides,
java.util.Random rand)
Deprecated.
|
boolean |
BlockRendererDispatcher.renderModel(BlockState blockStateIn,
BlockPos posIn,
ILightReader lightReaderIn,
MatrixStack matrixStackIn,
IVertexBuilder vertexBuilderIn,
boolean checkSides,
java.util.Random rand,
IModelData modelData) |
void |
BlockRendererDispatcher.renderModel(BlockState blockStateIn,
BlockPos posIn,
ILightReader lightReaderIn,
MatrixStack matrixStackIn,
IVertexBuilder vertexBuilderIn,
IModelData modelData) |
boolean |
BlockModelRenderer.renderModel(ILightReader worldIn,
IBakedModel modelIn,
BlockState stateIn,
BlockPos posIn,
MatrixStack matrixIn,
IVertexBuilder buffer,
boolean checkSides,
java.util.Random randomIn,
long rand,
int combinedOverlayIn)
Deprecated.
|
boolean |
BlockModelRenderer.renderModel(ILightReader worldIn,
IBakedModel modelIn,
BlockState stateIn,
BlockPos posIn,
MatrixStack matrixIn,
IVertexBuilder buffer,
boolean checkSides,
java.util.Random randomIn,
long rand,
int combinedOverlayIn,
IModelData modelData) |
boolean |
BlockModelRenderer.renderModelFlat(ILightReader worldIn,
IBakedModel modelIn,
BlockState stateIn,
BlockPos posIn,
MatrixStack matrixStackIn,
IVertexBuilder buffer,
boolean checkSides,
java.util.Random randomIn,
long rand,
int combinedOverlayIn)
Deprecated.
|
boolean |
BlockModelRenderer.renderModelFlat(ILightReader worldIn,
IBakedModel modelIn,
BlockState stateIn,
BlockPos posIn,
MatrixStack matrixStackIn,
IVertexBuilder buffer,
boolean checkSides,
java.util.Random randomIn,
long rand,
int combinedOverlayIn,
IModelData modelData) |
boolean |
BlockModelRenderer.renderModelSmooth(ILightReader worldIn,
IBakedModel modelIn,
BlockState stateIn,
BlockPos posIn,
MatrixStack matrixStackIn,
IVertexBuilder buffer,
boolean checkSides,
java.util.Random randomIn,
long rand,
int combinedOverlayIn)
Deprecated.
|
boolean |
BlockModelRenderer.renderModelSmooth(ILightReader worldIn,
IBakedModel modelIn,
BlockState stateIn,
BlockPos posIn,
MatrixStack matrixStackIn,
IVertexBuilder buffer,
boolean checkSides,
java.util.Random randomIn,
long rand,
int combinedOverlayIn,
IModelData modelData) |
private void |
BlockModelRenderer.renderQuadsFlat(ILightReader blockAccessIn,
BlockState stateIn,
BlockPos posIn,
int brightnessIn,
int combinedOverlayIn,
boolean ownBrightness,
MatrixStack matrixStackIn,
IVertexBuilder buffer,
java.util.List<BakedQuad> list,
java.util.BitSet bitSet) |
private void |
BlockModelRenderer.renderQuadSmooth(ILightReader blockAccessIn,
BlockState stateIn,
BlockPos posIn,
IVertexBuilder buffer,
MatrixStack.Entry matrixEntry,
BakedQuad quadIn,
float colorMul0,
float colorMul1,
float colorMul2,
float colorMul3,
int brightness0,
int brightness1,
int brightness2,
int brightness3,
int combinedOverlayIn) |
private void |
BlockModelRenderer.renderQuadsSmooth(ILightReader blockAccessIn,
BlockState stateIn,
BlockPos posIn,
MatrixStack matrixStackIn,
IVertexBuilder buffer,
java.util.List<BakedQuad> list,
float[] quadBounds,
java.util.BitSet bitSet,
BlockModelRenderer.AmbientOcclusionFace aoFace,
int combinedOverlayIn) |
void |
BlockModelRenderer.AmbientOcclusionFace.updateVertexBrightness(ILightReader worldIn,
BlockState state,
BlockPos centerPos,
Direction directionIn,
float[] faceShape,
java.util.BitSet shapeState) |
Modifier and Type | Class and Description |
---|---|
class |
ChunkRenderCache |
Modifier and Type | Method and Description |
---|---|
int |
IBlockColor.getColor(BlockState p_getColor_1_,
ILightReader p_getColor_2_,
BlockPos p_getColor_3_,
int p_getColor_4_) |
int |
BlockColors.getColor(BlockState blockStateIn,
ILightReader lightReaderIn,
BlockPos blockPosIn,
int tintIndexIn) |
Modifier and Type | Class and Description |
---|---|
class |
ClientWorld |
Modifier and Type | Interface and Description |
---|---|
interface |
IWorld |
interface |
IWorldReader |
Modifier and Type | Class and Description |
---|---|
class |
World |
Modifier and Type | Method and Description |
---|---|
private static int |
BiomeColors.func_228359_a_(ILightReader worldIn,
BlockPos blockPosIn,
ColorResolver colorResolverIn) |
static int |
BiomeColors.getFoliageColor(ILightReader worldIn,
BlockPos blockPosIn) |
static int |
BiomeColors.getGrassColor(ILightReader worldIn,
BlockPos blockPosIn) |
static int |
BiomeColors.getWaterColor(ILightReader worldIn,
BlockPos blockPosIn) |
Modifier and Type | Class and Description |
---|---|
class |
WorldGenRegion |
Modifier and Type | Class and Description |
---|---|
class |
ServerMultiWorld |
class |
ServerWorld |
Modifier and Type | Method and Description |
---|---|
static TextureAtlasSprite[] |
ForgeHooksClient.getFluidSprites(ILightReader world,
BlockPos pos,
IFluidState fluidStateIn) |
Modifier and Type | Method and Description |
---|---|
default IModelData |
IForgeBakedModel.getModelData(ILightReader world,
BlockPos pos,
BlockState state,
IModelData tileData) |
Modifier and Type | Method and Description |
---|---|
IModelData |
BakedModelWrapper.getModelData(ILightReader world,
BlockPos pos,
BlockState state,
IModelData tileData) |
Modifier and Type | Field and Description |
---|---|
private ILightReader |
BlockInfo.world |
Modifier and Type | Method and Description |
---|---|
ILightReader |
BlockInfo.getWorld() |
Modifier and Type | Method and Description |
---|---|
static boolean |
ForgeBlockModelRenderer.render(VertexLighterFlat lighter,
ILightReader world,
IBakedModel model,
BlockState state,
BlockPos pos,
MatrixStack matrixStack,
boolean checkSides,
java.util.Random rand,
long seed,
IModelData modelData) |
boolean |
ForgeBlockModelRenderer.renderModelFlat(ILightReader world,
IBakedModel model,
BlockState state,
BlockPos pos,
MatrixStack matrixStack,
IVertexBuilder buffer,
boolean checkSides,
java.util.Random rand,
long seed,
int combinedOverlayIn,
IModelData modelData) |
boolean |
ForgeBlockModelRenderer.renderModelSmooth(ILightReader world,
IBakedModel model,
BlockState state,
BlockPos pos,
MatrixStack matrixStack,
IVertexBuilder buffer,
boolean checkSides,
java.util.Random rand,
long seed,
int combinedOverlayIn,
IModelData modelData) |
void |
BlockInfo.setWorld(ILightReader world) |
void |
VertexLighterFlat.setWorld(ILightReader world) |
Modifier and Type | Method and Description |
---|---|
default boolean |
IForgeBlock.shouldDisplayFluidOverlay(BlockState state,
ILightReader world,
BlockPos pos,
IFluidState fluidState)
Called to determine whether this block should use the fluid overlay texture or flowing texture when it is placed under the fluid.
|
default boolean |
IForgeBlockState.shouldDisplayFluidOverlay(ILightReader world,
BlockPos pos,
IFluidState fluidState)
Called to determine whether this block should use the fluid overlay texture or flowing texture when it is placed under the fluid.
|
Modifier and Type | Method and Description |
---|---|
boolean |
FluidAttributes.canBePlacedInWorld(ILightReader reader,
BlockPos pos,
FluidStack state) |
boolean |
FluidAttributes.canBePlacedInWorld(ILightReader reader,
BlockPos pos,
IFluidState state) |
boolean |
FluidAttributes.doesVaporize(ILightReader reader,
BlockPos pos,
FluidStack fluidStack)
Determines if this fluid should vaporize in dimensions where water vaporizes when placed.
|
BlockState |
FluidAttributes.getBlock(ILightReader reader,
BlockPos pos,
IFluidState state) |
int |
FluidAttributes.getColor(ILightReader world,
BlockPos pos) |
int |
FluidAttributes.Water.getColor(ILightReader world,
BlockPos pos) |
int |
FluidAttributes.getDensity(ILightReader world,
BlockPos pos) |
SoundEvent |
FluidAttributes.getEmptySound(ILightReader world,
BlockPos pos) |
SoundEvent |
FluidAttributes.getFillSound(ILightReader world,
BlockPos pos) |
ResourceLocation |
FluidAttributes.getFlowingTexture(ILightReader world,
BlockPos pos) |
int |
FluidAttributes.getLuminosity(ILightReader world,
BlockPos pos) |
Rarity |
FluidAttributes.getRarity(ILightReader world,
BlockPos pos) |
IFluidState |
FluidAttributes.getStateForPlacement(ILightReader reader,
BlockPos pos,
FluidStack state) |
ResourceLocation |
FluidAttributes.getStillTexture(ILightReader world,
BlockPos pos) |
int |
FluidAttributes.getTemperature(ILightReader world,
BlockPos pos) |
int |
FluidAttributes.getViscosity(ILightReader world,
BlockPos pos) |
boolean |
FluidAttributes.isGaseous(ILightReader world,
BlockPos pos) |