Modifier and Type | Method and Description |
---|---|
default void |
IVertexBuilder.addQuad(MatrixStack.Entry matrixEntryIn,
BakedQuad quadIn,
float[] colorMuls,
float redIn,
float greenIn,
float blueIn,
int[] combinedLightsIn,
int combinedOverlayIn,
boolean mulColor) |
default void |
IVertexBuilder.addQuad(MatrixStack.Entry matrixEntryIn,
BakedQuad quadIn,
float redIn,
float greenIn,
float blueIn,
int combinedLightIn,
int combinedOverlayIn) |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
private static void |
BlockModelRenderer.renderModelBrightnessColorQuads(MatrixStack.Entry matrixEntry,
IVertexBuilder buffer,
float red,
float green,
float blue,
java.util.List<BakedQuad> listQuads,
int combinedLightIn,
int combinedOverlayIn) |
void |
ItemRenderer.renderQuads(MatrixStack matrixStackIn,
IVertexBuilder bufferIn,
java.util.List<BakedQuad> quadsIn,
ItemStack itemStackIn,
int combinedLightIn,
int combinedOverlayIn) |
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.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) |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<Direction,java.util.List<BakedQuad>> |
SimpleBakedModel.Builder.builderFaceQuads |
private java.util.List<BakedQuad> |
SimpleBakedModel.Builder.builderGeneralQuads |
protected java.util.Map<Direction,java.util.List<BakedQuad>> |
SimpleBakedModel.faceQuads |
protected java.util.List<BakedQuad> |
SimpleBakedModel.generalQuads |
Modifier and Type | Method and Description |
---|---|
private static BakedQuad |
BlockModel.bakeFace(BlockPart partIn,
BlockPartFace partFaceIn,
TextureAtlasSprite spriteIn,
Direction directionIn,
IModelTransform transformIn,
ResourceLocation locationIn) |
BakedQuad |
FaceBakery.bakeQuad(Vector3f posFrom,
Vector3f posTo,
BlockPartFace face,
TextureAtlasSprite sprite,
Direction facing,
IModelTransform transformIn,
BlockPartRotation partRotation,
boolean shade,
ResourceLocation modelLocationIn) |
static BakedQuad |
BlockModel.makeBakedQuad(BlockPart partIn,
BlockPartFace partFaceIn,
TextureAtlasSprite spriteIn,
Direction directionIn,
IModelTransform transformIn,
ResourceLocation locationIn) |
Modifier and Type | Method and Description |
---|---|
java.util.List<BakedQuad> |
MultipartBakedModel.getQuads(BlockState state,
Direction side,
java.util.Random rand) |
java.util.List<BakedQuad> |
WeightedBakedModel.getQuads(BlockState state,
Direction side,
java.util.Random rand) |
java.util.List<BakedQuad> |
IBakedModel.getQuads(BlockState state,
Direction side,
java.util.Random rand)
Deprecated.
Forge: Use
net.minecraftforge.client.extensions.IForgeBakedModel#getQuads(IBlockState, EnumFacing, Random, net.minecraftforge.client.model.data.IModelData) |
java.util.List<BakedQuad> |
BuiltInModel.getQuads(BlockState state,
Direction side,
java.util.Random rand) |
java.util.List<BakedQuad> |
SimpleBakedModel.getQuads(BlockState state,
Direction side,
java.util.Random rand) |
Modifier and Type | Method and Description |
---|---|
SimpleBakedModel.Builder |
SimpleBakedModel.Builder.addFaceQuad(Direction facing,
BakedQuad quad) |
SimpleBakedModel.Builder |
SimpleBakedModel.Builder.addGeneralQuad(BakedQuad quad) |
Constructor and Description |
---|
SimpleBakedModel(java.util.List<BakedQuad> p_i230059_1_,
java.util.Map<Direction,java.util.List<BakedQuad>> p_i230059_2_,
boolean p_i230059_3_,
boolean p_i230059_4_,
boolean p_i230059_5_,
TextureAtlasSprite p_i230059_6_,
ItemCameraTransforms p_i230059_7_,
ItemOverrideList p_i230059_8_) |
SimpleBakedModel(java.util.List<BakedQuad> p_i230059_1_,
java.util.Map<Direction,java.util.List<BakedQuad>> p_i230059_2_,
boolean p_i230059_3_,
boolean p_i230059_4_,
boolean p_i230059_5_,
TextureAtlasSprite p_i230059_6_,
ItemCameraTransforms p_i230059_7_,
ItemOverrideList p_i230059_8_) |
Modifier and Type | Method and Description |
---|---|
default java.util.List<BakedQuad> |
IForgeBakedModel.getQuads(BlockState state,
Direction side,
java.util.Random rand,
IModelData extraData) |
Modifier and Type | Method and Description |
---|---|
default void |
IForgeVertexBuilder.addVertexData(MatrixStack.Entry matrixEntry,
BakedQuad bakedQuad,
float[] baseBrightness,
float red,
float green,
float blue,
float alpha,
int[] lightmapCoords,
int overlayCoords,
boolean readExistingColor) |
default void |
IForgeVertexBuilder.addVertexData(MatrixStack.Entry matrixEntry,
BakedQuad bakedQuad,
float red,
float green,
float blue,
float alpha,
int lightmapCoord,
int overlayColor) |
default void |
IForgeVertexBuilder.addVertexData(MatrixStack.Entry matrixEntry,
BakedQuad bakedQuad,
float red,
float green,
float blue,
float alpha,
int lightmapCoord,
int overlayColor,
boolean readExistingColor) |
default void |
IForgeVertexBuilder.addVertexData(MatrixStack.Entry matrixStack,
BakedQuad bakedQuad,
float red,
float green,
float blue,
int lightmapCoord,
int overlayColor,
boolean readExistingColor) |
Modifier and Type | Field and Description |
---|---|
private com.google.common.collect.ImmutableList.Builder<BakedQuad> |
SimpleModelFontRenderer.builder |
protected com.google.common.collect.ImmutableMap<Direction,com.google.common.collect.ImmutableList<BakedQuad>> |
FluidModel.BakedFluid.faceQuads |
private com.google.common.collect.ImmutableList<BakedQuad> |
FancyMissingModel.BakedModel.quads |
protected com.google.common.collect.ImmutableList<BakedQuad> |
BakedItemModel.quads |
private com.google.common.collect.ImmutableList<BakedQuad> |
BakedItemModel.BakedGuiItemModel.quads |
Modifier and Type | Method and Description |
---|---|
private BakedQuad |
FluidModel.BakedFluid.buildQuad(Direction side,
TextureAtlasSprite texture,
boolean flip,
boolean offset,
FluidModel.BakedFluid.VertexParameter x,
FluidModel.BakedFluid.VertexParameter y,
FluidModel.BakedFluid.VertexParameter z,
FluidModel.BakedFluid.VertexParameter u,
FluidModel.BakedFluid.VertexParameter v) |
private static BakedQuad |
ItemLayerModel.buildQuad(TransformationMatrix transform,
Direction side,
TextureAtlasSprite sprite,
int tint,
boolean fullbright,
float x0,
float y0,
float z0,
float u0,
float v0,
float x1,
float y1,
float z1,
float u1,
float v1,
float x2,
float y2,
float z2,
float u2,
float v2,
float x3,
float y3,
float z3,
float u3,
float v3) |
private static BakedQuad |
ItemLayerModel.buildSideQuad(TransformationMatrix transform,
Direction side,
int tint,
TextureAtlasSprite sprite,
int u,
int v,
int size,
boolean fullbright) |
static BakedQuad |
ItemTextureQuadConverter.genQuad(TransformationMatrix transform,
float x1,
float y1,
float x2,
float y2,
float z,
TextureAtlasSprite sprite,
Direction facing,
int color,
int tint)
Generates a Front/Back quad for an itemmodel.
|
BakedQuad |
QuadTransformer.processOne(BakedQuad input)
Processes a single quad, producing a new quad.
|
BakedQuad |
QuadTransformer.processOneInPlace(BakedQuad input)
Processes a single quad, modifying the input quad.
|
private static BakedQuad |
ItemTextureQuadConverter.putQuad(TransformationMatrix transform,
Direction side,
TextureAtlasSprite sprite,
int color,
int tint,
float x1,
float y1,
float x2,
float y2,
float z,
float u1,
float v1,
float u2,
float v2) |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableList<BakedQuad> |
SimpleModelFontRenderer.build() |
private com.google.common.collect.ImmutableMap<Direction,com.google.common.collect.ImmutableList<BakedQuad>> |
FluidModel.BakedFluid.buildQuads(boolean statePresent,
int[] cornerRound,
int flowRound,
boolean[] sideOverlays) |
static java.util.List<BakedQuad> |
ItemTextureQuadConverter.convertTexture(TransformationMatrix transform,
TextureAtlasSprite template,
TextureAtlasSprite sprite,
float z,
Direction facing,
int color,
int tint)
Takes a texture and converts it into BakedQuads.
|
static java.util.List<BakedQuad> |
ItemTextureQuadConverter.convertTextureHorizontal(TransformationMatrix transform,
TextureAtlasSprite template,
TextureAtlasSprite sprite,
float z,
Direction facing,
int color,
int tint)
Scans a texture and converts it into a list of horizontal strips stacked on top of each other.
|
static java.util.List<BakedQuad> |
ItemTextureQuadConverter.convertTextureVertical(TransformationMatrix transform,
TextureAtlasSprite template,
TextureAtlasSprite sprite,
float z,
Direction facing,
int color,
int tint)
Scans a texture and converts it into a list of vertical strips stacked next to each other from left to right.
|
java.util.List<BakedQuad> |
MultiLayerModel.MultiLayerBakedModel.getQuads(BlockState state,
Direction side,
java.util.Random rand) |
java.util.List<BakedQuad> |
BakedModelWrapper.getQuads(BlockState state,
Direction side,
java.util.Random rand) |
java.util.List<BakedQuad> |
FancyMissingModel.BakedModel.getQuads(BlockState state,
Direction side,
java.util.Random rand) |
java.util.List<BakedQuad> |
BakedItemModel.getQuads(BlockState state,
Direction side,
java.util.Random rand) |
java.util.List<BakedQuad> |
BakedItemModel.BakedGuiItemModel.getQuads(BlockState state,
Direction side,
java.util.Random rand) |
java.util.List<BakedQuad> |
FluidModel.BakedFluid.getQuads(BlockState state,
Direction side,
java.util.Random rand) |
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) |
static com.google.common.collect.ImmutableList<BakedQuad> |
ItemLayerModel.getQuadsForSprite(int tint,
TextureAtlasSprite sprite,
TransformationMatrix transform) |
static com.google.common.collect.ImmutableList<BakedQuad> |
ItemLayerModel.getQuadsForSprite(int tint,
TextureAtlasSprite sprite,
TransformationMatrix transform,
boolean fullbright) |
static com.google.common.collect.ImmutableList<BakedQuad> |
ItemLayerModel.getQuadsForSprites(java.util.List<Material> textures,
TransformationMatrix transform,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter) |
static com.google.common.collect.ImmutableList<BakedQuad> |
ItemLayerModel.getQuadsForSprites(java.util.List<Material> textures,
TransformationMatrix transform,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
java.util.Set<java.lang.Integer> fullbrights) |
java.util.List<BakedQuad> |
QuadTransformer.processMany(java.util.List<BakedQuad> inputs)
Processes multiple quads, producing a new array of new quads.
|
Modifier and Type | Method and Description |
---|---|
T |
IModelBuilder.addFaceQuad(Direction facing,
BakedQuad quad) |
IModelBuilder.Simple |
IModelBuilder.Simple.addFaceQuad(Direction facing,
BakedQuad quad) |
T |
IModelBuilder.addGeneralQuad(BakedQuad quad) |
IModelBuilder.Simple |
IModelBuilder.Simple.addGeneralQuad(BakedQuad quad) |
BakedQuad |
QuadTransformer.processOne(BakedQuad input)
Processes a single quad, producing a new quad.
|
BakedQuad |
QuadTransformer.processOneInPlace(BakedQuad input)
Processes a single quad, modifying the input quad.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<BakedQuad> |
QuadTransformer.processMany(java.util.List<BakedQuad> inputs)
Processes multiple quads, producing a new array of new quads.
|
void |
QuadTransformer.processManyInPlace(java.util.List<BakedQuad> inputs)
Processes multiple quads in place, modifying the input quads.
|
Constructor and Description |
---|
BakedItemModel(com.google.common.collect.ImmutableList<BakedQuad> quads,
TextureAtlasSprite particle,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TransformationMatrix> transforms,
ItemOverrideList overrides,
boolean untransformed,
boolean isSideLit) |
BakedModel(ModelBakery bakery,
IModelConfiguration owner,
DynamicBucketModel parent,
com.google.common.collect.ImmutableList<BakedQuad> quads,
TextureAtlasSprite particle,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TransformationMatrix> transforms,
java.util.Map<java.lang.String,IBakedModel> cache,
boolean untransformed,
IModelTransform originalTransform,
boolean isSideLit) |
Modifier and Type | Field and Description |
---|---|
private com.google.common.collect.ImmutableList<BakedQuad> |
B3DLoader.BakedWrapper.quads |
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 | Method and Description |
---|---|
private void |
B3DLoader.BakedWrapper.generateQuads(com.google.common.collect.ImmutableList.Builder<BakedQuad> builder,
B3DModel.Node<?> node,
IModelTransform state,
com.google.common.collect.ImmutableList<java.lang.String> path) |
Modifier and Type | Method and Description |
---|---|
default java.util.List<BakedQuad> |
IDynamicBakedModel.getQuads(BlockState state,
Direction side,
java.util.Random rand) |
java.util.List<BakedQuad> |
IDynamicBakedModel.getQuads(BlockState state,
Direction side,
java.util.Random rand,
IModelData extraData) |
Modifier and Type | Method and Description |
---|---|
private org.apache.commons.lang3.tuple.Pair<BakedQuad,Direction> |
OBJModel.makeQuad(int[][] indices,
int tintIndex,
Vector4f colorTint,
Vector4f ambientColor,
TextureAtlasSprite texture,
TransformationMatrix transform) |
Modifier and Type | Method and Description |
---|---|
BakedQuad |
BakedQuadBuilder.build() |
Modifier and Type | Method and Description |
---|---|
static void |
LightUtil.putBakedQuad(IVertexConsumer consumer,
BakedQuad quad) |
static void |
LightUtil.setLightData(BakedQuad q,
int light) |
Modifier and Type | Method and Description |
---|---|
java.util.List<BakedQuad> |
TRSRTransformerTest.MyBakedModel.getQuads(BlockState state,
Direction side,
java.util.Random rand,
IModelData data) |