Skip to content

Commit

Permalink
ore generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Bandit-bytes committed Aug 1, 2024
1 parent a288d73 commit 844bc4b
Show file tree
Hide file tree
Showing 21 changed files with 349 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/main/java/net/bandit/black_iron/BlackIronMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@


import mod.azure.azurelib.AzureLib;
import net.bandit.black_iron.block.ModBlocks;
import net.bandit.black_iron.item.ModItemGroups;
import net.bandit.black_iron.item.ModItems;
import net.bandit.black_iron.client.ModItemPropertiesClient;
import net.bandit.black_iron.world.OreJsonRegistration;
import net.fabricmc.api.ModInitializer;

import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientLifecycleEvents;
Expand All @@ -19,6 +21,8 @@ public class BlackIronMod implements ModInitializer {
public void onInitialize() {
ModItemGroups.registerItemGroups();
AzureLib.initialize();
ModBlocks.registerModBlocks();
OreJsonRegistration.registerOreGeneration();

ModItems.registerModItems();
}
Expand Down
30 changes: 30 additions & 0 deletions src/main/java/net/bandit/black_iron/block/ModBlocks.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
package net.bandit.black_iron.block;

import net.bandit.black_iron.BlackIronMod;
import net.fabricmc.fabric.api.item.v1.FabricItemSettings;
import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings;
import net.minecraft.core.Registry;
import net.minecraft.core.registries.BuiltInRegistries;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.world.item.BlockItem;
import net.minecraft.world.level.block.Block;
import net.minecraft.world.level.block.Blocks;

public class ModBlocks {
public static final Block BLACK_IRON_ORE = registerBlock("black_iron_ore",
new Block(FabricBlockSettings.copyOf(Blocks.IRON_BLOCK)));

private static Block registerBlock(String name, Block block) {
registerBlockItem(name, block);
return Registry.register(BuiltInRegistries.BLOCK, new ResourceLocation(BlackIronMod.MOD_ID, name), block);
}

private static void registerBlockItem(String name, Block block) {
Registry.register(BuiltInRegistries.ITEM, new ResourceLocation(BlackIronMod.MOD_ID, name),
new BlockItem(block, new FabricItemSettings()));
}

public static void registerModBlocks() {
BlackIronMod.LOGGER.info("Registering ModBlocks for " + BlackIronMod.MOD_ID);
}
}
3 changes: 3 additions & 0 deletions src/main/java/net/bandit/black_iron/item/ModItemGroups.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package net.bandit.black_iron.item;

import net.bandit.black_iron.BlackIronMod;
import net.bandit.black_iron.block.ModBlocks;
import net.fabricmc.fabric.api.itemgroup.v1.FabricItemGroup;
import net.minecraft.world.item.CreativeModeTab;
import net.minecraft.world.item.ItemStack;
Expand All @@ -15,6 +16,8 @@ public class ModItemGroups {
FabricItemGroup.builder().title(Component.translatable("itemgroup.black_iron"))
.icon(() -> new ItemStack(ModItems.BLACK_IRON_BOW))
.displayItems((displayContext, entries) -> {
entries.accept(ModBlocks.BLACK_IRON_ORE);
entries.accept(ModItems.BLACK_IRON_RAW);
entries.accept(ModItems.BLACK_IRON);
entries.accept(ModItems.BLACK_IRON_BOW);
entries.accept(ModItems.BLACK_IRON_SWORD);
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/net/bandit/black_iron/item/ModItems.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
public class ModItems {

// Declare items as public static final
public static final Item BLACK_IRON = registerItem("black_iron", new Item(new FabricItemSettings()));
public static final Item BLACK_IRON = registerItem("black_iron", new Item(new FabricItemSettings().rarity(Rarity.EPIC)));
public static final Item BLACK_IRON_RAW = registerItem("black_iron_raw", new Item(new FabricItemSettings()));
public static final Item BLACK_IRON_BOW = registerItem("black_iron_bow", new BlackIronBow(new FabricItemSettings()));

public static final Item BLACK_IRON_HELMET = registerItem("black_iron_helmet",
Expand Down
20 changes: 20 additions & 0 deletions src/main/java/net/bandit/black_iron/world/OreJsonRegistration.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package net.bandit.black_iron.world;

import net.bandit.black_iron.BlackIronMod;
import net.fabricmc.fabric.api.biome.v1.BiomeModifications;
import net.fabricmc.fabric.api.biome.v1.BiomeSelectors;

import net.minecraft.core.registries.Registries;
import net.minecraft.resources.ResourceKey;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.world.level.levelgen.GenerationStep;
import net.minecraft.world.level.levelgen.placement.PlacedFeature;

public class OreJsonRegistration {
public static final ResourceKey<PlacedFeature> BLACK_IRON_ORE_PLACED_KEY = ResourceKey.create(Registries.PLACED_FEATURE, new ResourceLocation(BlackIronMod.MOD_ID, "black_iron_ore_placed"));

public static void registerOreGeneration() {
BiomeModifications.addFeature(BiomeSelectors.foundInOverworld(), GenerationStep.Decoration.UNDERGROUND_ORES, BLACK_IRON_ORE_PLACED_KEY);
System.out.println("Registered ore generation");
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "black_iron:block/black_iron_ore"
}
}
}
2 changes: 2 additions & 0 deletions src/main/resources/assets/black_iron/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"item.black_iron.black_iron_bow.tooltip2": "Unleashes powerful arrows with mystical force.",
"item.black_iron.black_iron_bow.tooltip3": "Draw speed: Fast | Durability: High",
"item.black_iron.black_iron": "Black Iron",
"item.black_iron.black_iron_raw": "Raw Black Iron",
"block.black_iron.black_iron_ore": "Black Iron Ore",
"item.black_iron.black_iron_sword": "Black Iron Sword",
"item.black_iron.black_iron_axe": "Black Iron Axe",
"item.black_iron.black_iron_shovel": "Black Iron Shovel",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "black_iron:block/black_iron_ore"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"credit":"MadewithBlockbench","texture_size":[64,64],"textures":{"1":"ec_forgenfire:forgenfire_default_weapons/black_iron_hoe"},"elements":[{"from":[7.5,-2,7.5],"to":[8.5,20.25,8.5],"rotation":{"angle":0,"axis":"y","origin":[7,-5,7]},"faces":{"north":{"uv":[6.5,3.5,6.75,9.125],"texture":"#1"},"east":{"uv":[6.75,3.5,7,9.125],"texture":"#1"},"south":{"uv":[0,7,0.25,12.625],"texture":"#1"},"west":{"uv":[0.25,7,0.5,12.625],"texture":"#1"},"up":{"uv":[7.75,5.75,7.5,5.5],"texture":"#1"},"down":{"uv":[8,6,7.75,6.25],"texture":"#1"}}},{"from":[6.496,15.996,6.996],"to":[9.254,18.754,9.004],"rotation":{"angle":-45,"axis":"z","origin":[8,17.25,8]},"faces":{"north":{"uv":[0.5,7,1.25,7.75],"texture":"#1"},"east":{"uv":[5,7,5.5,7.75],"texture":"#1"},"south":{"uv":[1.25,7,2,7.75],"texture":"#1"},"west":{"uv":[7,5,7.5,5.75],"texture":"#1"},"up":{"uv":[6.25,7.5,5.5,7],"texture":"#1"},"down":{"uv":[7.75,5.75,7,6.25],"texture":"#1"}}},{"from":[6.43866,16.85327,7],"to":[7.28866,21.10327,9],"rotation":{"angle":-22.5,"axis":"z","origin":[7.68866,18.10327,8]},"faces":{"north":{"uv":[6.25,7,6.5,8.125],"texture":"#1"},"east":{"uv":[2,7,2.5,8.125],"texture":"#1"},"south":{"uv":[5.5,7.5,5.75,8.625],"texture":"#1"},"west":{"uv":[2.5,7,3,8.125],"texture":"#1"},"up":{"uv":[8.25,5.5,8,5],"texture":"#1"},"down":{"uv":[8.25,6,8,6.5],"texture":"#1"}}},{"from":[8.70934,16.85127,6.998],"to":[9.56334,21.10527,9.002],"rotation":{"angle":22.5,"axis":"z","origin":[8.31134,18.10327,8]},"faces":{"north":{"uv":[5.75,7.5,6,8.625],"texture":"#1"},"east":{"uv":[3,7,3.5,8.125],"texture":"#1"},"south":{"uv":[6,7.5,6.25,8.625],"texture":"#1"},"west":{"uv":[3.5,7,4,8.125],"texture":"#1"},"up":{"uv":[8.25,7,8,6.5],"texture":"#1"},"down":{"uv":[8.25,7,8,7.5],"texture":"#1"}}},{"from":[7,10,7],"to":[9,13,9],"rotation":{"angle":0,"axis":"y","origin":[7,-5,7]},"faces":{"north":{"uv":[7,3.5,7.5,4.25],"texture":"#1"},"east":{"uv":[4,7,4.5,7.75],"texture":"#1"},"south":{"uv":[7,4.25,7.5,5],"texture":"#1"},"west":{"uv":[4.5,7,5,7.75],"texture":"#1"},"up":{"uv":[8,7.25,7.5,6.75],"texture":"#1"},"down":{"uv":[8,7.25,7.5,7.75],"texture":"#1"}}},{"from":[6.998,-4.502,6.998],"to":[9.002,-1.998,9.002],"rotation":{"angle":0,"axis":"y","origin":[7,-5,7]},"faces":{"north":{"uv":[7,6.25,7.5,6.875],"texture":"#1"},"east":{"uv":[7,7,7.5,7.625],"texture":"#1"},"south":{"uv":[7.5,3.5,8,4.125],"texture":"#1"},"west":{"uv":[7.5,4.25,8,4.875],"texture":"#1"},"up":{"uv":[8,5.5,7.5,5],"texture":"#1"},"down":{"uv":[8,6.25,7.5,6.75],"texture":"#1"}}},{"from":[4,-8.5,8],"to":[12,-2,8],"rotation":{"angle":0,"axis":"y","origin":[7,-5,8]},"faces":{"north":{"uv":[6.5,0,8.5,1.625],"texture":"#1"},"east":{"uv":[0,0,0,1.625],"texture":"#1"},"south":{"uv":[6.5,1.75,8.5,3.375],"texture":"#1"},"west":{"uv":[0,0,0,1.625],"texture":"#1"},"up":{"uv":[2,0,0,0],"texture":"#1"},"down":{"uv":[2,0,0,0],"texture":"#1"}}},{"from":[7.00901,-5.57322,7],"to":[8.40901,-4.17322,9],"rotation":{"angle":45,"axis":"z","origin":[7.40901,-4.32322,8]},"faces":{"north":{"uv":[7.5,7.75,7.875,8.125],"texture":"#1"},"east":{"uv":[0.5,7.75,1,8.125],"texture":"#1"},"south":{"uv":[8,3.5,8.375,3.875],"texture":"#1"},"west":{"uv":[1,7.75,1.5,8.125],"texture":"#1"},"up":{"uv":[1.875,8.25,1.5,7.75],"texture":"#1"},"down":{"uv":[4.375,7.75,4,8.25],"texture":"#1"}}},{"from":[9.83744,-1.90165,7],"to":[11.23744,-0.50165,9],"rotation":{"angle":45,"axis":"z","origin":[10.23744,-4.65165,8]},"faces":{"north":{"uv":[8,4,8.375,4.375],"texture":"#1"},"east":{"uv":[4.5,7.75,5,8.125],"texture":"#1"},"south":{"uv":[8,4.5,8.375,4.875],"texture":"#1"},"west":{"uv":[5,7.75,5.5,8.125],"texture":"#1"},"up":{"uv":[8.125,6,7.75,5.5],"texture":"#1"},"down":{"uv":[7.375,7.75,7,8.25],"texture":"#1"}}},{"from":[-7,9,8],"to":[19,23,8],"rotation":{"angle":0,"axis":"y","origin":[7,0,8]},"faces":{"north":{"uv":[0,0,6.5,3.5],"texture":"#1"},"east":{"uv":[0,0,0,3.5],"texture":"#1"},"south":{"uv":[0,3.5,6.5,7],"texture":"#1"},"west":{"uv":[0,0,0,3.5],"texture":"#1"},"up":{"uv":[6.5,0,0,0],"texture":"#1"},"down":{"uv":[6.5,0,0,0],"texture":"#1"}}}],"gui_light":"front","display":{"thirdperson_righthand":{"rotation":[0,-90,0],"translation":[0,2.75,1.25]},"thirdperson_lefthand":{"rotation":[0,90,0],"translation":[0,2.75,1.25]},"firstperson_righthand":{"rotation":[-14.38,-74.03,-14.56],"translation":[-1,-1,0],"scale":[0.87,0.87,0.87]},"firstperson_lefthand":{"rotation":[137.7,84.21,-138.54],"translation":[-1,-1,0],"scale":[0.87,0.87,0.87]},"ground":{"translation":[0,8.75,0],"scale":[0.79,0.79,0.79]},"gui":{"rotation":[0,0,-45],"translation":[-0.5,-1.25,0],"scale":[0.56,0.56,0.56]},"head":{"scale":[0,0,0]},"fixed":{"translation":[0,0,-2],"scale":[0.75,0.75,0.75]}}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "black_iron:item/black_iron_ore"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"credit":"MadewithBlockbench","texture_size":[64,64],"textures":{"1":"ec_forgenfire:forgenfire_default_weapons/black_iron_pickaxe"},"elements":[{"from":[7.5,-2,7.5],"to":[8.5,20.25,8.5],"rotation":{"angle":0,"axis":"y","origin":[7,-5,7]},"faces":{"north":{"uv":[6.5,3.5,6.75,9.125],"texture":"#1"},"east":{"uv":[6.75,3.5,7,9.125],"texture":"#1"},"south":{"uv":[7,3.5,7.25,9.125],"texture":"#1"},"west":{"uv":[7.25,3.5,7.5,9.125],"texture":"#1"},"up":{"uv":[8.75,3.5,8.5,3.25],"texture":"#1"},"down":{"uv":[9,4.75,8.75,5],"texture":"#1"}}},{"from":[6.496,15.996,6.996],"to":[9.254,18.754,9.004],"rotation":{"angle":-45,"axis":"z","origin":[8,17.25,8]},"faces":{"north":{"uv":[7.5,3.5,8.25,4.25],"texture":"#1"},"east":{"uv":[8.25,4.25,8.75,5],"texture":"#1"},"south":{"uv":[7.5,4.25,8.25,5],"texture":"#1"},"west":{"uv":[8.5,0,9,0.75],"texture":"#1"},"up":{"uv":[9.25,1.25,8.5,0.75],"texture":"#1"},"down":{"uv":[9.25,1.25,8.5,1.75],"texture":"#1"}}},{"from":[6.43866,16.85327,7],"to":[7.28866,21.10327,9],"rotation":{"angle":-22.5,"axis":"z","origin":[7.68866,18.10327,8]},"faces":{"north":{"uv":[8.5,6.5,8.75,7.625],"texture":"#1"},"east":{"uv":[7.5,5,8,6.125],"texture":"#1"},"south":{"uv":[8.5,7.75,8.75,8.875],"texture":"#1"},"west":{"uv":[7.5,6.25,8,7.375],"texture":"#1"},"up":{"uv":[9.25,2.75,9,2.25],"texture":"#1"},"down":{"uv":[2.75,9,2.5,9.5],"texture":"#1"}}},{"from":[8.70934,16.85127,6.998],"to":[9.56334,21.10527,9.002],"rotation":{"angle":22.5,"axis":"z","origin":[8.31134,18.10327,8]},"faces":{"north":{"uv":[8,8.5,8.25,9.625],"texture":"#1"},"east":{"uv":[7.5,7.5,8,8.625],"texture":"#1"},"south":{"uv":[8.25,8.5,8.5,9.625],"texture":"#1"},"west":{"uv":[8,5,8.5,6.125],"texture":"#1"},"up":{"uv":[3,9.5,2.75,9],"texture":"#1"},"down":{"uv":[9.25,2.75,9,3.25],"texture":"#1"}}},{"from":[7,10,7],"to":[9,13,9],"rotation":{"angle":0,"axis":"y","origin":[7,-5,7]},"faces":{"north":{"uv":[8,6.25,8.5,7],"texture":"#1"},"east":{"uv":[8,7,8.5,7.75],"texture":"#1"},"south":{"uv":[8,7.75,8.5,8.5],"texture":"#1"},"west":{"uv":[8.25,3.5,8.75,4.25],"texture":"#1"},"up":{"uv":[9.25,4.75,8.75,4.25],"texture":"#1"},"down":{"uv":[9.25,6.5,8.75,7],"texture":"#1"}}},{"from":[6.998,-4.502,6.998],"to":[9.002,-1.998,9.002],"rotation":{"angle":0,"axis":"y","origin":[7,-5,7]},"faces":{"north":{"uv":[8.5,1.75,9,2.375],"texture":"#1"},"east":{"uv":[8.5,2.5,9,3.125],"texture":"#1"},"south":{"uv":[8.5,5,9,5.625],"texture":"#1"},"west":{"uv":[8.5,5.75,9,6.375],"texture":"#1"},"up":{"uv":[9.25,3.75,8.75,3.25],"texture":"#1"},"down":{"uv":[9.25,3.75,8.75,4.25],"texture":"#1"}}},{"from":[4,-8.5,8],"to":[12,-2,8],"rotation":{"angle":0,"axis":"y","origin":[7,-5,8]},"faces":{"north":{"uv":[6.5,0,8.5,1.625],"texture":"#1"},"east":{"uv":[0,0,0,1.625],"texture":"#1"},"south":{"uv":[6.5,1.75,8.5,3.375],"texture":"#1"},"west":{"uv":[0,0,0,1.625],"texture":"#1"},"up":{"uv":[2,0,0,0],"texture":"#1"},"down":{"uv":[2,0,0,0],"texture":"#1"}}},{"from":[7.00901,-5.57322,7],"to":[8.40901,-4.17322,9],"rotation":{"angle":45,"axis":"z","origin":[7.40901,-4.32322,8]},"faces":{"north":{"uv":[1,9,1.375,9.375],"texture":"#1"},"east":{"uv":[8.75,7,9.25,7.375],"texture":"#1"},"south":{"uv":[1.5,9,1.875,9.375],"texture":"#1"},"west":{"uv":[7.5,8.75,8,9.125],"texture":"#1"},"up":{"uv":[9.125,8,8.75,7.5],"texture":"#1"},"down":{"uv":[9.125,8,8.75,8.5],"texture":"#1"}}},{"from":[9.83744,-1.90165,7],"to":[11.23744,-0.50165,9],"rotation":{"angle":45,"axis":"z","origin":[10.23744,-4.65165,8]},"faces":{"north":{"uv":[9,1.75,9.375,2.125],"texture":"#1"},"east":{"uv":[8.75,8.5,9.25,8.875],"texture":"#1"},"south":{"uv":[2,9,2.375,9.375],"texture":"#1"},"west":{"uv":[0,9,0.5,9.375],"texture":"#1"},"up":{"uv":[9.375,0.5,9,0],"texture":"#1"},"down":{"uv":[0.875,9,0.5,9.5],"texture":"#1"}}},{"from":[-5,8,8],"to":[21,26,8],"rotation":{"angle":0,"axis":"y","origin":[7,0,8]},"faces":{"north":{"uv":[0,0,6.5,4.5],"texture":"#1"},"east":{"uv":[0,0,0,4.5],"texture":"#1"},"south":{"uv":[0,4.5,6.5,9],"texture":"#1"},"west":{"uv":[0,0,0,4.5],"texture":"#1"},"up":{"uv":[6.5,0,0,0],"texture":"#1"},"down":{"uv":[6.5,0,0,0],"texture":"#1"}}}],"gui_light":"front","display":{"thirdperson_righthand":{"rotation":[0,-90,0],"translation":[0,2.5,1]},"thirdperson_lefthand":{"rotation":[0,-90,0],"translation":[0,2.5,1]},"firstperson_righthand":{"rotation":[-29.33,-81.97,-29.83],"translation":[0,-1,0]},"firstperson_lefthand":{"rotation":[-29.33,-81.97,-29.83],"translation":[0,-1,0]},"ground":{"translation":[0,8.75,0],"scale":[0.79,0.79,0.79]},"gui":{"rotation":[0,0,-45],"translation":[-1.25,-1.5,0],"scale":[0.51,0.51,0.51]},"head":{"scale":[0,0,0]},"fixed":{"translation":[0,0,-2]}}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "black_iron:item/black_iron_raw"
}
}
136 changes: 136 additions & 0 deletions src/main/resources/assets/black_iron/models/item/black_iron_sword.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
{
"credit": "MadewithBlockbench",
"texture_size": [32, 32],
"textures": {
"0": "black_iron:item/black_iron_sword",
"particle": "black_iron:item/black_iron_sword"
},
"elements": [
{
"from": [7.5, 2, 7.5],
"to": [8.5, 8.25, 8.5],
"rotation": {"angle": 0, "axis": "y", "origin": [7, -5, 7]},
"faces": {
"north": {"uv": [8, 10.5, 8.5, 13.75], "texture": "#0"},
"east": {"uv": [8.5, 10.5, 9, 13.75], "texture": "#0"},
"south": {"uv": [9, 10.5, 9.5, 13.75], "texture": "#0"},
"west": {"uv": [9.5, 10.5, 10, 13.75], "texture": "#0"},
"up": {"uv": [12.5, 9, 12, 8.5], "texture": "#0"},
"down": {"uv": [12.5, 9, 12, 9.5], "texture": "#0"}
}
},
{
"from": [8.26693, 7.32717, 7.5],
"to": [11.26693, 8.32717, 8.5],
"rotation": {"angle": -22.5, "axis": "z", "origin": [9.26693, 8.57717, 8]},
"faces": {
"north": {"uv": [11, 11, 12.5, 11.5], "texture": "#0"},
"east": {"uv": [12, 9.5, 12.5, 10], "texture": "#0"},
"south": {"uv": [10, 11.5, 11.5, 12], "texture": "#0"},
"west": {"uv": [10, 12, 10.5, 12.5], "texture": "#0"},
"up": {"uv": [13, 12, 11.5, 11.5], "texture": "#0"},
"down": {"uv": [13.5, 0, 12, 0.5], "texture": "#0"}
}
},
{
"from": [8.69186, 8.39292, 7.5],
"to": [11.69186, 9.39292, 8.5],
"rotation": {"angle": 22.5, "axis": "z", "origin": [9.44186, 7.69292, 8]},
"faces": {
"north": {"uv": [12, 0.5, 13.5, 1], "texture": "#0"},
"east": {"uv": [12, 10, 12.5, 10.5], "texture": "#0"},
"south": {"uv": [12, 1, 13.5, 1.5], "texture": "#0"},
"west": {"uv": [10.5, 12, 11, 12.5], "texture": "#0"},
"up": {"uv": [13.5, 2, 12, 1.5], "texture": "#0"},
"down": {"uv": [13.5, 2, 12, 2.5], "texture": "#0"}
}
},
{
"from": [8.08847, 8.68269, 7.5],
"to": [9.08847, 10.93269, 8.5],
"rotation": {"angle": -22.5, "axis": "z", "origin": [8.58847, 9.80769, 8]},
"faces": {
"north": {"uv": [12, 2.5, 12.5, 3.75], "texture": "#0"},
"east": {"uv": [12, 4, 12.5, 5.25], "texture": "#0"},
"south": {"uv": [12, 5.5, 12.5, 6.75], "texture": "#0"},
"west": {"uv": [12, 7, 12.5, 8.25], "texture": "#0"},
"up": {"uv": [12.5, 11, 12, 10.5], "texture": "#0"},
"down": {"uv": [11.5, 12, 11, 12.5], "texture": "#0"}
}
},
{
"from": [11.04185, -2.15165, 7],
"to": [12.94185, -0.25165, 9],
"rotation": {"angle": 45, "axis": "z", "origin": [6.69185, -4.65165, 8]},
"faces": {
"north": {"uv": [10, 10.5, 11, 11.5], "texture": "#0"},
"east": {"uv": [11, 0, 12, 1], "texture": "#0"},
"south": {"uv": [11, 1, 12, 2], "texture": "#0"},
"west": {"uv": [11, 2, 12, 3], "texture": "#0"},
"up": {"uv": [12, 4, 11, 3], "texture": "#0"},
"down": {"uv": [12, 4, 11, 5], "texture": "#0"}
}
},
{
"from": [16.04185, 2.84835, 7],
"to": [17.94185, 4.74835, 9],
"rotation": {"angle": 45, "axis": "z", "origin": [6.69185, -4.65165, 8]},
"faces": {
"north": {"uv": [11, 5, 12, 6], "texture": "#0"},
"east": {"uv": [11, 6, 12, 7], "texture": "#0"},
"south": {"uv": [11, 7, 12, 8], "texture": "#0"},
"west": {"uv": [11, 8, 12, 9], "texture": "#0"},
"up": {"uv": [12, 10, 11, 9], "texture": "#0"},
"down": {"uv": [12, 10, 11, 11], "texture": "#0"}
}
},
{
"from": [2.05, 6.27792, 8],
"to": [12.95, 26.67792, 8],
"rotation": {"angle": 0, "axis": "z", "origin": [8, 10.72792, 8]},
"faces": {
"north": {"uv": [0, 0, 5.5, 10.25], "texture": "#0"},
"east": {"uv": [0, 0, 0, 10.25], "texture": "#0"},
"south": {"uv": [5.5, 0, 11, 10.25], "texture": "#0"},
"west": {"uv": [0, 0, 0, 10.25], "texture": "#0"},
"up": {"uv": [5.5, 0, 0, 0], "texture": "#0"},
"down": {"uv": [5.5, 0, 0, 0], "texture": "#0"}
}
}
],
"gui_light": "front",
"display": {
"thirdperson_righthand": {
"rotation": [0, -90, 0],
"translation": [0, 1.5, 2],
"scale": [1.18, 1.72, 1.47]
},
"thirdperson_lefthand": {
"rotation": [0, 90, 0],
"translation": [0, 1.5, 2],
"scale": [1.18, 1.72, 1.2]
},
"firstperson_righthand": {
"rotation": [-131.81, -84.5, -131.59],
"translation": [1.5, 2.5, 0]
},
"firstperson_lefthand": {
"rotation": [-3.73, 91.83, 7.2],
"translation": [1.5, 2.5, 0]
},
"ground": {
"translation": [0, 6, 0]
},
"gui": {
"rotation": [-180, 0, -137.5],
"translation": [-3, -3.5, 0],
"scale": [0.75, 0.75, 0.75]
},
"head": {
"scale": [0, 0, 0]
},
"fixed": {
"translation": [0, -5, -2.75]
}
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 844bc4b

Please sign in to comment.