Add gilded wood

This commit is contained in:
Electroblob77
2020-03-01 13:04:15 +00:00
parent 3a571fd239
commit 3f80c56163
43 changed files with 867 additions and 15 deletions
@@ -0,0 +1,13 @@
package electroblob.wizardry.block;
import electroblob.wizardry.registry.WizardryTabs;
import net.minecraft.block.BlockPlanks;
public class BlockGildedWood extends BlockPlanks {
public BlockGildedWood(){
super();
this.setCreativeTab(WizardryTabs.WIZARDRY);
}
}
@@ -5,10 +5,11 @@ import electroblob.wizardry.block.BlockCrystal;
import electroblob.wizardry.block.BlockPedestal;
import electroblob.wizardry.block.BlockRunestone;
import electroblob.wizardry.item.IMultiTexturedItem;
import electroblob.wizardry.item.ItemBlockMultiTexturedElemental;
import electroblob.wizardry.item.ItemBlockMultiTextured;
import electroblob.wizardry.item.ItemCrystal;
import electroblob.wizardry.registry.WizardryBlocks;
import electroblob.wizardry.registry.WizardryItems;
import net.minecraft.block.BlockPlanks;
import net.minecraft.client.renderer.block.model.IBakedModel;
import net.minecraft.client.renderer.block.model.ModelBakery;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
@@ -50,19 +51,24 @@ public final class WizardryModels {
ModelLoader.setCustomStateMapper(WizardryBlocks.crystal_block, new StateMap.Builder()
.withName(BlockCrystal.ELEMENT).withSuffix("_crystal_block").build());
// Yay unchecked casting! But we know it's always ok here, and it makes everything much neater.
ItemBlockMultiTexturedElemental crystalBlockItem = (ItemBlockMultiTexturedElemental)Item.getItemFromBlock(WizardryBlocks.crystal_block);
ItemBlockMultiTextured crystalBlockItem = (ItemBlockMultiTextured)Item.getItemFromBlock(WizardryBlocks.crystal_block);
registerMultiTexturedModel(crystalBlockItem);
ModelLoader.setCustomStateMapper(WizardryBlocks.runestone, new StateMap.Builder()
.withName(BlockRunestone.ELEMENT).withSuffix("_runestone").build());
ItemBlockMultiTexturedElemental runestoneItem = (ItemBlockMultiTexturedElemental)Item.getItemFromBlock(WizardryBlocks.runestone);
ItemBlockMultiTextured runestoneItem = (ItemBlockMultiTextured)Item.getItemFromBlock(WizardryBlocks.runestone);
registerMultiTexturedModel(runestoneItem);
ModelLoader.setCustomStateMapper(WizardryBlocks.runestone_pedestal, new StateMap.Builder()
.withName(BlockPedestal.ELEMENT).ignore(BlockPedestal.NATURAL).withSuffix("_runestone_pedestal").build()); // Don't care about NATURAL property
ItemBlockMultiTexturedElemental pedestalItem = (ItemBlockMultiTexturedElemental)Item.getItemFromBlock(WizardryBlocks.runestone_pedestal);
ItemBlockMultiTextured pedestalItem = (ItemBlockMultiTextured)Item.getItemFromBlock(WizardryBlocks.runestone_pedestal);
registerMultiTexturedModel(pedestalItem);
ModelLoader.setCustomStateMapper(WizardryBlocks.gilded_wood, new StateMap.Builder()
.withName(BlockPlanks.VARIANT).withSuffix("_gilded_wood").build());
ItemBlockMultiTextured gildedWoodItem = (ItemBlockMultiTextured)Item.getItemFromBlock(WizardryBlocks.gilded_wood);
registerMultiTexturedModel(gildedWoodItem);
// Items
registerMultiTexturedModel((ItemCrystal)WizardryItems.magic_crystal);
@@ -9,7 +9,7 @@ import net.minecraft.util.ResourceLocation;
* convenience method {@link electroblob.wizardry.client.model.WizardryModels#registerMultiTexturedModel(Item) WizardryModels.registerMultiTexturedModel(T)}. Also works well for {@code ItemBlock}s!
* @author Electroblob
* @since Wizardry 4.2
* @see ItemBlockMultiTexturedElemental
* @see ItemBlockMultiTextured
*/
public interface IMultiTexturedItem {
@@ -1,32 +1,33 @@
package electroblob.wizardry.item;
import electroblob.wizardry.constants.Element;
import net.minecraft.block.Block;
import net.minecraft.item.ItemBlock;
import net.minecraft.item.ItemStack;
import net.minecraft.util.ResourceLocation;
public class ItemBlockMultiTexturedElemental extends ItemBlock implements IMultiTexturedItem {
public class ItemBlockMultiTextured extends ItemBlock implements IMultiTexturedItem {
private final boolean separateNames;
private final String[] prefixes;
public ItemBlockMultiTexturedElemental(Block block, boolean separateNames){
public ItemBlockMultiTextured(Block block, boolean separateNames, String... prefixes){
super(block);
this.setHasSubtypes(true);
this.setMaxDamage(0);
this.separateNames = separateNames;
this.prefixes = prefixes;
}
@Override
public ResourceLocation getModelName(ItemStack stack){
int metadata = stack.getMetadata();
if(metadata >= Element.values().length) metadata = 0;
if(metadata >= prefixes.length) metadata = 0;
return getModelName(metadata);
}
public ResourceLocation getModelName(int metadata){
return new ResourceLocation(this.block.getRegistryName().getNamespace(),
Element.values()[metadata].getName() + "_" + this.block.getRegistryName().getPath());
prefixes[metadata] + "_" + this.block.getRegistryName().getPath());
}
@Override
@@ -4,6 +4,7 @@ import electroblob.wizardry.Wizardry;
import electroblob.wizardry.block.*;
import electroblob.wizardry.tileentity.*;
import net.minecraft.block.Block;
import net.minecraft.block.BlockPlanks;
import net.minecraft.block.material.Material;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.event.RegistryEvent;
@@ -56,6 +57,7 @@ public final class WizardryBlocks {
public static final Block thorns = placeholder();
public static final Block obsidian_crust = placeholder();
public static final Block dry_frosted_ice = placeholder();
public static final Block gilded_wood = placeholder();
/**
* Sets both the registry and unlocalised names of the given block, then registers it with the given registry. Use
@@ -95,6 +97,7 @@ public final class WizardryBlocks {
registerBlock(registry, "thorns", new BlockThorns());
registerBlock(registry, "obsidian_crust", new BlockObsidianCrust());
registerBlock(registry, "dry_frosted_ice", new BlockDryFrostedIce());
registerBlock(registry, "gilded_wood", new BlockPlanks());
}
@@ -13,6 +13,7 @@ import electroblob.wizardry.registry.WizardryTabs.CreativeTabListed;
import electroblob.wizardry.registry.WizardryTabs.CreativeTabSorted;
import net.minecraft.block.Block;
import net.minecraft.block.BlockDispenser;
import net.minecraft.block.BlockPlanks;
import net.minecraft.dispenser.BehaviorProjectileDispense;
import net.minecraft.dispenser.IPosition;
import net.minecraft.entity.IProjectile;
@@ -35,6 +36,7 @@ import org.apache.commons.lang3.tuple.ImmutablePair;
import org.apache.commons.lang3.tuple.Pair;
import javax.annotation.Nonnull;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
@@ -366,9 +368,9 @@ public final class WizardryItems {
}
}
private static void registerMultiTexturedItemBlock(IForgeRegistry<Item> registry, Block block, boolean separateNames){
private static void registerMultiTexturedItemBlock(IForgeRegistry<Item> registry, Block block, boolean separateNames, String... prefixes){
// We don't need to keep a reference to the ItemBlock
Item itemblock = new ItemBlockMultiTexturedElemental(block, separateNames).setRegistryName(block.getRegistryName());
Item itemblock = new ItemBlockMultiTextured(block, separateNames, prefixes).setRegistryName(block.getRegistryName());
registry.register(itemblock);
if(block.getCreativeTab() instanceof CreativeTabListed){
@@ -389,9 +391,14 @@ public final class WizardryItems {
registerItemBlock(registry, WizardryBlocks.crystal_ore);
registerItemBlock(registry, WizardryBlocks.crystal_flower);
registerItemBlock(registry, WizardryBlocks.transportation_stone);
registerMultiTexturedItemBlock(registry, WizardryBlocks.crystal_block, true);
registerMultiTexturedItemBlock(registry, WizardryBlocks.runestone, false);
registerMultiTexturedItemBlock(registry, WizardryBlocks.runestone_pedestal, false);
String[] elements = Arrays.stream(Element.values()).map(Element::getName).toArray(String[]::new);
String[] woodTypes = Arrays.stream(BlockPlanks.EnumType.values()).map(BlockPlanks.EnumType::getName).toArray(String[]::new);
registerMultiTexturedItemBlock(registry, WizardryBlocks.crystal_block, true, elements);
registerMultiTexturedItemBlock(registry, WizardryBlocks.runestone, false, elements);
registerMultiTexturedItemBlock(registry, WizardryBlocks.runestone_pedestal, false, elements);
registerMultiTexturedItemBlock(registry, WizardryBlocks.gilded_wood, true, woodTypes);
// Items
@@ -0,0 +1,6 @@
{
"forge_marker": 1,
"variants": {
"normal": { "model": "ebwizardry:gilded_acacia_wood" }
}
}
@@ -0,0 +1,6 @@
{
"forge_marker": 1,
"variants": {
"normal": { "model": "ebwizardry:gilded_birch_wood" }
}
}
@@ -0,0 +1,6 @@
{
"forge_marker": 1,
"variants": {
"normal": { "model": "ebwizardry:gilded_dark_oak_wood" }
}
}
@@ -0,0 +1,6 @@
{
"forge_marker": 1,
"variants": {
"normal": { "model": "ebwizardry:gilded_jungle_wood" }
}
}
@@ -0,0 +1,6 @@
{
"forge_marker": 1,
"variants": {
"normal": { "model": "ebwizardry:gilded_oak_wood" }
}
}
@@ -0,0 +1,6 @@
{
"forge_marker": 1,
"variants": {
"normal": { "model": "ebwizardry:gilded_spruce_wood" }
}
}
@@ -26,6 +26,13 @@ tile.ebwizardry\:earth_crystal_block.name=Block of Verdant Crystal
tile.ebwizardry\:sorcery_crystal_block.name=Block of Mystical Crystal
tile.ebwizardry\:healing_crystal_block.name=Block of Radiant Crystal
tile.ebwizardry\:oak_gilded_wood.name=Gilded Oak Wood
tile.ebwizardry\:spruce_gilded_wood.name=Gilded Spruce Wood
tile.ebwizardry\:birch_gilded_wood.name=Gilded Birch Wood
tile.ebwizardry\:jungle_gilded_wood.name=Gilded Jungle Wood
tile.ebwizardry\:dark_oak_gilded_wood.name=Gilded Dark Oak Wood
tile.ebwizardry\:acacia_gilded_wood.name=Gilded Acacia Wood
item.ebwizardry\:crystal_magic.name=Magic Crystal
item.ebwizardry\:crystal_fire.name=Fiery Crystal
item.ebwizardry\:crystal_ice.name=Icy Crystal
@@ -26,6 +26,13 @@ tile.ebwizardry\:earth_crystal_block.name=Block of Verdant Crystal
tile.ebwizardry\:sorcery_crystal_block.name=Block of Mystical Crystal
tile.ebwizardry\:healing_crystal_block.name=Block of Radiant Crystal
tile.ebwizardry\:oak_gilded_wood.name=Gilded Oak Wood
tile.ebwizardry\:spruce_gilded_wood.name=Gilded Spruce Wood
tile.ebwizardry\:birch_gilded_wood.name=Gilded Birch Wood
tile.ebwizardry\:jungle_gilded_wood.name=Gilded Jungle Wood
tile.ebwizardry\:dark_oak_gilded_wood.name=Gilded Dark Oak Wood
tile.ebwizardry\:acacia_gilded_wood.name=Gilded Acacia Wood
item.ebwizardry\:crystal_magic.name=Magic Crystal
item.ebwizardry\:crystal_fire.name=Fiery Crystal
item.ebwizardry\:crystal_ice.name=Icy Crystal
@@ -0,0 +1,580 @@
{
"credit": "Made with Blockbench",
"parent": "block/block",
"textures": {
"books": "ebwizardry:blocks/books",
"particle": "ebwizardry:blocks/spruce_bookshelf_side",
"side": "ebwizardry:blocks/spruce_bookshelf_side",
"inside": "ebwizardry:blocks/spruce_bookshelf_inside",
"top": "ebwizardry:blocks/spruce_bookshelf_top"
},
"elements": [
{
"name": "backboard",
"from": [1, 1, 7],
"to": [15, 15, 9],
"faces": {
"north": {"uv": [1, 1, 15, 15], "texture": "#inside"},
"south": {"uv": [1, 1, 15, 15], "texture": "#inside"}
}
},
{
"name": "base",
"from": [0, 0, 0],
"to": [16, 1, 16],
"faces": {
"north": {"uv": [0, 15, 16, 16], "texture": "#side", "cullface": "north"},
"east": {"uv": [0, 15, 16, 16], "texture": "#side", "cullface": "east"},
"south": {"uv": [0, 15, 16, 16], "texture": "#side", "cullface": "south"},
"west": {"uv": [0, 15, 16, 16], "texture": "#side", "cullface": "west"},
"up": {"uv": [0, 0, 16, 16], "texture": "#inside", "cullface": "up"},
"down": {"uv": [0, 0, 16, 16], "texture": "#top", "cullface": "down"}
}
},
{
"name": "side_west",
"from": [0, 1, 0],
"to": [1, 15, 16],
"faces": {
"north": {"uv": [15, 1, 16, 15], "texture": "#side", "cullface": "north"},
"east": {"uv": [0, 1, 16, 15], "texture": "#inside"},
"south": {"uv": [0, 1, 1, 15], "texture": "#side", "cullface": "south"},
"west": {"uv": [0, 1, 16, 15], "texture": "#side", "cullface": "west"}
}
},
{
"name": "side_east",
"from": [15, 1, 0],
"to": [16, 15, 16],
"faces": {
"north": {"uv": [0, 1, 1, 15], "texture": "#side", "cullface": "north"},
"east": {"uv": [0, 1, 16, 15], "texture": "#side", "cullface": "east"},
"south": {"uv": [15, 1, 16, 15], "texture": "#side", "cullface": "south"},
"west": {"uv": [0, 1, 16, 15], "texture": "#inside", "cullface": "west"}
}
},
{
"name": "top",
"from": [0, 15, 0],
"to": [16, 16, 16],
"faces": {
"north": {"uv": [0, 0, 16, 1], "texture": "#side", "cullface": "north"},
"east": {"uv": [0, 0, 16, 1], "texture": "#side", "cullface": "east"},
"south": {"uv": [0, 0, 16, 1], "texture": "#side", "cullface": "south"},
"west": {"uv": [0, 0, 16, 1], "texture": "#side", "cullface": "west"},
"up": {"uv": [0, 0, 16, 16], "texture": "#top", "cullface": "up"},
"down": {"uv": [0, 0, 16, 16], "texture": "#inside"}
}
},
{
"name": "shelf",
"from": [1, 7, 0],
"to": [15, 9, 16],
"faces": {
"north": {"uv": [1, 7, 15, 9], "texture": "#side", "cullface": "north"},
"south": {"uv": [1, 7, 15, 9], "texture": "#side", "cullface": "south"},
"up": {"uv": [1, 0, 15, 16], "texture": "#inside"},
"down": {"uv": [1, 0, 15, 16], "texture": "#inside"}
}
},
{
"name": "cornerUNET",
"from": [14, 14, 0],
"to": [15, 15, 1],
"faces": {
"north": {"uv": [1, 1, 2, 2], "texture": "#side", "cullface": "north"},
"south": {"uv": [1, 1, 2, 2], "texture": "#side"},
"west": {"uv": [1, 1, 2, 2], "texture": "#side"},
"down": {"uv": [1, 1, 2, 2], "texture": "#side"}
}
},
{
"name": "cornerUSWT",
"from": [1, 14, 15],
"to": [2, 15, 16],
"faces": {
"north": {"uv": [1, 1, 2, 2], "texture": "#side"},
"east": {"uv": [1, 1, 2, 2], "texture": "#side"},
"south": {"uv": [1, 1, 2, 2], "texture": "#side", "cullface": "south"},
"down": {"uv": [1, 1, 2, 2], "rotation": 180, "texture": "#side"}
}
},
{
"name": "cornerLNET",
"from": [14, 6, 0],
"to": [15, 7, 1],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]},
"faces": {
"north": {"uv": [1, 9, 2, 10], "texture": "#side", "cullface": "north"},
"south": {"uv": [1, 9, 2, 10], "texture": "#side"},
"west": {"uv": [1, 9, 2, 10], "texture": "#side"},
"down": {"uv": [1, 9, 2, 10], "texture": "#side"}
}
},
{
"name": "cornerLSWT",
"from": [1, 6, 15],
"to": [2, 7, 16],
"faces": {
"north": {"uv": [1, 9, 2, 10], "texture": "#side"},
"east": {"uv": [1, 9, 2, 10], "texture": "#side"},
"south": {"uv": [1, 9, 2, 10], "texture": "#side", "cullface": "south"},
"down": {"uv": [1, 9, 2, 10], "rotation": 180, "texture": "#side"}
}
},
{
"name": "cornerUNWT",
"from": [1, 14, 0],
"to": [2, 15, 1],
"faces": {
"north": {"uv": [14, 1, 15, 2], "texture": "#side", "cullface": "north"},
"east": {"uv": [14, 1, 15, 2], "texture": "#side"},
"south": {"uv": [14, 1, 15, 2], "texture": "#side"},
"down": {"uv": [14, 1, 15, 2], "texture": "#side"}
}
},
{
"name": "cornerUSET",
"from": [14, 14, 15],
"to": [15, 15, 16],
"faces": {
"north": {"uv": [14, 1, 15, 2], "texture": "#side"},
"south": {"uv": [14, 1, 15, 2], "texture": "#side", "cullface": "south"},
"west": {"uv": [14, 1, 15, 2], "texture": "#side"},
"down": {"uv": [14, 1, 15, 2], "rotation": 180, "texture": "#side"}
}
},
{
"name": "cornerLNWT",
"from": [1, 6, 0],
"to": [2, 7, 1],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]},
"faces": {
"north": {"uv": [14, 9, 15, 10], "texture": "#side", "cullface": "north"},
"east": {"uv": [14, 9, 15, 10], "texture": "#side"},
"south": {"uv": [14, 9, 15, 10], "texture": "#side"},
"down": {"uv": [14, 9, 15, 10], "texture": "#side"}
}
},
{
"name": "cornerLSET",
"from": [14, 6, 15],
"to": [15, 7, 16],
"faces": {
"north": {"uv": [14, 9, 15, 10], "texture": "#side"},
"south": {"uv": [14, 9, 15, 10], "texture": "#side", "cullface": "south"},
"west": {"uv": [14, 9, 15, 10], "texture": "#side"},
"down": {"uv": [14, 9, 15, 10], "rotation": 180, "texture": "#side"}
}
},
{
"name": "cornerUNEB",
"from": [14, 9, 0],
"to": [15, 10, 1],
"faces": {
"north": {"uv": [1, 6, 2, 7], "texture": "#side", "cullface": "north"},
"south": {"uv": [1, 6, 2, 7], "texture": "#side"},
"west": {"uv": [1, 6, 2, 7], "texture": "#side"},
"up": {"uv": [1, 6, 2, 7], "texture": "#side"}
}
},
{
"name": "cornerUSWB",
"from": [1, 9, 15],
"to": [2, 10, 16],
"faces": {
"north": {"uv": [1, 6, 2, 7], "texture": "#side"},
"east": {"uv": [1, 6, 2, 7], "texture": "#side"},
"south": {"uv": [1, 6, 2, 7], "texture": "#side", "cullface": "south"},
"up": {"uv": [1, 6, 2, 7], "rotation": 180, "texture": "#side"}
}
},
{
"name": "cornerLNEB",
"from": [14, 1, 0],
"to": [15, 2, 1],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]},
"faces": {
"north": {"uv": [1, 14, 2, 15], "texture": "#side", "cullface": "north"},
"south": {"uv": [1, 14, 2, 15], "texture": "#side"},
"west": {"uv": [1, 14, 2, 15], "texture": "#side"},
"up": {"uv": [1, 14, 2, 15], "texture": "#side"}
}
},
{
"name": "cornerLSWB",
"from": [1, 1, 15],
"to": [2, 2, 16],
"faces": {
"north": {"uv": [1, 14, 2, 15], "texture": "#side"},
"east": {"uv": [1, 14, 2, 15], "texture": "#side"},
"south": {"uv": [1, 14, 2, 15], "texture": "#side", "cullface": "south"},
"up": {"uv": [1, 14, 2, 15], "rotation": 180, "texture": "#side"}
}
},
{
"name": "cornerUNWB",
"from": [1, 9, 0],
"to": [2, 10, 1],
"faces": {
"north": {"uv": [14, 6, 15, 7], "texture": "#side", "cullface": "north"},
"east": {"uv": [14, 6, 15, 7], "texture": "#side"},
"south": {"uv": [14, 6, 15, 7], "texture": "#side"},
"up": {"uv": [14, 6, 15, 7], "texture": "#side"}
}
},
{
"name": "cornerUSEB",
"from": [14, 9, 15],
"to": [15, 10, 16],
"faces": {
"north": {"uv": [14, 6, 15, 7], "texture": "#side"},
"south": {"uv": [14, 6, 15, 7], "texture": "#side", "cullface": "south"},
"west": {"uv": [14, 6, 15, 7], "texture": "#side"},
"up": {"uv": [14, 6, 15, 7], "rotation": 180, "texture": "#side"}
}
},
{
"name": "cornerLNWB",
"from": [1, 1, 0],
"to": [2, 2, 1],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]},
"faces": {
"north": {"uv": [14, 14, 15, 15], "texture": "#side", "cullface": "north"},
"east": {"uv": [14, 14, 15, 15], "texture": "#side"},
"south": {"uv": [14, 14, 15, 15], "texture": "#side"},
"up": {"uv": [14, 14, 15, 15], "texture": "#side"}
}
},
{
"name": "cornerLSEB",
"from": [14, 1, 15],
"to": [15, 2, 16],
"faces": {
"north": {"uv": [14, 14, 15, 15], "texture": "#side"},
"south": {"uv": [14, 14, 15, 15], "texture": "#side", "cullface": "south"},
"west": {"uv": [14, 14, 15, 15], "texture": "#side"},
"up": {"uv": [14, 14, 15, 15], "rotation": 180, "texture": "#side"}
}
},
{
"name": "book1",
"from": [13, 9, 2],
"to": [15, 14, 6],
"faces": {
"north": {"uv": [0, 0, 2, 5], "texture": "#books"},
"east": {"uv": [6, 0, 2, 5], "texture": "#books"},
"south": {"uv": [6, 0, 8, 5], "texture": "#books"},
"west": {"uv": [2, 0, 6, 5], "texture": "#books"},
"up": {"uv": [8, 0, 10, 4], "texture": "#books"}
}
},
{
"name": "book1",
"from": [1, 9, 10],
"to": [3, 14, 14],
"faces": {
"north": {"uv": [6, 0, 8, 5], "texture": "#books"},
"east": {"uv": [2, 0, 6, 5], "texture": "#books"},
"south": {"uv": [0, 0, 2, 5], "texture": "#books"},
"west": {"uv": [6, 0, 2, 5], "texture": "#books"},
"up": {"uv": [8, 0, 10, 4], "rotation": 180, "texture": "#books"}
}
},
{
"name": "book2",
"from": [11, 9, 2],
"to": [13, 14, 6],
"faces": {
"north": {"uv": [0, 5, 2, 10], "texture": "#books"},
"east": {"uv": [6, 5, 2, 10], "texture": "#books"},
"south": {"uv": [6, 5, 8, 10], "texture": "#books"},
"west": {"uv": [2, 5, 6, 10], "texture": "#books"},
"up": {"uv": [8, 5, 10, 9], "texture": "#books"}
}
},
{
"name": "book2",
"from": [3, 9, 10],
"to": [5, 14, 14],
"faces": {
"north": {"uv": [6, 5, 8, 10], "texture": "#books"},
"east": {"uv": [2, 5, 6, 10], "texture": "#books"},
"south": {"uv": [0, 5, 2, 10], "texture": "#books"},
"west": {"uv": [6, 5, 2, 10], "texture": "#books"},
"up": {"uv": [8, 5, 10, 9], "rotation": 180, "texture": "#books"}
}
},
{
"name": "book3",
"from": [8, 9, 2],
"to": [10, 14, 6],
"faces": {
"north": {"uv": [0, 10, 2, 15], "texture": "#books"},
"east": {"uv": [6, 10, 2, 15], "texture": "#books"},
"south": {"uv": [6, 10, 8, 15], "texture": "#books"},
"west": {"uv": [2, 10, 6, 15], "texture": "#books"},
"up": {"uv": [8, 10, 10, 14], "texture": "#books"}
}
},
{
"name": "book3",
"from": [6, 9, 10],
"to": [8, 14, 14],
"faces": {
"north": {"uv": [6, 10, 8, 15], "texture": "#books"},
"east": {"uv": [2, 10, 6, 15], "texture": "#books"},
"south": {"uv": [0, 10, 2, 15], "texture": "#books"},
"west": {"uv": [6, 10, 2, 15], "texture": "#books"},
"up": {"uv": [8, 10, 10, 14], "rotation": 180, "texture": "#books"}
}
},
{
"name": "book4",
"from": [5, 9, 2],
"to": [7, 14, 6],
"faces": {
"north": {"uv": [0, 0, 2, 5], "texture": "#books"},
"east": {"uv": [6, 0, 2, 5], "texture": "#books"},
"south": {"uv": [6, 0, 8, 5], "texture": "#books"},
"west": {"uv": [2, 0, 6, 5], "texture": "#books"},
"up": {"uv": [8, 0, 10, 4], "texture": "#books"}
}
},
{
"name": "book4",
"from": [9, 9, 10],
"to": [11, 14, 14],
"faces": {
"north": {"uv": [6, 0, 8, 5], "texture": "#books"},
"east": {"uv": [2, 0, 6, 5], "texture": "#books"},
"south": {"uv": [0, 0, 2, 5], "texture": "#books"},
"west": {"uv": [6, 0, 2, 5], "texture": "#books"},
"up": {"uv": [8, 0, 10, 4], "rotation": 180, "texture": "#books"}
}
},
{
"name": "book5",
"from": [3, 9, 2],
"to": [5, 14, 6],
"faces": {
"north": {"uv": [0, 5, 2, 10], "texture": "#books"},
"east": {"uv": [6, 5, 2, 10], "texture": "#books"},
"south": {"uv": [6, 5, 8, 10], "texture": "#books"},
"west": {"uv": [2, 5, 6, 10], "texture": "#books"},
"up": {"uv": [8, 5, 10, 9], "texture": "#books"}
}
},
{
"name": "book5",
"from": [11, 9, 10],
"to": [13, 14, 14],
"faces": {
"north": {"uv": [6, 5, 8, 10], "texture": "#books"},
"east": {"uv": [2, 5, 6, 10], "texture": "#books"},
"south": {"uv": [0, 5, 2, 10], "texture": "#books"},
"west": {"uv": [6, 5, 2, 10], "texture": "#books"},
"up": {"uv": [8, 5, 10, 9], "rotation": 180, "texture": "#books"}
}
},
{
"name": "book6",
"from": [1, 9, 2],
"to": [3, 14, 6],
"faces": {
"north": {"uv": [0, 5, 2, 10], "texture": "#books"},
"east": {"uv": [6, 5, 2, 10], "texture": "#books"},
"south": {"uv": [6, 5, 8, 10], "texture": "#books"},
"west": {"uv": [2, 5, 6, 10], "texture": "#books"},
"up": {"uv": [8, 5, 10, 9], "texture": "#books"}
}
},
{
"name": "book6",
"from": [13, 9, 10],
"to": [15, 14, 14],
"faces": {
"north": {"uv": [6, 5, 8, 10], "texture": "#books"},
"east": {"uv": [2, 5, 6, 10], "texture": "#books"},
"south": {"uv": [0, 5, 2, 10], "texture": "#books"},
"west": {"uv": [6, 5, 2, 10], "texture": "#books"},
"up": {"uv": [8, 5, 10, 9], "rotation": 180, "texture": "#books"}
}
},
{
"name": "book7",
"from": [13, 1, 2],
"to": [15, 6, 6],
"faces": {
"north": {"uv": [0, 10, 2, 15], "texture": "#books"},
"east": {"uv": [6, 10, 2, 15], "texture": "#books"},
"south": {"uv": [6, 10, 8, 15], "texture": "#books"},
"west": {"uv": [2, 10, 6, 15], "texture": "#books"},
"up": {"uv": [8, 10, 10, 14], "texture": "#books"}
}
},
{
"name": "book7",
"from": [1, 1, 10],
"to": [3, 6, 14],
"faces": {
"north": {"uv": [6, 10, 8, 15], "texture": "#books"},
"east": {"uv": [2, 10, 6, 15], "texture": "#books"},
"south": {"uv": [0, 10, 2, 15], "texture": "#books"},
"west": {"uv": [6, 10, 2, 15], "texture": "#books"},
"up": {"uv": [8, 10, 10, 14], "rotation": 180, "texture": "#books"}
}
},
{
"name": "book8",
"from": [11, 1, 2],
"to": [13, 6, 6],
"faces": {
"north": {"uv": [0, 5, 2, 10], "texture": "#books"},
"east": {"uv": [6, 5, 2, 10], "texture": "#books"},
"south": {"uv": [6, 5, 8, 10], "texture": "#books"},
"west": {"uv": [2, 5, 6, 10], "texture": "#books"},
"up": {"uv": [8, 5, 10, 9], "texture": "#books"}
}
},
{
"name": "book8",
"from": [3, 1, 10],
"to": [5, 6, 14],
"faces": {
"north": {"uv": [6, 5, 8, 10], "texture": "#books"},
"east": {"uv": [2, 5, 6, 10], "texture": "#books"},
"south": {"uv": [0, 5, 2, 10], "texture": "#books"},
"west": {"uv": [6, 5, 2, 10], "texture": "#books"},
"up": {"uv": [8, 5, 10, 9], "rotation": 180, "texture": "#books"}
}
},
{
"name": "book9",
"from": [9, 1, 2],
"to": [11, 6, 6],
"faces": {
"north": {"uv": [0, 5, 2, 10], "texture": "#books"},
"east": {"uv": [6, 5, 2, 10], "texture": "#books"},
"south": {"uv": [6, 5, 8, 10], "texture": "#books"},
"west": {"uv": [2, 5, 6, 10], "texture": "#books"},
"up": {"uv": [8, 5, 10, 9], "texture": "#books"}
}
},
{
"name": "book9",
"from": [5, 1, 10],
"to": [7, 6, 14],
"faces": {
"north": {"uv": [6, 5, 8, 10], "texture": "#books"},
"east": {"uv": [2, 5, 6, 10], "texture": "#books"},
"south": {"uv": [0, 5, 2, 10], "texture": "#books"},
"west": {"uv": [6, 5, 2, 10], "texture": "#books"},
"up": {"uv": [8, 5, 10, 9], "rotation": 180, "texture": "#books"}
}
},
{
"name": "book10",
"from": [6, 1, 2],
"to": [8, 6, 6],
"faces": {
"north": {"uv": [0, 0, 2, 5], "texture": "#books"},
"east": {"uv": [6, 0, 2, 5], "texture": "#books"},
"south": {"uv": [6, 0, 8, 5], "texture": "#books"},
"west": {"uv": [2, 0, 6, 5], "texture": "#books"},
"up": {"uv": [8, 0, 10, 4], "texture": "#books"}
}
},
{
"name": "book10",
"from": [8, 1, 10],
"to": [10, 6, 14],
"faces": {
"north": {"uv": [6, 0, 8, 5], "texture": "#books"},
"east": {"uv": [2, 0, 6, 5], "texture": "#books"},
"south": {"uv": [0, 0, 2, 5], "texture": "#books"},
"west": {"uv": [6, 0, 2, 5], "texture": "#books"},
"up": {"uv": [8, 0, 10, 4], "rotation": 180, "texture": "#books"}
}
},
{
"name": "book11",
"from": [4, 1, 2],
"to": [6, 6, 6],
"faces": {
"north": {"uv": [0, 10, 2, 15], "texture": "#books"},
"east": {"uv": [6, 10, 2, 15], "texture": "#books"},
"south": {"uv": [6, 10, 8, 15], "texture": "#books"},
"west": {"uv": [2, 10, 6, 15], "texture": "#books"},
"up": {"uv": [8, 10, 10, 14], "texture": "#books"}
}
},
{
"name": "book11",
"from": [10, 1, 10],
"to": [12, 6, 14],
"faces": {
"north": {"uv": [6, 10, 8, 15], "texture": "#books"},
"east": {"uv": [2, 10, 6, 15], "texture": "#books"},
"south": {"uv": [0, 10, 2, 15], "texture": "#books"},
"west": {"uv": [6, 10, 2, 15], "texture": "#books"},
"up": {"uv": [8, 10, 10, 14], "rotation": 180, "texture": "#books"}
}
},
{
"name": "book12",
"from": [1, 1, 2],
"to": [3, 6, 6],
"faces": {
"north": {"uv": [0, 0, 2, 5], "texture": "#books"},
"east": {"uv": [6, 0, 2, 5], "texture": "#books"},
"south": {"uv": [6, 0, 8, 5], "texture": "#books"},
"west": {"uv": [2, 0, 6, 5], "texture": "#books"},
"up": {"uv": [8, 0, 10, 4], "texture": "#books"}
}
},
{
"name": "book12",
"from": [13, 1, 10],
"to": [15, 6, 14],
"faces": {
"north": {"uv": [6, 0, 8, 5], "texture": "#books"},
"east": {"uv": [2, 0, 6, 5], "texture": "#books"},
"south": {"uv": [0, 0, 2, 5], "texture": "#books"},
"west": {"uv": [6, 0, 2, 5], "texture": "#books"},
"up": {"uv": [8, 0, 10, 4], "rotation": 180, "texture": "#books"}
}
}
],
"display": {
"thirdperson_righthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
},
"thirdperson_lefthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
},
"firstperson_righthand": {
"rotation": [0, 45, 0],
"scale": [0.4, 0.4, 0.4]
},
"firstperson_lefthand": {
"rotation": [0, 225, 0],
"scale": [0.4, 0.4, 0.4]
},
"ground": {
"translation": [0, 3, 0],
"scale": [0.25, 0.25, 0.25]
},
"gui": {
"rotation": [30, 135, 0],
"scale": [0.625, 0.625, 0.625]
},
"fixed": {
"scale": [0.5, 0.5, 0.5]
}
}
}
@@ -0,0 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "ebwizardry:blocks/gilded_acacia_wood"
}
}
@@ -0,0 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "ebwizardry:blocks/gilded_birch_wood"
}
}
@@ -0,0 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "ebwizardry:blocks/gilded_dark_oak_wood"
}
}
@@ -0,0 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "ebwizardry:blocks/gilded_jungle_wood"
}
}
@@ -0,0 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "ebwizardry:blocks/gilded_oak_wood"
}
}
@@ -0,0 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "ebwizardry:blocks/gilded_spruce_wood"
}
}
@@ -0,0 +1,3 @@
{
"parent": "ebwizardry:block/gilded_acacia_wood"
}
@@ -0,0 +1,3 @@
{
"parent": "ebwizardry:block/gilded_birch_wood"
}
@@ -0,0 +1,3 @@
{
"parent": "ebwizardry:block/gilded_dark_oak_wood"
}
@@ -0,0 +1,3 @@
{
"parent": "ebwizardry:block/gilded_jungle_wood"
}
@@ -0,0 +1,3 @@
{
"parent": "ebwizardry:block/gilded_oak_wood"
}
@@ -0,0 +1,3 @@
{
"parent": "ebwizardry:block/gilded_spruce_wood"
}
@@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"www",
"wgw",
"www"
],
"key": {
"g": {
"type": "forge:ore_dict",
"ore": "nuggetGold"
},
"w": {
"item": "minecraft:planks",
"data": 4
}
},
"result": {
"item": "ebwizardry:gilded_wood",
"data": 4,
"count": 8
}
}
@@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"www",
"wgw",
"www"
],
"key": {
"g": {
"type": "forge:ore_dict",
"ore": "nuggetGold"
},
"w": {
"item": "minecraft:planks",
"data": 2
}
},
"result": {
"item": "ebwizardry:gilded_wood",
"data": 2,
"count": 8
}
}
@@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"www",
"wgw",
"www"
],
"key": {
"g": {
"type": "forge:ore_dict",
"ore": "nuggetGold"
},
"w": {
"item": "minecraft:planks",
"data": 5
}
},
"result": {
"item": "ebwizardry:gilded_wood",
"data": 5,
"count": 8
}
}
@@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"www",
"wgw",
"www"
],
"key": {
"g": {
"type": "forge:ore_dict",
"ore": "nuggetGold"
},
"w": {
"item": "minecraft:planks",
"data": 3
}
},
"result": {
"item": "ebwizardry:gilded_wood",
"data": 3,
"count": 8
}
}
@@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"www",
"wgw",
"www"
],
"key": {
"g": {
"type": "forge:ore_dict",
"ore": "nuggetGold"
},
"w": {
"item": "minecraft:planks",
"data": 0
}
},
"result": {
"item": "ebwizardry:gilded_wood",
"data": 0,
"count": 8
}
}
@@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"www",
"wgw",
"www"
],
"key": {
"g": {
"type": "forge:ore_dict",
"ore": "nuggetGold"
},
"w": {
"item": "minecraft:planks",
"data": 1
}
},
"result": {
"item": "ebwizardry:gilded_wood",
"data": 1,
"count": 8
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 476 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 518 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 526 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 532 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 533 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 250 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 365 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 356 B