mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-25 14:34:36 +00:00
commit
20b433af3c
66 files changed
+411
-2
No files matched your search
@@ -114,7 +114,10 @@ public final class ModelHandler {
|
||||
/** Normal Items **/
|
||||
registerStandardItems();
|
||||
registerManaResources();
|
||||
|
||||
|
||||
registerItemModelMetas(rune, LibItemNames.RUNE, 16);
|
||||
registerItemModelMetas(cosmetic, LibItemNames.COSMETIC, 32);
|
||||
registerItemModelMetas(craftPattern, LibItemNames.CRAFT_PATTERN, 9);
|
||||
/** Special Item Meshers **/
|
||||
}
|
||||
|
||||
@@ -213,6 +216,7 @@ public final class ModelHandler {
|
||||
registerItemModel(blackLotus);
|
||||
registerItemModel(blackLotus, 1);
|
||||
registerItemModel(lexicon);
|
||||
registerItemModel(manaCookie);
|
||||
|
||||
registerItemModel(manasteelHelm);
|
||||
registerItemModel(manasteelChest);
|
||||
@@ -251,6 +255,14 @@ public final class ModelHandler {
|
||||
registerItemModel(thunderSword);
|
||||
registerItemModel(glassPick);
|
||||
registerItemModel(twigWand);
|
||||
|
||||
registerItemModel(dirtRod);
|
||||
registerItemModel(cobbleRod);
|
||||
registerItemModel(fireRod);
|
||||
registerItemModel(rainbowRod);
|
||||
registerItemModel(skyDirtRod);
|
||||
registerItemModel(tornadoRod);
|
||||
registerItemModel(terraformRod);
|
||||
}
|
||||
|
||||
private static void registerManaResources() {
|
||||
@@ -564,6 +576,13 @@ public final class ModelHandler {
|
||||
}
|
||||
}
|
||||
|
||||
private static void registerItemModelMetas(Item item, String loc,int range) {
|
||||
for(int i =0; i < range;i++) {
|
||||
String name = "botania:"+loc+i;
|
||||
ModelLoader.addVariantName(item, name);
|
||||
ModelLoader.setCustomModelResourceLocation(item, i, new ModelResourceLocation(name,"inventory"));
|
||||
}
|
||||
}
|
||||
|
||||
private static void registerItemModel(Block b) {
|
||||
registerItemModel(Item.getItemFromBlock(b));
|
||||
@@ -579,4 +598,4 @@ public final class ModelHandler {
|
||||
}
|
||||
|
||||
private ModelHandler() {}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/cobbleRod"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/cosmetic0"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/cosmetic1"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/cosmetic10"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/cosmetic11"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/cosmetic12"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/cosmetic13"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/cosmetic14"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/cosmetic15"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/cosmetic16"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/cosmetic17"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/cosmetic18"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/cosmetic19"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/cosmetic2"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/cosmetic20"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/cosmetic21"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/cosmetic22"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/cosmetic23"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/cosmetic24"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/cosmetic25"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/cosmetic26"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/cosmetic27"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/cosmetic28"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/cosmetic29"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/cosmetic3"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/cosmetic30"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/cosmetic31"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/cosmetic4"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/cosmetic5"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/cosmetic6"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/cosmetic7"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/cosmetic8"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/cosmetic9"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/craftPattern0"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/craftPattern1"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/craftPattern2"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/craftPattern3"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/craftPattern4"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/craftPattern5"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/craftPattern6"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/craftPattern7"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/craftPattern8"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/dirtRod"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/fireRod"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/rainbowRod"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/rune0"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/rune1"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/rune10"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/rune11"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/rune12"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/rune13"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/rune14"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/rune15"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/rune2"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/rune3"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/rune4"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/rune5"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/rune6"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/rune7"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/rune8"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/rune9"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/skyDirtRod"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/terraformRod"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/tornadoRod0"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent":"botania:item/standard_item",
|
||||
"textures":{
|
||||
"layer0":"botania:items/waterRod"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user