Modifier and Type | Method and Description |
---|---|
void |
BlockRendererDispatcher.renderBlock(BlockState blockStateIn,
MatrixStack matrixStackIn,
IRenderTypeBuffer bufferTypeIn,
int combinedLightIn,
int combinedOverlayIn,
IModelData modelData) |
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,
IModelData modelData) |
void |
BlockModelRenderer.renderModel(MatrixStack.Entry matrixEntry,
IVertexBuilder buffer,
BlockState state,
IBakedModel modelIn,
float red,
float green,
float blue,
int combinedLightIn,
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,
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,
IModelData modelData) |
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<BlockPos,IModelData> |
ChunkRenderDispatcher.ChunkRender.ChunkRenderTask.modelData |
Modifier and Type | Method and Description |
---|---|
IModelData |
ChunkRenderDispatcher.ChunkRender.ChunkRenderTask.getModelData(BlockPos pos) |
Modifier and Type | Method and Description |
---|---|
default IModelData |
IForgeBakedModel.getModelData(ILightReader world,
BlockPos pos,
BlockState state,
IModelData tileData) |
Modifier and Type | Method and Description |
---|---|
default IModelData |
IForgeBakedModel.getModelData(ILightReader world,
BlockPos pos,
BlockState state,
IModelData tileData) |
default TextureAtlasSprite |
IForgeBakedModel.getParticleTexture(IModelData data) |
default java.util.List<BakedQuad> |
IForgeBakedModel.getQuads(BlockState state,
Direction side,
java.util.Random rand,
IModelData extraData) |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<ChunkPos,java.util.Map<BlockPos,IModelData>> |
ModelDataManager.modelDataCache |
private java.util.Map<java.lang.String,IModelData> |
CompositeModel.SubmodelModelData.parts |
Modifier and Type | Method and Description |
---|---|
IModelData |
BakedModelWrapper.getModelData(ILightReader world,
BlockPos pos,
BlockState state,
IModelData tileData) |
static IModelData |
ModelDataManager.getModelData(World world,
BlockPos pos) |
private IModelData |
CompositeModel.getSubmodelData(IModelData extraData,
java.lang.String name) |
IModelData |
CompositeModel.SubmodelModelData.getSubmodelData(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
static java.util.Map<BlockPos,IModelData> |
ModelDataManager.getModelData(World world,
ChunkPos pos) |
Modifier and Type | Method and Description |
---|---|
IModelData |
BakedModelWrapper.getModelData(ILightReader world,
BlockPos pos,
BlockState state,
IModelData tileData) |
TextureAtlasSprite |
BakedModelWrapper.getParticleTexture(IModelData data) |
java.util.List<BakedQuad> |
PerspectiveMapWrapper.getQuads(BlockState state,
Direction side,
java.util.Random rand,
IModelData extraData) |
java.util.List<BakedQuad> |
MultiLayerModel.MultiLayerBakedModel.getQuads(BlockState state,
Direction side,
java.util.Random rand,
IModelData extraData) |
java.util.List<BakedQuad> |
BakedModelWrapper.getQuads(BlockState state,
Direction side,
java.util.Random rand,
IModelData extraData) |
java.util.List<BakedQuad> |
CompositeModel.getQuads(BlockState state,
Direction side,
java.util.Random rand,
IModelData extraData) |
java.util.List<BakedQuad> |
FluidModel.CachingBakedFluid.getQuads(BlockState state,
Direction side,
java.util.Random rand,
IModelData modelData) |
private IModelData |
CompositeModel.getSubmodelData(IModelData extraData,
java.lang.String name) |
void |
CompositeModel.SubmodelModelData.putSubmodelData(java.lang.String name,
IModelData data) |
Modifier and Type | Method and Description |
---|---|
private static int[] |
FluidModel.CachingBakedFluid.getCorners(java.util.Optional<IModelData> stateOption)
Gets the quantized fluid levels for each corner.
|
private static int |
FluidModel.CachingBakedFluid.getFlow(java.util.Optional<IModelData> stateOption)
Gets the quantized flow direction of the fluid.
|
private static boolean[] |
FluidModel.CachingBakedFluid.getOverlay(java.util.Optional<IModelData> stateOption)
Gets the overlay texture flag for each side.
|
Constructor and Description |
---|
CachingBakedFluid(TransformationMatrix transformation,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TransformationMatrix> transforms,
ResourceLocation modelLocation,
int color,
TextureAtlasSprite still,
TextureAtlasSprite flowing,
java.util.Optional<TextureAtlasSprite> overlay,
boolean gas,
java.util.Optional<IModelData> stateOption) |
Modifier and Type | Method and Description |
---|---|
java.util.List<BakedQuad> |
B3DLoader.BakedWrapper.getQuads(BlockState state,
Direction side,
java.util.Random rand,
IModelData data) |
Modifier and Type | Class and Description |
---|---|
class |
EmptyModelData |
class |
ModelDataMap |
Modifier and Type | Method and Description |
---|---|
java.util.List<BakedQuad> |
IDynamicBakedModel.getQuads(BlockState state,
Direction side,
java.util.Random rand,
IModelData extraData) |
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) |
Modifier and Type | Method and Description |
---|---|
default IModelData |
IForgeTileEntity.getModelData()
Allows you to return additional model data.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<BakedQuad> |
TRSRTransformerTest.MyBakedModel.getQuads(BlockState state,
Direction side,
java.util.Random rand,
IModelData data) |