Modifier and Type | Method and Description |
---|---|
void |
Gui.drawTexturedModalRect(int xCoord,
int yCoord,
TextureAtlasSprite textureSprite,
int widthIn,
int heightIn) |
Modifier and Type | Method and Description |
---|---|
TextureAtlasSprite |
GuiContainerCreative.CreativeSlot.getBackgroundSprite() |
Modifier and Type | Field and Description |
---|---|
protected TextureAtlasSprite |
Particle.particleTexture |
Modifier and Type | Method and Description |
---|---|
void |
Particle.setParticleTexture(TextureAtlasSprite texture) |
Modifier and Type | Field and Description |
---|---|
private TextureAtlasSprite[] |
BlockFluidRenderer.atlasSpritesLava |
private TextureAtlasSprite[] |
BlockFluidRenderer.atlasSpritesWater |
private TextureAtlasSprite |
BlockFluidRenderer.atlasSpriteWaterOverlay |
private TextureAtlasSprite[] |
RenderGlobal.destroyBlockIcons |
Modifier and Type | Method and Description |
---|---|
TextureAtlasSprite |
ItemModelMesher.getParticleIcon(Item item) |
TextureAtlasSprite |
ItemModelMesher.getParticleIcon(Item item,
int meta) |
TextureAtlasSprite |
BlockModelShapes.getTexture(IBlockState state) |
Modifier and Type | Method and Description |
---|---|
void |
BlockRendererDispatcher.renderBlockDamage(IBlockState state,
BlockPos pos,
TextureAtlasSprite texture,
IBlockAccess blockAccess) |
private void |
ItemRenderer.renderBlockInHand(TextureAtlasSprite sprite) |
Modifier and Type | Field and Description |
---|---|
private TextureAtlasSprite |
SimpleBakedModel.Builder.builderTexture |
protected TextureAtlasSprite |
MultipartBakedModel.particleTexture |
protected TextureAtlasSprite |
BakedQuad.sprite |
protected TextureAtlasSprite |
SimpleBakedModel.texture |
private TextureAtlasSprite |
BakedQuadRetextured.texture |
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<ResourceLocation,TextureAtlasSprite> |
ModelBakery.sprites |
Modifier and Type | Method and Description |
---|---|
TextureAtlasSprite |
SimpleBakedModel.getParticleTexture() |
TextureAtlasSprite |
MultipartBakedModel.getParticleTexture() |
TextureAtlasSprite |
WeightedBakedModel.getParticleTexture() |
TextureAtlasSprite |
IBakedModel.getParticleTexture() |
TextureAtlasSprite |
BuiltInModel.getParticleTexture() |
TextureAtlasSprite |
BakedQuadRetextured.getSprite() |
TextureAtlasSprite |
BakedQuad.getSprite() |
Modifier and Type | Method and Description |
---|---|
private void |
SimpleBakedModel.Builder.addFaceQuads(IBlockState p_188644_1_,
IBakedModel p_188644_2_,
TextureAtlasSprite p_188644_3_,
EnumFacing p_188644_4_,
long p_188644_5_) |
private void |
SimpleBakedModel.Builder.addGeneralQuads(IBlockState p_188645_1_,
IBakedModel p_188645_2_,
TextureAtlasSprite p_188645_3_,
long p_188645_4_) |
private void |
FaceBakery.fillVertexData(int[] p_188015_1_,
int p_188015_2_,
EnumFacing p_188015_3_,
BlockFaceUV p_188015_4_,
float[] p_188015_5_,
TextureAtlasSprite p_188015_6_,
ITransformation p_188015_7_,
BlockPartRotation p_188015_8_,
boolean p_188015_9_) |
private void |
FaceBakery.fillVertexData(int[] p_188015_1_,
int p_188015_2_,
EnumFacing p_188015_3_,
BlockFaceUV p_188015_4_,
float[] p_188015_5_,
TextureAtlasSprite p_188015_6_,
ModelRotation p_188015_7_,
BlockPartRotation p_188015_8_,
boolean p_188015_9_) |
private java.util.List<BlockPart> |
ItemModelGenerator.getBlockParts(int tintIndex,
java.lang.String p_178394_2_,
TextureAtlasSprite p_178394_3_) |
private java.util.List<BlockPart> |
ItemModelGenerator.getBlockParts(TextureAtlasSprite p_178397_1_,
java.lang.String p_178397_2_,
int p_178397_3_) |
private java.util.List<ItemModelGenerator.Span> |
ItemModelGenerator.getSpans(TextureAtlasSprite p_178393_1_) |
protected BakedQuad |
ModelBakery.makeBakedQuad(BlockPart p_177589_1_,
BlockPartFace p_177589_2_,
TextureAtlasSprite p_177589_3_,
EnumFacing p_177589_4_,
ITransformation p_177589_5_,
boolean p_177589_6_) |
private BakedQuad |
ModelBakery.makeBakedQuad(BlockPart p_177589_1_,
BlockPartFace p_177589_2_,
TextureAtlasSprite p_177589_3_,
EnumFacing p_177589_4_,
ModelRotation p_177589_5_,
boolean p_177589_6_) |
BakedQuad |
FaceBakery.makeBakedQuad(org.lwjgl.util.vector.Vector3f posFrom,
org.lwjgl.util.vector.Vector3f posTo,
BlockPartFace face,
TextureAtlasSprite sprite,
EnumFacing facing,
ITransformation modelRotationIn,
BlockPartRotation partRotation,
boolean uvLocked,
boolean shade) |
BakedQuad |
FaceBakery.makeBakedQuad(org.lwjgl.util.vector.Vector3f posFrom,
org.lwjgl.util.vector.Vector3f posTo,
BlockPartFace face,
TextureAtlasSprite sprite,
EnumFacing facing,
ModelRotation modelRotationIn,
BlockPartRotation partRotation,
boolean uvLocked,
boolean shade) |
private int[] |
FaceBakery.makeQuadVertexData(BlockFaceUV uvs,
TextureAtlasSprite sprite,
EnumFacing orientation,
float[] p_188012_4_,
ITransformation rotationIn,
BlockPartRotation partRotation,
boolean shade) |
private int[] |
FaceBakery.makeQuadVertexData(BlockFaceUV uvs,
TextureAtlasSprite sprite,
EnumFacing orientation,
float[] p_188012_4_,
ModelRotation rotationIn,
BlockPartRotation partRotation,
boolean shade) |
SimpleBakedModel.Builder |
SimpleBakedModel.Builder.setTexture(TextureAtlasSprite texture) |
private void |
FaceBakery.storeVertexData(int[] faceData,
int storeIndex,
int vertexIndex,
org.lwjgl.util.vector.Vector3f position,
int shadeColor,
TextureAtlasSprite sprite,
BlockFaceUV faceUV) |
Constructor and Description |
---|
BakedQuad(int[] vertexDataIn,
int tintIndexIn,
EnumFacing faceIn,
TextureAtlasSprite spriteIn)
Deprecated.
Use constructor with the format argument.
|
BakedQuad(int[] vertexDataIn,
int tintIndexIn,
EnumFacing faceIn,
TextureAtlasSprite spriteIn,
boolean applyDiffuseLighting,
VertexFormat format) |
BakedQuadRetextured(BakedQuad quad,
TextureAtlasSprite textureIn) |
Builder(IBlockState state,
IBakedModel model,
TextureAtlasSprite texture,
BlockPos pos) |
SimpleBakedModel(java.util.List<BakedQuad> generalQuadsIn,
java.util.Map<EnumFacing,java.util.List<BakedQuad>> faceQuadsIn,
boolean ambientOcclusionIn,
boolean gui3dIn,
TextureAtlasSprite textureIn,
ItemCameraTransforms cameraTransformsIn,
ItemOverrideList itemOverrideListIn) |
Modifier and Type | Field and Description |
---|---|
private TextureAtlasSprite |
TextureMap.missingImage |
private TextureAtlasSprite |
Stitcher.Holder.sprite |
Modifier and Type | Field and Description |
---|---|
private java.util.List<TextureAtlasSprite> |
TextureMap.listAnimatedSprites |
private java.util.Map<java.lang.String,TextureAtlasSprite> |
TextureMap.mapRegisteredSprites |
private java.util.Map<java.lang.String,TextureAtlasSprite> |
TextureMap.mapUploadedSprites |
Modifier and Type | Method and Description |
---|---|
TextureAtlasSprite |
Stitcher.Holder.getAtlasSprite() |
TextureAtlasSprite |
TextureMap.getAtlasSprite(java.lang.String iconName) |
TextureAtlasSprite |
TextureMap.getMissingSprite() |
TextureAtlasSprite |
TextureMap.getTextureExtry(java.lang.String name)
Grabs the registered entry for the specified name, returning null if there was not a entry.
|
protected static TextureAtlasSprite |
TextureAtlasSprite.makeAtlasSprite(ResourceLocation spriteResourceLocation) |
TextureAtlasSprite |
TextureMap.registerSprite(ResourceLocation location) |
Modifier and Type | Method and Description |
---|---|
java.util.List<TextureAtlasSprite> |
Stitcher.getStichSlots() |
Modifier and Type | Method and Description |
---|---|
void |
Stitcher.addSprite(TextureAtlasSprite textureAtlas) |
void |
TextureAtlasSprite.copyFrom(TextureAtlasSprite atlasSpirit) |
private boolean |
TextureMap.generateMipmaps(IResourceManager resourceManager,
TextureAtlasSprite texture) |
private ResourceLocation |
TextureMap.getResourceLocation(TextureAtlasSprite p_184396_1_) |
private int |
TextureMap.loadTexture(Stitcher stitcher,
IResourceManager resourceManager,
ResourceLocation location,
TextureAtlasSprite textureatlassprite,
ProgressManager.ProgressBar bar,
int j,
int k) |
boolean |
TextureMap.setTextureEntry(TextureAtlasSprite entry)
Adds a texture registry entry to this map for the specified name if one does not already exist.
|
Modifier and Type | Method and Description |
---|---|
boolean |
TextureAtlasSprite.load(IResourceManager manager,
ResourceLocation location,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> textureGetter)
Load the specified resource as this sprite's data.
|
Constructor and Description |
---|
Holder(TextureAtlasSprite theTextureIn,
int mipmapLevelHolderIn) |
Modifier and Type | Method and Description |
---|---|
TextureAtlasSprite |
Slot.getBackgroundSprite() |
Modifier and Type | Method and Description |
---|---|
static IBakedModel |
ForgeHooksClient.getDamageModel(IBakedModel ibakedmodel,
TextureAtlasSprite texture,
IBlockState state,
IBlockAccess world,
BlockPos pos) |
void |
ForgeHooksClient.LightGatheringTransformer.setTexture(TextureAtlasSprite texture) |
Modifier and Type | Class and Description |
---|---|
private static class |
ModelDynBucket.BucketBaseSprite |
private static class |
ModelDynBucket.BucketCoverSprite
Creates a bucket cover sprite from the vanilla resource.
|
static class |
ModelLoader.White
16x16 pure white sprite.
|
Modifier and Type | Field and Description |
---|---|
protected TextureAtlasSprite |
ModelFluid.BakedFluid.flowing |
private TextureAtlasSprite |
FancyMissingModel.BakedModel.fontTexture |
protected TextureAtlasSprite |
BakedItemModel.particle |
private TextureAtlasSprite |
SimpleModelFontRenderer.sprite |
protected TextureAtlasSprite |
ModelFluid.BakedFluid.still |
Modifier and Type | Field and Description |
---|---|
private java.util.function.Function<ResourceLocation,TextureAtlasSprite> |
ModelLoader.BakedModelCacheKey.bakedTextureGetter |
protected java.util.Optional<TextureAtlasSprite> |
ModelFluid.BakedFluid.overlay |
Modifier and Type | Method and Description |
---|---|
TextureAtlasSprite |
ModelLoader.DefaultTextureGetter.apply(ResourceLocation location) |
TextureAtlasSprite |
PerspectiveMapWrapper.getParticleTexture() |
TextureAtlasSprite |
FancyMissingModel.BakedModel.getParticleTexture() |
TextureAtlasSprite |
MultiLayerModel.MultiLayerBakedModel.getParticleTexture() |
TextureAtlasSprite |
ModelFluid.BakedFluid.getParticleTexture() |
TextureAtlasSprite |
BakedModelWrapper.getParticleTexture() |
TextureAtlasSprite |
MultiModel.Baked.getParticleTexture() |
TextureAtlasSprite |
BakedItemModel.getParticleTexture() |
Modifier and Type | Method and Description |
---|---|
static java.util.function.Function<ResourceLocation,TextureAtlasSprite> |
ModelLoader.defaultTextureGetter()
Get the default texture getter the models will be baked with.
|
Modifier and Type | Method and Description |
---|---|
private BakedQuad |
ModelFluid.BakedFluid.buildQuad(EnumFacing side,
TextureAtlasSprite texture,
boolean flip,
boolean offset,
ModelFluid.BakedFluid.VertexParameter x,
ModelFluid.BakedFluid.VertexParameter y,
ModelFluid.BakedFluid.VertexParameter z,
ModelFluid.BakedFluid.VertexParameter u,
ModelFluid.BakedFluid.VertexParameter v) |
private static BakedQuad |
ItemLayerModel.buildQuad(VertexFormat format,
java.util.Optional<TRSRTransformation> transform,
EnumFacing side,
TextureAtlasSprite sprite,
int tint,
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(VertexFormat format,
java.util.Optional<TRSRTransformation> transform,
EnumFacing side,
int tint,
TextureAtlasSprite sprite,
int u,
int v,
int size) |
static java.util.List<UnpackedBakedQuad> |
ItemTextureQuadConverter.convertTexture(VertexFormat format,
TRSRTransformation transform,
TextureAtlasSprite template,
TextureAtlasSprite sprite,
float z,
EnumFacing facing,
int color)
|
static java.util.List<UnpackedBakedQuad> |
ItemTextureQuadConverter.convertTexture(VertexFormat format,
TRSRTransformation transform,
TextureAtlasSprite template,
TextureAtlasSprite sprite,
float z,
EnumFacing facing,
int color,
int tint)
Takes a texture and converts it into BakedQuads.
|
static java.util.List<UnpackedBakedQuad> |
ItemTextureQuadConverter.convertTextureHorizontal(VertexFormat format,
TRSRTransformation transform,
TextureAtlasSprite template,
TextureAtlasSprite sprite,
float z,
EnumFacing facing,
int color)
|
static java.util.List<UnpackedBakedQuad> |
ItemTextureQuadConverter.convertTextureHorizontal(VertexFormat format,
TRSRTransformation transform,
TextureAtlasSprite template,
TextureAtlasSprite sprite,
float z,
EnumFacing 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<UnpackedBakedQuad> |
ItemTextureQuadConverter.convertTextureVertical(VertexFormat format,
TRSRTransformation transform,
TextureAtlasSprite template,
TextureAtlasSprite sprite,
float z,
EnumFacing facing,
int color)
|
static java.util.List<UnpackedBakedQuad> |
ItemTextureQuadConverter.convertTextureVertical(VertexFormat format,
TRSRTransformation transform,
TextureAtlasSprite template,
TextureAtlasSprite sprite,
float z,
EnumFacing 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.
|
static UnpackedBakedQuad |
ItemTextureQuadConverter.genQuad(VertexFormat format,
TRSRTransformation transform,
float x1,
float y1,
float x2,
float y2,
float z,
TextureAtlasSprite sprite,
EnumFacing facing,
int color)
|
static UnpackedBakedQuad |
ItemTextureQuadConverter.genQuad(VertexFormat format,
TRSRTransformation transform,
float x1,
float y1,
float x2,
float y2,
float z,
TextureAtlasSprite sprite,
EnumFacing facing,
int color,
int tint)
Generates a Front/Back quad for an itemmodel.
|
static com.google.common.collect.ImmutableList<BakedQuad> |
ItemLayerModel.getQuadsForSprite(int tint,
TextureAtlasSprite sprite,
VertexFormat format,
java.util.Optional<TRSRTransformation> transform) |
private static UnpackedBakedQuad |
ItemTextureQuadConverter.putQuad(VertexFormat format,
TRSRTransformation transform,
EnumFacing 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) |
void |
SimpleModelFontRenderer.setSprite(TextureAtlasSprite sprite) |
Modifier and Type | Method and Description |
---|---|
IBakedModel |
FancyMissingModel.bake(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
IBakedModel |
MultiLayerModel.bake(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
IBakedModel |
ItemLayerModel.bake(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
IBakedModel |
ModelFluid.bake(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
IBakedModel |
ModelDynBucket.bake(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
IBakedModel |
ModelLoader.VanillaModelWrapper.bake(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
IBakedModel |
ModelLoader.WeightedRandomModel.bake(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
IBakedModel |
ModelLoader.MultipartModel.bake(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
IBakedModel |
MultiModel.bake(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter)
Deprecated.
|
IBakedModel |
IModel.bake(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
IBakedModel |
ModelLoader.VanillaModelWrapper.bakeImpl(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
private IBakedModel |
ModelLoader.VanillaModelWrapper.bakeNormal(ModelBlock model,
IModelState perState,
IModelState modelState,
java.util.List<TRSRTransformation> newTransforms,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter,
boolean uvLocked) |
private static com.google.common.collect.ImmutableMap<java.util.Optional<BlockRenderLayer>,IBakedModel> |
MultiLayerModel.buildModels(com.google.common.collect.ImmutableMap<java.util.Optional<BlockRenderLayer>,ModelResourceLocation> models,
IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
boolean |
ModelDynBucket.BucketBaseSprite.load(IResourceManager manager,
ResourceLocation location,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> textureGetter) |
boolean |
ModelDynBucket.BucketCoverSprite.load(IResourceManager manager,
ResourceLocation location,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> textureGetter) |
boolean |
ModelLoader.White.load(IResourceManager manager,
ResourceLocation location,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> textureGetter) |
Constructor and Description |
---|
BakedDynBucket(ModelDynBucket parent,
com.google.common.collect.ImmutableList<BakedQuad> quads,
TextureAtlasSprite particle,
VertexFormat format,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TRSRTransformation> transforms,
java.util.Map<java.lang.String,IBakedModel> cache,
boolean untransformed) |
BakedFluid(java.util.Optional<TRSRTransformation> transformation,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TRSRTransformation> transforms,
VertexFormat format,
int color,
TextureAtlasSprite still,
TextureAtlasSprite flowing,
java.util.Optional<TextureAtlasSprite> overlay,
boolean gas,
boolean statePresent,
int[] cornerRound,
int flowRound,
boolean[] sideOverlays) |
BakedItemModel(com.google.common.collect.ImmutableList<BakedQuad> quads,
TextureAtlasSprite particle,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TRSRTransformation> transforms,
ItemOverrideList overrides)
|
BakedItemModel(com.google.common.collect.ImmutableList<BakedQuad> quads,
TextureAtlasSprite particle,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TRSRTransformation> transforms,
ItemOverrideList overrides,
boolean untransformed) |
BakedModel(IBakedModel bigMissing,
IBakedModel smallMissing,
SimpleModelFontRenderer fontRenderer,
java.lang.String message,
TextureAtlasSprite fontTexture) |
BakedModel(IBakedModel smallMissing,
SimpleModelFontRenderer fontRenderer,
java.lang.String message,
TextureAtlasSprite fontTexture,
FancyMissingModel.BakedModel big) |
CachingBakedFluid(java.util.Optional<TRSRTransformation> transformation,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TRSRTransformation> transforms,
VertexFormat format,
int color,
TextureAtlasSprite still,
TextureAtlasSprite flowing,
java.util.Optional<TextureAtlasSprite> overlay,
boolean gas,
java.util.Optional<IExtendedBlockState> stateOption) |
Constructor and Description |
---|
BakedFluid(java.util.Optional<TRSRTransformation> transformation,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TRSRTransformation> transforms,
VertexFormat format,
int color,
TextureAtlasSprite still,
TextureAtlasSprite flowing,
java.util.Optional<TextureAtlasSprite> overlay,
boolean gas,
boolean statePresent,
int[] cornerRound,
int flowRound,
boolean[] sideOverlays) |
BakedModelCacheKey(ModelLoader.VanillaModelWrapper model,
IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
CachingBakedFluid(java.util.Optional<TRSRTransformation> transformation,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TRSRTransformation> transforms,
VertexFormat format,
int color,
TextureAtlasSprite still,
TextureAtlasSprite flowing,
java.util.Optional<TextureAtlasSprite> overlay,
boolean gas,
java.util.Optional<IExtendedBlockState> stateOption) |
Modifier and Type | Field and Description |
---|---|
private java.util.function.Function<ResourceLocation,TextureAtlasSprite> |
AnimationItemOverrideList.bakedTextureGetter |
Constructor and Description |
---|
AnimationItemOverrideList(IModel model,
IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter,
ItemOverrideList overrides) |
AnimationItemOverrideList(IModel model,
IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter,
java.util.List<ItemOverride> overrides) |
Modifier and Type | Field and Description |
---|---|
private com.google.common.collect.ImmutableMap<java.lang.String,TextureAtlasSprite> |
B3DLoader.BakedWrapper.textures |
Modifier and Type | Method and Description |
---|---|
TextureAtlasSprite |
B3DLoader.BakedWrapper.getParticleTexture() |
Modifier and Type | Method and Description |
---|---|
private void |
B3DLoader.BakedWrapper.putVertexData(UnpackedBakedQuad.Builder builder,
B3DModel.Vertex v,
javax.vecmath.Vector3f faceNormal,
TextureAtlasSprite sprite) |
Modifier and Type | Method and Description |
---|---|
IBakedModel |
B3DLoader.ModelWrapper.bake(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
Constructor and Description |
---|
BakedWrapper(B3DModel.Node<?> node,
IModelState state,
boolean smooth,
boolean gui3d,
VertexFormat format,
com.google.common.collect.ImmutableSet<java.lang.String> meshes,
com.google.common.collect.ImmutableMap<java.lang.String,TextureAtlasSprite> textures) |
BakedWrapper(B3DModel.Node<?> node,
IModelState state,
boolean smooth,
boolean gui3d,
VertexFormat format,
com.google.common.collect.ImmutableSet<java.lang.String> meshes,
com.google.common.collect.ImmutableMap<java.lang.String,TextureAtlasSprite> textures,
com.google.common.cache.LoadingCache<java.lang.Integer,B3DLoader.B3DState> cache) |
Modifier and Type | Field and Description |
---|---|
private TextureAtlasSprite |
OBJModel.OBJBakedModel.sprite |
Modifier and Type | Field and Description |
---|---|
private com.google.common.collect.ImmutableMap<java.lang.String,TextureAtlasSprite> |
OBJModel.OBJBakedModel.textures |
Modifier and Type | Method and Description |
---|---|
TextureAtlasSprite |
OBJModel.OBJBakedModel.getParticleTexture() |
Modifier and Type | Method and Description |
---|---|
private void |
OBJModel.OBJBakedModel.putVertexData(UnpackedBakedQuad.Builder builder,
OBJModel.Vertex v,
OBJModel.Normal faceNormal,
OBJModel.TextureCoordinate defUV,
TextureAtlasSprite sprite) |
Modifier and Type | Method and Description |
---|---|
IBakedModel |
OBJModel.bake(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
Constructor and Description |
---|
OBJBakedModel(OBJModel model,
IModelState state,
VertexFormat format,
com.google.common.collect.ImmutableMap<java.lang.String,TextureAtlasSprite> textures) |
Modifier and Type | Field and Description |
---|---|
private TextureAtlasSprite |
UnpackedBakedQuad.Builder.texture |
Modifier and Type | Method and Description |
---|---|
void |
VertexLighterFlat.setTexture(TextureAtlasSprite texture) |
void |
UnpackedBakedQuad.Builder.setTexture(TextureAtlasSprite texture) |
void |
VertexTransformer.setTexture(TextureAtlasSprite texture) |
void |
VertexBufferConsumer.setTexture(TextureAtlasSprite texture) |
void |
IVertexConsumer.setTexture(TextureAtlasSprite texture) |
Constructor and Description |
---|
UnpackedBakedQuad(float[][][] unpackedData,
int tint,
EnumFacing orientation,
TextureAtlasSprite texture,
boolean applyDiffuseLighting,
VertexFormat format) |