Add models for trivial items
This commit is contained in:
parent
7fed05468d
commit
8bbe9b97fc
@ -333,10 +333,10 @@ public class Config {
|
||||
// There is no fail checking here because if the Generic item fails,
|
||||
// then I doubt anyone wants this to be silent.
|
||||
// Too many items would suffer from this. - NC
|
||||
MetasGeneric.registerItems();
|
||||
OpenBlocks.Items.generic.registerItems(MetasGeneric.values());
|
||||
OpenBlocks.Items.generic.initRecipes();
|
||||
|
||||
MetasGenericUnstackable.registerItems();
|
||||
OpenBlocks.Items.genericUnstackable.registerItems(MetasGenericUnstackable.values());
|
||||
OpenBlocks.Items.genericUnstackable.initRecipes();
|
||||
|
||||
if (OpenBlocks.Blocks.ladder != null) {
|
||||
@ -670,7 +670,7 @@ public class Config {
|
||||
}
|
||||
|
||||
if (OpenBlocks.Items.filledBucket != null) {
|
||||
MetasBucket.registerItems();
|
||||
OpenBlocks.Items.filledBucket.registerItems(MetasBucket.values());
|
||||
MetasBucket.xpbucket.registerAsBucketFor(OpenBlocks.Fluids.xpJuice);
|
||||
}
|
||||
|
||||
|
@ -212,7 +212,7 @@ public class OpenBlocks {
|
||||
@RegisterItem(name = "hangglider")
|
||||
public static ItemHangGlider hangGlider;
|
||||
|
||||
@RegisterItem(name = "generic", isConfigurable = false)
|
||||
@RegisterItem(name = "generic", isConfigurable = false, registerDefaultModel = false)
|
||||
public static ItemOBGeneric generic;
|
||||
|
||||
@RegisterItem(name = "luggage")
|
||||
@ -242,7 +242,7 @@ public class OpenBlocks {
|
||||
@RegisterItem(name = "slimalyzer")
|
||||
public static ItemSlimalyzer slimalyzer;
|
||||
|
||||
@RegisterItem(name = "filledbucket")
|
||||
@RegisterItem(name = "filledbucket", registerDefaultModel = false)
|
||||
public static ItemFilledBucket filledBucket;
|
||||
|
||||
@RegisterItem(name = "sleepingBag", unlocalizedName = "sleepingbag")
|
||||
@ -251,7 +251,7 @@ public class OpenBlocks {
|
||||
@RegisterItem(name = "paintBrush", unlocalizedName = "paintbrush")
|
||||
public static ItemPaintBrush paintBrush;
|
||||
|
||||
@RegisterItem(name = "stencil")
|
||||
@RegisterItem(name = "stencil", registerDefaultModel = false)
|
||||
public static ItemStencil stencil;
|
||||
|
||||
@RegisterItem(name = "squeegee")
|
||||
@ -272,7 +272,7 @@ public class OpenBlocks {
|
||||
@RegisterItem(name = "goldenEye", unlocalizedName = "golden_eye")
|
||||
public static ItemGoldenEye goldenEye;
|
||||
|
||||
@RegisterItem(name = "genericUnstackable", isConfigurable = false)
|
||||
@RegisterItem(name = "genericUnstackable", isConfigurable = false, registerDefaultModel = false)
|
||||
public static ItemOBGenericUnstackable genericUnstackable;
|
||||
|
||||
@RegisterItem(name = "cursor")
|
||||
@ -497,6 +497,8 @@ public class OpenBlocks {
|
||||
proxy.init();
|
||||
proxy.registerRenderInformation();
|
||||
registerOreDictionary();
|
||||
|
||||
startupHelper.init();
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
|
@ -24,11 +24,9 @@ public class ItemCartographer extends Item {
|
||||
};
|
||||
|
||||
public final String untranslatedName;
|
||||
public final String iconName;
|
||||
|
||||
private AssistantType(String name, String iconName) {
|
||||
this.untranslatedName = "openblocks.assistant_" + name;
|
||||
this.iconName = "openblocks:assistant_" + iconName;
|
||||
}
|
||||
|
||||
public abstract EntityAssistant createAssistant(World world, EntityPlayer owner, ItemStack stack);
|
||||
|
@ -110,11 +110,10 @@ public class ItemImaginationGlasses extends ItemArmor {
|
||||
}
|
||||
};
|
||||
|
||||
public final String iconName;
|
||||
|
||||
public final String textureName;
|
||||
|
||||
private Type(String name) {
|
||||
this.iconName = "openblocks:glasses_" + name;
|
||||
this.textureName = "openblocks:textures/models/glasses_" + name
|
||||
+ ".png";
|
||||
}
|
||||
|
@ -5,10 +5,10 @@ import net.minecraftforge.fluids.Fluid;
|
||||
import net.minecraftforge.fluids.FluidContainerRegistry;
|
||||
import net.minecraftforge.fluids.FluidStack;
|
||||
import openblocks.OpenBlocks;
|
||||
import openblocks.OpenBlocks.Items;
|
||||
import openmods.item.IMetaItem;
|
||||
import openmods.item.IMetaItemFactory;
|
||||
|
||||
public enum MetasBucket {
|
||||
public enum MetasBucket implements IMetaItemFactory {
|
||||
xpbucket {
|
||||
@Override
|
||||
public IMetaItem createMetaItem() {
|
||||
@ -28,12 +28,16 @@ public enum MetasBucket {
|
||||
return (stack.getItem() instanceof ItemFilledBucket) && (stack.getItemDamage() == ordinal());
|
||||
}
|
||||
|
||||
protected abstract IMetaItem createMetaItem();
|
||||
|
||||
protected boolean isEnabled() {
|
||||
@Override
|
||||
public boolean isEnabled() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMeta() {
|
||||
return ordinal();
|
||||
}
|
||||
|
||||
public void registerAsBucketFor(Fluid fluid) {
|
||||
registerAsContainerFor(new FluidStack(fluid, FluidContainerRegistry.BUCKET_VOLUME), FluidContainerRegistry.EMPTY_BUCKET);
|
||||
}
|
||||
@ -41,11 +45,4 @@ public enum MetasBucket {
|
||||
public void registerAsContainerFor(FluidStack fluid, ItemStack emptyContainer) {
|
||||
FluidContainerRegistry.registerFluidContainer(fluid.copy(), newItemStack(), emptyContainer);
|
||||
}
|
||||
|
||||
public static void registerItems() {
|
||||
for (MetasBucket m : values())
|
||||
if (m.isEnabled()) {
|
||||
Items.filledBucket.registerItem(m.ordinal(), m.createMetaItem());
|
||||
}
|
||||
}
|
||||
}
|
@ -9,10 +9,11 @@ import openblocks.Config;
|
||||
import openblocks.OpenBlocks;
|
||||
import openmods.infobook.ICustomBookEntryProvider;
|
||||
import openmods.item.IMetaItem;
|
||||
import openmods.item.IMetaItemFactory;
|
||||
|
||||
import com.google.common.collect.ImmutableList;
|
||||
|
||||
public enum MetasGeneric {
|
||||
public enum MetasGeneric implements IMetaItemFactory {
|
||||
gliderWing {
|
||||
@Override
|
||||
public IMetaItem createMetaItem() {
|
||||
@ -151,15 +152,14 @@ public enum MetasGeneric {
|
||||
return (stack.getItem() instanceof ItemOBGeneric) && (stack.getItemDamage() == ordinal());
|
||||
}
|
||||
|
||||
protected abstract IMetaItem createMetaItem();
|
||||
|
||||
protected boolean isEnabled() {
|
||||
@Override
|
||||
public boolean isEnabled() {
|
||||
return true;
|
||||
}
|
||||
|
||||
public static void registerItems() {
|
||||
for (MetasGeneric m : values())
|
||||
if (m.isEnabled()) OpenBlocks.Items.generic.registerItem(m.ordinal(), m.createMetaItem());
|
||||
@Override
|
||||
public int getMeta() {
|
||||
return ordinal();
|
||||
}
|
||||
|
||||
public static class DocProvider implements ICustomBookEntryProvider {
|
||||
|
@ -4,14 +4,14 @@ import net.minecraft.init.Blocks;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraftforge.oredict.ShapedOreRecipe;
|
||||
import openblocks.OpenBlocks;
|
||||
import openblocks.OpenBlocks.Items;
|
||||
import openmods.colors.ColorMeta;
|
||||
import openmods.item.IMetaItem;
|
||||
import openmods.item.IMetaItemFactory;
|
||||
|
||||
public enum MetasGenericUnstackable {
|
||||
public enum MetasGenericUnstackable implements IMetaItemFactory {
|
||||
pointer {
|
||||
@Override
|
||||
protected IMetaItem createMetaItem() {
|
||||
public IMetaItem createMetaItem() {
|
||||
ItemStack result = newItemStack();
|
||||
final ItemStack whiteWool = ColorMeta.WHITE.createStack(Blocks.wool, 1);
|
||||
return new MetaPointer("pointer", new ShapedOreRecipe(result, "w ", "ww ", "w ", 'w', whiteWool));
|
||||
@ -29,14 +29,14 @@ public enum MetasGenericUnstackable {
|
||||
return (stack.getItem() == OpenBlocks.Items.genericUnstackable) && (stack.getItemDamage() == ordinal());
|
||||
}
|
||||
|
||||
protected abstract IMetaItem createMetaItem();
|
||||
|
||||
protected boolean isEnabled() {
|
||||
@Override
|
||||
public boolean isEnabled() {
|
||||
return true;
|
||||
}
|
||||
|
||||
public static void registerItems() {
|
||||
for (MetasGenericUnstackable m : values())
|
||||
if (m.isEnabled()) Items.genericUnstackable.registerItem(m.ordinal(), m.createMetaItem());
|
||||
@Override
|
||||
public int getMeta() {
|
||||
return ordinal();
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:items/assistant_base"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:blocks/stencilcover_balloon"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
18
src/main/resources/assets/openblocks/models/item/beam.json
Normal file
18
src/main/resources/assets/openblocks/models/item/beam.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:items/beam"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
18
src/main/resources/assets/openblocks/models/item/border.json
Normal file
18
src/main/resources/assets/openblocks/models/item/border.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:blocks/stencilcover_border"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:items/assistant_cartographer"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
18
src/main/resources/assets/openblocks/models/item/corner.json
Normal file
18
src/main/resources/assets/openblocks/models/item/corner.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:blocks/stencilcover_corner"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:blocks/stencilcover_corner2"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:blocks/stencilcover_corner3"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:items/crane_backpack"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:items/crane_engine"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:items/crane_magnet"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:blocks/stencilcover_creeperface"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
18
src/main/resources/assets/openblocks/models/item/cursor.json
Normal file
18
src/main/resources/assets/openblocks/models/item/cursor.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:items/cursor"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:items/empty_map"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:items/epic_eraser"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:items/gliderwing"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:items/golden_eye"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
18
src/main/resources/assets/openblocks/models/item/heart.json
Normal file
18
src/main/resources/assets/openblocks/models/item/heart.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:blocks/stencilcover_heart"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
18
src/main/resources/assets/openblocks/models/item/heart2.json
Normal file
18
src/main/resources/assets/openblocks/models/item/heart2.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:blocks/stencilcover_heart2"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:items/height_map"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
18
src/main/resources/assets/openblocks/models/item/hole.json
Normal file
18
src/main/resources/assets/openblocks/models/item/hole.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:blocks/stencilcover_hole"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:items/info_book"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
18
src/main/resources/assets/openblocks/models/item/line.json
Normal file
18
src/main/resources/assets/openblocks/models/item/line.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:items/line"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:items/map_controller"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:items/map_memory"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:items/miracle_magnet"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:items/glasses_pencil"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:items/pointer"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:items/glasses_admin"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:items/sketching_pencil"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:items/sleepingbag"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:items/sonicglasses"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
18
src/main/resources/assets/openblocks/models/item/spiral.json
Normal file
18
src/main/resources/assets/openblocks/models/item/spiral.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:blocks/stencilcover_spiral"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
18
src/main/resources/assets/openblocks/models/item/splat.json
Normal file
18
src/main/resources/assets/openblocks/models/item/splat.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:blocks/stencilcover_splat"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:items/spongeonastick"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:items/squeegee"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:blocks/stencilcover_storage"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:blocks/stencilcover_stripes"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:items/yum_yum"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:items/glasses_technicolor"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:blocks/stencilcover_thickstripes"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:items/unprepared_stencil"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
18
src/main/resources/assets/openblocks/models/item/wrench.json
Normal file
18
src/main/resources/assets/openblocks/models/item/wrench.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:items/wrench"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
{
|
||||
"parent" : "builtin/generated",
|
||||
"textures" : {
|
||||
"layer0" : "openblocks:items/xpbucket"
|
||||
},
|
||||
"display" : {
|
||||
"thirdperson" : {
|
||||
"rotation" : [ -90, 0, 0 ],
|
||||
"translation" : [ 0, 1, -3 ],
|
||||
"scale" : [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson" : {
|
||||
"rotation" : [ 0, -135, 25 ],
|
||||
"translation" : [ 0, 4, 2 ],
|
||||
"scale" : [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user