added advanced model registry
This commit is contained in:
parent
c5c21d89b6
commit
ab97315910
src/main
java/eu/mhsl/minecraft/pixelpic
resources/models/block
acacia_button.jsonacacia_button_inventory.jsonacacia_button_pressed.jsonacacia_door_bottom_left.jsonacacia_door_bottom_left_open.jsonacacia_door_bottom_right.jsonacacia_door_bottom_right_open.jsonacacia_door_top_left.jsonacacia_door_top_left_open.jsonacacia_door_top_right.jsonacacia_door_top_right_open.jsonacacia_fence_gate.jsonacacia_fence_gate_open.jsonacacia_fence_gate_wall.jsonacacia_fence_gate_wall_open.jsonacacia_fence_inventory.jsonacacia_fence_post.jsonacacia_fence_side.jsonacacia_hanging_sign.jsonacacia_leaves.jsonacacia_log.jsonacacia_log_horizontal.jsonacacia_planks.jsonacacia_pressure_plate.jsonacacia_pressure_plate_down.jsonacacia_sapling.jsonacacia_sign.jsonacacia_slab.jsonacacia_slab_top.jsonacacia_stairs.jsonacacia_stairs_inner.jsonacacia_stairs_outer.jsonacacia_trapdoor_bottom.jsonacacia_trapdoor_open.jsonacacia_trapdoor_top.jsonacacia_wood.jsonactivator_rail.jsonactivator_rail_on.jsonactivator_rail_on_raised_ne.jsonactivator_rail_on_raised_sw.jsonactivator_rail_raised_ne.jsonactivator_rail_raised_sw.jsonair.jsonallium.jsonamethyst_block.jsonamethyst_cluster.jsonancient_debris.jsonandesite.jsonandesite_slab.jsonandesite_slab_top.jsonandesite_stairs.jsonandesite_stairs_inner.jsonandesite_stairs_outer.jsonandesite_wall_inventory.jsonandesite_wall_post.jsonandesite_wall_side.jsonandesite_wall_side_tall.jsonanvil.jsonattached_melon_stem.jsonattached_pumpkin_stem.jsonazalea.jsonazalea_leaves.jsonazure_bluet.jsonbamboo1_age0.jsonbamboo1_age1.jsonbamboo2_age0.jsonbamboo2_age1.jsonbamboo3_age0.jsonbamboo3_age1.jsonbamboo4_age0.jsonbamboo4_age1.jsonbamboo_block.jsonbamboo_block_x.jsonbamboo_block_y.jsonbamboo_block_z.jsonbamboo_button.jsonbamboo_button_inventory.jsonbamboo_button_pressed.jsonbamboo_door_bottom_left.jsonbamboo_door_bottom_left_open.jsonbamboo_door_bottom_right.jsonbamboo_door_bottom_right_open.jsonbamboo_door_top_left.jsonbamboo_door_top_left_open.jsonbamboo_door_top_right.jsonbamboo_door_top_right_open.jsonbamboo_fence_gate.jsonbamboo_fence_gate_open.jsonbamboo_fence_gate_wall.jsonbamboo_fence_gate_wall_open.jsonbamboo_fence_inventory.jsonbamboo_fence_post.jsonbamboo_fence_side_east.jsonbamboo_fence_side_north.jsonbamboo_fence_side_south.jsonbamboo_fence_side_west.jsonbamboo_hanging_sign.json
@ -3,9 +3,13 @@ package eu.mhsl.minecraft.pixelpic;
|
||||
import eu.mhsl.minecraft.pixelpic.commands.PixelPicCommand;
|
||||
import eu.mhsl.minecraft.pixelpic.render.render.DefaultScreenRenderer;
|
||||
import eu.mhsl.minecraft.pixelpic.render.render.Renderer;
|
||||
import net.kyori.adventure.text.Component;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
public final class Main extends JavaPlugin {
|
||||
private static Main instance;
|
||||
private Renderer screenRenderer;
|
||||
@ -14,61 +18,11 @@ public final class Main extends JavaPlugin {
|
||||
public void onEnable() {
|
||||
instance = this;
|
||||
Bukkit.getPluginCommand("pixelPic").setExecutor(new PixelPicCommand());
|
||||
//
|
||||
// Bukkit.getPluginCommand("test2").setExecutor((sender, command, label, args) -> {
|
||||
// if(!(sender instanceof Player player)) return false;
|
||||
// Bukkit.broadcast(Component.text("HI"));
|
||||
//
|
||||
// Resolution.Pixels pixels = Resolution.Pixels._256P;
|
||||
// Resolution.AspectRatio aspectRatio = Resolution.AspectRatio._1_1;
|
||||
// Resolution resolution = new Resolution(pixels, aspectRatio);
|
||||
// BufferedImage image = screenRenderer.render((Player) sender, resolution);
|
||||
// Bukkit.broadcast(Component.text(image.toString()));
|
||||
//
|
||||
// File file = new File(getDataFolder(), "Bild" + ".png");
|
||||
// try {
|
||||
// getDataFolder().mkdir();
|
||||
// ImageIO.write(image, "png", file);
|
||||
// } catch (Exception e) {
|
||||
// return true;
|
||||
// }
|
||||
//
|
||||
// ItemStack map = new ItemStack(Material.FILLED_MAP, 1);
|
||||
// MapMeta meta = (MapMeta) map.getItemMeta();
|
||||
// MapView mapView = Bukkit.createMap(Bukkit.getWorlds().getFirst());
|
||||
// mapView.addRenderer(new ImageMapRenderer(image, 0, 0));
|
||||
// meta.setMapView(mapView);
|
||||
// map.setItemMeta(meta);
|
||||
// player.getInventory().addItem(map);
|
||||
//
|
||||
// ItemStack map2 = new ItemStack(Material.FILLED_MAP, 1);
|
||||
// MapMeta meta1 = (MapMeta) map2.getItemMeta();
|
||||
// MapView mapView4 = Bukkit.createMap(Bukkit.getWorlds().getFirst());
|
||||
// mapView4.addRenderer(new ImageMapRenderer(image, 1, 0));
|
||||
// meta1.setMapView(mapView4);
|
||||
// map2.setItemMeta(meta1);
|
||||
// player.getInventory().addItem(map2);
|
||||
//
|
||||
// ItemStack map3 = new ItemStack(Material.FILLED_MAP, 1);
|
||||
// MapMeta meta2 = (MapMeta) map3.getItemMeta();
|
||||
// MapView mapView3 = Bukkit.createMap(Bukkit.getWorlds().getFirst());
|
||||
// mapView3.addRenderer(new ImageMapRenderer(image, 0, 1));
|
||||
// meta2.setMapView(mapView3);
|
||||
// map3.setItemMeta(meta2);
|
||||
// player.getInventory().addItem(map3);
|
||||
//
|
||||
// ItemStack map4 = new ItemStack(Material.FILLED_MAP, 1);
|
||||
// MapMeta meta3 = (MapMeta) map4.getItemMeta();
|
||||
// MapView mapView2 = Bukkit.createMap(Bukkit.getWorlds().getFirst());
|
||||
// mapView2.addRenderer(new ImageMapRenderer(image, 1, 1));
|
||||
// meta3.setMapView(mapView2);
|
||||
// map4.setItemMeta(meta3);
|
||||
// player.getInventory().addItem(map4);
|
||||
//
|
||||
// player.updateInventory();
|
||||
//
|
||||
// return true;
|
||||
// });
|
||||
|
||||
Bukkit.getPluginCommand("test").setExecutor((sender, command, label, args) -> {
|
||||
Bukkit.broadcast(Component.text(Material.STONE.getBlockTranslationKey().replace("block.minecraft.", "")));
|
||||
return true;
|
||||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -1,7 +1,7 @@
|
||||
package eu.mhsl.minecraft.pixelpic.render.raytrace;
|
||||
|
||||
import eu.mhsl.minecraft.pixelpic.render.model.Model;
|
||||
import eu.mhsl.minecraft.pixelpic.render.registry.DefaultModelRegistry;
|
||||
import eu.mhsl.minecraft.pixelpic.render.registry.AdvancedModelRegistry;
|
||||
import eu.mhsl.minecraft.pixelpic.render.registry.ModelRegistry;
|
||||
import eu.mhsl.minecraft.pixelpic.render.util.BlockRaytracer;
|
||||
import eu.mhsl.minecraft.pixelpic.render.util.Intersection;
|
||||
@ -29,7 +29,7 @@ public class DefaultRaytracer implements Raytracer {
|
||||
this.maxDistance = maxDistance;
|
||||
this.reflectionDepth = reflectionDepth;
|
||||
|
||||
this.textureRegistry = new DefaultModelRegistry();
|
||||
this.textureRegistry = new AdvancedModelRegistry();
|
||||
this.textureRegistry.initialize();
|
||||
|
||||
this.reflectedBlock = null;
|
||||
|
@ -0,0 +1,109 @@
|
||||
package eu.mhsl.minecraft.pixelpic.render.registry;
|
||||
|
||||
import eu.mhsl.minecraft.pixelpic.render.model.AbstractModel;
|
||||
import eu.mhsl.minecraft.pixelpic.render.model.Model;
|
||||
import org.bukkit.Color;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.block.Block;
|
||||
import org.bukkit.block.data.BlockData;
|
||||
|
||||
import javax.imageio.ImageIO;
|
||||
import java.awt.image.BufferedImage;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.net.URL;
|
||||
import java.util.*;
|
||||
|
||||
import static eu.mhsl.minecraft.pixelpic.render.registry.DefaultModelRegistry.TEXTURE_SIZE;
|
||||
|
||||
public class AdvancedModelRegistry implements ModelRegistry {
|
||||
private final Map<Material, Map<BlockData, Model>> modelMap = new HashMap<>();
|
||||
|
||||
@Override
|
||||
public void initialize() {
|
||||
// registerModel(Material.STONE, AbstractModel.Builder.createSimple(getTextureArray(Material.STONE.getBlockTranslationKey().replace("block.minecraft.", ""))).build());
|
||||
for (Material currentMaterial : Material.values()) {
|
||||
if(!currentMaterial.isBlock()) continue;
|
||||
List<String> blockTextures = getBlockTextures(currentMaterial);
|
||||
for (String blockTexture : blockTextures) {
|
||||
try {
|
||||
registerModel(currentMaterial, AbstractModel.Builder.createSimple(getTextureArray(blockTexture)).build());
|
||||
} catch (Exception ignored) { }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Model getModel(Block block) {
|
||||
return ModelRegistry.super.getModel(block);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Model getModel(Material material, BlockData blockData) {
|
||||
return modelMap.computeIfAbsent(material, key -> new HashMap<>()).getOrDefault(blockData,
|
||||
blockData == null ? getDefaultModel()
|
||||
: modelMap.get(material).getOrDefault(null, getDefaultModel()));
|
||||
}
|
||||
|
||||
@Override
|
||||
public Model getDefaultModel() {
|
||||
return AbstractModel.Builder.createStatic(Color.PURPLE.asRGB()).build();
|
||||
}
|
||||
|
||||
private void registerModel(Material material, Model blockModel) {
|
||||
modelMap.computeIfAbsent(material, key -> new HashMap<>())
|
||||
.put(null, blockModel);
|
||||
}
|
||||
|
||||
private List<String> getBlockTextures(Material material) {
|
||||
if(!material.isBlock()) return new ArrayList<>();
|
||||
String blockName = material.name().toLowerCase();
|
||||
try {
|
||||
if(!Arrays.deepEquals(getTextureArray(blockName), new int[0][0])) {
|
||||
return List.of(blockName);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
String[] possibleVariants = {
|
||||
blockName + "_top",
|
||||
blockName + "_side",
|
||||
blockName + "_bottom",
|
||||
blockName + "_front",
|
||||
blockName + "_back",
|
||||
blockName + "_left",
|
||||
blockName + "_right"
|
||||
};
|
||||
List<String> results = new ArrayList<>();
|
||||
for (String variant : possibleVariants) {
|
||||
try {
|
||||
if(!Arrays.deepEquals(getTextureArray(variant), new int[0][0])) {
|
||||
results.add(variant);
|
||||
}
|
||||
} catch (Exception ignored) { }
|
||||
}
|
||||
return results;
|
||||
}
|
||||
return new ArrayList<>();
|
||||
}
|
||||
|
||||
private int[][] getTextureArray(String textureName) {
|
||||
int[][] texture = new int[TEXTURE_SIZE][TEXTURE_SIZE];
|
||||
BufferedImage img = null;
|
||||
URL url = this.getClass().getClassLoader().getResource(String.format("textures/block/%s.png", textureName));
|
||||
if (url == null) {
|
||||
throw new RuntimeException("Block Texture Resource not found.");
|
||||
}
|
||||
try (InputStream input = url.openConnection().getInputStream()) {
|
||||
img = ImageIO.read(input);
|
||||
} catch (IOException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
|
||||
for (int pixelY = 0; pixelY < TEXTURE_SIZE; pixelY++) {
|
||||
for (int pixelX = 0; pixelX < TEXTURE_SIZE; pixelX++) {
|
||||
texture[pixelY][pixelX] = img.getRGB(pixelX, pixelY);
|
||||
}
|
||||
}
|
||||
|
||||
return texture;
|
||||
}
|
||||
}
|
6
src/main/resources/models/block/acacia_button.json
Normal file
6
src/main/resources/models/block/acacia_button.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/button",
|
||||
"textures": {
|
||||
"texture": "minecraft:block/acacia_planks"
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/button_inventory",
|
||||
"textures": {
|
||||
"texture": "minecraft:block/acacia_planks"
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/button_pressed",
|
||||
"textures": {
|
||||
"texture": "minecraft:block/acacia_planks"
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"parent": "minecraft:block/door_bottom_left",
|
||||
"textures": {
|
||||
"bottom": "minecraft:block/acacia_door_bottom",
|
||||
"top": "minecraft:block/acacia_door_top"
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"parent": "minecraft:block/door_bottom_left_open",
|
||||
"textures": {
|
||||
"bottom": "minecraft:block/acacia_door_bottom",
|
||||
"top": "minecraft:block/acacia_door_top"
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"parent": "minecraft:block/door_bottom_right",
|
||||
"textures": {
|
||||
"bottom": "minecraft:block/acacia_door_bottom",
|
||||
"top": "minecraft:block/acacia_door_top"
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"parent": "minecraft:block/door_bottom_right_open",
|
||||
"textures": {
|
||||
"bottom": "minecraft:block/acacia_door_bottom",
|
||||
"top": "minecraft:block/acacia_door_top"
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"parent": "minecraft:block/door_top_left",
|
||||
"textures": {
|
||||
"bottom": "minecraft:block/acacia_door_bottom",
|
||||
"top": "minecraft:block/acacia_door_top"
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"parent": "minecraft:block/door_top_left_open",
|
||||
"textures": {
|
||||
"bottom": "minecraft:block/acacia_door_bottom",
|
||||
"top": "minecraft:block/acacia_door_top"
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"parent": "minecraft:block/door_top_right",
|
||||
"textures": {
|
||||
"bottom": "minecraft:block/acacia_door_bottom",
|
||||
"top": "minecraft:block/acacia_door_top"
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"parent": "minecraft:block/door_top_right_open",
|
||||
"textures": {
|
||||
"bottom": "minecraft:block/acacia_door_bottom",
|
||||
"top": "minecraft:block/acacia_door_top"
|
||||
}
|
||||
}
|
6
src/main/resources/models/block/acacia_fence_gate.json
Normal file
6
src/main/resources/models/block/acacia_fence_gate.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/template_fence_gate",
|
||||
"textures": {
|
||||
"texture": "minecraft:block/acacia_planks"
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/template_fence_gate_open",
|
||||
"textures": {
|
||||
"texture": "minecraft:block/acacia_planks"
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/template_fence_gate_wall",
|
||||
"textures": {
|
||||
"texture": "minecraft:block/acacia_planks"
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/template_fence_gate_wall_open",
|
||||
"textures": {
|
||||
"texture": "minecraft:block/acacia_planks"
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/fence_inventory",
|
||||
"textures": {
|
||||
"texture": "minecraft:block/acacia_planks"
|
||||
}
|
||||
}
|
6
src/main/resources/models/block/acacia_fence_post.json
Normal file
6
src/main/resources/models/block/acacia_fence_post.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/fence_post",
|
||||
"textures": {
|
||||
"texture": "minecraft:block/acacia_planks"
|
||||
}
|
||||
}
|
6
src/main/resources/models/block/acacia_fence_side.json
Normal file
6
src/main/resources/models/block/acacia_fence_side.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/fence_side",
|
||||
"textures": {
|
||||
"texture": "minecraft:block/acacia_planks"
|
||||
}
|
||||
}
|
5
src/main/resources/models/block/acacia_hanging_sign.json
Normal file
5
src/main/resources/models/block/acacia_hanging_sign.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"textures": {
|
||||
"particle": "minecraft:block/stripped_acacia_log"
|
||||
}
|
||||
}
|
6
src/main/resources/models/block/acacia_leaves.json
Normal file
6
src/main/resources/models/block/acacia_leaves.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/leaves",
|
||||
"textures": {
|
||||
"all": "minecraft:block/acacia_leaves"
|
||||
}
|
||||
}
|
7
src/main/resources/models/block/acacia_log.json
Normal file
7
src/main/resources/models/block/acacia_log.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"parent": "minecraft:block/cube_column",
|
||||
"textures": {
|
||||
"end": "minecraft:block/acacia_log_top",
|
||||
"side": "minecraft:block/acacia_log"
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"parent": "minecraft:block/cube_column_horizontal",
|
||||
"textures": {
|
||||
"end": "minecraft:block/acacia_log_top",
|
||||
"side": "minecraft:block/acacia_log"
|
||||
}
|
||||
}
|
6
src/main/resources/models/block/acacia_planks.json
Normal file
6
src/main/resources/models/block/acacia_planks.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/cube_all",
|
||||
"textures": {
|
||||
"all": "minecraft:block/acacia_planks"
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/pressure_plate_up",
|
||||
"textures": {
|
||||
"texture": "minecraft:block/acacia_planks"
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/pressure_plate_down",
|
||||
"textures": {
|
||||
"texture": "minecraft:block/acacia_planks"
|
||||
}
|
||||
}
|
6
src/main/resources/models/block/acacia_sapling.json
Normal file
6
src/main/resources/models/block/acacia_sapling.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/cross",
|
||||
"textures": {
|
||||
"cross": "minecraft:block/acacia_sapling"
|
||||
}
|
||||
}
|
5
src/main/resources/models/block/acacia_sign.json
Normal file
5
src/main/resources/models/block/acacia_sign.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"textures": {
|
||||
"particle": "minecraft:block/acacia_planks"
|
||||
}
|
||||
}
|
8
src/main/resources/models/block/acacia_slab.json
Normal file
8
src/main/resources/models/block/acacia_slab.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"parent": "minecraft:block/slab",
|
||||
"textures": {
|
||||
"bottom": "minecraft:block/acacia_planks",
|
||||
"side": "minecraft:block/acacia_planks",
|
||||
"top": "minecraft:block/acacia_planks"
|
||||
}
|
||||
}
|
8
src/main/resources/models/block/acacia_slab_top.json
Normal file
8
src/main/resources/models/block/acacia_slab_top.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"parent": "minecraft:block/slab_top",
|
||||
"textures": {
|
||||
"bottom": "minecraft:block/acacia_planks",
|
||||
"side": "minecraft:block/acacia_planks",
|
||||
"top": "minecraft:block/acacia_planks"
|
||||
}
|
||||
}
|
8
src/main/resources/models/block/acacia_stairs.json
Normal file
8
src/main/resources/models/block/acacia_stairs.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"parent": "minecraft:block/stairs",
|
||||
"textures": {
|
||||
"bottom": "minecraft:block/acacia_planks",
|
||||
"side": "minecraft:block/acacia_planks",
|
||||
"top": "minecraft:block/acacia_planks"
|
||||
}
|
||||
}
|
8
src/main/resources/models/block/acacia_stairs_inner.json
Normal file
8
src/main/resources/models/block/acacia_stairs_inner.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"parent": "minecraft:block/inner_stairs",
|
||||
"textures": {
|
||||
"bottom": "minecraft:block/acacia_planks",
|
||||
"side": "minecraft:block/acacia_planks",
|
||||
"top": "minecraft:block/acacia_planks"
|
||||
}
|
||||
}
|
8
src/main/resources/models/block/acacia_stairs_outer.json
Normal file
8
src/main/resources/models/block/acacia_stairs_outer.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"parent": "minecraft:block/outer_stairs",
|
||||
"textures": {
|
||||
"bottom": "minecraft:block/acacia_planks",
|
||||
"side": "minecraft:block/acacia_planks",
|
||||
"top": "minecraft:block/acacia_planks"
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/template_orientable_trapdoor_bottom",
|
||||
"textures": {
|
||||
"texture": "minecraft:block/acacia_trapdoor"
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/template_orientable_trapdoor_open",
|
||||
"textures": {
|
||||
"texture": "minecraft:block/acacia_trapdoor"
|
||||
}
|
||||
}
|
6
src/main/resources/models/block/acacia_trapdoor_top.json
Normal file
6
src/main/resources/models/block/acacia_trapdoor_top.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/template_orientable_trapdoor_top",
|
||||
"textures": {
|
||||
"texture": "minecraft:block/acacia_trapdoor"
|
||||
}
|
||||
}
|
7
src/main/resources/models/block/acacia_wood.json
Normal file
7
src/main/resources/models/block/acacia_wood.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"parent": "minecraft:block/cube_column",
|
||||
"textures": {
|
||||
"end": "minecraft:block/acacia_log",
|
||||
"side": "minecraft:block/acacia_log"
|
||||
}
|
||||
}
|
6
src/main/resources/models/block/activator_rail.json
Normal file
6
src/main/resources/models/block/activator_rail.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/rail_flat",
|
||||
"textures": {
|
||||
"rail": "minecraft:block/activator_rail"
|
||||
}
|
||||
}
|
6
src/main/resources/models/block/activator_rail_on.json
Normal file
6
src/main/resources/models/block/activator_rail_on.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/rail_flat",
|
||||
"textures": {
|
||||
"rail": "minecraft:block/activator_rail_on"
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/template_rail_raised_ne",
|
||||
"textures": {
|
||||
"rail": "minecraft:block/activator_rail_on"
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/template_rail_raised_sw",
|
||||
"textures": {
|
||||
"rail": "minecraft:block/activator_rail_on"
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/template_rail_raised_ne",
|
||||
"textures": {
|
||||
"rail": "minecraft:block/activator_rail"
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/template_rail_raised_sw",
|
||||
"textures": {
|
||||
"rail": "minecraft:block/activator_rail"
|
||||
}
|
||||
}
|
5
src/main/resources/models/block/air.json
Normal file
5
src/main/resources/models/block/air.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"textures": {
|
||||
"particle": "minecraft:missingno"
|
||||
}
|
||||
}
|
6
src/main/resources/models/block/allium.json
Normal file
6
src/main/resources/models/block/allium.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/cross",
|
||||
"textures": {
|
||||
"cross": "minecraft:block/allium"
|
||||
}
|
||||
}
|
6
src/main/resources/models/block/amethyst_block.json
Normal file
6
src/main/resources/models/block/amethyst_block.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/cube_all",
|
||||
"textures": {
|
||||
"all": "minecraft:block/amethyst_block"
|
||||
}
|
||||
}
|
6
src/main/resources/models/block/amethyst_cluster.json
Normal file
6
src/main/resources/models/block/amethyst_cluster.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/cross",
|
||||
"textures": {
|
||||
"cross": "minecraft:block/amethyst_cluster"
|
||||
}
|
||||
}
|
7
src/main/resources/models/block/ancient_debris.json
Normal file
7
src/main/resources/models/block/ancient_debris.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"parent": "minecraft:block/cube_column",
|
||||
"textures": {
|
||||
"end": "minecraft:block/ancient_debris_top",
|
||||
"side": "minecraft:block/ancient_debris_side"
|
||||
}
|
||||
}
|
6
src/main/resources/models/block/andesite.json
Normal file
6
src/main/resources/models/block/andesite.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/cube_all",
|
||||
"textures": {
|
||||
"all": "minecraft:block/andesite"
|
||||
}
|
||||
}
|
8
src/main/resources/models/block/andesite_slab.json
Normal file
8
src/main/resources/models/block/andesite_slab.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"parent": "minecraft:block/slab",
|
||||
"textures": {
|
||||
"bottom": "minecraft:block/andesite",
|
||||
"side": "minecraft:block/andesite",
|
||||
"top": "minecraft:block/andesite"
|
||||
}
|
||||
}
|
8
src/main/resources/models/block/andesite_slab_top.json
Normal file
8
src/main/resources/models/block/andesite_slab_top.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"parent": "minecraft:block/slab_top",
|
||||
"textures": {
|
||||
"bottom": "minecraft:block/andesite",
|
||||
"side": "minecraft:block/andesite",
|
||||
"top": "minecraft:block/andesite"
|
||||
}
|
||||
}
|
8
src/main/resources/models/block/andesite_stairs.json
Normal file
8
src/main/resources/models/block/andesite_stairs.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"parent": "minecraft:block/stairs",
|
||||
"textures": {
|
||||
"bottom": "minecraft:block/andesite",
|
||||
"side": "minecraft:block/andesite",
|
||||
"top": "minecraft:block/andesite"
|
||||
}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
{
|
||||
"parent": "minecraft:block/inner_stairs",
|
||||
"textures": {
|
||||
"bottom": "minecraft:block/andesite",
|
||||
"side": "minecraft:block/andesite",
|
||||
"top": "minecraft:block/andesite"
|
||||
}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
{
|
||||
"parent": "minecraft:block/outer_stairs",
|
||||
"textures": {
|
||||
"bottom": "minecraft:block/andesite",
|
||||
"side": "minecraft:block/andesite",
|
||||
"top": "minecraft:block/andesite"
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/wall_inventory",
|
||||
"textures": {
|
||||
"wall": "minecraft:block/andesite"
|
||||
}
|
||||
}
|
6
src/main/resources/models/block/andesite_wall_post.json
Normal file
6
src/main/resources/models/block/andesite_wall_post.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/template_wall_post",
|
||||
"textures": {
|
||||
"wall": "minecraft:block/andesite"
|
||||
}
|
||||
}
|
6
src/main/resources/models/block/andesite_wall_side.json
Normal file
6
src/main/resources/models/block/andesite_wall_side.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/template_wall_side",
|
||||
"textures": {
|
||||
"wall": "minecraft:block/andesite"
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/template_wall_side_tall",
|
||||
"textures": {
|
||||
"wall": "minecraft:block/andesite"
|
||||
}
|
||||
}
|
6
src/main/resources/models/block/anvil.json
Normal file
6
src/main/resources/models/block/anvil.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/template_anvil",
|
||||
"textures": {
|
||||
"top": "minecraft:block/anvil_top"
|
||||
}
|
||||
}
|
7
src/main/resources/models/block/attached_melon_stem.json
Normal file
7
src/main/resources/models/block/attached_melon_stem.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"parent": "minecraft:block/stem_fruit",
|
||||
"textures": {
|
||||
"stem": "minecraft:block/melon_stem",
|
||||
"upperstem": "minecraft:block/attached_melon_stem"
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"parent": "minecraft:block/stem_fruit",
|
||||
"textures": {
|
||||
"stem": "minecraft:block/pumpkin_stem",
|
||||
"upperstem": "minecraft:block/attached_pumpkin_stem"
|
||||
}
|
||||
}
|
7
src/main/resources/models/block/azalea.json
Normal file
7
src/main/resources/models/block/azalea.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"parent": "minecraft:block/template_azalea",
|
||||
"textures": {
|
||||
"side": "minecraft:block/azalea_side",
|
||||
"top": "minecraft:block/azalea_top"
|
||||
}
|
||||
}
|
6
src/main/resources/models/block/azalea_leaves.json
Normal file
6
src/main/resources/models/block/azalea_leaves.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/cube_all",
|
||||
"textures": {
|
||||
"all": "minecraft:block/azalea_leaves"
|
||||
}
|
||||
}
|
6
src/main/resources/models/block/azure_bluet.json
Normal file
6
src/main/resources/models/block/azure_bluet.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/cross",
|
||||
"textures": {
|
||||
"cross": "minecraft:block/azure_bluet"
|
||||
}
|
||||
}
|
19
src/main/resources/models/block/bamboo1_age0.json
Normal file
19
src/main/resources/models/block/bamboo1_age0.json
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
"textures": {
|
||||
"all": "block/bamboo_stalk",
|
||||
"particle": "block/bamboo_stalk"
|
||||
},
|
||||
"elements": [
|
||||
{ "from": [ 7, 0, 7 ],
|
||||
"to": [ 9, 16, 9 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 13, 4, 15, 6 ], "texture": "#all", "cullface": "down" },
|
||||
"up": { "uv": [ 13, 0, 15, 2], "texture": "#all", "cullface": "up" },
|
||||
"north": { "uv": [ 0, 0, 2, 16 ], "texture": "#all" },
|
||||
"south": { "uv": [ 0, 0, 2, 16 ], "texture": "#all" },
|
||||
"west": { "uv": [ 0, 0, 2, 16 ], "texture": "#all" },
|
||||
"east": { "uv": [ 0, 0, 2, 16 ], "texture": "#all" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
19
src/main/resources/models/block/bamboo1_age1.json
Normal file
19
src/main/resources/models/block/bamboo1_age1.json
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
"textures": {
|
||||
"all": "block/bamboo_stalk",
|
||||
"particle": "block/bamboo_stalk"
|
||||
},
|
||||
"elements": [
|
||||
{ "from": [ 6.5, 0, 6.5 ],
|
||||
"to": [ 9.5, 16, 9.5 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 13, 4, 16, 7 ], "texture": "#all", "cullface": "down" },
|
||||
"up": { "uv": [ 13, 0, 16, 3 ], "texture": "#all", "cullface": "up" },
|
||||
"north": { "uv": [ 0, 0, 3, 16 ], "texture": "#all" },
|
||||
"south": { "uv": [ 0, 0, 3, 16 ], "texture": "#all" },
|
||||
"west": { "uv": [ 0, 0, 3, 16 ], "texture": "#all" },
|
||||
"east": { "uv": [ 0, 0, 3, 16 ], "texture": "#all" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
19
src/main/resources/models/block/bamboo2_age0.json
Normal file
19
src/main/resources/models/block/bamboo2_age0.json
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
"textures": {
|
||||
"all": "block/bamboo_stalk",
|
||||
"particle": "block/bamboo_stalk"
|
||||
},
|
||||
"elements": [
|
||||
{ "from": [ 7, 0, 7 ],
|
||||
"to": [ 9, 16, 9 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 13, 4, 15, 6 ], "texture": "#all", "cullface": "down" },
|
||||
"up": { "uv": [ 13, 0, 15, 2], "texture": "#all", "cullface": "up" },
|
||||
"north": { "uv": [ 3, 0, 5, 16 ], "texture": "#all" },
|
||||
"south": { "uv": [ 3, 0, 5, 16 ], "texture": "#all" },
|
||||
"west": { "uv": [ 3, 0, 5, 16 ], "texture": "#all" },
|
||||
"east": { "uv": [ 3, 0, 5, 16 ], "texture": "#all" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
19
src/main/resources/models/block/bamboo2_age1.json
Normal file
19
src/main/resources/models/block/bamboo2_age1.json
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
"textures": {
|
||||
"all": "block/bamboo_stalk",
|
||||
"particle": "block/bamboo_stalk"
|
||||
},
|
||||
"elements": [
|
||||
{ "from": [ 6.5, 0, 6.5 ],
|
||||
"to": [ 9.5, 16, 9.5 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 13, 4, 16, 7 ], "texture": "#all", "cullface": "down" },
|
||||
"up": { "uv": [ 13, 0, 16, 3 ], "texture": "#all", "cullface": "up" },
|
||||
"north": { "uv": [ 3, 0, 6, 16 ], "texture": "#all" },
|
||||
"south": { "uv": [ 3, 0, 6, 16 ], "texture": "#all" },
|
||||
"west": { "uv": [ 3, 0, 6, 16 ], "texture": "#all" },
|
||||
"east": { "uv": [ 3, 0, 6, 16 ], "texture": "#all" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
19
src/main/resources/models/block/bamboo3_age0.json
Normal file
19
src/main/resources/models/block/bamboo3_age0.json
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
"textures": {
|
||||
"all": "block/bamboo_stalk",
|
||||
"particle": "block/bamboo_stalk"
|
||||
},
|
||||
"elements": [
|
||||
{ "from": [ 7, 0, 7 ],
|
||||
"to": [ 9, 16, 9 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 13, 4, 15, 6 ], "texture": "#all", "cullface": "down" },
|
||||
"up": { "uv": [ 13, 0, 15, 2], "texture": "#all", "cullface": "up" },
|
||||
"north": { "uv": [ 6, 0, 8, 16 ], "texture": "#all" },
|
||||
"south": { "uv": [ 6, 0, 8, 16 ], "texture": "#all" },
|
||||
"west": { "uv": [ 6, 0, 8, 16 ], "texture": "#all" },
|
||||
"east": { "uv": [ 6, 0, 8, 16 ], "texture": "#all" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
19
src/main/resources/models/block/bamboo3_age1.json
Normal file
19
src/main/resources/models/block/bamboo3_age1.json
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
"textures": {
|
||||
"all": "block/bamboo_stalk",
|
||||
"particle": "block/bamboo_stalk"
|
||||
},
|
||||
"elements": [
|
||||
{ "from": [ 6.5, 0, 6.5 ],
|
||||
"to": [ 9.5, 16, 9.5 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 13, 4, 16, 7 ], "texture": "#all", "cullface": "down" },
|
||||
"up": { "uv": [ 13, 0, 16, 3 ], "texture": "#all", "cullface": "up" },
|
||||
"north": { "uv": [ 6, 0, 9, 16 ], "texture": "#all" },
|
||||
"south": { "uv": [ 6, 0, 9, 16 ], "texture": "#all" },
|
||||
"west": { "uv": [ 6, 0, 9, 16 ], "texture": "#all" },
|
||||
"east": { "uv": [ 6, 0, 9, 16 ], "texture": "#all" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
19
src/main/resources/models/block/bamboo4_age0.json
Normal file
19
src/main/resources/models/block/bamboo4_age0.json
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
"textures": {
|
||||
"all": "block/bamboo_stalk",
|
||||
"particle": "block/bamboo_stalk"
|
||||
},
|
||||
"elements": [
|
||||
{ "from": [ 7, 0, 7 ],
|
||||
"to": [ 9, 16, 9 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 13, 4, 15, 6 ], "texture": "#all", "cullface": "down" },
|
||||
"up": { "uv": [ 13, 0, 15, 2], "texture": "#all", "cullface": "up" },
|
||||
"north": { "uv": [ 9, 0, 11, 16 ], "texture": "#all" },
|
||||
"south": { "uv": [ 9, 0, 11, 16 ], "texture": "#all" },
|
||||
"west": { "uv": [ 9, 0, 11, 16 ], "texture": "#all" },
|
||||
"east": { "uv": [ 9, 0, 11, 16 ], "texture": "#all" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
19
src/main/resources/models/block/bamboo4_age1.json
Normal file
19
src/main/resources/models/block/bamboo4_age1.json
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
"textures": {
|
||||
"all": "block/bamboo_stalk",
|
||||
"particle": "block/bamboo_stalk"
|
||||
},
|
||||
"elements": [
|
||||
{ "from": [ 6.5, 0, 6.5 ],
|
||||
"to": [ 9.5, 16, 9.5 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 13, 4, 16, 7 ], "texture": "#all", "cullface": "down" },
|
||||
"up": { "uv": [ 13, 0, 16, 3 ], "texture": "#all", "cullface": "up" },
|
||||
"north": { "uv": [ 9, 0, 12, 16 ], "texture": "#all" },
|
||||
"south": { "uv": [ 9, 0, 12, 16 ], "texture": "#all" },
|
||||
"west": { "uv": [ 9, 0, 12, 16 ], "texture": "#all" },
|
||||
"east": { "uv": [ 9, 0, 12, 16 ], "texture": "#all" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
7
src/main/resources/models/block/bamboo_block.json
Normal file
7
src/main/resources/models/block/bamboo_block.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"parent": "minecraft:block/cube_column",
|
||||
"textures": {
|
||||
"end": "minecraft:block/bamboo_block_top",
|
||||
"side": "minecraft:block/bamboo_block"
|
||||
}
|
||||
}
|
7
src/main/resources/models/block/bamboo_block_x.json
Normal file
7
src/main/resources/models/block/bamboo_block_x.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"parent": "minecraft:block/cube_column_uv_locked_x",
|
||||
"textures": {
|
||||
"end": "minecraft:block/bamboo_block_top",
|
||||
"side": "minecraft:block/bamboo_block"
|
||||
}
|
||||
}
|
7
src/main/resources/models/block/bamboo_block_y.json
Normal file
7
src/main/resources/models/block/bamboo_block_y.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"parent": "minecraft:block/cube_column_uv_locked_y",
|
||||
"textures": {
|
||||
"end": "minecraft:block/bamboo_block_top",
|
||||
"side": "minecraft:block/bamboo_block"
|
||||
}
|
||||
}
|
7
src/main/resources/models/block/bamboo_block_z.json
Normal file
7
src/main/resources/models/block/bamboo_block_z.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"parent": "minecraft:block/cube_column_uv_locked_z",
|
||||
"textures": {
|
||||
"end": "minecraft:block/bamboo_block_top",
|
||||
"side": "minecraft:block/bamboo_block"
|
||||
}
|
||||
}
|
6
src/main/resources/models/block/bamboo_button.json
Normal file
6
src/main/resources/models/block/bamboo_button.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/button",
|
||||
"textures": {
|
||||
"texture": "minecraft:block/bamboo_planks"
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/button_inventory",
|
||||
"textures": {
|
||||
"texture": "minecraft:block/bamboo_planks"
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/button_pressed",
|
||||
"textures": {
|
||||
"texture": "minecraft:block/bamboo_planks"
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"parent": "minecraft:block/door_bottom_left",
|
||||
"textures": {
|
||||
"bottom": "minecraft:block/bamboo_door_bottom",
|
||||
"top": "minecraft:block/bamboo_door_top"
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"parent": "minecraft:block/door_bottom_left_open",
|
||||
"textures": {
|
||||
"bottom": "minecraft:block/bamboo_door_bottom",
|
||||
"top": "minecraft:block/bamboo_door_top"
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"parent": "minecraft:block/door_bottom_right",
|
||||
"textures": {
|
||||
"bottom": "minecraft:block/bamboo_door_bottom",
|
||||
"top": "minecraft:block/bamboo_door_top"
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"parent": "minecraft:block/door_bottom_right_open",
|
||||
"textures": {
|
||||
"bottom": "minecraft:block/bamboo_door_bottom",
|
||||
"top": "minecraft:block/bamboo_door_top"
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"parent": "minecraft:block/door_top_left",
|
||||
"textures": {
|
||||
"bottom": "minecraft:block/bamboo_door_bottom",
|
||||
"top": "minecraft:block/bamboo_door_top"
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"parent": "minecraft:block/door_top_left_open",
|
||||
"textures": {
|
||||
"bottom": "minecraft:block/bamboo_door_bottom",
|
||||
"top": "minecraft:block/bamboo_door_top"
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"parent": "minecraft:block/door_top_right",
|
||||
"textures": {
|
||||
"bottom": "minecraft:block/bamboo_door_bottom",
|
||||
"top": "minecraft:block/bamboo_door_top"
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"parent": "minecraft:block/door_top_right_open",
|
||||
"textures": {
|
||||
"bottom": "minecraft:block/bamboo_door_bottom",
|
||||
"top": "minecraft:block/bamboo_door_top"
|
||||
}
|
||||
}
|
7
src/main/resources/models/block/bamboo_fence_gate.json
Normal file
7
src/main/resources/models/block/bamboo_fence_gate.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"parent": "minecraft:block/template_custom_fence_gate",
|
||||
"textures": {
|
||||
"particle": "minecraft:block/bamboo_fence_gate_particle",
|
||||
"texture": "minecraft:block/bamboo_fence_gate"
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"parent": "minecraft:block/template_custom_fence_gate_open",
|
||||
"textures": {
|
||||
"particle": "minecraft:block/bamboo_fence_gate_particle",
|
||||
"texture": "minecraft:block/bamboo_fence_gate"
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"parent": "minecraft:block/template_custom_fence_gate_wall",
|
||||
"textures": {
|
||||
"particle": "minecraft:block/bamboo_fence_gate_particle",
|
||||
"texture": "minecraft:block/bamboo_fence_gate"
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"parent": "minecraft:block/template_custom_fence_gate_wall_open",
|
||||
"textures": {
|
||||
"particle": "minecraft:block/bamboo_fence_gate_particle",
|
||||
"texture": "minecraft:block/bamboo_fence_gate"
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/custom_fence_inventory",
|
||||
"textures": {
|
||||
"texture": "minecraft:block/bamboo_fence"
|
||||
}
|
||||
}
|
7
src/main/resources/models/block/bamboo_fence_post.json
Normal file
7
src/main/resources/models/block/bamboo_fence_post.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"parent": "minecraft:block/custom_fence_post",
|
||||
"textures": {
|
||||
"particle": "minecraft:block/bamboo_fence_particle",
|
||||
"texture": "minecraft:block/bamboo_fence"
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/custom_fence_side_east",
|
||||
"textures": {
|
||||
"texture": "minecraft:block/bamboo_fence"
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/custom_fence_side_north",
|
||||
"textures": {
|
||||
"texture": "minecraft:block/bamboo_fence"
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/custom_fence_side_south",
|
||||
"textures": {
|
||||
"texture": "minecraft:block/bamboo_fence"
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/custom_fence_side_west",
|
||||
"textures": {
|
||||
"texture": "minecraft:block/bamboo_fence"
|
||||
}
|
||||
}
|
5
src/main/resources/models/block/bamboo_hanging_sign.json
Normal file
5
src/main/resources/models/block/bamboo_hanging_sign.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"textures": {
|
||||
"particle": "minecraft:block/bamboo_planks"
|
||||
}
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user