-
Methods in net.minecraft.data.client.model that return Texture
| Modifier and Type |
Method |
Description |
static Texture |
Texture.all(Block block) |
|
static Texture |
Texture.all(Identifier id) |
|
static Texture |
Texture.campfire(Block block) |
|
Texture |
Texture.copyAndAdd(TextureKey key,
Identifier id) |
|
static Texture |
Texture.crop(Identifier id) |
|
static Texture |
Texture.cross(Block block) |
|
static Texture |
Texture.cross(Identifier id) |
|
static Texture |
Texture.fan(Block block) |
|
static Texture |
Texture.fire0(Block block) |
|
static Texture |
Texture.fire1(Block block) |
|
static Texture |
Texture.frontSideWithCustomBottom(Block block,
Block bottom) |
|
static Texture |
Texture.frontTopSide(Block frontTopSideBlock,
Block downBlock) |
|
Texture |
TexturedModel.getTexture() |
|
Texture |
Texture.inherit(TextureKey parent,
TextureKey child) |
|
static Texture |
Texture.lantern(Block block) |
|
static Texture |
Texture.layer0(Block block) |
|
static Texture |
Texture.layer0(Item item) |
|
static Texture |
Texture.layer0(Identifier id) |
|
static Texture |
Texture.method_32231(Block block) |
|
static Texture |
Texture.method_32232(Identifier identifier) |
|
Texture |
Texture.method_35908(TextureKey textureKey,
TextureKey textureKey2) |
|
Texture |
Texture.method_35909(TextureKey textureKey,
Identifier identifier) |
|
static Texture |
Texture.method_35910(Identifier identifier,
Identifier identifier2) |
|
static Texture |
Texture.method_35911(Identifier identifier) |
|
static Texture |
Texture.of(TextureKey key,
Identifier id) |
|
static Texture |
Texture.paneAndTopForEdge(Block block,
Block top) |
|
static Texture |
Texture.particle(Block block) |
|
static Texture |
Texture.particle(Item item) |
|
static Texture |
Texture.particle(Identifier id) |
|
static Texture |
Texture.pattern(Block block) |
|
static Texture |
Texture.plant(Block block) |
|
static Texture |
Texture.plant(Identifier id) |
|
Texture |
Texture.put(TextureKey key,
Identifier id) |
|
static Texture |
Texture.rail(Block block) |
|
static Texture |
Texture.rail(Identifier id) |
|
static Texture |
Texture.sideAndEndForTop(Block block) |
|
static Texture |
Texture.sideAndTop(Block block) |
|
static Texture |
Texture.sideEnd(Block block) |
|
static Texture |
Texture.sideEnd(Identifier side,
Identifier end) |
|
static Texture |
Texture.sideFrontBack(Block block) |
|
static Texture |
Texture.sideFrontEnd(Block block) |
|
static Texture |
Texture.sideFrontTop(Block block) |
|
static Texture |
Texture.sideFrontTopBottom(Block block) |
|
static Texture |
Texture.sideTopBottom(Block block) |
|
static Texture |
Texture.stem(Block block) |
|
static Texture |
Texture.stemAndUpper(Block stem,
Block upper) |
|
static Texture |
Texture.texture(Block block) |
|
static Texture |
Texture.texture(Identifier id) |
|
static Texture |
Texture.top(Block top) |
|
static Texture |
Texture.topBottom(Block block) |
|
static Texture |
Texture.torch(Block block) |
|
static Texture |
Texture.torch(Identifier id) |
|
static Texture |
Texture.wallSideEnd(Block block) |
|
static Texture |
Texture.wallSideTopBottom(Block block) |
|
static Texture |
Texture.wool(Block block) |
|
Methods in net.minecraft.data.client.model with parameters of type Texture
| Modifier and Type |
Method |
Description |
BlockStateSupplier |
BlockStateModelGenerator.StateFactory.create(Block block,
Identifier modelId,
Texture texture,
BiConsumer<Identifier,Supplier<JsonElement>> modelCollector) |
|
private static BlockStateSupplier |
BlockStateModelGenerator.createDeepslateState(Block block,
Identifier modelId,
Texture texture,
BiConsumer<Identifier,Supplier<JsonElement>> modelCollector) |
|
private static BlockStateSupplier |
BlockStateModelGenerator.createStoneState(Block block,
Identifier modelId,
Texture texture,
BiConsumer<Identifier,Supplier<JsonElement>> modelCollector) |
|
private Map<TextureKey,Identifier> |
Model.createTextureMap(Texture texture) |
|
private Identifier |
BlockStateModelGenerator.getTurtleEggModel(int eggs,
String prefix,
Texture texture) |
|
private void |
BlockStateModelGenerator.method_35868(Block block,
Texture texture,
Model model) |
|
private void |
BlockStateModelGenerator.registerNorthDefaultHorizontalRotatable(Block block,
Texture texture) |
|
private void |
BlockStateModelGenerator.registerPiston(Block piston,
Identifier extendedModelId,
Texture texture) |
|
private void |
BlockStateModelGenerator.registerTintableCross(Block block,
BlockStateModelGenerator.TintType tintType,
Texture texture) |
|
private void |
BlockStateModelGenerator.registerTintableCrossBlockState(Block block,
BlockStateModelGenerator.TintType tintType,
Texture crossTexture) |
|
Identifier |
Model.upload(Block block,
String suffix,
Texture texture,
BiConsumer<Identifier,Supplier<JsonElement>> modelCollector) |
|
Identifier |
Model.upload(Block block,
Texture texture,
BiConsumer<Identifier,Supplier<JsonElement>> modelCollector) |
|
Identifier |
Model.upload(Identifier id,
Texture texture,
BiConsumer<Identifier,Supplier<JsonElement>> modelCollector) |
|
Identifier |
Model.uploadWithoutVariant(Block block,
String suffix,
Texture texture,
BiConsumer<Identifier,Supplier<JsonElement>> modelCollector) |
|
Method parameters in net.minecraft.data.client.model with type arguments of type Texture
| Modifier and Type |
Method |
Description |
private Identifier |
BlockStateModelGenerator.createSubModel(Block block,
String suffix,
Model model,
Function<Identifier,Texture> textureFactory) |
|
private static TexturedModel.Factory |
TexturedModel.makeFactory(Function<Block,Texture> textureGetter,
Model model) |
|
default TexturedModel.Factory |
TexturedModel.Factory.method_35912(Consumer<Texture> consumer) |
|
private void |
BlockStateModelGenerator.registerBeehive(Block beehive,
Function<Block,Texture> textureGetter) |
|
private void |
BlockStateModelGenerator.registerCubeWithCustomTexture(Block block,
Block otherTextureSource,
BiFunction<Block,Block,Texture> textureFactory) |
|
TexturedModel |
TexturedModel.texture(Consumer<Texture> textureConsumer) |
|