mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 19:29:31 +00:00
Merge branch 'MC18' of github.com:williewillus/Botania into MC18
This commit is contained in:
commit
86cd656360
50 files changed
+314
-1
No files matched your search
@@ -119,6 +119,8 @@ public final class ModelHandler {
|
||||
registerRunes();
|
||||
registerBows();
|
||||
|
||||
registerItemModelMetas(cosmetic, LibItemNames.COSMETIC, 32);
|
||||
registerItemModelMetas(craftPattern, LibItemNames.CRAFT_PATTERN, 9);
|
||||
/** Special Item Meshers **/
|
||||
}
|
||||
|
||||
@@ -225,6 +227,7 @@ public final class ModelHandler {
|
||||
registerItemModel(blackLotus);
|
||||
registerItemModel(blackLotus, 1);
|
||||
registerItemModel(lexicon);
|
||||
registerItemModel(manaCookie);
|
||||
|
||||
registerItemModel(manasteelHelm);
|
||||
registerItemModel(manasteelChest);
|
||||
@@ -263,9 +266,18 @@ public final class ModelHandler {
|
||||
registerItemModel(thunderSword);
|
||||
registerItemModel(glassPick);
|
||||
registerItemModel(twigWand);
|
||||
|
||||
registerItemModel(flowerBag);
|
||||
registerItemModel(fertilizer);
|
||||
registerItemModel(obedienceStick);
|
||||
|
||||
registerItemModel(dirtRod);
|
||||
registerItemModel(cobbleRod);
|
||||
registerItemModel(fireRod);
|
||||
registerItemModel(rainbowRod);
|
||||
registerItemModel(skyDirtRod);
|
||||
registerItemModel(tornadoRod);
|
||||
registerItemModel(terraformRod);
|
||||
}
|
||||
|
||||
private static void registerManaResources() {
|
||||
@@ -619,6 +631,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.registerItemVariants(item, new ModelResourceLocation(name, "inventory"));
|
||||
ModelLoader.setCustomModelResourceLocation(item, i, new ModelResourceLocation(name, "inventory"));
|
||||
}
|
||||
}
|
||||
|
||||
private static void registerItemModel(Block b) {
|
||||
registerItemModel(Item.getItemFromBlock(b));
|
||||
@@ -634,4 +653,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/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