mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-20 04:09:40 +00:00
Merge branch '1.12' of github.com:Vazkii/Botania into 1.12
This commit is contained in:
commit
f3f66401f7
1042 files changed
+2589
-1888
No files matched your search
@@ -65,51 +65,54 @@ public final class LibResources {
|
||||
public static final String ENTRY_METAMORPHIC_STONES = PREFIX_ENTRIES + "metamorphicStones.png";
|
||||
public static final String ENTRY_BANNERS = PREFIX_ENTRIES + "banners.png";
|
||||
|
||||
public static final String MODEL_SPREADER = PREFIX_MODEL + "spreader.png";
|
||||
public static final String MODEL_SPREADER_REDSTONE = PREFIX_MODEL + "spreaderRedstone.png";
|
||||
public static final String MODEL_SPREADER_DREAMWOOD = PREFIX_MODEL + "spreaderDreamwood.png";
|
||||
public static final String MODEL_SPREADER_HALLOWEEN = PREFIX_MODEL + "spreader_halloween.png";
|
||||
public static final String MODEL_SPREADER_REDSTONE_HALLOWEEN = PREFIX_MODEL + "spreaderRedstone_halloween.png";
|
||||
public static final String MODEL_SPREADER_DREAMWOOD_HALLOWEEN = PREFIX_MODEL + "spreaderDreamwood_halloween.png";
|
||||
public static final String MODEL_PYLON_OLD = PREFIX_MODEL + "pylonOld.png";
|
||||
public static final String MODEL_PYLON = PREFIX_MODEL + "pylon.png";
|
||||
public static final String MODEL_PYLON_GREEN_OLD = PREFIX_MODEL + "pylonOld1.png";
|
||||
public static final String MODEL_PYLON_GREEN = PREFIX_MODEL + "pylon1.png";
|
||||
public static final String MODEL_PYLON_PINK_OLD = PREFIX_MODEL + "pylonOld2.png";
|
||||
public static final String MODEL_PYLON_PINK = PREFIX_MODEL + "pylon2.png";
|
||||
public static final String MODEL_LEXICA_DEFAULT = PREFIX_MODEL + "lexica0.png";
|
||||
public static final String MODEL_LEXICA_ELVEN = PREFIX_MODEL + "lexica1.png";
|
||||
public static final String MODEL_MANASTEEL_0 = PREFIX_MODEL + "manasteel0.png";
|
||||
public static final String MODEL_MANASTEEL_1 = PREFIX_MODEL + "manasteel1.png";
|
||||
public static final String MODEL_MANASTEEL_2 = PREFIX_MODEL + "manasteel2.png";
|
||||
public static final String MODEL_MANASTEEL_NEW = PREFIX_MODEL + "manasteelNew.png";
|
||||
public static final String MODEL_TERRASTEEL_0 = PREFIX_MODEL + "terrasteel0.png";
|
||||
public static final String MODEL_TERRASTEEL_1 = PREFIX_MODEL + "terrasteel1.png";
|
||||
public static final String MODEL_TERRASTEEL_2 = PREFIX_MODEL + "terrasteel2.png";
|
||||
public static final String MODEL_TERRASTEEL_NEW = PREFIX_MODEL + "terrasteelNew.png";
|
||||
public static final String MODEL_ELEMENTIUM_0 = PREFIX_MODEL + "elementium0.png";
|
||||
public static final String MODEL_ELEMENTIUM_1 = PREFIX_MODEL + "elementium1.png";
|
||||
public static final String MODEL_ELEMENTIUM_2 = PREFIX_MODEL + "elementium2.png";
|
||||
public static final String MODEL_ELEMENTIUM_NEW = PREFIX_MODEL + "elementiumNew.png";
|
||||
public static final String MODEL_MANAWEAVE_0 = PREFIX_MODEL + "manaweave0.png";
|
||||
public static final String MODEL_MANAWEAVE_1 = PREFIX_MODEL + "manaweave1.png";
|
||||
public static final String MODEL_MANAWEAVE_NEW = PREFIX_MODEL + "manaweaveNew.png";
|
||||
public static final String MODEL_MANAWEAVE_NEW_HOLIDAY = PREFIX_MODEL + "manaweaveNewHoliday.png";
|
||||
public static final String MODEL_SPREADER = PREFIX_MODEL + "spreader_mana.png";
|
||||
public static final String MODEL_SPREADER_REDSTONE = PREFIX_MODEL + "spreader_redstone.png";
|
||||
public static final String MODEL_SPREADER_DREAMWOOD = PREFIX_MODEL + "spreader_dreamwood.png";
|
||||
public static final String MODEL_SPREADER_GAIA = PREFIX_MODEL + "spreader_gaia.png";
|
||||
public static final String MODEL_SPREADER_HALLOWEEN = PREFIX_MODEL + "spreader_mana_halloween.png";
|
||||
public static final String MODEL_SPREADER_REDSTONE_HALLOWEEN = PREFIX_MODEL + "spreader_redstone_halloween.png";
|
||||
public static final String MODEL_SPREADER_DREAMWOOD_HALLOWEEN = PREFIX_MODEL + "spreader_dreamwood_halloween.png";
|
||||
public static final String MODEL_SPREADER_GAIA_HALLOWEEN = PREFIX_MODEL + "spreader_gaia_halloween.png";
|
||||
public static final String MODEL_PYLON_MANA = PREFIX_MODEL + "pylon_mana.png";
|
||||
public static final String MODEL_PYLON = PREFIX_MODEL + "pylon_0.png";
|
||||
public static final String MODEL_PYLON_NATURA = PREFIX_MODEL + "pylon_natura.png";
|
||||
public static final String MODEL_PYLON_GREEN = PREFIX_MODEL + "pylon_1.png";
|
||||
public static final String MODEL_PYLON_GAIA = PREFIX_MODEL + "pylon_gaia.png";
|
||||
public static final String MODEL_PYLON_PINK = PREFIX_MODEL + "pylon_2.png";
|
||||
public static final String MODEL_LEXICA_DEFAULT = PREFIX_MODEL + "lexica_default.png";
|
||||
public static final String MODEL_LEXICA_ELVEN = PREFIX_MODEL + "lexica_elven.png";
|
||||
public static final String MODEL_MANASTEEL_0 = PREFIX_MODEL + "manasteel_0.png";
|
||||
public static final String MODEL_MANASTEEL_1 = PREFIX_MODEL + "manasteel_1.png";
|
||||
public static final String MODEL_MANASTEEL_2 = PREFIX_MODEL + "manasteel_2.png";
|
||||
public static final String MODEL_MANASTEEL_NEW = PREFIX_MODEL + "manasteel_new.png";
|
||||
public static final String MODEL_TERRASTEEL_0 = PREFIX_MODEL + "terrasteel_0.png";
|
||||
public static final String MODEL_TERRASTEEL_1 = PREFIX_MODEL + "terrasteel_1.png";
|
||||
public static final String MODEL_TERRASTEEL_2 = PREFIX_MODEL + "terrasteel_2.png";
|
||||
public static final String MODEL_TERRASTEEL_NEW = PREFIX_MODEL + "terrasteel_new.png";
|
||||
public static final String MODEL_ELEMENTIUM_0 = PREFIX_MODEL + "elementium_0.png";
|
||||
public static final String MODEL_ELEMENTIUM_1 = PREFIX_MODEL + "elementium_1.png";
|
||||
public static final String MODEL_ELEMENTIUM_2 = PREFIX_MODEL + "elementium_2.png";
|
||||
public static final String MODEL_ELEMENTIUM_NEW = PREFIX_MODEL + "elementium_new.png";
|
||||
public static final String MODEL_MANAWEAVE_0 = PREFIX_MODEL + "manaweave_0.png";
|
||||
public static final String MODEL_MANAWEAVE_1 = PREFIX_MODEL + "manaweave_1.png";
|
||||
public static final String MODEL_MANAWEAVE_NEW = PREFIX_MODEL + "manaweave_new.png";
|
||||
public static final String MODEL_MANAWEAVE_NEW_HOLIDAY = PREFIX_MODEL + "manaweave_new_holiday.png";
|
||||
public static final String MODEL_PIXIE = PREFIX_MODEL + "pixie.png";
|
||||
public static final String MODEL_TINY_POTATO = PREFIX_MODEL + "tinyPotato.png";
|
||||
public static final String MODEL_TINY_POTATO_GS = PREFIX_MODEL + "tinyPotatoGray.png";
|
||||
public static final String MODEL_TINY_POTATO_HALLOWEEN = PREFIX_MODEL + "tinyPotato_halloween.png";
|
||||
public static final String MODEL_PIXIE_HALLOWEEN = PREFIX_MODEL + "pixie_halloween.png";
|
||||
public static final String MODEL_TINY_POTATO = PREFIX_MODEL + "tiny_potato.png";
|
||||
public static final String MODEL_TINY_POTATO_GS = PREFIX_MODEL + "tiny_potato_gray.png";
|
||||
public static final String MODEL_TINY_POTATO_HALLOWEEN = PREFIX_MODEL + "tiny_potato_halloween.png";
|
||||
public static final String MODEL_BREWERY = PREFIX_MODEL + "brewery.png";
|
||||
public static final String MODEL_TRAVEL_BELT = PREFIX_MODEL + "travelBelt.png";
|
||||
public static final String MODEL_SUPER_TRAVEL_BELT = PREFIX_MODEL + "superTravelBelt.png";
|
||||
public static final String MODEL_SPEED_UP_BELT = PREFIX_MODEL + "speedUpBelt.png";
|
||||
public static final String MODEL_KNOCKBACK_BELT = PREFIX_MODEL + "knockbackBelt.png";
|
||||
public static final String MODEL_HOLY_CLOAK = PREFIX_MODEL + "holyCloak.png";
|
||||
public static final String MODEL_UNHOLY_CLOAK = PREFIX_MODEL + "unholyCloak.png";
|
||||
public static final String MODEL_BALANCE_CLOAK = PREFIX_MODEL + "balanceCloak.png";
|
||||
public static final String MODEL_HOLY_CLOAK_GLOW = PREFIX_MODEL + "holyCloakGlow.png";
|
||||
public static final String MODEL_UNHOLY_CLOAK_GLOW = PREFIX_MODEL + "unholyCloakGlow.png";
|
||||
public static final String MODEL_BALANCE_CLOAK_GLOW = PREFIX_MODEL + "balanceCloakGlow.png";
|
||||
public static final String MODEL_HOLY_CLOAK = PREFIX_MODEL + "cloak_holy.png";
|
||||
public static final String MODEL_UNHOLY_CLOAK = PREFIX_MODEL + "cloak_unholy.png";
|
||||
public static final String MODEL_BALANCE_CLOAK = PREFIX_MODEL + "cloak_balance.png";
|
||||
public static final String MODEL_HOLY_CLOAK_GLOW = PREFIX_MODEL + "cloak_holy_glow.png";
|
||||
public static final String MODEL_UNHOLY_CLOAK_GLOW = PREFIX_MODEL + "cloak_unholy_glow.png";
|
||||
public static final String MODEL_BALANCE_CLOAK_GLOW = PREFIX_MODEL + "cloak_balance_glow.png";
|
||||
public static final String MODEL_CORPOREA_INDEX = PREFIX_MODEL + "corporeaIndex.png";
|
||||
public static final String MODEL_INVISIBLE_ARMOR = PREFIX_MODEL + "invisibleArmor.png";
|
||||
public static final String MODEL_PINK_WITHER = PREFIX_MODEL + "pinkWither.png";
|
||||
@@ -120,12 +123,12 @@ public final class LibResources {
|
||||
public static final String MODEL_TERU_TERU_BOZU = PREFIX_MODEL + "teruTeruBozu.png";
|
||||
public static final String MODEL_TERU_TERU_BOZU_HALLOWEEN = PREFIX_MODEL + "teruTeruBozu_halloween.png";
|
||||
public static final String MODEL_AVATAR = PREFIX_MODEL + "avatar.png";
|
||||
public static final String MODEL_AVATAR_DIVINING = PREFIX_MODEL + "avatarDivining.png";
|
||||
public static final String MODEL_AVATAR_FIRE = PREFIX_MODEL + "avatarFire.png";
|
||||
public static final String MODEL_AVATAR_MISSILE = PREFIX_MODEL + "avatarMissile.png";
|
||||
public static final String MODEL_AVATAR_RAINBOW = PREFIX_MODEL + "avatarRainbow.png";
|
||||
public static final String MODEL_AVATAR_TORNADO = PREFIX_MODEL + "avatarTornado.png";
|
||||
public static final String MODEL_AVATAR_DIRT = PREFIX_MODEL + "avatarDirt.png";
|
||||
public static final String MODEL_AVATAR_DIVINING = PREFIX_MODEL + "avatar_divining.png";
|
||||
public static final String MODEL_AVATAR_FIRE = PREFIX_MODEL + "avatar_fire.png";
|
||||
public static final String MODEL_AVATAR_MISSILE = PREFIX_MODEL + "avatar_missile.png";
|
||||
public static final String MODEL_AVATAR_RAINBOW = PREFIX_MODEL + "avatar_rainbow.png";
|
||||
public static final String MODEL_AVATAR_TORNADO = PREFIX_MODEL + "avatar_tornado.png";
|
||||
public static final String MODEL_AVATAR_DIRT = PREFIX_MODEL + "avatar_dirt.png";
|
||||
|
||||
public static final String MISC_PARTICLES = PREFIX_MISC + "particles.png";
|
||||
public static final String MISC_WISP_LARGE = PREFIX_MISC + "wispLarge.png";
|
||||
|
||||
@@ -16,74 +16,46 @@ import net.minecraft.client.renderer.GlStateManager;
|
||||
|
||||
public class ModelBellows extends ModelBase {
|
||||
|
||||
final ModelRenderer Base;
|
||||
final ModelRenderer Top;
|
||||
final ModelRenderer Funnel;
|
||||
final ModelRenderer Pipe;
|
||||
final ModelRenderer Handle1;
|
||||
final ModelRenderer Handle2;
|
||||
final ModelRenderer Handle3;
|
||||
final ModelRenderer top;
|
||||
final ModelRenderer base;
|
||||
final ModelRenderer pipe;
|
||||
final ModelRenderer funnel;
|
||||
|
||||
public ModelBellows() {
|
||||
textureWidth = 64;
|
||||
textureHeight = 32;
|
||||
|
||||
Base = new ModelRenderer(this, 0, 0);
|
||||
Base.addBox(0F, 0F, 0F, 10, 2, 10);
|
||||
Base.setRotationPoint(-5F, 22F, -5F);
|
||||
Base.setTextureSize(64, 32);
|
||||
Base.mirror = true;
|
||||
Top = new ModelRenderer(this, 0, 14);
|
||||
Top.addBox(0F, 0F, 0F, 8, 1, 8);
|
||||
Top.setRotationPoint(-4F, 14F, -4F);
|
||||
Top.setTextureSize(64, 32);
|
||||
Top.mirror = true;
|
||||
Funnel = new ModelRenderer(this, 34, 14);
|
||||
Funnel.addBox(0F, 0F, 0F, 6, 7, 6);
|
||||
Funnel.setRotationPoint(0F, 0F, 0F);
|
||||
Funnel.setTextureSize(64, 32);
|
||||
Funnel.mirror = true;
|
||||
Pipe = new ModelRenderer(this, 43, 1);
|
||||
Pipe.addBox(0F, 0F, 0F, 2, 2, 3);
|
||||
Pipe.setRotationPoint(-1F, 22F, -8F);
|
||||
Pipe.setTextureSize(64, 32);
|
||||
Pipe.mirror = true;
|
||||
Handle1 = new ModelRenderer(this, 43, 8);
|
||||
Handle1.addBox(0F, 0F, -0.5F, 1, 2, 1);
|
||||
Handle1.setRotationPoint(-2F, 12F, 0F);
|
||||
Handle1.setTextureSize(64, 32);
|
||||
Handle1.mirror = true;
|
||||
Handle2 = new ModelRenderer(this, 48, 8);
|
||||
Handle2.addBox(1F, 0F, -0.5F, 2, 1, 1);
|
||||
Handle2.setRotationPoint(-2F, 12F, 0F);
|
||||
Handle2.setTextureSize(64, 32);
|
||||
Handle2.mirror = true;
|
||||
Handle3 = new ModelRenderer(this, 55, 8);
|
||||
Handle3.addBox(3F, 0F, -0.5F, 1, 2, 1);
|
||||
Handle3.setRotationPoint(-2F, 12F, 0F);
|
||||
Handle3.setTextureSize(64, 32);
|
||||
Handle3.mirror = true;
|
||||
|
||||
top = new ModelRenderer(this, 0, 0);
|
||||
top.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
top.addBox(-4.0F, -2.0F, -4.0F, 8, 1, 8, 0.0F);
|
||||
base = new ModelRenderer(this, 0, 9);
|
||||
base.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
base.addBox(-5.0F, 6.0F, -5.0F, 10, 2, 10, 0.0F);
|
||||
pipe = new ModelRenderer(this, 0, 21);
|
||||
pipe.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
pipe.addBox(-1.0F, 6.0F, -8.0F, 2, 2, 3, 0.0F);
|
||||
|
||||
funnel = new ModelRenderer(this, 40, 0);
|
||||
funnel.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
funnel.addBox(0.0F, 0.0F, 0.0F, 6, 7, 6, 0.0F);
|
||||
}
|
||||
|
||||
public void render(float fract) {
|
||||
float f5 = 1F / 16F;
|
||||
Base.render(f5);
|
||||
Pipe.render(f5);
|
||||
base.render(f5);
|
||||
pipe.render(f5);
|
||||
|
||||
//float fract = Math.max(0.1F, (float) (Math.sin(((double) ClientTickHandler.ticksInGame + ClientTickHandler.partialTicks) * 0.2) + 1F) * 0.5F);
|
||||
float mov = (1F - fract) * 0.5F;
|
||||
|
||||
GlStateManager.translate(0F, mov, 0F);
|
||||
Top.render(f5);
|
||||
Handle1.render(f5);
|
||||
Handle2.render(f5);
|
||||
Handle3.render(f5);
|
||||
top.render(f5);
|
||||
GlStateManager.translate(0F, -mov, 0F);
|
||||
|
||||
GlStateManager.rotate(180F, 1F, 0F, 0F);
|
||||
GlStateManager.translate(-0.19F, -1.375F, -0.19F);
|
||||
GlStateManager.scale(1F, fract, 1F);
|
||||
Funnel.render(f5);
|
||||
funnel.render(f5);
|
||||
GlStateManager.scale(1F, 1F / fract, 1F);
|
||||
}
|
||||
|
||||
|
||||
@@ -17,31 +17,31 @@ import vazkii.botania.client.render.tile.RenderTileBrewery;
|
||||
|
||||
public class ModelBrewery extends ModelBase {
|
||||
|
||||
final ModelRenderer Pole;
|
||||
final ModelRenderer Top;
|
||||
final ModelRenderer Bottom;
|
||||
final ModelRenderer Plate;
|
||||
final ModelRenderer top;
|
||||
final ModelRenderer pole;
|
||||
final ModelRenderer bottom;
|
||||
|
||||
final ModelRenderer plate;
|
||||
|
||||
public ModelBrewery() {
|
||||
textureWidth = 64;
|
||||
textureHeight = 32;
|
||||
|
||||
Pole = new ModelRenderer(this, 0, 6);
|
||||
Pole.addBox(0F, 0F, 0F, 2, 10, 2);
|
||||
Pole.setRotationPoint(-1F, 10F, -1F);
|
||||
Pole.setTextureSize(64, 32);
|
||||
Top = new ModelRenderer(this, 18, 0);
|
||||
Top.addBox(0F, 0F, 0F, 4, 1, 4);
|
||||
Top.setRotationPoint(-2F, 9F, -2F);
|
||||
Top.setTextureSize(64, 32);
|
||||
Bottom = new ModelRenderer(this, 18, 7);
|
||||
Bottom.addBox(0F, 0F, 0F, 4, 1, 4);
|
||||
Bottom.setRotationPoint(-2F, 20F, -2F);
|
||||
Bottom.setTextureSize(64, 32);
|
||||
Plate = new ModelRenderer(this, 0, 0);
|
||||
Plate.addBox(5F, 0F, -2F, 4, 1, 4);
|
||||
Plate.setRotationPoint(0F, 17F, 0F);
|
||||
Plate.setTextureSize(64, 32);
|
||||
|
||||
textureWidth = 32;
|
||||
textureHeight = 16;
|
||||
|
||||
top = new ModelRenderer(this, 8, 0);
|
||||
top.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
top.addBox(-2.0F, -7.0F, -2.0F, 4, 1, 4, 0.0F);
|
||||
pole = new ModelRenderer(this, 0, 0);
|
||||
pole.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
pole.addBox(-1.0F, -6.0F, -1.0F, 2, 10, 2, 0.0F);
|
||||
bottom = new ModelRenderer(this, 8, 5);
|
||||
bottom.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
bottom.addBox(-2.0F, 4.0F, -2.0F, 4, 1, 4, 0.0F);
|
||||
|
||||
plate = new ModelRenderer(this, 8, 5);
|
||||
plate.setRotationPoint(0.0F, 17.0F, 0.0F);
|
||||
plate.addBox(5.0F, 0.0F, -2.0F, 4, 1, 4, 0.0F);
|
||||
|
||||
}
|
||||
|
||||
public void render(RenderTileBrewery render, double time) {
|
||||
@@ -65,21 +65,21 @@ public class ModelBrewery extends ModelBase {
|
||||
GlStateManager.rotate(-180F, 1F, 0F, 0F);
|
||||
}
|
||||
|
||||
Pole.render(f);
|
||||
Top.render(f);
|
||||
Bottom.render(f);
|
||||
pole.render(f);
|
||||
top.render(f);
|
||||
bottom.render(f);
|
||||
GlStateManager.rotate(-polerot, 0F, 1F, 0F);
|
||||
|
||||
float degper = (float) (2F * Math.PI) / plates;
|
||||
for(int i = 0; i < plates; i++) {
|
||||
Plate.rotateAngleY = deg;
|
||||
plate.rotateAngleY = deg;
|
||||
float offset1 = (float) Math.sin(time / 20 + i * 40F) * 0.2F - 0.2F;
|
||||
if(time == -1)
|
||||
offset1 = 0F;
|
||||
|
||||
GlStateManager.translate(0F, offset1, 0F);
|
||||
if(hasTile && !render.brewery.getItemHandler().getStackInSlot(i + 1).isEmpty()) {
|
||||
float rot = Plate.rotateAngleY * 180F / (float) Math.PI;
|
||||
float rot = plate.rotateAngleY * 180F / (float) Math.PI;
|
||||
float transX = 0.3125F;
|
||||
float transY = 1.06F;
|
||||
float transZ = 0.1245F;
|
||||
@@ -93,8 +93,7 @@ public class ModelBrewery extends ModelBase {
|
||||
GlStateManager.translate(-transX, -transY, -transZ);
|
||||
GlStateManager.rotate(-rot, 0F, 1F, 0F);
|
||||
}
|
||||
|
||||
Plate.render(f);
|
||||
plate.render(f);
|
||||
GlStateManager.translate(0F, -offset1, 0F);
|
||||
|
||||
deg += degper;
|
||||
|
||||
@@ -9,32 +9,36 @@ import net.minecraft.client.model.ModelRenderer;
|
||||
*/
|
||||
public class ModelCloak extends ModelBase {
|
||||
|
||||
public ModelRenderer armRpauldron;
|
||||
public ModelRenderer armLpauldron;
|
||||
public ModelRenderer helm;
|
||||
|
||||
public ModelRenderer collar;
|
||||
public ModelRenderer sideL;
|
||||
public ModelRenderer sideR;
|
||||
|
||||
public ModelCloak() {
|
||||
|
||||
textureWidth = 64;
|
||||
textureHeight = 64;
|
||||
armLpauldron = new ModelRenderer(this, 0, 15);
|
||||
armLpauldron.mirror = true;
|
||||
armLpauldron.setRotationPoint(0.0F, 0.0F, -0.0F);
|
||||
armLpauldron.addBox(-1.0F, 0.0F, -5.0F, 9, 20, 9, 0.0F);
|
||||
setRotateAngle(armLpauldron, 0.08726646259971647F, -0.2617993877991494F, -0.17453292519943295F);
|
||||
armRpauldron = new ModelRenderer(this, 0, 15);
|
||||
armRpauldron.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
armRpauldron.addBox(-8.0F, 0.0F, -5.0F, 9, 20, 9, 0.0F);
|
||||
setRotateAngle(armRpauldron, 0.08726646259971647F, 0.2617993877991494F, 0.17453292519943295F);
|
||||
helm = new ModelRenderer(this, 0, 0);
|
||||
helm.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
helm.addBox(-4.5F, -3.0F, -5.5F, 9, 4, 11, 0.0F);
|
||||
setRotateAngle(helm, 0.2617993877991494F, 0.0F, 0.0F);
|
||||
float s = 0.01F;
|
||||
|
||||
collar = new ModelRenderer(this, 0, 0);
|
||||
collar.setRotationPoint(0.0F, -3.0F, -4.5F);
|
||||
collar.addBox(-5.5F, 0.0F, -1.5F, 11, 5, 11, s);
|
||||
setRotateAngle(collar, 0.08726646259971647F, 0.0F, 0.0F);
|
||||
sideL = new ModelRenderer(this, 0, 16);
|
||||
sideL.mirror = true;
|
||||
sideL.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
sideL.addBox(-0.5F, -0.5F, -5.5F, 11, 21, 10, s);
|
||||
setRotateAngle(sideL, 0.08726646259971647F, -0.08726646259971647F, -0.17453292519943295F);
|
||||
sideR = new ModelRenderer(this, 0, 16);
|
||||
sideR.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
sideR.addBox(-10.5F, -0.5F, -5.5F, 11, 21, 10, s);
|
||||
setRotateAngle(sideR, 0.08726646259971647F, 0.08726646259971647F, 0.17453292519943295F);
|
||||
|
||||
}
|
||||
|
||||
public void render(float f5) {
|
||||
armLpauldron.render(f5);
|
||||
armRpauldron.render(f5);
|
||||
helm.render(f5);
|
||||
collar.render(f5);
|
||||
sideL.render(f5);
|
||||
sideR.render(f5);
|
||||
}
|
||||
|
||||
public void setRotateAngle(ModelRenderer modelRenderer, float x, float y, float z) {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* This class was created by <Adubbz>. It's distributed as
|
||||
* This class was created by <wiiv>. It's distributed as
|
||||
* part of the Botania Mod. Get the Source Code in github:
|
||||
* https://github.com/Vazkii/Botania
|
||||
*
|
||||
@@ -17,55 +17,67 @@ import net.minecraft.util.math.MathHelper;
|
||||
|
||||
public class ModelPixie extends ModelBase {
|
||||
|
||||
final ModelRenderer Body;
|
||||
final ModelRenderer LeftWing;
|
||||
final ModelRenderer RightWing;
|
||||
public ModelRenderer body;
|
||||
public ModelRenderer leftWingT;
|
||||
public ModelRenderer leftWingB;
|
||||
public ModelRenderer rightWingT;
|
||||
public ModelRenderer rightWingB;
|
||||
|
||||
public ModelPixie() {
|
||||
textureWidth = 64;
|
||||
textureHeight = 32;
|
||||
|
||||
Body = new ModelRenderer(this, 0, 0);
|
||||
Body.addBox(0F, 0F, 0F, 4, 4, 4);
|
||||
Body.setRotationPoint(-2F, 16F, -2F);
|
||||
Body.setTextureSize(64, 32);
|
||||
Body.mirror = true;
|
||||
setRotation(Body, 0F, 0F, 0F);
|
||||
LeftWing = new ModelRenderer(this, 32, 0);
|
||||
LeftWing.addBox(0F, 0F, -1F, 0, 4, 7);
|
||||
LeftWing.setRotationPoint(2F, 15F, 2F);
|
||||
LeftWing.setTextureSize(64, 32);
|
||||
LeftWing.mirror = true;
|
||||
setRotation(LeftWing, 0F, 0F, 0F);
|
||||
RightWing = new ModelRenderer(this, 50, 0);
|
||||
RightWing.addBox(0F, 0F, -1F, 0, 4, 7);
|
||||
RightWing.setRotationPoint(-2F, 15F, 2F);
|
||||
RightWing.setTextureSize(64, 32);
|
||||
RightWing.mirror = true;
|
||||
setRotation(RightWing, 0F, 0F, 0F);
|
||||
}
|
||||
public ModelPixie() {
|
||||
|
||||
textureWidth = 32;
|
||||
textureHeight = 32;
|
||||
|
||||
body = new ModelRenderer(this, 0, 0);
|
||||
body.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
body.addBox(-2.5F, 0.0F, -2.5F, 5, 5, 5, 0.0F);
|
||||
|
||||
leftWingT = new ModelRenderer(this, 0, 4);
|
||||
leftWingT.setRotationPoint(2.5F, 18.0F, 0.5F);
|
||||
leftWingT.addBox(0.0F, -5.0F, 0.0F, 0, 5, 6, 0.0F);
|
||||
setRotateAngle(leftWingT, 0.2617993877991494F, 0.5235987755982988F, 0.2617993877991494F);
|
||||
leftWingB = new ModelRenderer(this, 0, 11);
|
||||
leftWingB.setRotationPoint(2.5F, 18.0F, 0.5F);
|
||||
leftWingB.addBox(0.0F, 0.0F, 0.0F, 0, 3, 4, 0.0F);
|
||||
setRotateAngle(leftWingB, -0.2617993877991494F, 0.2617993877991494F, -0.2617993877991494F);
|
||||
rightWingT = new ModelRenderer(this, 0, 4);
|
||||
rightWingT.setRotationPoint(-2.5F, 18.0F, 0.5F);
|
||||
rightWingT.addBox(0.0F, -5.0F, 0.0F, 0, 5, 6, 0.0F);
|
||||
setRotateAngle(rightWingT, 0.2617993877991494F, -0.5235987755982988F, -0.2617993877991494F);
|
||||
rightWingB = new ModelRenderer(this, 0, 11);
|
||||
rightWingB.setRotationPoint(-2.5F, 18.0F, 0.5F);
|
||||
rightWingB.addBox(0.0F, 0.0F, 0.0F, 0, 3, 4, 0.0F);
|
||||
setRotateAngle(rightWingB, -0.2617993877991494F, -0.2617993877991494F, 0.2617993877991494F);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) {
|
||||
super.render(entity, f, f1, f2, f3, f4, f5);
|
||||
|
||||
setRotationAngles(f, f1, f2, f3, f4, f5, entity);
|
||||
Body.render(f5);
|
||||
LeftWing.render(f5);
|
||||
RightWing.render(f5);
|
||||
}
|
||||
|
||||
private void setRotation(ModelRenderer model, float x, float y, float z) {
|
||||
model.rotateAngleX = x;
|
||||
model.rotateAngleY = y;
|
||||
model.rotateAngleZ = z;
|
||||
|
||||
body.render(f5);
|
||||
|
||||
leftWingT.render(f5);
|
||||
leftWingB.render(f5);
|
||||
rightWingT.render(f5);
|
||||
rightWingB.render(f5);
|
||||
}
|
||||
|
||||
public void setRotateAngle(ModelRenderer modelRenderer, float x, float y, float z) {
|
||||
modelRenderer.rotateAngleX = x;
|
||||
modelRenderer.rotateAngleY = y;
|
||||
modelRenderer.rotateAngleZ = z;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity entity) {
|
||||
super.setRotationAngles(f, f1, f2, f3, f4, f5, entity);
|
||||
|
||||
RightWing.rotateAngleY = -(MathHelper.cos(f2 * 1.7F) * (float)Math.PI * 0.5F);
|
||||
LeftWing.rotateAngleY = MathHelper.cos(f2 * 1.7F) * (float)Math.PI * 0.5F;
|
||||
rightWingT.rotateAngleY = -(MathHelper.cos(f2 * 1.7F) * (float)Math.PI * 0.5F);
|
||||
leftWingT.rotateAngleY = MathHelper.cos(f2 * 1.7F) * (float)Math.PI * 0.5F;
|
||||
rightWingB.rotateAngleY = -(MathHelper.cos(f2 * 1.7F) * (float)Math.PI * 0.25F);
|
||||
leftWingB.rotateAngleY = MathHelper.cos(f2 * 1.7F) * (float)Math.PI * 0.25F;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,131 @@
|
||||
/**
|
||||
* This class was created by <Vazkii>. It's distributed as
|
||||
* part of the Botania Mod. Get the Source Code in github:
|
||||
* https://github.com/Vazkii/Botania
|
||||
*
|
||||
* Botania is Open Source and distributed under the
|
||||
* Botania License: http://botaniamod.net/license.php
|
||||
*
|
||||
* File Created @ [Feb 18, 2014, 10:05:39 PM (GMT)]
|
||||
*/
|
||||
package vazkii.botania.client.model;
|
||||
|
||||
import java.util.function.Function;
|
||||
|
||||
import net.minecraft.client.model.ModelBase;
|
||||
import net.minecraft.client.model.ModelRenderer;
|
||||
import net.minecraft.client.renderer.block.model.IBakedModel;
|
||||
import net.minecraft.client.renderer.texture.TextureAtlasSprite;
|
||||
import net.minecraft.client.renderer.vertex.VertexFormat;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
import net.minecraftforge.client.model.IModel;
|
||||
import net.minecraftforge.common.model.IModelState;
|
||||
import vazkii.botania.api.state.enums.PylonVariant;
|
||||
|
||||
public class ModelPylonGaia extends ModelBase implements IModel {
|
||||
|
||||
final ModelRenderer platef;
|
||||
final ModelRenderer plateb;
|
||||
final ModelRenderer platel;
|
||||
final ModelRenderer plater;
|
||||
|
||||
final ModelRenderer shardlbt;
|
||||
final ModelRenderer shardrbt;
|
||||
final ModelRenderer shardlft;
|
||||
final ModelRenderer shardrft;
|
||||
|
||||
final ModelRenderer shardlbb;
|
||||
final ModelRenderer shardrbb;
|
||||
final ModelRenderer shardlfb;
|
||||
final ModelRenderer shardrfb;
|
||||
|
||||
public ModelPylonGaia() {
|
||||
|
||||
textureWidth = 64;
|
||||
textureHeight = 64;
|
||||
|
||||
//plates
|
||||
platel = new ModelRenderer(this, 36, 0);
|
||||
platel.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
platel.addBox(-3.0F, -3.0F, -8.0F, 6, 6, 2, 0.0F);
|
||||
setRotation(platel, 0.0F, 1.5707963267948966F, 0.0F);
|
||||
plater = new ModelRenderer(this, 36, 0);
|
||||
plater.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
plater.addBox(-3.0F, -3.0F, -8.0F, 6, 6, 2, 0.0F);
|
||||
setRotation(plater, 0.0F, -1.5707963267948966F, 0.0F);
|
||||
platef = new ModelRenderer(this, 36, 0);
|
||||
platef.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
platef.addBox(-3.0F, -3.0F, -8.0F, 6, 6, 2, 0.0F);
|
||||
plateb = new ModelRenderer(this, 36, 0);
|
||||
plateb.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
plateb.addBox(-3.0F, -3.0F, -8.0F, 6, 6, 2, 0.0F);
|
||||
setRotation(plateb, 0.0F, 3.141592653589793F, 0.0F);
|
||||
|
||||
//shards
|
||||
shardrft = new ModelRenderer(this, 16, 32);
|
||||
shardrft.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
shardrft.addBox(2.0F, -6.0F, -5.0F, 3, 2, 3, 0.0F);
|
||||
shardlbt = new ModelRenderer(this, 0, 0);
|
||||
shardlbt.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
shardlbt.addBox(-5.0F, -6.0F, 0.0F, 6, 5, 5, 0.0F);
|
||||
shardrbt = new ModelRenderer(this, 22, 9);
|
||||
shardrbt.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
shardrbt.addBox(3.0F, -5.0F, 0.0F, 2, 4, 5, 0.0F);
|
||||
shardlft = new ModelRenderer(this, 0, 32);
|
||||
shardlft.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
shardlft.addBox(-5.0F, -7.0F, -5.0F, 5, 6, 3, 0.0F);
|
||||
|
||||
shardrfb = new ModelRenderer(this, 16, 37);
|
||||
shardrfb.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
shardrfb.addBox(2.0F, -2.0F, -5.0F, 3, 6, 3, 0.0F);
|
||||
shardlbb = new ModelRenderer(this, 0, 10);
|
||||
shardlbb.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
shardlbb.addBox(-5.0F, 1.0F, 0.0F, 6, 3, 5, 0.0F);
|
||||
shardrbb = new ModelRenderer(this, 22, 0);
|
||||
shardrbb.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
shardrbb.addBox(3.0F, 1.0F, 0.0F, 2, 4, 5, 0.0F);
|
||||
shardlfb = new ModelRenderer(this, 0, 41);
|
||||
shardlfb.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
shardlfb.addBox(-5.0F, 1.0F, -5.0F, 5, 2, 3, 0.0F);
|
||||
}
|
||||
|
||||
public void renderCrystal(PylonVariant variant) {
|
||||
float f = 1F / 16F;
|
||||
|
||||
shardrft.render(f);
|
||||
shardlbt.render(f);
|
||||
shardrbt.render(f);
|
||||
shardlft.render(f);
|
||||
|
||||
shardrfb.render(f);
|
||||
shardlbb.render(f);
|
||||
shardrbb.render(f);
|
||||
shardlfb.render(f);
|
||||
}
|
||||
|
||||
public void renderRing(PylonVariant variant) {
|
||||
float f = 1F / 16F;
|
||||
|
||||
platef.render(f);
|
||||
plateb.render(f);
|
||||
platel.render(f);
|
||||
plater.render(f);
|
||||
}
|
||||
|
||||
private void setRotation(ModelRenderer model, float x, float y, float z) {
|
||||
|
||||
model.rotateAngleX = x;
|
||||
model.rotateAngleY = y;
|
||||
model.rotateAngleZ = z;
|
||||
}
|
||||
|
||||
public void renderGems(PylonVariant variant) {}
|
||||
|
||||
@Override
|
||||
public IBakedModel bake(IModelState state, VertexFormat format,
|
||||
Function<ResourceLocation, TextureAtlasSprite> bakedTextureGetter) {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,108 @@
|
||||
/**
|
||||
* This class was created by <Vazkii>. It's distributed as
|
||||
* part of the Botania Mod. Get the Source Code in github:
|
||||
* https://github.com/Vazkii/Botania
|
||||
*
|
||||
* Botania is Open Source and distributed under the
|
||||
* Botania License: http://botaniamod.net/license.php
|
||||
*
|
||||
* File Created @ [Feb 18, 2014, 10:05:39 PM (GMT)]
|
||||
*/
|
||||
package vazkii.botania.client.model;
|
||||
|
||||
import java.util.function.Function;
|
||||
|
||||
import net.minecraft.client.model.ModelBase;
|
||||
import net.minecraft.client.model.ModelRenderer;
|
||||
import net.minecraft.client.renderer.block.model.IBakedModel;
|
||||
import net.minecraft.client.renderer.texture.TextureAtlasSprite;
|
||||
import net.minecraft.client.renderer.vertex.VertexFormat;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
import net.minecraftforge.client.model.IModel;
|
||||
import net.minecraftforge.common.model.IModelState;
|
||||
import vazkii.botania.api.state.enums.PylonVariant;
|
||||
|
||||
public class ModelPylonMana extends ModelBase implements IModel {
|
||||
|
||||
final ModelRenderer platef;
|
||||
final ModelRenderer plateb;
|
||||
final ModelRenderer platel;
|
||||
final ModelRenderer plater;
|
||||
|
||||
final ModelRenderer shardlf;
|
||||
final ModelRenderer shardrf;
|
||||
final ModelRenderer shardlb;
|
||||
final ModelRenderer shardrb;
|
||||
|
||||
public ModelPylonMana() {
|
||||
|
||||
textureWidth = 64;
|
||||
textureHeight = 64;
|
||||
|
||||
//plates
|
||||
platef = new ModelRenderer(this, 36, 0);
|
||||
platef.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
platef.addBox(-3.0F, -4.0F, -8.0F, 6, 8, 2, 0.0F);
|
||||
plateb = new ModelRenderer(this, 36, 0);
|
||||
plateb.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
plateb.addBox(-3.0F, -4.0F, -8.0F, 6, 8, 2, 0.0F);
|
||||
setRotation(plateb, 0.0F, 3.141592653589793F, 0.0F);
|
||||
platel = new ModelRenderer(this, 36, 0);
|
||||
platel.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
platel.addBox(-3.0F, -4.0F, -8.0F, 6, 8, 2, 0.0F);
|
||||
setRotation(platel, 0.0F, 1.5707963267948966F, 0.0F);
|
||||
plater = new ModelRenderer(this, 36, 0);
|
||||
plater.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
plater.addBox(-3.0F, -4.0F, -8.0F, 6, 8, 2, 0.0F);
|
||||
setRotation(plater, 0.0F, -1.5707963267948966F, 0.0F);
|
||||
|
||||
//shards
|
||||
shardlf = new ModelRenderer(this, 0, 21);
|
||||
shardlf.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
shardlf.addBox(-5.0F, -9.0F, -5.0F, 5, 16, 3, 0.0F);
|
||||
shardrf = new ModelRenderer(this, 16, 21);
|
||||
shardrf.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
shardrf.addBox(2.0F, -12.0F, -5.0F, 3, 16, 3, 0.0F);
|
||||
shardlb = new ModelRenderer(this, 0, 0);
|
||||
shardlb.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
shardlb.addBox(-5.0F, -10.0F, 0.0F, 6, 16, 5, 0.0F);
|
||||
shardrb = new ModelRenderer(this, 22, 0);
|
||||
shardrb.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
shardrb.addBox(3.0F, -11.0F, 0.0F, 2, 16, 5, 0.0F);
|
||||
}
|
||||
|
||||
public void renderCrystal(PylonVariant variant) {
|
||||
float f = 1F / 16F;
|
||||
|
||||
shardlf.render(f);
|
||||
shardrf.render(f);
|
||||
shardlb.render(f);
|
||||
shardrb.render(f);
|
||||
}
|
||||
|
||||
public void renderRing(PylonVariant variant) {
|
||||
float f = 1F / 16F;
|
||||
|
||||
platef.render(f);
|
||||
plateb.render(f);
|
||||
platel.render(f);
|
||||
plater.render(f);
|
||||
}
|
||||
|
||||
private void setRotation(ModelRenderer model, float x, float y, float z) {
|
||||
|
||||
model.rotateAngleX = x;
|
||||
model.rotateAngleY = y;
|
||||
model.rotateAngleZ = z;
|
||||
}
|
||||
|
||||
public void renderGems(PylonVariant variant) {}
|
||||
|
||||
@Override
|
||||
public IBakedModel bake(IModelState state, VertexFormat format,
|
||||
Function<ResourceLocation, TextureAtlasSprite> bakedTextureGetter) {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,131 @@
|
||||
/**
|
||||
* This class was created by <Vazkii>. It's distributed as
|
||||
* part of the Botania Mod. Get the Source Code in github:
|
||||
* https://github.com/Vazkii/Botania
|
||||
*
|
||||
* Botania is Open Source and distributed under the
|
||||
* Botania License: http://botaniamod.net/license.php
|
||||
*
|
||||
* File Created @ [Feb 18, 2014, 10:05:39 PM (GMT)]
|
||||
*/
|
||||
package vazkii.botania.client.model;
|
||||
|
||||
import java.util.function.Function;
|
||||
|
||||
import net.minecraft.client.model.ModelBase;
|
||||
import net.minecraft.client.model.ModelRenderer;
|
||||
import net.minecraft.client.renderer.block.model.IBakedModel;
|
||||
import net.minecraft.client.renderer.texture.TextureAtlasSprite;
|
||||
import net.minecraft.client.renderer.vertex.VertexFormat;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
import net.minecraftforge.client.model.IModel;
|
||||
import net.minecraftforge.common.model.IModelState;
|
||||
import vazkii.botania.api.state.enums.PylonVariant;
|
||||
|
||||
public class ModelPylonNatura extends ModelBase implements IModel {
|
||||
|
||||
final ModelRenderer platef;
|
||||
final ModelRenderer plateb;
|
||||
final ModelRenderer platel;
|
||||
final ModelRenderer plater;
|
||||
|
||||
final ModelRenderer shardlbt;
|
||||
final ModelRenderer shardrbt;
|
||||
final ModelRenderer shardlft;
|
||||
final ModelRenderer shardrft;
|
||||
|
||||
final ModelRenderer shardlbb;
|
||||
final ModelRenderer shardrbb;
|
||||
final ModelRenderer shardlfb;
|
||||
final ModelRenderer shardrfb;
|
||||
|
||||
public ModelPylonNatura() {
|
||||
|
||||
textureWidth = 64;
|
||||
textureHeight = 64;
|
||||
|
||||
//plates
|
||||
platef = new ModelRenderer(this, 36, 0);
|
||||
platef.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
platef.addBox(-4.0F, -4.0F, -8.0F, 8, 8, 2, 0.0F);
|
||||
plateb = new ModelRenderer(this, 36, 0);
|
||||
plateb.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
plateb.addBox(-4.0F, -4.0F, -8.0F, 8, 8, 2, 0.0F);
|
||||
setRotation(plateb, 0.0F, 3.141592653589793F, 0.0F);
|
||||
platel = new ModelRenderer(this, 36, 0);
|
||||
platel.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
platel.addBox(-4.0F, -4.0F, -8.0F, 8, 8, 2, 0.0F);
|
||||
setRotation(platel, 0.0F, 1.5707963267948966F, 0.0F);
|
||||
plater = new ModelRenderer(this, 36, 0);
|
||||
plater.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
plater.addBox(-4.0F, -4.0F, -8.0F, 8, 8, 2, 0.0F);
|
||||
setRotation(plater, 0.0F, -1.5707963267948966F, 0.0F);
|
||||
|
||||
//shards
|
||||
shardrft = new ModelRenderer(this, 16, 32);
|
||||
shardrft.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
shardrft.addBox(2.0F, -13.0F, -5.0F, 3, 7, 3, 0.0F);
|
||||
shardlbt = new ModelRenderer(this, 0, 0);
|
||||
shardlbt.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
shardlbt.addBox(-5.0F, -11.0F, 0.0F, 6, 9, 5, 0.0F);
|
||||
shardrbt = new ModelRenderer(this, 22, 0);
|
||||
shardrbt.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
shardrbt.addBox(3.0F, -12.0F, 0.0F, 2, 8, 5, 0.0F);
|
||||
shardlft = new ModelRenderer(this, 0, 32);
|
||||
shardlft.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
shardlft.addBox(-5.0F, -10.0F, -5.0F, 5, 10, 3, 0.0F);
|
||||
|
||||
shardrfb = new ModelRenderer(this, 16, 42);
|
||||
shardrfb.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
shardrfb.addBox(2.0F, -4.0F, -5.0F, 3, 9, 3, 0.0F);
|
||||
shardlbb = new ModelRenderer(this, 0, 14);
|
||||
shardlbb.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
shardlbb.addBox(-5.0F, 0.0F, 0.0F, 6, 7, 5, 0.0F);
|
||||
shardrbb = new ModelRenderer(this, 22, 13);
|
||||
shardrbb.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
shardrbb.addBox(3.0F, -2.0F, 0.0F, 2, 8, 5, 0.0F);
|
||||
shardlfb = new ModelRenderer(this, 0, 45);
|
||||
shardlfb.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
shardlfb.addBox(-5.0F, 2.0F, -5.0F, 5, 6, 3, 0.0F);
|
||||
}
|
||||
|
||||
public void renderCrystal(PylonVariant variant) {
|
||||
float f = 1F / 16F;
|
||||
|
||||
shardrft.render(f);
|
||||
shardlbt.render(f);
|
||||
shardrbt.render(f);
|
||||
shardlft.render(f);
|
||||
|
||||
shardrfb.render(f);
|
||||
shardlbb.render(f);
|
||||
shardrbb.render(f);
|
||||
shardlfb.render(f);
|
||||
}
|
||||
|
||||
public void renderRing(PylonVariant variant) {
|
||||
float f = 1F / 16F;
|
||||
|
||||
platef.render(f);
|
||||
plateb.render(f);
|
||||
platel.render(f);
|
||||
plater.render(f);
|
||||
}
|
||||
|
||||
private void setRotation(ModelRenderer model, float x, float y, float z) {
|
||||
|
||||
model.rotateAngleX = x;
|
||||
model.rotateAngleY = y;
|
||||
model.rotateAngleZ = z;
|
||||
}
|
||||
|
||||
public void renderGems(PylonVariant variant) {}
|
||||
|
||||
@Override
|
||||
public IBakedModel bake(IModelState state, VertexFormat format,
|
||||
Function<ResourceLocation, TextureAtlasSprite> bakedTextureGetter) {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -15,78 +15,76 @@ import net.minecraft.client.model.ModelRenderer;
|
||||
|
||||
public class ModelSpreader extends ModelBase {
|
||||
|
||||
final ModelRenderer cubeSide1;
|
||||
final ModelRenderer cubeSide2;
|
||||
final ModelRenderer cubeSide3;
|
||||
final ModelRenderer cubeSide4;
|
||||
final ModelRenderer cubeSide5;
|
||||
final ModelRenderer cubeHole1;
|
||||
final ModelRenderer cubeHole2;
|
||||
final ModelRenderer cubeHole3;
|
||||
final ModelRenderer cubeHole4;
|
||||
final ModelRenderer cubeInside;
|
||||
final ModelRenderer top;
|
||||
final ModelRenderer sideL;
|
||||
final ModelRenderer sideR;
|
||||
final ModelRenderer bottom;
|
||||
final ModelRenderer back;
|
||||
|
||||
final ModelRenderer holeT;
|
||||
final ModelRenderer holeL;
|
||||
final ModelRenderer holeR;
|
||||
final ModelRenderer holeB;
|
||||
|
||||
final ModelRenderer inside;
|
||||
|
||||
public ModelSpreader() {
|
||||
|
||||
textureWidth = 64;
|
||||
textureHeight = 32;
|
||||
|
||||
cubeSide1 = new ModelRenderer(this, 0, 0);
|
||||
cubeSide1.addBox(0F, 0F, 0F, 14, 1, 14);
|
||||
cubeSide1.setRotationPoint(-7F, 22F, -7F);
|
||||
cubeSide1.setTextureSize(64, 32);
|
||||
cubeSide2 = new ModelRenderer(this, 0, 0);
|
||||
cubeSide2.addBox(0F, 0F, 0F, 14, 13, 1);
|
||||
cubeSide2.setRotationPoint(-7F, 9F, -7F);
|
||||
cubeSide2.setTextureSize(64, 32);
|
||||
cubeSide3 = new ModelRenderer(this, 0, 0);
|
||||
cubeSide3.addBox(0F, 0F, 0F, 1, 13, 13);
|
||||
cubeSide3.setRotationPoint(-7F, 9F, -6F);
|
||||
cubeSide3.setTextureSize(64, 32);
|
||||
cubeSide4 = new ModelRenderer(this, 0, 0);
|
||||
cubeSide4.addBox(0F, 0F, 0F, 1, 13, 13);
|
||||
cubeSide4.setRotationPoint(6F, 9F, -6F);
|
||||
cubeSide4.setTextureSize(64, 32);
|
||||
cubeSide5 = new ModelRenderer(this, 0, 0);
|
||||
cubeSide5.addBox(0F, 0F, 0F, 12, 1, 13);
|
||||
cubeSide5.setRotationPoint(-6F, 9F, -6F);
|
||||
cubeSide5.setTextureSize(64, 32);
|
||||
cubeHole1 = new ModelRenderer(this, 0, 0);
|
||||
cubeHole1.addBox(0F, 0F, 0F, 4, 12, 1);
|
||||
cubeHole1.setRotationPoint(2F, 10F, 6F);
|
||||
cubeHole1.setTextureSize(64, 32);
|
||||
cubeHole2 = new ModelRenderer(this, 0, 0);
|
||||
cubeHole2.addBox(0F, 0F, 0F, 4, 12, 1);
|
||||
cubeHole2.setRotationPoint(-6F, 10F, 6F);
|
||||
cubeHole2.setTextureSize(64, 32);
|
||||
cubeHole3 = new ModelRenderer(this, 0, 0);
|
||||
cubeHole3.addBox(0F, 0F, 0F, 4, 4, 1);
|
||||
cubeHole3.setRotationPoint(-2F, 18F, 6F);
|
||||
cubeHole3.setTextureSize(64, 32);
|
||||
cubeHole4 = new ModelRenderer(this, 0, 0);
|
||||
cubeHole4.addBox(0F, 0F, 0F, 4, 4, 1);
|
||||
cubeHole4.setRotationPoint(-2F, 10F, 6F);
|
||||
cubeHole4.setTextureSize(64, 32);
|
||||
cubeInside = new ModelRenderer(this, 30, 17);
|
||||
cubeInside.addBox(0F, 0F, 0F, 6, 6, 6);
|
||||
cubeInside.setRotationPoint(-3F, 13F, -3F);
|
||||
cubeInside.setTextureSize(64, 32);
|
||||
textureHeight = 64;
|
||||
|
||||
top = new ModelRenderer(this, 0, 0);
|
||||
top.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
top.addBox(-7.0F, -7.0F, -7.0F, 14, 1, 14, 0.0F);
|
||||
sideL = new ModelRenderer(this, 0, 30);
|
||||
sideL.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
sideL.addBox(6.0F, -6.0F, -6.0F, 1, 12, 12, 0.0F);
|
||||
sideR = new ModelRenderer(this, 0, 30);
|
||||
sideR.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
sideR.addBox(-7.0F, -6.0F, -6.0F, 1, 12, 12, 0.0F);
|
||||
back = new ModelRenderer(this, 0, 29);
|
||||
back.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
back.addBox(-7.0F, -6.0F, -7.0F, 14, 12, 1, 0.0F);
|
||||
bottom = new ModelRenderer(this, 0, 15);
|
||||
bottom.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
bottom.addBox(-7.0F, 6.0F, -7.0F, 14, 1, 14, 0.0F);
|
||||
|
||||
holeT = new ModelRenderer(this, 0, 54);
|
||||
holeT.setRotationPoint(0.0F, 10.0F, 6.0F);
|
||||
holeT.addBox(-7.0F, 0.0F, 0.0F, 14, 4, 1, 0.0F);
|
||||
holeL = new ModelRenderer(this, 30, 54);
|
||||
holeL.setRotationPoint(2.0F, 10.0F, 6.0F);
|
||||
holeL.addBox(0.0F, 4.0F, 0.0F, 5, 4, 1, 0.0F);
|
||||
holeR = new ModelRenderer(this, 30, 59);
|
||||
holeR.setRotationPoint(0.0F, 10.0F, 6.0F);
|
||||
holeR.addBox(-7.0F, 4.0F, 0.0F, 5, 4, 1, 0.0F);
|
||||
holeB = new ModelRenderer(this, 0, 59);
|
||||
holeB.setRotationPoint(0.0F, 18.0F, 6.0F);
|
||||
holeB.addBox(-7.0F, 0.0F, 0.0F, 14, 4, 1, 0.0F);
|
||||
|
||||
inside = new ModelRenderer(this, 30, 30);
|
||||
inside.setRotationPoint(0.0F, 16.0F, 0.0F);
|
||||
inside.addBox(-3.0F, -3.0F, -3.0F, 6, 6, 6, 0.0F);
|
||||
}
|
||||
|
||||
public void render() {
|
||||
float f = 1F / 16F;
|
||||
cubeSide1.render(f);
|
||||
cubeSide2.render(f);
|
||||
cubeSide3.render(f);
|
||||
cubeSide4.render(f);
|
||||
cubeSide5.render(f);
|
||||
cubeHole1.render(f);
|
||||
cubeHole2.render(f);
|
||||
cubeHole3.render(f);
|
||||
cubeHole4.render(f);
|
||||
|
||||
top.render(f);
|
||||
sideL.render(f);
|
||||
sideR.render(f);
|
||||
back.render(f);
|
||||
bottom.render(f);
|
||||
|
||||
holeT.render(f);
|
||||
holeL.render(f);
|
||||
holeR.render(f);
|
||||
holeB.render(f);
|
||||
}
|
||||
|
||||
public void renderCube() {
|
||||
float f = 1F / 16F;
|
||||
cubeInside.render(f);
|
||||
|
||||
inside.render(f);
|
||||
}
|
||||
}
|
||||
@@ -18,8 +18,8 @@ public class ModelTinyPotato extends ModelBase {
|
||||
final ModelRenderer potato;
|
||||
|
||||
public ModelTinyPotato() {
|
||||
textureWidth = 64;
|
||||
textureHeight = 32;
|
||||
textureWidth = 16;
|
||||
textureHeight = 16;
|
||||
|
||||
potato = new ModelRenderer(this, 0, 0);
|
||||
potato.addBox(0F, 0F, 0F, 4, 6, 4);
|
||||
|
||||
@@ -10,217 +10,232 @@
|
||||
*/
|
||||
package vazkii.botania.client.model.armor;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
|
||||
import net.minecraft.client.model.ModelRenderer;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.inventory.EntityEquipmentSlot;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
|
||||
public class ModelArmorElementium extends ModelArmor {
|
||||
|
||||
private final ModelRenderer helmAnchor;
|
||||
private final ModelRenderer helm;
|
||||
public final ModelRenderer body;
|
||||
private final ModelRenderer armR;
|
||||
private final ModelRenderer helmFairy;
|
||||
private final ModelRenderer helmWing1r;
|
||||
private final ModelRenderer helmWing2l;
|
||||
private final ModelRenderer helmWing1l;
|
||||
private final ModelRenderer helmWing2r;
|
||||
|
||||
private final ModelRenderer bodyAnchor;
|
||||
private final ModelRenderer bodyTop;
|
||||
private final ModelRenderer bodyBottom;
|
||||
|
||||
private final ModelRenderer armLAnchor;
|
||||
private final ModelRenderer armL;
|
||||
public final ModelRenderer belt;
|
||||
private final ModelRenderer bootR;
|
||||
private final ModelRenderer bootL;
|
||||
private final ModelRenderer helm1;
|
||||
private final ModelRenderer helm2;
|
||||
private final ModelRenderer helm3;
|
||||
private final ModelRenderer fairy;
|
||||
private final ModelRenderer helmWing1;
|
||||
private final ModelRenderer helmWing2;
|
||||
private final ModelRenderer helmWing3;
|
||||
private final ModelRenderer helmWing4;
|
||||
private final ModelRenderer body2;
|
||||
private final ModelRenderer armRpauldron;
|
||||
private final ModelRenderer wing1;
|
||||
private final ModelRenderer wing2;
|
||||
private final ModelRenderer armLpauldron;
|
||||
private final ModelRenderer wing1_1;
|
||||
private final ModelRenderer wing2_1;
|
||||
private final ModelRenderer legR;
|
||||
private final ModelRenderer legL;
|
||||
private final ModelRenderer bootR1;
|
||||
private final ModelRenderer wing1_2;
|
||||
private final ModelRenderer wing2_2;
|
||||
private final ModelRenderer bootL1;
|
||||
private final ModelRenderer wing1_3;
|
||||
private final ModelRenderer wing2_3;
|
||||
|
||||
private final ModelRenderer armLwing1;
|
||||
private final ModelRenderer armLwing2;
|
||||
|
||||
private final ModelRenderer armRAnchor;
|
||||
private final ModelRenderer armR;
|
||||
private final ModelRenderer armRpauldron;
|
||||
private final ModelRenderer armRwing1;
|
||||
private final ModelRenderer armRwing2;
|
||||
|
||||
private final ModelRenderer pantsAnchor;
|
||||
private final ModelRenderer belt;
|
||||
private final ModelRenderer legL;
|
||||
private final ModelRenderer legR;
|
||||
|
||||
private final ModelRenderer bootL;
|
||||
private final ModelRenderer bootLwing1;
|
||||
private final ModelRenderer bootLwing2;
|
||||
private final ModelRenderer bootR;
|
||||
private final ModelRenderer bootRwing1;
|
||||
private final ModelRenderer bootRwing2;
|
||||
|
||||
public ModelArmorElementium(EntityEquipmentSlot slot) {
|
||||
super(slot);
|
||||
|
||||
textureWidth = 64;
|
||||
textureHeight = 128;
|
||||
float s = 0.6F;
|
||||
fairy = new ModelRenderer(this, 34, 32);
|
||||
fairy.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
fairy.addBox(-2.0F, -8.5F, -7.0F, 4, 4, 4, s);
|
||||
setRotateAngle(fairy, -0.17453292519943295F, 0.0F, 0.0F);
|
||||
helm3 = new ModelRenderer(this, 0, 32);
|
||||
helm3.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
helm3.addBox(-1.0F, -5.5F, -5.5F, 2, 3, 1, s);
|
||||
setRotateAngle(helm3, -0.17453292519943295F, 0.0F, 0.0F);
|
||||
wing1_2 = new ModelRenderer(this, 56, 43);
|
||||
wing1_2.mirror = true;
|
||||
wing1_2.setRotationPoint(-2.5F, 9.0F, 0.0F);
|
||||
wing1_2.addBox(0.5F, -2.0F, 0.0F, 0, 2, 3, s);
|
||||
setRotateAngle(wing1_2, 0.2617993877991494F, -0.7853981633974483F, -0.2617993877991494F);
|
||||
helm1 = new ModelRenderer(this, 50, 32);
|
||||
helm1.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
helm1.addBox(-4.0F, -5.0F, -4.5F, 1, 5, 4, s);
|
||||
legL = new ModelRenderer(this, 12, 79);
|
||||
legL.mirror = true;
|
||||
legL.setRotationPoint(1.9F, 12.0F, 0.0F);
|
||||
legL.addBox(-2.0F, 0.0F, -2.0F, 4, 6, 4, s);
|
||||
setRotateAngle(legL, 0.0F, 0.0F, 0F);
|
||||
armL = new ModelRenderer(this, 0, 79);
|
||||
armL.mirror = true;
|
||||
armL.setRotationPoint(5.0F, 2.0F, -0.0F);
|
||||
armL.addBox(1.5F, 6.0F, -2.0F, 2, 4, 4, s);
|
||||
setRotateAngle(armL, 0.0F, 0.0F, 0F);
|
||||
armRpauldron = new ModelRenderer(this, 0, 67);
|
||||
armRpauldron.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
armRpauldron.addBox(-4.0F, -2.5F, -3.0F, 5, 6, 6, s);
|
||||
legR = new ModelRenderer(this, 12, 79);
|
||||
legR.setRotationPoint(-1.9F, 12.0F, 0.0F);
|
||||
legR.addBox(-2.0F, 0.0F, -2.0F, 4, 6, 4, s);
|
||||
setRotateAngle(legR, 0.0F, 0.0F, 0F);
|
||||
helmWing2 = new ModelRenderer(this, 46, 45);
|
||||
helmWing2.mirror = true;
|
||||
helmWing2.setRotationPoint(-4.0F, -4.0F, -1.0F);
|
||||
helmWing2.addBox(-0.5F, 0.0F, 0.0F, 1, 3, 4, s);
|
||||
setRotateAngle(helmWing2, -0.2617993877991494F, -0.2617993877991494F, 0.2617993877991494F);
|
||||
bootL1 = new ModelRenderer(this, 12, 79);
|
||||
bootL1.mirror = true;
|
||||
bootL1.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
bootL1.addBox(-2.0F, 7.0F, -2.0F, 4, 1, 4, s);
|
||||
armR = new ModelRenderer(this, 0, 79);
|
||||
armR.setRotationPoint(-5.0F, 2.0F, 0.0F);
|
||||
armR.addBox(-3.5F, 6.0F, -2.0F, 2, 4, 4, s);
|
||||
setRotateAngle(armR, 0.0F, 0.0F, 0F);
|
||||
bootR1 = new ModelRenderer(this, 12, 79);
|
||||
bootR1.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
bootR1.addBox(-2.0F, 7.0F, -2.0F, 4, 1, 4, s);
|
||||
bootR = new ModelRenderer(this, 12, 79);
|
||||
bootR.setRotationPoint(-1.9F, 12.0F, 0.0F);
|
||||
bootR.addBox(-2.0F, 8.0F, -3.0F, 4, 4, 5, s);
|
||||
setRotateAngle(bootR, 0.0F, 0.0F, 0F);
|
||||
wing2_1 = new ModelRenderer(this, 56, 42);
|
||||
wing2_1.setRotationPoint(4.5F, 0.0F, 0.0F);
|
||||
wing2_1.addBox(0.0F, 0.0F, -0.5F, 0, 2, 3, s);
|
||||
setRotateAngle(wing2_1, 0.08726646259971647F, 0.7853981633974483F, 0.2617993877991494F);
|
||||
wing2_2 = new ModelRenderer(this, 56, 44);
|
||||
wing2_2.mirror = true;
|
||||
wing2_2.setRotationPoint(-2.5F, 9.0F, 0.0F);
|
||||
wing2_2.addBox(0.5F, 0.0F, 0.0F, 0, 1, 2, s);
|
||||
setRotateAngle(wing2_2, 0.08726646259971647F, -0.7853981633974483F, -0.2617993877991494F);
|
||||
bootL = new ModelRenderer(this, 12, 79);
|
||||
bootL.mirror = true;
|
||||
bootL.setRotationPoint(1.9F, 12.0F, 0.0F);
|
||||
bootL.addBox(-2.0F, 8.0F, -3.0F, 4, 4, 5, s);
|
||||
setRotateAngle(bootL, 0.0F, 0.0F, 0F);
|
||||
body = new ModelRenderer(this, 0, 44);
|
||||
body.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
body.addBox(-4.5F, 0.0F, -4.0F, 9, 5, 7, s);
|
||||
setRotateAngle(body, 0.08726646259971647F, 0.0F, 0.0F);
|
||||
belt = new ModelRenderer(this, 22, 56);
|
||||
belt.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
belt.addBox(-4.5F, 9.5F, -3.0F, 9, 3, 5, s);
|
||||
helm = new ModelRenderer(this, 0, 32);
|
||||
helm.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
helm.addBox(-4.0F, -8.0F, -4.5F, 8, 3, 9, s);
|
||||
setRotateAngle(helm, 0.08726646259971647F, 0.0F, 0.0F);
|
||||
helmWing4 = new ModelRenderer(this, 46, 45);
|
||||
helmWing4.setRotationPoint(4.0F, -4.0F, -1.0F);
|
||||
helmWing4.addBox(-0.5F, 0.0F, 0.0F, 1, 3, 4, s);
|
||||
setRotateAngle(helmWing4, -0.2617993877991494F, 0.2617993877991494F, -0.2617993877991494F);
|
||||
armLpauldron = new ModelRenderer(this, 0, 67);
|
||||
armLpauldron.mirror = true;
|
||||
armLpauldron.setRotationPoint(0.0F, 0.0F, -0.0F);
|
||||
armLpauldron.addBox(-1.0F, -2.5F, -3.0F, 5, 6, 6, s);
|
||||
wing1_1 = new ModelRenderer(this, 56, 41);
|
||||
wing1_1.setRotationPoint(4.5F, 0.0F, 0.0F);
|
||||
wing1_1.addBox(0.0F, -3.0F, -0.5F, 0, 3, 4, s);
|
||||
setRotateAngle(wing1_1, 0.2617993877991494F, 0.7853981633974483F, 0.2617993877991494F);
|
||||
helm2 = new ModelRenderer(this, 50, 32);
|
||||
helm2.mirror = true;
|
||||
helm2.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
helm2.addBox(3.0F, -5.0F, -4.5F, 1, 5, 4, s);
|
||||
wing2_3 = new ModelRenderer(this, 56, 44);
|
||||
wing2_3.setRotationPoint(2.5F, 9.0F, 0.0F);
|
||||
wing2_3.addBox(0.0F, 0.0F, -0.5F, 0, 1, 2, s);
|
||||
setRotateAngle(wing2_3, 0.08726646259971647F, 0.7853981633974483F, 0.2617993877991494F);
|
||||
wing1 = new ModelRenderer(this, 56, 41);
|
||||
wing1.mirror = true;
|
||||
wing1.setRotationPoint(-4.5F, 0.0F, 0.0F);
|
||||
wing1.addBox(0.5F, -3.0F, 0.0F, 0, 3, 4, s);
|
||||
setRotateAngle(wing1, 0.2617993877991494F, -0.7853981633974483F, -0.2617993877991494F);
|
||||
body2 = new ModelRenderer(this, 0, 56);
|
||||
body2.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
body2.addBox(-3.0F, 4.0F, -3.0F, 6, 6, 5, s);
|
||||
setRotateAngle(body2, -0.08726646259971647F, 0.0F, 0.0F);
|
||||
helmWing3 = new ModelRenderer(this, 32, 45);
|
||||
helmWing3.setRotationPoint(4.0F, -4.0F, -1.0F);
|
||||
helmWing3.addBox(-0.5F, -5.0F, 0.0F, 1, 5, 6, s);
|
||||
setRotateAngle(helmWing3, 0.2617993877991494F, 0.5235987755982988F, 0.08726646259971647F);
|
||||
helmWing1 = new ModelRenderer(this, 32, 45);
|
||||
helmWing1.mirror = true;
|
||||
helmWing1.setRotationPoint(-4.0F, -4.0F, -1.0F);
|
||||
helmWing1.addBox(-0.5F, -5.0F, 0.0F, 1, 5, 6, s);
|
||||
setRotateAngle(helmWing1, 0.2617993877991494F, -0.5235987755982988F, -0.08726646259971647F);
|
||||
wing2 = new ModelRenderer(this, 56, 42);
|
||||
wing2.mirror = true;
|
||||
wing2.setRotationPoint(-4.5F, 0.0F, 0.0F);
|
||||
wing2.addBox(0.5F, 0.0F, 0.0F, 0, 2, 3, s);
|
||||
setRotateAngle(wing2, 0.08726646259971647F, -0.7853981633974483F, -0.2617993877991494F);
|
||||
wing1_3 = new ModelRenderer(this, 56, 43);
|
||||
wing1_3.setRotationPoint(2.5F, 9.0F, 0.0F);
|
||||
wing1_3.addBox(0.0F, -2.0F, -0.5F, 0, 2, 3, s);
|
||||
setRotateAngle(wing1_3, 0.2617993877991494F, 0.7853981633974483F, 0.2617993877991494F);
|
||||
helm.addChild(fairy);
|
||||
helm.addChild(helm3);
|
||||
bootR.addChild(wing1_2);
|
||||
helm.addChild(helm1);
|
||||
belt.addChild(legL);
|
||||
armR.addChild(armRpauldron);
|
||||
belt.addChild(legR);
|
||||
helm.addChild(helmWing2);
|
||||
bootL.addChild(bootL1);
|
||||
bootR.addChild(bootR1);
|
||||
armLpauldron.addChild(wing2_1);
|
||||
bootR.addChild(wing2_2);
|
||||
helm.addChild(helmWing4);
|
||||
armL.addChild(armLpauldron);
|
||||
armLpauldron.addChild(wing1_1);
|
||||
helm.addChild(helm2);
|
||||
bootL.addChild(wing2_3);
|
||||
armRpauldron.addChild(wing1);
|
||||
body.addChild(body2);
|
||||
helm.addChild(helmWing3);
|
||||
helm.addChild(helmWing1);
|
||||
armRpauldron.addChild(wing2);
|
||||
bootL.addChild(wing1_3);
|
||||
this.textureWidth = 64;
|
||||
this.textureHeight = 128;
|
||||
float s = 0.01F;
|
||||
|
||||
//helm
|
||||
this.helmAnchor = new ModelRenderer(this, 0, 0);
|
||||
this.helmAnchor.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.helmAnchor.addBox(-1.0F, -2.0F, 0.0F, 2, 2, 2, s);
|
||||
this.helm = new ModelRenderer(this, 0, 0);
|
||||
this.helm.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.helm.addBox(-4.5F, -9.0F, -4.5F, 9, 9, 9, s);
|
||||
this.helmFairy = new ModelRenderer(this, 36, 11);
|
||||
this.helmFairy.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.helmFairy.addBox(-2.5F, -10.0F, -5.5F, 5, 5, 5, s);
|
||||
this.helmWing1l = new ModelRenderer(this, 36, 0);
|
||||
this.helmWing1l.mirror = true;
|
||||
this.helmWing1l.setRotationPoint(4.5F, -6.0F, -0.5F);
|
||||
this.helmWing1l.addBox(-1.0F, -5.0F, 0.0F, 1, 5, 6, s);
|
||||
this.setRotateAngle(helmWing1l, 0.2617993877991494F, 0.5235987755982988F, 0.2617993877991494F);
|
||||
this.helmWing2l = new ModelRenderer(this, 50, 0);
|
||||
this.helmWing2l.setRotationPoint(4.5F, -6.0F, -0.5F);
|
||||
this.helmWing2l.addBox(-1.0F, 0.0F, 0.0F, 1, 3, 4, s);
|
||||
this.setRotateAngle(helmWing2l, -0.2617993877991494F, 0.2617993877991494F, -0.2617993877991494F);
|
||||
this.helmWing1r = new ModelRenderer(this, 36, 0);
|
||||
this.helmWing1r.setRotationPoint(-4.5F, -6.0F, -0.5F);
|
||||
this.helmWing1r.addBox(0.0F, -5.0F, 0.0F, 1, 5, 6, s);
|
||||
this.setRotateAngle(helmWing1r, 0.2617993877991494F, -0.5235987755982988F, -0.2617993877991494F);
|
||||
this.helmWing2r = new ModelRenderer(this, 50, 0);
|
||||
this.helmWing2r.mirror = true;
|
||||
this.helmWing2r.setRotationPoint(-4.5F, -6.0F, -0.5F);
|
||||
this.helmWing2r.addBox(0.0F, 0.0F, 0.0F, 1, 3, 4, s);
|
||||
this.setRotateAngle(helmWing2r, -0.2617993877991494F, -0.2617993877991494F, 0.2617993877991494F);
|
||||
|
||||
//body
|
||||
this.bodyAnchor = new ModelRenderer(this, 0, 0);
|
||||
this.bodyAnchor.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.bodyAnchor.addBox(-1.0F, 0.0F, -1.0F, 2, 2, 2, s);
|
||||
this.bodyTop = new ModelRenderer(this, 0, 19);
|
||||
this.bodyTop.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.bodyTop.addBox(-4.5F, 0.0F, -3.0F, 9, 6, 6, s);
|
||||
this.bodyBottom = new ModelRenderer(this, 0, 31);
|
||||
this.bodyBottom.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.bodyBottom.addBox(-3.5F, 5.0F, -2.5F, 7, 3, 5, s);
|
||||
|
||||
//armL
|
||||
this.armLAnchor = new ModelRenderer(this, 0, 0);
|
||||
this.armLAnchor.mirror = true;
|
||||
this.armLAnchor.setRotationPoint(4.0F, 2.0F, 0.0F);
|
||||
this.armLAnchor.addBox(0.0F, -1.0F, -1.0F, 2, 2, 2, s);
|
||||
this.armL = new ModelRenderer(this, 24, 40);
|
||||
this.armL.mirror = true;
|
||||
this.armL.setRotationPoint(0.0F, 0.0F, -0.0F);
|
||||
this.armL.addBox(0.5F, 4.5F, -2.49F, 3, 6, 5, s);
|
||||
this.armLpauldron = new ModelRenderer(this, 0, 40);
|
||||
this.armLpauldron.mirror = true;
|
||||
this.armLpauldron.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.armLpauldron.addBox(-0.5F, -3.0F, -3.0F, 6, 7, 6, s);
|
||||
this.armLwing1 = new ModelRenderer(this, 40, 35);
|
||||
this.armLwing1.setRotationPoint(6.0F, -1.0F, 0.0F);
|
||||
this.armLwing1.addBox(0.0F, -4.0F, 0.0F, 0, 4, 5, s);
|
||||
this.setRotateAngle(armLwing1, 0.2617993877991494F, 0.5235987755982988F, 0.2617993877991494F);
|
||||
this.armLwing2 = new ModelRenderer(this, 40, 40);
|
||||
this.armLwing2.setRotationPoint(6.0F, -1.0F, 0.0F);
|
||||
this.armLwing2.addBox(0.0F, 0.0F, 0.0F, 0, 3, 4, s);
|
||||
this.setRotateAngle(armLwing2, -0.2617993877991494F, 0.2617993877991494F, -0.2617993877991494F);
|
||||
|
||||
//armR
|
||||
this.armRAnchor = new ModelRenderer(this, 0, 0);
|
||||
this.armRAnchor.mirror = true;
|
||||
this.armRAnchor.setRotationPoint(-4.0F, 2.0F, 0.0F);
|
||||
this.armRAnchor.addBox(-2.0F, -1.0F, -1.0F, 2, 2, 2, s);
|
||||
this.armR = new ModelRenderer(this, 24, 40);
|
||||
this.armR.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.armR.addBox(-3.5F, 4.5F, -2.51F, 3, 6, 5, s);
|
||||
this.armRpauldron = new ModelRenderer(this, 0, 40);
|
||||
this.armRpauldron.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.armRpauldron.addBox(-5.5F, -3.0F, -3.0F, 6, 7, 6, s);
|
||||
this.setRotateAngle(armRpauldron, 0.0F, 0.0F, 0.0017453292519943296F);
|
||||
this.armRwing1 = new ModelRenderer(this, 40, 35);
|
||||
this.armRwing1.mirror = true;
|
||||
this.armRwing1.setRotationPoint(-6.5F, -1.0F, 0.0F);
|
||||
this.armRwing1.addBox(0.0F, -4.0F, 0.0F, 0, 4, 5, s);
|
||||
this.setRotateAngle(armRwing1, 0.2617993877991494F, -0.5235987755982988F, -0.2617993877991494F);
|
||||
this.armRwing2 = new ModelRenderer(this, 40, 40);
|
||||
this.armRwing2.mirror = true;
|
||||
this.armRwing2.setRotationPoint(-6.5F, -1.0F, 0.0F);
|
||||
this.armRwing2.addBox(0.0F, 0.0F, 0.0F, 0, 3, 4, s);
|
||||
this.setRotateAngle(armRwing2, -0.2617993877991494F, -0.2617993877991494F, 0.2617993877991494F);
|
||||
|
||||
//pants
|
||||
this.pantsAnchor = new ModelRenderer(this, 0, 0);
|
||||
this.pantsAnchor.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.pantsAnchor.addBox(-1.0F, 0.0F, -1.0F, 2, 2, 2, s);
|
||||
this.belt = new ModelRenderer(this, 0, 53);
|
||||
this.belt.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.belt.addBox(-4.5F, 8.0F, -3.0F, 9, 5, 6, s);
|
||||
this.legL = new ModelRenderer(this, 0, 64);
|
||||
this.legL.mirror = true;
|
||||
this.legL.setRotationPoint(1.9F, 12.0F, 0.0F);
|
||||
this.legL.addBox(-2.39F, 0.0F, -2.49F, 5, 6, 5, s);
|
||||
this.legR = new ModelRenderer(this, 0, 64);
|
||||
this.legR.setRotationPoint(-1.9F, 12.0F, 0.0F);
|
||||
this.legR.addBox(-2.61F, 0.0F, -2.51F, 5, 6, 5, s);
|
||||
|
||||
//boots
|
||||
this.bootL = new ModelRenderer(this, 0, 75);
|
||||
this.bootL.mirror = true;
|
||||
this.bootL.setRotationPoint(1.9F, 12.0F, 0.0F);
|
||||
this.bootL.addBox(-2.39F, 8.5F, -2.49F, 5, 5, 5, s);
|
||||
this.bootLwing1 = new ModelRenderer(this, 40, 40);
|
||||
this.bootLwing1.setRotationPoint(2.5F, 8.5F, 0.0F);
|
||||
this.bootLwing1.addBox(0.0F, -3.0F, 0.0F, 0, 3, 4, s);
|
||||
this.setRotateAngle(bootLwing1, 0.2617993877991494F, 0.5235987755982988F, 0.2617993877991494F);
|
||||
this.bootLwing2 = new ModelRenderer(this, 40, 44);
|
||||
this.bootLwing2.setRotationPoint(2.5F, 8.5F, 0.0F);
|
||||
this.bootLwing2.addBox(0.0F, 0.0F, 0.0F, 0, 2, 3, s);
|
||||
this.setRotateAngle(bootLwing2, -0.2617993877991494F, 0.2617993877991494F, -0.2617993877991494F);
|
||||
this.bootR = new ModelRenderer(this, 0, 75);
|
||||
this.bootR.setRotationPoint(-1.9F, 12.0F, 0.0F);
|
||||
this.bootR.addBox(-2.61F, 8.5F, -2.51F, 5, 5, 5, s);
|
||||
this.bootRwing1 = new ModelRenderer(this, 40, 40);
|
||||
this.bootRwing1.mirror = true;
|
||||
this.bootRwing1.setRotationPoint(-2.6F, 8.5F, 0.0F);
|
||||
this.bootRwing1.addBox(0.0F, -3.0F, 0.0F, 0, 3, 4, s);
|
||||
this.setRotateAngle(bootRwing1, 0.2617993877991494F, -0.5235987755982988F, -0.2617993877991494F);
|
||||
this.bootRwing2 = new ModelRenderer(this, 40, 44);
|
||||
this.bootRwing2.mirror = true;
|
||||
this.bootRwing2.setRotationPoint(-2.5F, 8.5F, 0.0F);
|
||||
this.bootRwing2.addBox(0.0F, 0.0F, 0.0F, 0, 2, 3, s);
|
||||
this.setRotateAngle(bootRwing2, -0.2617993877991494F, -0.2617993877991494F, 0.2617993877991494F);
|
||||
|
||||
//hierarchy
|
||||
this.helmAnchor.addChild(this.helm);
|
||||
this.helm.addChild(this.helmFairy);
|
||||
this.helm.addChild(this.helmWing1l);
|
||||
this.helm.addChild(this.helmWing2l);
|
||||
this.helm.addChild(this.helmWing1r);
|
||||
this.helm.addChild(this.helmWing2r);
|
||||
|
||||
this.bodyAnchor.addChild(this.bodyTop);
|
||||
this.bodyTop.addChild(this.bodyBottom);
|
||||
this.armLAnchor.addChild(this.armL);
|
||||
this.armL.addChild(this.armLpauldron);
|
||||
this.armLpauldron.addChild(this.armLwing1);
|
||||
this.armLpauldron.addChild(this.armLwing2);
|
||||
this.armRAnchor.addChild(this.armR);
|
||||
this.armR.addChild(this.armRpauldron);
|
||||
this.armRpauldron.addChild(this.armRwing1);
|
||||
this.armRpauldron.addChild(this.armRwing2);
|
||||
|
||||
this.pantsAnchor.addChild(this.belt);
|
||||
this.belt.addChild(this.legL);
|
||||
this.belt.addChild(this.legR);;
|
||||
|
||||
this.bootL.addChild(bootLwing1);
|
||||
this.bootL.addChild(bootLwing2);
|
||||
this.bootR.addChild(bootRwing1);
|
||||
this.bootR.addChild(bootRwing2);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void render(@Nonnull Entity entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch, float scale) {
|
||||
helm.showModel = slot == EntityEquipmentSlot.HEAD;
|
||||
body.showModel = slot == EntityEquipmentSlot.CHEST;
|
||||
armR.showModel = slot == EntityEquipmentSlot.CHEST;
|
||||
armL.showModel = slot == EntityEquipmentSlot.CHEST;
|
||||
|
||||
helmAnchor.showModel = slot == EntityEquipmentSlot.HEAD;
|
||||
bodyAnchor.showModel = slot == EntityEquipmentSlot.CHEST;
|
||||
armRAnchor.showModel = slot == EntityEquipmentSlot.CHEST;
|
||||
armLAnchor.showModel = slot == EntityEquipmentSlot.CHEST;
|
||||
legR.showModel = slot == EntityEquipmentSlot.LEGS;
|
||||
legL.showModel = slot == EntityEquipmentSlot.LEGS;
|
||||
bootL.showModel = slot == EntityEquipmentSlot.FEET;
|
||||
bootR.showModel = slot == EntityEquipmentSlot.FEET;
|
||||
bipedHeadwear.showModel = false;
|
||||
|
||||
bipedHead = helm;
|
||||
bipedBody = body;
|
||||
bipedRightArm = armR;
|
||||
bipedLeftArm = armL;
|
||||
bipedHead = helmAnchor;
|
||||
bipedBody = bodyAnchor;
|
||||
bipedRightArm = armRAnchor;
|
||||
bipedLeftArm = armLAnchor;
|
||||
if(slot == EntityEquipmentSlot.LEGS) {
|
||||
bipedBody = pantsAnchor;
|
||||
bipedRightLeg = legR;
|
||||
bipedLeftLeg = legL;
|
||||
} else {
|
||||
|
||||
@@ -10,146 +10,186 @@
|
||||
*/
|
||||
package vazkii.botania.client.model.armor;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
|
||||
import net.minecraft.client.model.ModelRenderer;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.inventory.EntityEquipmentSlot;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
|
||||
public class ModelArmorManasteel extends ModelArmor {
|
||||
|
||||
private final ModelRenderer helmAnchor;
|
||||
private final ModelRenderer helm;
|
||||
public final ModelRenderer body;
|
||||
private final ModelRenderer armR;
|
||||
private final ModelRenderer helmTop;
|
||||
private final ModelRenderer helmCrystal;
|
||||
|
||||
private final ModelRenderer bodyAnchor;
|
||||
private final ModelRenderer bodyTop;
|
||||
private final ModelRenderer bodyBottom;
|
||||
|
||||
private final ModelRenderer armLAnchor;
|
||||
private final ModelRenderer armL;
|
||||
public final ModelRenderer belt;
|
||||
private final ModelRenderer bootR;
|
||||
private final ModelRenderer bootL;
|
||||
private final ModelRenderer helm1;
|
||||
private final ModelRenderer helm2;
|
||||
private final ModelRenderer helm3;
|
||||
private final ModelRenderer helm4;
|
||||
private final ModelRenderer helm5;
|
||||
private final ModelRenderer helm6;
|
||||
private final ModelRenderer helm7;
|
||||
private final ModelRenderer body2;
|
||||
private final ModelRenderer armRpauldron;
|
||||
private final ModelRenderer armLpauldron;
|
||||
private final ModelRenderer legR;
|
||||
private final ModelRenderer legL;
|
||||
|
||||
private final ModelRenderer armLcrystal;
|
||||
|
||||
private final ModelRenderer armRAnchor;
|
||||
private final ModelRenderer armR;
|
||||
private final ModelRenderer armRpauldron;
|
||||
private final ModelRenderer armRcrystal;
|
||||
private final ModelRenderer pantsAnchor;
|
||||
private final ModelRenderer belt;
|
||||
private final ModelRenderer legL;
|
||||
private final ModelRenderer legR;
|
||||
|
||||
private final ModelRenderer bootL;
|
||||
private final ModelRenderer bootLcrystal;
|
||||
private final ModelRenderer bootR;
|
||||
private final ModelRenderer bootRcrystal;
|
||||
|
||||
public ModelArmorManasteel(EntityEquipmentSlot slot) {
|
||||
super(slot);
|
||||
|
||||
textureWidth = 64;
|
||||
textureHeight = 128;
|
||||
float s = 0.6F;
|
||||
armRpauldron = new ModelRenderer(this, 30, 47);
|
||||
armRpauldron.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
armRpauldron.addBox(-4.0F, -2.0F, -2.5F, 4, 4, 5, 0.2F);
|
||||
armL = new ModelRenderer(this, 0, 68);
|
||||
armL.mirror = true;
|
||||
armL.setRotationPoint(5.0F, 2.0F, -0.0F);
|
||||
armL.addBox(1.0F, 3.0F, -2.0F, 2, 6, 4, s);
|
||||
setRotateAngle(armL, 0.0F, 0.0F, -0.17453292519943295F);
|
||||
legR = new ModelRenderer(this, 12, 68);
|
||||
legR.setRotationPoint(-1.9F, 12.0F, 0.0F);
|
||||
legR.addBox(-2.0F, 0.0F, -2.0F, 4, 8, 4, s);
|
||||
setRotateAngle(legR, 0.0F, 0.0F, 0F);
|
||||
helm3 = new ModelRenderer(this, 24, 32);
|
||||
helm3.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
helm3.addBox(-1.0F, -8.5F, -6.5F, 2, 5, 1, s);
|
||||
setRotateAngle(helm3, -0.17453292519943295F, 0.0F, 0.0F);
|
||||
helm7 = new ModelRenderer(this, 24, 32);
|
||||
helm7.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
helm7.addBox(-1.0F, -8.5F, -6.0F, 2, 3, 1, s);
|
||||
setRotateAngle(helm7, -0.3490658503988659F, 0.0F, 0.0F);
|
||||
bootL = new ModelRenderer(this, 28, 68);
|
||||
bootL.mirror = true;
|
||||
bootL.setRotationPoint(2.0F, 12.0F, 0.0F);
|
||||
bootL.addBox(-2.0F, 8.0F, -3.0F, 4, 4, 5, s);
|
||||
setRotateAngle(bootL, 0.0F, 0.0F, 0F);
|
||||
helm4 = new ModelRenderer(this, 0, 39);
|
||||
helm4.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
helm4.addBox(-4.0F, -8.0F, -0.5F, 1, 3, 5, s);
|
||||
bootR = new ModelRenderer(this, 28, 68);
|
||||
bootR.setRotationPoint(-2.0F, 12.0F, 0.0F);
|
||||
bootR.addBox(-2.0F, 8.0F, -3.0F, 4, 4, 5, s);
|
||||
setRotateAngle(bootR, 0.0F, 0.0F, 0F);
|
||||
legL = new ModelRenderer(this, 12, 68);
|
||||
legL.mirror = true;
|
||||
legL.setRotationPoint(1.9F, 12.0F, 0.0F);
|
||||
legL.addBox(-2.0F, 0.0F, -2.0F, 4, 8, 4, s);
|
||||
setRotateAngle(legL, 0.0F, 0.0F, 0F);
|
||||
armR = new ModelRenderer(this, 0, 68);
|
||||
armR.setRotationPoint(-5.0F, 2.0F, 0.0F);
|
||||
armR.addBox(-3.0F, 3.0F, -2.0F, 2, 6, 4, s);
|
||||
setRotateAngle(armR, 0.0F, 0.0F, 0.17453292519943295F);
|
||||
helm1 = new ModelRenderer(this, 12, 39);
|
||||
helm1.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
helm1.addBox(-4.0F, -5.0F, -4.5F, 1, 3, 4, s);
|
||||
helm2 = new ModelRenderer(this, 12, 39);
|
||||
helm2.mirror = true;
|
||||
helm2.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
helm2.addBox(3.0F, -5.0F, -4.5F, 1, 3, 4, s);
|
||||
body2 = new ModelRenderer(this, 0, 59);
|
||||
body2.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
body2.addBox(-4.0F, 6.0F, -2.5F, 8, 4, 5, s);
|
||||
setRotateAngle(body2, -0.08726646259971647F, 0.0F, 0.0F);
|
||||
body = new ModelRenderer(this, 0, 47);
|
||||
body.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
body.addBox(-4.5F, 0.0F, -3.5F, 9, 6, 6, s);
|
||||
setRotateAngle(body, 0.08726646259971647F, 0.0F, 0.0F);
|
||||
helm6 = new ModelRenderer(this, 24, 32);
|
||||
helm6.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
helm6.addBox(-1.0F, -8.5F, -5.5F, 2, 3, 1, s);
|
||||
setRotateAngle(helm6, -0.5235987755982988F, 0.0F, 0.0F);
|
||||
belt = new ModelRenderer(this, 26, 59);
|
||||
belt.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
belt.addBox(-4.5F, 9.5F, -3.0F, 9, 3, 6, s);
|
||||
helm = new ModelRenderer(this, 0, 32);
|
||||
helm.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
helm.addBox(-4.0F, -8.0F, -4.5F, 8, 3, 4, s);
|
||||
setRotateAngle(helm, 0.08726646259971647F, 0.0F, 0.0F);
|
||||
armLpauldron = new ModelRenderer(this, 30, 47);
|
||||
armLpauldron.mirror = true;
|
||||
armLpauldron.setRotationPoint(0.0F, 0.0F, -0.0F);
|
||||
armLpauldron.addBox(0.0F, -2.0F, -2.5F, 4, 4, 5, s);
|
||||
helm5 = new ModelRenderer(this, 0, 39);
|
||||
helm5.mirror = true;
|
||||
helm5.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
helm5.addBox(3.0F, -8.0F, -0.5F, 1, 3, 5, s);
|
||||
|
||||
helm.addChild(helm3);
|
||||
helm.addChild(helm7);
|
||||
helm.addChild(helm4);
|
||||
helm.addChild(helm6);
|
||||
helm.addChild(helm1);
|
||||
helm.addChild(helm2);
|
||||
helm.addChild(helm5);
|
||||
body.addChild(body2);
|
||||
armL.addChild(armLpauldron);
|
||||
armR.addChild(armRpauldron);
|
||||
belt.addChild(legR);
|
||||
belt.addChild(legL);
|
||||
this.textureWidth = 64;
|
||||
this.textureHeight = 128;
|
||||
float s = 0.01F;
|
||||
|
||||
//helm
|
||||
this.helmAnchor = new ModelRenderer(this, 0, 0);
|
||||
this.helmAnchor.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.helmAnchor.addBox(-1.0F, -2.0F, 0.0F, 2, 2, 2, s);
|
||||
this.helm = new ModelRenderer(this, 0, 0);
|
||||
this.helm.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.helm.addBox(-4.5F, -8.5F, -4.5F, 9, 9, 9, s);
|
||||
this.helmTop = new ModelRenderer(this, 36, 6);
|
||||
this.helmTop.setRotationPoint(0.0F, -8.5F, 3.5F);
|
||||
this.helmTop.addBox(-1.5F, 0.0F, -7.0F, 3, 3, 7, s);
|
||||
this.setRotateAngle(helmTop, -0.2617993877991494F, 0.0F, 0.0F);
|
||||
this.helmCrystal = new ModelRenderer(this, 36, 0);
|
||||
this.helmCrystal.setRotationPoint(0.0F, -7.5F, -4.5F);
|
||||
this.helmCrystal.addBox(-1.5F, -4.0F, -1.0F, 3, 5, 1, s);
|
||||
this.setRotateAngle(helmCrystal, 0.08726646259971647F, 0.0F, 0.0F);
|
||||
|
||||
//body
|
||||
this.bodyAnchor = new ModelRenderer(this, 0, 0);
|
||||
this.bodyAnchor.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.bodyAnchor.addBox(-1.0F, 0.0F, -1.0F, 2, 2, 2, s);
|
||||
this.bodyTop = new ModelRenderer(this, 0, 18);
|
||||
this.bodyTop.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.bodyTop.addBox(-4.5F, -0.5F, -3.0F, 9, 6, 6, s);
|
||||
this.setRotateAngle(bodyTop, 0.0F, 0.0F, 0.0F);
|
||||
this.bodyBottom = new ModelRenderer(this, 0, 30);
|
||||
this.bodyBottom.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.bodyBottom.addBox(-2.5F, 5.5F, -2.5F, 5, 3, 5, 0.0F);
|
||||
|
||||
//armL
|
||||
this.armLAnchor = new ModelRenderer(this, 0, 0);
|
||||
this.armLAnchor.mirror = true;
|
||||
this.armLAnchor.setRotationPoint(4.0F, 2.0F, 0.0F);
|
||||
this.armLAnchor.addBox(0.0F, -1.0F, -1.0F, 2, 2, 2, s);
|
||||
this.armL = new ModelRenderer(this, 22, 40);
|
||||
this.armL.mirror = true;
|
||||
this.armL.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.armL.addBox(1.5F, 2.0F, -2.49F, 2, 6, 5, s);
|
||||
this.armLpauldron = new ModelRenderer(this, 0, 40);
|
||||
this.armLpauldron.mirror = true;
|
||||
this.armLpauldron.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.armLpauldron.addBox(-0.5F, -3.0F, -3.0F, 5, 4, 6, s);
|
||||
this.armLcrystal = new ModelRenderer(this, 36, 40);
|
||||
this.armLcrystal.mirror = true;
|
||||
this.armLcrystal.setRotationPoint(2.0F, -2.5F, 0.0F);
|
||||
this.armLcrystal.addBox(-0.5F, -2.5F, -1.5F, 2, 3, 3, s);
|
||||
this.setRotateAngle(armLcrystal, 0.0F, 0.0F, -0.08726646259971647F);
|
||||
|
||||
//armR
|
||||
this.armRAnchor = new ModelRenderer(this, 0, 0);
|
||||
this.armRAnchor.mirror = true;
|
||||
this.armRAnchor.setRotationPoint(-4.0F, 2.0F, 0.0F);
|
||||
this.armRAnchor.addBox(-2.0F, -1.0F, -1.0F, 2, 2, 2, s);
|
||||
this.armR = new ModelRenderer(this, 22, 40);
|
||||
this.armR.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.armR.addBox(-3.5F, 2.0F, -2.51F, 2, 6, 5, s);
|
||||
this.armRpauldron = new ModelRenderer(this, 0, 40);
|
||||
this.armRpauldron.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.armRpauldron.addBox(-4.5F, -3.0F, -3.0F, 5, 4, 6, s);
|
||||
this.armRcrystal = new ModelRenderer(this, 36, 40);
|
||||
this.armRcrystal.setRotationPoint(-2.0F, -2.5F, 0.0F);
|
||||
this.armRcrystal.addBox(-1.5F, -2.5F, -1.5F, 2, 3, 3, s);
|
||||
this.setRotateAngle(armRcrystal, 0.0F, 0.0F, 0.08726646259971647F);
|
||||
|
||||
//pants
|
||||
this.pantsAnchor = new ModelRenderer(this, 0, 0);
|
||||
this.pantsAnchor.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.pantsAnchor.addBox(-1.0F, 0.0F, -1.0F, 2, 2, 2, s);
|
||||
this.belt = new ModelRenderer(this, 0, 51);
|
||||
this.belt.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.belt.addBox(-4.5F, 9.0F, -3.0F, 9, 3, 6, s);
|
||||
this.legL = new ModelRenderer(this, 0, 60);
|
||||
this.legL.mirror = true;
|
||||
this.legL.setRotationPoint(1.9F, 12.0F, 0.0F);
|
||||
this.legL.addBox(-0.39F, 0.0F, -2.49F, 3, 6, 5, s);
|
||||
this.legR = new ModelRenderer(this, 0, 60);
|
||||
this.legR.setRotationPoint(-1.9F, 12.0F, 0.0F);
|
||||
this.legR.addBox(-2.61F, 0.0F, -2.51F, 3, 6, 5, s);
|
||||
|
||||
//boots
|
||||
this.bootL = new ModelRenderer(this, 0, 71);
|
||||
this.bootL.mirror = true;
|
||||
this.bootL.setRotationPoint(1.9F, 12.0F, 0.0F);
|
||||
this.bootL.addBox(-2.39F, 8.5F, -2.49F, 5, 4, 5, s);
|
||||
this.bootLcrystal = new ModelRenderer(this, 36, 46);
|
||||
this.bootLcrystal.mirror = true;
|
||||
this.bootLcrystal.setRotationPoint(2.5F, 9.0F, 2.0F);
|
||||
this.bootLcrystal.addBox(-1.0F, -2.0F, -1.5F, 2, 3, 3, s);
|
||||
this.setRotateAngle(bootLcrystal, 0.0F, 0.0F, 0.08726646259971647F);
|
||||
this.bootR = new ModelRenderer(this, 0, 71);
|
||||
this.bootR.setRotationPoint(-2.0F, 12.0F, 0.0F);
|
||||
this.bootR.addBox(-2.5F, 8.5F, -2.51F, 5, 4, 5, s);
|
||||
this.bootRcrystal = new ModelRenderer(this, 36, 46);
|
||||
this.bootRcrystal.setRotationPoint(-2.5F, 9.0F, 2.0F);
|
||||
this.bootRcrystal.addBox(-1.0F, -2.0F, -1.5F, 2, 3, 3, s);
|
||||
this.setRotateAngle(bootRcrystal, 0.0F, 0.0F, -0.08726646259971647F);
|
||||
|
||||
//hierarchy
|
||||
this.helmAnchor.addChild(this.helm);
|
||||
this.helm.addChild(this.helmTop);
|
||||
this.helm.addChild(this.helmCrystal);
|
||||
|
||||
this.bodyAnchor.addChild(this.bodyTop);
|
||||
this.bodyTop.addChild(this.bodyBottom);
|
||||
this.armLAnchor.addChild(this.armL);
|
||||
this.armL.addChild(this.armLpauldron);
|
||||
this.armLpauldron.addChild(this.armLcrystal);
|
||||
this.armRAnchor.addChild(this.armR);
|
||||
this.armR.addChild(this.armRpauldron);
|
||||
this.armRpauldron.addChild(this.armRcrystal);
|
||||
|
||||
this.pantsAnchor.addChild(this.belt);
|
||||
this.belt.addChild(this.legL);
|
||||
this.belt.addChild(this.legR);;
|
||||
|
||||
this.bootL.addChild(bootLcrystal);
|
||||
this.bootR.addChild(bootRcrystal);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void render(@Nonnull Entity entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch, float scale) {
|
||||
helm.showModel = slot == EntityEquipmentSlot.HEAD;
|
||||
body.showModel = slot == EntityEquipmentSlot.CHEST;
|
||||
armR.showModel = slot == EntityEquipmentSlot.CHEST;
|
||||
armL.showModel = slot == EntityEquipmentSlot.CHEST;
|
||||
|
||||
helmAnchor.showModel = slot == EntityEquipmentSlot.HEAD;
|
||||
bodyAnchor.showModel = slot == EntityEquipmentSlot.CHEST;
|
||||
armRAnchor.showModel = slot == EntityEquipmentSlot.CHEST;
|
||||
armLAnchor.showModel = slot == EntityEquipmentSlot.CHEST;
|
||||
legR.showModel = slot == EntityEquipmentSlot.LEGS;
|
||||
legL.showModel = slot == EntityEquipmentSlot.LEGS;
|
||||
bootL.showModel = slot == EntityEquipmentSlot.FEET;
|
||||
bootR.showModel = slot == EntityEquipmentSlot.FEET;
|
||||
bipedHeadwear.showModel = false;
|
||||
|
||||
bipedHead = helm;
|
||||
bipedBody = body;
|
||||
bipedRightArm = armR;
|
||||
bipedLeftArm = armL;
|
||||
bipedHead = helmAnchor;
|
||||
bipedBody = bodyAnchor;
|
||||
bipedRightArm = armRAnchor;
|
||||
bipedLeftArm = armLAnchor;
|
||||
if(slot == EntityEquipmentSlot.LEGS) {
|
||||
bipedBody = pantsAnchor;
|
||||
bipedRightLeg = legR;
|
||||
bipedLeftLeg = legL;
|
||||
} else {
|
||||
|
||||
@@ -10,146 +10,159 @@
|
||||
*/
|
||||
package vazkii.botania.client.model.armor;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
|
||||
import net.minecraft.client.model.ModelRenderer;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.inventory.EntityEquipmentSlot;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
|
||||
public class ModelArmorManaweave extends ModelArmor {
|
||||
|
||||
private final ModelRenderer helmAnchor;
|
||||
private final ModelRenderer helm;
|
||||
public final ModelRenderer body;
|
||||
private final ModelRenderer armR;
|
||||
private final ModelRenderer armL;
|
||||
private final ModelRenderer legR;
|
||||
private final ModelRenderer legL;
|
||||
private final ModelRenderer bootR;
|
||||
private final ModelRenderer bootL;
|
||||
private final ModelRenderer helm2;
|
||||
private final ModelRenderer helm3;
|
||||
private final ModelRenderer helm4;
|
||||
private final ModelRenderer helmSeam1;
|
||||
private final ModelRenderer helmSeam2;
|
||||
private final ModelRenderer helmSeam3;
|
||||
private final ModelRenderer helmSeam4;
|
||||
private final ModelRenderer body2;
|
||||
private final ModelRenderer armRpauldron;
|
||||
private final ModelRenderer armLpauldron;
|
||||
private final ModelRenderer skirtR;
|
||||
private final ModelRenderer skirtL;
|
||||
|
||||
private final ModelRenderer bodyAnchor;
|
||||
private final ModelRenderer bodyTop;
|
||||
private final ModelRenderer bodyBottom;
|
||||
|
||||
private final ModelRenderer armLAnchor;
|
||||
private final ModelRenderer armL;
|
||||
private final ModelRenderer armLpauldron;
|
||||
private final ModelRenderer armRAnchor;
|
||||
private final ModelRenderer armR;
|
||||
private final ModelRenderer armRpauldron;
|
||||
|
||||
private final ModelRenderer pantsAnchor;
|
||||
private final ModelRenderer legL;
|
||||
private final ModelRenderer skirtL;
|
||||
private final ModelRenderer legR;
|
||||
private final ModelRenderer skirtR;
|
||||
|
||||
private final ModelRenderer bootL;
|
||||
private final ModelRenderer bootR;
|
||||
|
||||
public ModelArmorManaweave(EntityEquipmentSlot slot) {
|
||||
super(slot);
|
||||
|
||||
textureWidth = 64;
|
||||
textureHeight = 128;
|
||||
float s = 0.6F;
|
||||
helmSeam3 = new ModelRenderer(this, 26, 61);
|
||||
helmSeam3.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
helmSeam3.addBox(-0.5F, -9.5F, 5.0F, 1, 11, 1, s);
|
||||
helmSeam4 = new ModelRenderer(this, 39, 64);
|
||||
helmSeam4.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
helmSeam4.addBox(-0.5F, 0.5F, -1.0F, 1, 1, 6, s);
|
||||
skirtL = new ModelRenderer(this, 0, 83);
|
||||
skirtL.mirror = true;
|
||||
skirtL.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
skirtL.addBox(-2.0F, -2.0F, -3.5F, 5, 13, 7, s);
|
||||
setRotateAngle(skirtL, 0.0F, -0.17453292519943295F, -0.2617993877991494F);
|
||||
armR = new ModelRenderer(this, 24, 83);
|
||||
armR.setRotationPoint(-5.0F, 2.0F, 0.0F);
|
||||
armR.addBox(-3.0F, -1.5F, -2.5F, 4, 10, 5, s);
|
||||
setRotateAngle(armR, 0.0F, 0.0F, 0F);
|
||||
armL = new ModelRenderer(this, 24, 83);
|
||||
armL.mirror = true;
|
||||
armL.setRotationPoint(5.0F, 2.0F, -0.0F);
|
||||
armL.addBox(-1.0F, -1.5F, -2.5F, 4, 10, 5, s);
|
||||
setRotateAngle(armL, 0.0F, 0.0F, 0F);
|
||||
bootR = new ModelRenderer(this, 0, 103);
|
||||
bootR.setRotationPoint(-2.0F, 12.0F, 0.0F);
|
||||
bootR.addBox(-2.0F, 8.0F, -3.0F, 4, 4, 5, s);
|
||||
setRotateAngle(bootR, 0.0F, 0.0F, 0F);
|
||||
legR = new ModelRenderer(this, 42, 81);
|
||||
legR.setRotationPoint(-2.0F, 12.0F, 0.0F);
|
||||
legR.addBox(-2.0F, 0.0F, -2.0F, 4, 6, 4, s);
|
||||
setRotateAngle(legR, 0.0F, 0.0F, 0F);
|
||||
helm2 = new ModelRenderer(this, 38, 42);
|
||||
helm2.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
helm2.addBox(-4.49F, -4.0F, -2.5F, 1, 5, 8, s);
|
||||
skirtR = new ModelRenderer(this, 0, 83);
|
||||
skirtR.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
skirtR.addBox(-3.0F, -2.0F, -3.5F, 5, 13, 7, s);
|
||||
setRotateAngle(skirtR, 0.0F, 0.17453292519943295F, 0.2617993877991494F);
|
||||
armRpauldron = new ModelRenderer(this, 0, 72);
|
||||
armRpauldron.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
armRpauldron.addBox(-4.0F, -2.0F, -3.0F, 3, 5, 6, s);
|
||||
setRotateAngle(armRpauldron, 0.0F, 0.0F, 0F);
|
||||
bootL = new ModelRenderer(this, 0, 103);
|
||||
bootL.setRotationPoint(2.0F, 12.0F, 0.0F);
|
||||
bootL.addBox(-2.0F, 8.0F, -3.0F, 4, 4, 5, s);
|
||||
setRotateAngle(bootL, 0.0F, 0.0F, 0F);
|
||||
helmSeam1 = new ModelRenderer(this, 30, 61);
|
||||
helmSeam1.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
helmSeam1.addBox(-0.5F, -10.5F, -5.0F, 1, 7, 2, s);
|
||||
helm = new ModelRenderer(this, 0, 32);
|
||||
helm.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
helm.addBox(-4.5F, -10.0F, -4.5F, 9, 6, 10, s);
|
||||
setRotateAngle(helm, 0F, 0.0F, 0.0F);
|
||||
armLpauldron = new ModelRenderer(this, 0, 72);
|
||||
armLpauldron.mirror = true;
|
||||
armLpauldron.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
armLpauldron.addBox(1.0F, -2.0F, -3.0F, 3, 5, 6, s);
|
||||
setRotateAngle(armLpauldron, 0.0F, 0.0F, 0F);
|
||||
helm4 = new ModelRenderer(this, 38, 32);
|
||||
helm4.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
helm4.addBox(-3.5F, -4.0F, 0.49F, 7, 5, 5, s);
|
||||
helmSeam2 = new ModelRenderer(this, 36, 61);
|
||||
helmSeam2.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
helmSeam2.addBox(-0.5F, -10.5F, -3.0F, 1, 1, 9, s);
|
||||
legL = new ModelRenderer(this, 42, 81);
|
||||
legL.mirror = true;
|
||||
legL.setRotationPoint(2.0F, 12.0F, 0.0F);
|
||||
legL.addBox(-2.0F, 0.0F, -2.0F, 4, 6, 4, s);
|
||||
setRotateAngle(legL, 0.0F, 0.0F, 0F);
|
||||
body2 = new ModelRenderer(this, 0, 61);
|
||||
body2.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
body2.addBox(-4.0F, 6.0F, -2.5F, 8, 6, 5, s);
|
||||
body = new ModelRenderer(this, 0, 48);
|
||||
body.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
body.addBox(-4.5F, 0.0F, -3.0F, 9, 7, 6, s);
|
||||
helm3 = new ModelRenderer(this, 38, 42);
|
||||
helm3.mirror = true;
|
||||
helm3.setRotationPoint(0.0F, 0.0F, 0F);
|
||||
helm3.addBox(3.49F, -4.0F, -2.5F, 1, 5, 8, s);
|
||||
helm.addChild(helmSeam3);
|
||||
helm.addChild(helmSeam4);
|
||||
legL.addChild(skirtL);
|
||||
helm.addChild(helm2);
|
||||
legR.addChild(skirtR);
|
||||
armR.addChild(armRpauldron);
|
||||
helm.addChild(helmSeam1);
|
||||
armL.addChild(armLpauldron);
|
||||
helm.addChild(helm4);
|
||||
helm.addChild(helmSeam2);
|
||||
body.addChild(body2);
|
||||
helm.addChild(helm3);
|
||||
float s = 0.01F;
|
||||
|
||||
//helm
|
||||
this.helmAnchor = new ModelRenderer(this, 0, 0);
|
||||
this.helmAnchor.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.helmAnchor.addBox(-1.0F, -2.0F, 0.0F, 2, 2, 2, s);
|
||||
this.helm = new ModelRenderer(this, 0, 0);
|
||||
this.helm.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.helm.addBox(-4.5F, -9.5F, -4.0F, 9, 11, 10, s);
|
||||
this.setRotateAngle(helm, 0.17453292519943295F, 0.0F, 0.0F);
|
||||
|
||||
//body
|
||||
this.bodyAnchor = new ModelRenderer(this, 0, 0);
|
||||
this.bodyAnchor.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.bodyAnchor.addBox(-1.0F, 0.0F, -1.0F, 2, 2, 2, s);
|
||||
this.bodyTop = new ModelRenderer(this, 0, 21);
|
||||
this.bodyTop.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.bodyTop.addBox(-4.5F, -0.5F, -3.0F, 9, 7, 6, s);
|
||||
this.setRotateAngle(bodyTop, 0.0F, 0.0F, 0.0F);
|
||||
this.bodyBottom = new ModelRenderer(this, 0, 34);
|
||||
this.bodyBottom.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.bodyBottom.addBox(-4.5F, 6.5F, -2.5F, 9, 5, 5, s);
|
||||
this.setRotateAngle(bodyBottom, -0F, 0.0F, 0.0F);
|
||||
|
||||
//armL
|
||||
this.armLAnchor = new ModelRenderer(this, 0, 0);
|
||||
this.armLAnchor.mirror = true;
|
||||
this.armLAnchor.setRotationPoint(4.0F, 2.0F, 0.0F);
|
||||
this.armLAnchor.addBox(0.0F, -1.0F, -1.0F, 2, 2, 2, s);
|
||||
this.armL = new ModelRenderer(this, 0, 44);
|
||||
this.armL.mirror = true;
|
||||
this.armL.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.armL.addBox(-1.5F, -2.5F, -2.49F, 5, 10, 5, s);
|
||||
this.armLpauldron = new ModelRenderer(this, 20, 44);
|
||||
this.armLpauldron.mirror = true;
|
||||
this.armLpauldron.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.armLpauldron.addBox(-1.0F, -3.0F, -3.0F, 6, 5, 6, s);
|
||||
this.setRotateAngle(armLpauldron, 0.0F, 0.0F, -0.08726646259971647F);
|
||||
|
||||
//armR
|
||||
this.armRAnchor = new ModelRenderer(this, 0, 0);
|
||||
this.armRAnchor.mirror = true;
|
||||
this.armRAnchor.setRotationPoint(-4.0F, 2.0F, 0.0F);
|
||||
this.armRAnchor.addBox(-2.0F, -1.0F, -1.0F, 2, 2, 2, s);
|
||||
this.armR = new ModelRenderer(this, 0, 44);
|
||||
this.armR.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.armR.addBox(-3.5F, -2.5F, -2.51F, 5, 10, 5, s);
|
||||
this.armRpauldron = new ModelRenderer(this, 20, 44);
|
||||
this.armRpauldron.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.armRpauldron.addBox(-5.0F, -3.0F, -3.0F, 6, 5, 6, s);
|
||||
this.setRotateAngle(armRpauldron, 0.0F, 0.0F, 0.08726646259971647F);
|
||||
|
||||
//pants
|
||||
this.pantsAnchor = new ModelRenderer(this, 0, 0);
|
||||
this.pantsAnchor.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.pantsAnchor.addBox(-1.0F, 0.0F, -1.0F, 2, 2, 2, s);
|
||||
this.legL = new ModelRenderer(this, 0, 78);
|
||||
this.legL.mirror = true;
|
||||
this.legL.setRotationPoint(1.9F, 12.0F, 0.0F);
|
||||
this.legL.addBox(-2.39F, -0.5F, -2.49F, 5, 6, 5, s);
|
||||
this.skirtL = new ModelRenderer(this, 0, 59);
|
||||
this.skirtL.mirror = true;
|
||||
this.skirtL.setRotationPoint(-0.5F, -2.0F, -2.5F);
|
||||
this.skirtL.addBox(-1.0F, 0.0F, -0.5F, 5, 13, 6, s);
|
||||
this.setRotateAngle(skirtL, 0.0F, -0.17453292519943295F, -0.2617993877991494F);
|
||||
this.legR = new ModelRenderer(this, 0, 78);
|
||||
this.legR.setRotationPoint(-1.9F, 12.0F, 0.0F);
|
||||
this.legR.addBox(-2.61F, 0.0F, -2.51F, 5, 6, 5, s);
|
||||
this.skirtR = new ModelRenderer(this, 0, 59);
|
||||
this.skirtR.setRotationPoint(0.5F, -2.0F, -2.5F);
|
||||
this.skirtR.addBox(-4.0F, 0.0F, -0.5F, 5, 13, 6, s);
|
||||
this.setRotateAngle(skirtR, 0.0F, 0.17453292519943295F, 0.2617993877991494F);
|
||||
|
||||
//boot
|
||||
this.bootL = new ModelRenderer(this, 0, 89);
|
||||
this.bootL.mirror = true;
|
||||
this.bootL.setRotationPoint(1.9F, 12.0F, 0.0F);
|
||||
this.bootL.addBox(-2.39F, 8.5F, -2.49F, 5, 4, 5, s);
|
||||
this.bootR = new ModelRenderer(this, 0, 89);
|
||||
this.bootR.setRotationPoint(-1.9F, 12.0F, 0.0F);
|
||||
this.bootR.addBox(-2.61F, 8.5F, -2.51F, 5, 4, 5, s);
|
||||
|
||||
//hierarchy
|
||||
this.helmAnchor.addChild(this.helm);
|
||||
|
||||
this.bodyAnchor.addChild(this.bodyTop);
|
||||
this.bodyTop.addChild(this.bodyBottom);
|
||||
|
||||
this.armLAnchor.addChild(this.armL);
|
||||
this.armL.addChild(this.armLpauldron);
|
||||
|
||||
this.armRAnchor.addChild(this.armR);
|
||||
this.armR.addChild(this.armRpauldron);
|
||||
|
||||
this.pantsAnchor.addChild(this.legL);
|
||||
this.pantsAnchor.addChild(this.legR);
|
||||
this.legL.addChild(this.skirtL);
|
||||
this.legR.addChild(this.skirtR);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void render(@Nonnull Entity entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch, float scale) {
|
||||
helm.showModel = slot == EntityEquipmentSlot.HEAD;
|
||||
body.showModel = slot == EntityEquipmentSlot.CHEST;
|
||||
armR.showModel = slot == EntityEquipmentSlot.CHEST;
|
||||
armL.showModel = slot == EntityEquipmentSlot.CHEST;
|
||||
|
||||
helmAnchor.showModel = slot == EntityEquipmentSlot.HEAD;
|
||||
bodyAnchor.showModel = slot == EntityEquipmentSlot.CHEST;
|
||||
armRAnchor.showModel = slot == EntityEquipmentSlot.CHEST;
|
||||
armLAnchor.showModel = slot == EntityEquipmentSlot.CHEST;
|
||||
legR.showModel = slot == EntityEquipmentSlot.LEGS;
|
||||
legL.showModel = slot == EntityEquipmentSlot.LEGS;
|
||||
bootL.showModel = slot == EntityEquipmentSlot.FEET;
|
||||
bootR.showModel = slot == EntityEquipmentSlot.FEET;
|
||||
bipedHeadwear.showModel = false;
|
||||
|
||||
bipedHead = helm;
|
||||
bipedBody = body;
|
||||
bipedRightArm = armR;
|
||||
bipedLeftArm = armL;
|
||||
bipedHead = helmAnchor;
|
||||
bipedBody = bodyAnchor;
|
||||
bipedRightArm = armRAnchor;
|
||||
bipedLeftArm = armLAnchor;
|
||||
if(slot == EntityEquipmentSlot.LEGS) {
|
||||
bipedRightLeg = legR;
|
||||
bipedLeftLeg = legL;
|
||||
|
||||
@@ -10,238 +10,283 @@
|
||||
*/
|
||||
package vazkii.botania.client.model.armor;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
|
||||
import net.minecraft.client.model.ModelRenderer;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.inventory.EntityEquipmentSlot;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
|
||||
public class ModelArmorTerrasteel extends ModelArmor {
|
||||
|
||||
private final ModelRenderer helmAnchor;
|
||||
private final ModelRenderer helm;
|
||||
public final ModelRenderer body;
|
||||
private final ModelRenderer armr;
|
||||
private final ModelRenderer helmFront;
|
||||
private final ModelRenderer helmLeaf1l;
|
||||
private final ModelRenderer helmLeaf2l;
|
||||
private final ModelRenderer helmLeaf3l;
|
||||
private final ModelRenderer helmLeaf1r;
|
||||
private final ModelRenderer helmLeaf2r;
|
||||
private final ModelRenderer helmLeaf3r;
|
||||
private final ModelRenderer helmbranch1l;
|
||||
private final ModelRenderer helmbranch2l;
|
||||
private final ModelRenderer helmbranch1r;
|
||||
private final ModelRenderer helmbranch2r;
|
||||
|
||||
private final ModelRenderer bodyAnchor;
|
||||
private final ModelRenderer bodyTop;
|
||||
private final ModelRenderer bodyBottom;
|
||||
|
||||
private final ModelRenderer armLAnchor;
|
||||
private final ModelRenderer armL;
|
||||
public final ModelRenderer belt;
|
||||
private final ModelRenderer bootR;
|
||||
private final ModelRenderer bootL;
|
||||
private final ModelRenderer helm2;
|
||||
private final ModelRenderer helm3;
|
||||
private final ModelRenderer helm4;
|
||||
private final ModelRenderer helmLeaf1;
|
||||
private final ModelRenderer helmLeaf2;
|
||||
private final ModelRenderer helmLeaf3;
|
||||
private final ModelRenderer helmLeaf4;
|
||||
private final ModelRenderer helmLeaf5;
|
||||
private final ModelRenderer helmLeaf6;
|
||||
private final ModelRenderer helmbranch1;
|
||||
private final ModelRenderer helmbranch2;
|
||||
private final ModelRenderer helmbranch3;
|
||||
private final ModelRenderer helmbranch4;
|
||||
private final ModelRenderer body2;
|
||||
private final ModelRenderer armRpauldron;
|
||||
private final ModelRenderer armRbranch1;
|
||||
private final ModelRenderer armRbranch2;
|
||||
private final ModelRenderer armLpauldron;
|
||||
private final ModelRenderer armLbranch1;
|
||||
private final ModelRenderer armLbranch2;
|
||||
private final ModelRenderer legR;
|
||||
|
||||
private final ModelRenderer armRAnchor;
|
||||
private final ModelRenderer armR;
|
||||
private final ModelRenderer armRpauldron;
|
||||
private final ModelRenderer armRbranch1;
|
||||
private final ModelRenderer armRbranch2;
|
||||
|
||||
private final ModelRenderer pantsAnchor;
|
||||
private final ModelRenderer belt;
|
||||
private final ModelRenderer legL;
|
||||
private final ModelRenderer bootR1;
|
||||
private final ModelRenderer bootRbranch;
|
||||
private final ModelRenderer bootL2;
|
||||
private final ModelRenderer bootLbranch;
|
||||
|
||||
private final ModelRenderer legR;
|
||||
|
||||
private final ModelRenderer bootL;
|
||||
private final ModelRenderer bootLtop;
|
||||
private final ModelRenderer bootLbranch1;
|
||||
private final ModelRenderer bootLbranch2;
|
||||
|
||||
private final ModelRenderer bootR;
|
||||
private final ModelRenderer bootRtop;
|
||||
private final ModelRenderer bootRbranch1;
|
||||
private final ModelRenderer bootRbranch2;
|
||||
|
||||
public ModelArmorTerrasteel(EntityEquipmentSlot slot) {
|
||||
super(slot);
|
||||
|
||||
textureWidth = 64;
|
||||
textureWidth = 128;
|
||||
textureHeight = 128;
|
||||
float s = 0.6F;
|
||||
armr = new ModelRenderer(this, 0, 77);
|
||||
armr.setRotationPoint(-5.0F, 2.0F, -0.0F);
|
||||
armr.addBox(-3.0F, 3.0F, -2.0F, 4, 7, 4, s);
|
||||
setRotateAngle(armr, 0.0F, 0.0F, 0F);
|
||||
body = new ModelRenderer(this, 0, 44);
|
||||
body.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
body.addBox(-4.5F, 0.0F, -3.5F, 9, 6, 6, s);
|
||||
setRotateAngle(body, 0F, 0.0F, 0.0F);
|
||||
helm4 = new ModelRenderer(this, 56, 32);
|
||||
helm4.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
helm4.addBox(-1.0F, -7.5F, -6.5F, 2, 6, 2, s);
|
||||
setRotateAngle(helm4, 0F, 0.0F, 0.0F);
|
||||
bootR1 = new ModelRenderer(this, 32, 77);
|
||||
bootR1.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
bootR1.addBox(-2.0F, 6.0F, -2.0F, 4, 2, 4, s);
|
||||
helmbranch4 = new ModelRenderer(this, 34, 43);
|
||||
helmbranch4.mirror = true;
|
||||
helmbranch4.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
helmbranch4.addBox(-2.0F, -8.0F, -4.0F, 1, 2, 7, s);
|
||||
setRotateAngle(helmbranch4, 0.2617993877991494F, 0.0F, 1.0471975511965976F);
|
||||
bootL = new ModelRenderer(this, 32, 83);
|
||||
bootL.mirror = true;
|
||||
bootL.setRotationPoint(1.9F, 12.0F, 0.0F);
|
||||
bootL.addBox(-2.0F, 8.0F, -3.0F, 4, 4, 5, s);
|
||||
setRotateAngle(bootL, 0.0F, 0.0F, 0F);
|
||||
bootR = new ModelRenderer(this, 32, 83);
|
||||
bootR.setRotationPoint(-1.9F, 12.0F, 0.1F);
|
||||
bootR.addBox(-2.0F, 8.0F, -3.0F, 4, 4, 5, s);
|
||||
setRotateAngle(bootR, 0.0F, 0.0F, 0F);
|
||||
helmLeaf5 = new ModelRenderer(this, 50, 32);
|
||||
helmLeaf5.mirror = true;
|
||||
helmLeaf5.setRotationPoint(0.0F, 0.2F, 0.0F);
|
||||
helmLeaf5.addBox(-1.0F, -11.0F, -4.5F, 2, 5, 1, s);
|
||||
setRotateAngle(helmLeaf5, -0.5235987755982988F, -0.5235987755982988F, 0.5235987755982988F);
|
||||
bootLbranch = new ModelRenderer(this, 48, 77);
|
||||
bootLbranch.mirror = true;
|
||||
bootLbranch.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
bootLbranch.addBox(8.0F, 1.0F, -2.0F, 1, 2, 5, s);
|
||||
setRotateAngle(bootLbranch, 0.2617993877991494F, 0.0F, 1.0471975511965976F);
|
||||
helmLeaf4 = new ModelRenderer(this, 50, 32);
|
||||
helmLeaf4.mirror = true;
|
||||
helmLeaf4.setRotationPoint(0.0F, 0.2F, 0.0F);
|
||||
helmLeaf4.addBox(-1.5F, -9.0F, -6.0F, 2, 3, 1, s);
|
||||
setRotateAngle(helmLeaf4, -0.2617993877991494F, -0.2617993877991494F, 0.5235987755982988F);
|
||||
helmLeaf2 = new ModelRenderer(this, 50, 32);
|
||||
helmLeaf2.setRotationPoint(0.0F, 0.2F, 0.0F);
|
||||
helmLeaf2.addBox(-1.0F, -11.0F, -4.5F, 2, 5, 1, s);
|
||||
setRotateAngle(helmLeaf2, -0.5235987755982988F, 0.5235987755982988F, -0.5235987755982988F);
|
||||
helm = new ModelRenderer(this, 0, 32);
|
||||
helm.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
helm.addBox(-4.0F, -8.0F, -4.5F, 8, 3, 9, s);
|
||||
setRotateAngle(helm, 0.08726646259971647F, 0.0F, 0.0F);
|
||||
helm2 = new ModelRenderer(this, 34, 32);
|
||||
helm2.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
helm2.addBox(-4.0F, -5.0F, -4.5F, 2, 5, 6, s);
|
||||
helm3 = new ModelRenderer(this, 34, 32);
|
||||
helm3.mirror = true;
|
||||
helm3.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
helm3.addBox(2.0F, -5.0F, -4.5F, 2, 5, 6, s);
|
||||
helmbranch1 = new ModelRenderer(this, 34, 43);
|
||||
helmbranch1.mirror = true;
|
||||
helmbranch1.setRotationPoint(0.0F, 0.0F, 0F);
|
||||
helmbranch1.addBox(-2.0F, -10.0F, -1.0F, 1, 2, 7, s);
|
||||
setRotateAngle(helmbranch1, 0.5235987755982988F, 0.0F, -0.08726646259971647F);
|
||||
bootL2 = new ModelRenderer(this, 32, 77);
|
||||
bootL2.mirror = true;
|
||||
bootL2.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
bootL2.addBox(-2.0F, 6.0F, -2.0F, 4, 2, 4, s);
|
||||
helmbranch2 = new ModelRenderer(this, 34, 43);
|
||||
helmbranch2.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
helmbranch2.addBox(1.0F, -10.0F, -1.0F, 1, 2, 7, s);
|
||||
setRotateAngle(helmbranch2, 0.5235987755982988F, 0.0F, 0.08726646259971647F);
|
||||
legR = new ModelRenderer(this, 16, 77);
|
||||
legR.setRotationPoint(-1.9F, 12.0F, 0.0F);
|
||||
legR.addBox(-2.0F, 0.0F, -2.0F, 4, 6, 4, s);
|
||||
setRotateAngle(legR, 0.0F, 0.0F, 0F);
|
||||
helmLeaf6 = new ModelRenderer(this, 50, 32);
|
||||
helmLeaf6.mirror = true;
|
||||
helmLeaf6.setRotationPoint(0.0F, 0.2F, 0.0F);
|
||||
helmLeaf6.addBox(-0.5F, -13.0F, -3.0F, 2, 7, 1, s);
|
||||
setRotateAngle(helmLeaf6, -0.7853981633974483F, -0.7853981633974483F, 0.7853981633974483F);
|
||||
armLbranch1 = new ModelRenderer(this, 51, 44);
|
||||
armLbranch1.mirror = true;
|
||||
armLbranch1.setRotationPoint(0.0F, 0.0F, -0.0F);
|
||||
armLbranch1.addBox(2.5F, -5.0F, -1.0F, 1, 5, 2, s);
|
||||
setRotateAngle(armLbranch1, 0.0F, 0.0F, 0.7853981633974483F);
|
||||
bootRbranch = new ModelRenderer(this, 48, 77);
|
||||
bootRbranch.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
bootRbranch.addBox(-9.0F, 1.0F, -2.0F, 1, 2, 5, s);
|
||||
setRotateAngle(bootRbranch, 0.2617993877991494F, 0.0F, -1.0471975511965976F);
|
||||
armRbranch2 = new ModelRenderer(this, 50, 43);
|
||||
armRbranch2.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
armRbranch2.addBox(-1.5F, -5.0F, -1.5F, 1, 5, 3, s);
|
||||
setRotateAngle(armRbranch2, 0.0F, 0.0F, -0.5235987755982988F);
|
||||
helmLeaf3 = new ModelRenderer(this, 50, 32);
|
||||
helmLeaf3.setRotationPoint(0.0F, 0.2F, 0.0F);
|
||||
helmLeaf3.addBox(-1.5F, -13.0F, -3.0F, 2, 7, 1, s);
|
||||
setRotateAngle(helmLeaf3, -0.7853981633974483F, 0.7853981633974483F, -0.7853981633974483F);
|
||||
armRpauldron = new ModelRenderer(this, 0, 66);
|
||||
armRpauldron.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
armRpauldron.addBox(-4.0F, -2.0F, -3.0F, 5, 5, 6, s);
|
||||
armLbranch2 = new ModelRenderer(this, 50, 43);
|
||||
armLbranch2.mirror = true;
|
||||
armLbranch2.setRotationPoint(0.0F, 0.0F, -0.0F);
|
||||
armLbranch2.addBox(0.5F, -5.0F, -1.5F, 1, 5, 3, s);
|
||||
setRotateAngle(armLbranch2, 0.0F, 0.0F, 0.5235987755982988F);
|
||||
armL = new ModelRenderer(this, 0, 77);
|
||||
armL.mirror = true;
|
||||
armL.setRotationPoint(5.0F, 2.0F, -0.0F);
|
||||
armL.addBox(-1.0F, 3.0F, -2.0F, 4, 7, 4, s);
|
||||
setRotateAngle(armL, 0.0F, 0.0F, 0F);
|
||||
body2 = new ModelRenderer(this, 0, 57);
|
||||
body2.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
body2.addBox(-4.0F, 6.0F, -2.5F, 8, 4, 5, s);
|
||||
setRotateAngle(body2, -0.08726646259971647F, 0.0F, 0.0F);
|
||||
helmbranch3 = new ModelRenderer(this, 34, 43);
|
||||
helmbranch3.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
helmbranch3.addBox(1.0F, -8.0F, -4.0F, 1, 2, 7, s);
|
||||
setRotateAngle(helmbranch3, 0.2617993877991494F, 0.0F, -1.0471975511965976F);
|
||||
armRbranch1 = new ModelRenderer(this, 51, 44);
|
||||
armRbranch1.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
armRbranch1.addBox(-3.5F, -5.0F, -1.0F, 1, 5, 2, s);
|
||||
setRotateAngle(armRbranch1, 0.0F, 0.0F, -0.7853981633974483F);
|
||||
belt = new ModelRenderer(this, 22, 66);
|
||||
belt.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
belt.addBox(-4.5F, 9.5F, -3.0F, 9, 3, 6, s);
|
||||
helmLeaf1 = new ModelRenderer(this, 50, 32);
|
||||
helmLeaf1.setRotationPoint(0.0F, 0.2F, 0.0F);
|
||||
helmLeaf1.addBox(-0.5F, -9.0F, -6.0F, 2, 3, 1, s);
|
||||
setRotateAngle(helmLeaf1, -0.2617993877991494F, 0.2617993877991494F, -0.5235987755982988F);
|
||||
armLpauldron = new ModelRenderer(this, 0, 66);
|
||||
armLpauldron.mirror = true;
|
||||
armLpauldron.setRotationPoint(0.0F, 0.0F, -0.0F);
|
||||
armLpauldron.addBox(-1.0F, -2.0F, -3.0F, 5, 5, 6, s);
|
||||
legL = new ModelRenderer(this, 16, 77);
|
||||
legL.mirror = true;
|
||||
legL.setRotationPoint(1.9F, 12.0F, 0.0F);
|
||||
legL.addBox(-2.0F, 0.0F, -2.0F, 4, 6, 4, s);
|
||||
setRotateAngle(legL, 0.0F, 0.0F, 0F);
|
||||
|
||||
helm.addChild(helm4);
|
||||
bootR.addChild(bootR1);
|
||||
helm.addChild(helmbranch4);
|
||||
helm.addChild(helmLeaf5);
|
||||
bootL.addChild(bootLbranch);
|
||||
helm.addChild(helmLeaf4);
|
||||
helm.addChild(helmLeaf2);
|
||||
helm.addChild(helm2);
|
||||
helm.addChild(helm3);
|
||||
helm.addChild(helmbranch1);
|
||||
bootL.addChild(bootL2);
|
||||
helm.addChild(helmbranch2);
|
||||
belt.addChild(legR);
|
||||
helm.addChild(helmLeaf6);
|
||||
armLpauldron.addChild(armLbranch1);
|
||||
bootR.addChild(bootRbranch);
|
||||
armRpauldron.addChild(armRbranch2);
|
||||
helm.addChild(helmLeaf3);
|
||||
armr.addChild(armRpauldron);
|
||||
armLpauldron.addChild(armLbranch2);
|
||||
body.addChild(body2);
|
||||
helm.addChild(helmbranch3);
|
||||
armRpauldron.addChild(armRbranch1);
|
||||
helm.addChild(helmLeaf1);
|
||||
armL.addChild(armLpauldron);
|
||||
belt.addChild(legL);
|
||||
float s = 0.01F;
|
||||
|
||||
//helm
|
||||
this.helmAnchor = new ModelRenderer(this, 0, 0);
|
||||
this.helmAnchor.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.helmAnchor.addBox(-1.0F, -2.0F, 0.0F, 2, 2, 2, s);
|
||||
this.helm = new ModelRenderer(this, 0, 0);
|
||||
this.helm.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.helm.addBox(-4.5F, -9.0F, -4.5F, 9, 11, 9, s);
|
||||
this.helmFront = new ModelRenderer(this, 36, 0);
|
||||
this.helmFront.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.helmFront.addBox(-1.5F, -10.0F, -5.5F, 3, 8, 7, s);
|
||||
this.helmLeaf1l = new ModelRenderer(this, 56, 14);
|
||||
this.helmLeaf1l.mirror = true;
|
||||
this.helmLeaf1l.setRotationPoint(4.5F, -6.0F, -2.5F);
|
||||
this.helmLeaf1l.addBox(0.0F, -3.0F, -1.0F, 2, 3, 1, s);
|
||||
this.setRotateAngle(helmLeaf1l, -0.2617993877991494F, -0.2617993877991494F, 0.5235987755982988F);
|
||||
this.helmLeaf2l = new ModelRenderer(this, 56, 8);
|
||||
this.helmLeaf2l.mirror = true;
|
||||
this.helmLeaf2l.setRotationPoint(4.5F, -6.0F, -0.5F);
|
||||
this.helmLeaf2l.addBox(0.0F, -5.0F, -1.0F, 2, 5, 1, s);
|
||||
this.setRotateAngle(helmLeaf2l, -0.5235987755982988F, -0.5235987755982988F, 0.7853981633974483F);
|
||||
this.helmLeaf3l = new ModelRenderer(this, 56, 0);
|
||||
this.helmLeaf3l.mirror = true;
|
||||
this.helmLeaf3l.setRotationPoint(4.5F, -6.0F, 2.5F);
|
||||
this.helmLeaf3l.addBox(0.0F, -7.0F, -1.0F, 2, 7, 1, s);
|
||||
this.setRotateAngle(helmLeaf3l, -0.7853981633974483F, -0.7853981633974483F, 0.7853981633974483F);
|
||||
this.helmLeaf1r = new ModelRenderer(this, 56, 14);
|
||||
this.helmLeaf1r.setRotationPoint(-4.5F, -6.0F, -2.5F);
|
||||
this.helmLeaf1r.addBox(-2.0F, -3.0F, -1.0F, 2, 3, 1, s);
|
||||
this.setRotateAngle(helmLeaf1r, -0.2617993877991494F, 0.2617993877991494F, -0.5235987755982988F);
|
||||
this.helmLeaf2r = new ModelRenderer(this, 56, 8);
|
||||
this.helmLeaf2r.setRotationPoint(-4.5F, -6.0F, -0.5F);
|
||||
this.helmLeaf2r.addBox(-2.0F, -5.0F, -1.0F, 2, 5, 1, s);
|
||||
this.setRotateAngle(helmLeaf2r, -0.5235987755982988F, 0.5235987755982988F, -0.7853981633974483F);
|
||||
this.helmLeaf3r = new ModelRenderer(this, 56, 0);
|
||||
this.helmLeaf3r.setRotationPoint(-4.5F, -6.0F, 2.5F);
|
||||
this.helmLeaf3r.addBox(-2.0F, -7.0F, -1.0F, 2, 7, 1, s);
|
||||
this.setRotateAngle(helmLeaf3r, -0.7853981633974483F, 0.7853981633974483F, -0.7853981633974483F);
|
||||
this.helmbranch1l = new ModelRenderer(this, 36, 15);
|
||||
this.helmbranch1l.mirror = true;
|
||||
this.helmbranch1l.setRotationPoint(2.5F, -9.0F, -3.5F);
|
||||
this.helmbranch1l.addBox(-1.0F, -1.0F, 0.0F, 2, 2, 7, s);
|
||||
this.setRotateAngle(helmbranch1l, 0.5235987755982988F, 0.2617993877991494F, 0.0F);
|
||||
this.helmbranch2l = new ModelRenderer(this, 36, 15);
|
||||
this.helmbranch2l.mirror = true;
|
||||
this.helmbranch2l.setRotationPoint(4.5F, -3.0F, -2.5F);
|
||||
this.helmbranch2l.addBox(-1.0F, -1.0F, 0.0F, 2, 2, 7, s);
|
||||
this.setRotateAngle(helmbranch2l, 0.08726646259971647F, 0.2617993877991494F, 0.0F);
|
||||
this.helmbranch1r = new ModelRenderer(this, 36, 15);
|
||||
this.helmbranch1r.setRotationPoint(-2.5F, -9.0F, -3.5F);
|
||||
this.helmbranch1r.addBox(-1.0F, -1.0F, 0.0F, 2, 2, 7, s);
|
||||
this.setRotateAngle(helmbranch1r, 0.5235987755982988F, -0.2617993877991494F, 0.0F);
|
||||
this.helmbranch2r = new ModelRenderer(this, 36, 15);
|
||||
this.helmbranch2r.setRotationPoint(-4.5F, -3.0F, -2.5F);
|
||||
this.helmbranch2r.addBox(-1.0F, -1.0F, 0.0F, 2, 2, 7, s);
|
||||
this.setRotateAngle(helmbranch2r, 0.08726646259971647F, -0.2617993877991494F, 0.0F);
|
||||
|
||||
//body
|
||||
this.bodyAnchor = new ModelRenderer(this, 0, 0);
|
||||
this.bodyAnchor.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.bodyAnchor.addBox(-1.0F, 0.0F, -1.0F, 2, 2, 2, s);
|
||||
this.bodyTop = new ModelRenderer(this, 0, 20);
|
||||
this.bodyTop.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.bodyTop.addBox(-5.5F, 0.0F, -3.0F, 11, 6, 6, s);
|
||||
this.bodyBottom = new ModelRenderer(this, 0, 32);
|
||||
this.bodyBottom.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.bodyBottom.addBox(-4.5F, 5.0F, -2.5F, 9, 3, 5, s);
|
||||
|
||||
//armL
|
||||
this.armLAnchor = new ModelRenderer(this, 0, 0);
|
||||
this.armLAnchor.mirror = true;
|
||||
this.armLAnchor.setRotationPoint(4.0F, 2.0F, 0.0F);
|
||||
this.armLAnchor.addBox(0.0F, -1.0F, -1.0F, 2, 2, 2, s);
|
||||
this.armL = new ModelRenderer(this, 0, 52);
|
||||
this.armL.mirror = true;
|
||||
this.armL.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.armL.addBox(-1.5F, 3.0F, -2.49F, 5, 8, 5, s);
|
||||
this.armLpauldron = new ModelRenderer(this, 0, 40);
|
||||
this.armLpauldron.mirror = true;
|
||||
this.armLpauldron.setRotationPoint(1.5F, 0.0F, 0.0F);
|
||||
this.armLpauldron.addBox(-1.0F, -3.0F, -3.0F, 6, 6, 6, s);
|
||||
this.armLbranch1 = new ModelRenderer(this, 36, 15);
|
||||
this.armLbranch1.mirror = true;
|
||||
this.armLbranch1.setRotationPoint(4.0F, -3.0F, -1.0F);
|
||||
this.armLbranch1.addBox(-1.0F, -1.0F, 0.0F, 2, 2, 7, s);
|
||||
this.setRotateAngle(armLbranch1, 0.5235987755982988F, 0.5235987755982988F, 0.0F);
|
||||
this.armLbranch2 = new ModelRenderer(this, 36, 24);
|
||||
this.armLbranch2.mirror = true;
|
||||
this.armLbranch2.setRotationPoint(5.0F, -2.0F, 0.0F);
|
||||
this.armLbranch2.addBox(-1.0F, 0.0F, 0.0F, 2, 2, 5, s);
|
||||
this.setRotateAngle(armLbranch2, 0.08726646259971647F, 0.7853981633974483F, 0.0F);
|
||||
|
||||
//armR
|
||||
this.armRAnchor = new ModelRenderer(this, 0, 0);
|
||||
this.armRAnchor.mirror = true;
|
||||
this.armRAnchor.setRotationPoint(-4.0F, 2.0F, 0.0F);
|
||||
this.armRAnchor.addBox(-2.0F, -1.0F, -1.0F, 2, 2, 2, s);
|
||||
this.armR = new ModelRenderer(this, 0, 52);
|
||||
this.armR.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.armR.addBox(-3.5F, 3.0F, -2.51F, 5, 8, 5, s);
|
||||
this.armRpauldron = new ModelRenderer(this, 0, 40);
|
||||
this.armRpauldron.setRotationPoint(-1.5F, 0.0F, 0.0F);
|
||||
this.armRpauldron.addBox(-5.0F, -3.0F, -3.0F, 6, 6, 6, s);
|
||||
this.armRbranch1 = new ModelRenderer(this, 36, 15);
|
||||
this.armRbranch1.setRotationPoint(-4.0F, -3.0F, -1.0F);
|
||||
this.armRbranch1.addBox(-1.0F, -1.0F, 0.0F, 2, 2, 7, s);
|
||||
this.setRotateAngle(armRbranch1, 0.5235987755982988F, -0.5235987755982988F, 0.0F);
|
||||
this.armRbranch2 = new ModelRenderer(this, 36, 24);
|
||||
this.armRbranch2.setRotationPoint(-5.0F, -2.0F, 0.0F);
|
||||
this.armRbranch2.addBox(-1.0F, 0.0F, 0.0F, 2, 2, 5, s);
|
||||
this.setRotateAngle(armRbranch2, 0.08726646259971647F, -0.7853981633974483F, 0.0F);
|
||||
|
||||
//pants
|
||||
this.pantsAnchor = new ModelRenderer(this, 0, 0);
|
||||
this.pantsAnchor.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.pantsAnchor.addBox(-1.0F, 0.0F, -1.0F, 2, 2, 2, s);
|
||||
this.belt = new ModelRenderer(this, 0, 65);
|
||||
this.belt.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.belt.addBox(-4.5F, 8.0F, -3.0F, 9, 5, 6, s);
|
||||
this.legL = new ModelRenderer(this, 0, 76);
|
||||
this.legL.mirror = true;
|
||||
this.legL.setRotationPoint(1.9F, 12.0F, 0.0F);
|
||||
this.legL.addBox(-2.39F, -0.01F, -2.49F, 5, 6, 5, s);
|
||||
this.legR = new ModelRenderer(this, 0, 76);
|
||||
this.legR.setRotationPoint(-1.9F, 12.0F, 0.0F);
|
||||
this.legR.addBox(-2.61F, -0.01F, -2.51F, 5, 6, 5, s);
|
||||
|
||||
//boots
|
||||
this.bootL = new ModelRenderer(this, 0, 94);
|
||||
this.bootL.mirror = true;
|
||||
this.bootL.setRotationPoint(1.9F, 12.0F, 0.0F);
|
||||
this.bootL.addBox(-2.39F, 8.5F, -2.49F, 5, 4, 5, s);
|
||||
this.bootLtop = new ModelRenderer(this, 0, 87);
|
||||
this.bootLtop.mirror = true;
|
||||
this.bootLtop.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.bootLtop.addBox(-2.39F, 6.0F, -2.49F, 6, 2, 5, s);
|
||||
this.bootLbranch1 = new ModelRenderer(this, 36, 15);
|
||||
this.bootLbranch1.mirror = true;
|
||||
this.bootLbranch1.setRotationPoint(3.5F, 6.0F, 0.0F);
|
||||
this.bootLbranch1.addBox(-1.0F, -1.0F, 0.0F, 2, 2, 7,s);
|
||||
this.setRotateAngle(bootLbranch1, 0.2617993877991494F, 0.2617993877991494F, -0.08726646259971647F);
|
||||
this.bootLbranch2 = new ModelRenderer(this, 36, 24);
|
||||
this.bootLbranch2.mirror = true;
|
||||
this.bootLbranch2.setRotationPoint(2.5F, 9.0F, 0.0F);
|
||||
this.bootLbranch2.addBox(-1.0F, -1.0F, 0.0F, 2, 2, 5, s);
|
||||
this.setRotateAngle(bootLbranch2, 0.08726646259971647F, 0.7853981633974483F, 0.0F);
|
||||
this.bootR = new ModelRenderer(this, 0, 94);
|
||||
this.bootR.setRotationPoint(-1.9F, 12.0F, 0.0F);
|
||||
this.bootR.addBox(-2.61F, 8.5F, -2.51F, 5, 4, 5, s);
|
||||
this.bootRtop = new ModelRenderer(this, 0, 87);
|
||||
this.bootRtop.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
this.bootRtop.addBox(-3.61F, 6.0F, -2.51F, 6, 2, 5, s);
|
||||
this.bootRbranch1 = new ModelRenderer(this, 36, 15);
|
||||
this.bootRbranch1.setRotationPoint(-3.5F, 6.0F, 0.0F);
|
||||
this.bootRbranch1.addBox(-1.0F, -1.0F, 0.0F, 2, 2, 7, s);
|
||||
this.setRotateAngle(bootRbranch1, 0.2617993877991494F, -0.2617993877991494F, 0.08726646259971647F);
|
||||
this.bootRbranch2 = new ModelRenderer(this, 36, 24);
|
||||
this.bootRbranch2.setRotationPoint(-2.5F, 9.0F, 0.5F);
|
||||
this.bootRbranch2.addBox(-1.0F, -1.0F, 0.0F, 2, 2, 5, s);
|
||||
this.setRotateAngle(bootRbranch2, 0.08726646259971647F, -0.7853981633974483F, 0.0F);
|
||||
|
||||
//hierarchy
|
||||
this.helmAnchor.addChild(this.helm);
|
||||
this.helm.addChild(this.helmFront);
|
||||
this.helm.addChild(this.helmLeaf1l);
|
||||
this.helm.addChild(this.helmLeaf2l);
|
||||
this.helm.addChild(this.helmLeaf3l);
|
||||
this.helm.addChild(this.helmLeaf1r);
|
||||
this.helm.addChild(this.helmLeaf2r);
|
||||
this.helm.addChild(this.helmLeaf3r);
|
||||
this.helm.addChild(this.helmbranch1l);
|
||||
this.helm.addChild(this.helmbranch2l);
|
||||
this.helm.addChild(this.helmbranch1r);
|
||||
this.helm.addChild(this.helmbranch2r);
|
||||
|
||||
this.bodyAnchor.addChild(this.bodyTop);
|
||||
this.bodyTop.addChild(this.bodyBottom);
|
||||
this.armLAnchor.addChild(this.armL);
|
||||
this.armL.addChild(this.armLpauldron);
|
||||
this.armLpauldron.addChild(this.armLbranch1);
|
||||
this.armLpauldron.addChild(this.armLbranch2);
|
||||
this.armRAnchor.addChild(this.armR);
|
||||
this.armR.addChild(this.armRpauldron);
|
||||
this.armRpauldron.addChild(this.armRbranch1);
|
||||
this.armRpauldron.addChild(this.armRbranch2);
|
||||
|
||||
this.pantsAnchor.addChild(this.belt);
|
||||
this.belt.addChild(this.legL);
|
||||
this.belt.addChild(this.legR);
|
||||
|
||||
this.bootL.addChild(bootLtop);
|
||||
this.bootLtop.addChild(bootLbranch1);
|
||||
this.bootLtop.addChild(bootLbranch2);
|
||||
this.bootR.addChild(bootRtop);
|
||||
this.bootRtop.addChild(bootRbranch1);
|
||||
this.bootRtop.addChild(bootRbranch2);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void render(@Nonnull Entity entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch, float scale) {
|
||||
helm.showModel = slot == EntityEquipmentSlot.HEAD;
|
||||
body.showModel = slot == EntityEquipmentSlot.CHEST;
|
||||
armr.showModel = slot == EntityEquipmentSlot.CHEST;
|
||||
armL.showModel = slot == EntityEquipmentSlot.CHEST;
|
||||
|
||||
helmAnchor.showModel = slot == EntityEquipmentSlot.HEAD;
|
||||
bodyAnchor.showModel = slot == EntityEquipmentSlot.CHEST;
|
||||
armLAnchor.showModel = slot == EntityEquipmentSlot.CHEST;
|
||||
armRAnchor.showModel = slot == EntityEquipmentSlot.CHEST;
|
||||
legR.showModel = slot == EntityEquipmentSlot.LEGS;
|
||||
legL.showModel = slot == EntityEquipmentSlot.LEGS;
|
||||
bootL.showModel = slot == EntityEquipmentSlot.FEET;
|
||||
bootR.showModel = slot == EntityEquipmentSlot.FEET;
|
||||
|
||||
bipedHeadwear.showModel = false;
|
||||
|
||||
bipedHead = helm;
|
||||
bipedBody = body;
|
||||
bipedRightArm = armr;
|
||||
bipedLeftArm = armL;
|
||||
bipedHead = helmAnchor;
|
||||
bipedBody = bodyAnchor;
|
||||
bipedRightArm = armRAnchor;
|
||||
bipedLeftArm = armLAnchor;
|
||||
if(slot == EntityEquipmentSlot.LEGS) {
|
||||
bipedBody = pantsAnchor;
|
||||
bipedRightLeg = legR;
|
||||
bipedLeftLeg = legL;
|
||||
} else {
|
||||
|
||||
@@ -56,17 +56,17 @@ public class RenderTilePylon extends TileEntitySpecialRenderer<TilePylon> {
|
||||
default:
|
||||
case MANA: {
|
||||
modelPath = MANA_MODEL_PATH;
|
||||
textures = ImmutableMap.of("#pylon", "botania:model/pylon");
|
||||
textures = ImmutableMap.of("#pylon", "botania:model/pylon_0");
|
||||
break;
|
||||
}
|
||||
case NATURA: {
|
||||
modelPath = NATURA_MODEL_PATH;
|
||||
textures = ImmutableMap.of("#pylon", "botania:model/pylon1");
|
||||
textures = ImmutableMap.of("#pylon", "botania:model/pylon_1");
|
||||
break;
|
||||
}
|
||||
case GAIA: {
|
||||
modelPath = GAIA_MODEL_PATH;
|
||||
textures = ImmutableMap.of("#pylon", "botania:model/pylon2");
|
||||
textures = ImmutableMap.of("#pylon", "botania:model/pylon_2");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -27,13 +27,13 @@ public class RenderTileSparkChanger extends TileEntitySpecialRenderer<TileSparkC
|
||||
GlStateManager.pushMatrix();
|
||||
GlStateManager.translate(d0, d1, d2);
|
||||
GlStateManager.rotate(90F, 1F, 0F, 0F);
|
||||
GlStateManager.translate(0.8F, 0.2F, -0.22F);
|
||||
GlStateManager.translate(1.0F, -0.125F, -0.25F);
|
||||
GlStateManager.color(1F, 1F, 1F, 1F);
|
||||
ItemStack stack = tileentity.getItemHandler().getStackInSlot(0);
|
||||
if(!stack.isEmpty()) {
|
||||
GlStateManager.pushMatrix();
|
||||
Minecraft.getMinecraft().renderEngine.bindTexture(TextureMap.LOCATION_BLOCKS_TEXTURE);
|
||||
float s = 0.6F;
|
||||
float s = 1.0F;
|
||||
GlStateManager.scale(s, s, s);
|
||||
GlStateManager.rotate(180F, 0F, 1F, 0F);
|
||||
GlStateManager.translate(0.5, 0.5, 0);
|
||||
|
||||
@@ -10,6 +10,11 @@
|
||||
*/
|
||||
package vazkii.botania.client.render.tile;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.util.Random;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
|
||||
import net.minecraft.block.BlockCarpet;
|
||||
import net.minecraft.block.state.IBlockState;
|
||||
import net.minecraft.client.Minecraft;
|
||||
@@ -28,19 +33,17 @@ import vazkii.botania.client.model.ModelSpreader;
|
||||
import vazkii.botania.common.block.ModBlocks;
|
||||
import vazkii.botania.common.block.tile.mana.TileSpreader;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
import java.awt.Color;
|
||||
import java.util.Random;
|
||||
|
||||
public class RenderTileSpreader extends TileEntitySpecialRenderer<TileSpreader> {
|
||||
|
||||
private static final ResourceLocation texture = new ResourceLocation(LibResources.MODEL_SPREADER);
|
||||
private static final ResourceLocation textureRs = new ResourceLocation(LibResources.MODEL_SPREADER_REDSTONE);
|
||||
private static final ResourceLocation textureDw = new ResourceLocation(LibResources.MODEL_SPREADER_DREAMWOOD);
|
||||
|
||||
private static final ResourceLocation textureG = new ResourceLocation(LibResources.MODEL_SPREADER_GAIA);
|
||||
|
||||
private static final ResourceLocation textureHalloween = new ResourceLocation(LibResources.MODEL_SPREADER_HALLOWEEN);
|
||||
private static final ResourceLocation textureRsHalloween = new ResourceLocation(LibResources.MODEL_SPREADER_REDSTONE_HALLOWEEN);
|
||||
private static final ResourceLocation textureDwHalloween = new ResourceLocation(LibResources.MODEL_SPREADER_DREAMWOOD_HALLOWEEN);
|
||||
private static final ResourceLocation textureGHalloween = new ResourceLocation(LibResources.MODEL_SPREADER_GAIA_HALLOWEEN);
|
||||
|
||||
private static final ModelSpreader model = new ModelSpreader();
|
||||
|
||||
@@ -49,7 +52,7 @@ public class RenderTileSpreader extends TileEntitySpecialRenderer<TileSpreader>
|
||||
if(!spreader.getWorld().isBlockLoaded(spreader.getPos(), false)
|
||||
|| spreader.getWorld().getBlockState(spreader.getPos()).getBlock() != ModBlocks.spreader)
|
||||
return;
|
||||
|
||||
|
||||
GlStateManager.pushMatrix();
|
||||
GlStateManager.enableRescaleNormal();
|
||||
GlStateManager.color(1F, 1F, 1F, 1F);
|
||||
@@ -61,9 +64,9 @@ public class RenderTileSpreader extends TileEntitySpecialRenderer<TileSpreader>
|
||||
GlStateManager.rotate(spreader.rotationY, 1F, 0F, 0F);
|
||||
GlStateManager.translate(0F, 1F, 0F);
|
||||
|
||||
ResourceLocation r = spreader.isRedstone() ? textureRs : spreader.isDreamwood() ? textureDw : texture;
|
||||
ResourceLocation r = spreader.isRedstone() ? textureRs : spreader.isDreamwood() ? textureDw : spreader.isULTRA_SPREADER() ? textureG : texture;
|
||||
if(ClientProxy.dootDoot)
|
||||
r = spreader.isRedstone() ? textureRsHalloween : spreader.isDreamwood() ? textureDwHalloween : textureHalloween;
|
||||
r = spreader.isRedstone() ? textureRsHalloween : spreader.isDreamwood() ? textureDwHalloween : spreader.isULTRA_SPREADER() ? textureGHalloween : textureHalloween;
|
||||
|
||||
Minecraft.getMinecraft().renderEngine.bindTexture(r);
|
||||
GlStateManager.scale(1F, -1F, -1F);
|
||||
|
||||
@@ -16,7 +16,9 @@ import net.minecraft.block.state.IBlockState;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.math.AxisAlignedBB;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
import vazkii.botania.api.lexicon.ILexiconable;
|
||||
import vazkii.botania.api.lexicon.LexiconEntry;
|
||||
@@ -29,12 +31,30 @@ import javax.annotation.Nonnull;
|
||||
|
||||
public class BlockDistributor extends BlockMod implements ILexiconable {
|
||||
|
||||
private static final AxisAlignedBB AABB = new AxisAlignedBB(0.25, 0.0, 0.25, 0.75, 1.0, 0.75);
|
||||
|
||||
public BlockDistributor() {
|
||||
super(Material.ROCK, LibBlockNames.DISTRIBUTOR);
|
||||
setHardness(2.0F);
|
||||
setResistance(10.0F);
|
||||
setSoundType(SoundType.STONE);
|
||||
}
|
||||
|
||||
@Nonnull
|
||||
@Override
|
||||
public AxisAlignedBB getBoundingBox(IBlockState state, IBlockAccess world, BlockPos pos) {
|
||||
return AABB;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isOpaqueCube(IBlockState state) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isFullCube(IBlockState state) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasTileEntity(IBlockState state) {
|
||||
|
||||
@@ -51,7 +51,7 @@ import java.util.List;
|
||||
|
||||
public class BlockForestDrum extends BlockMod implements IManaTrigger, ILexiconable {
|
||||
|
||||
private static final AxisAlignedBB AABB = new AxisAlignedBB(3/16.0, 0, 3/16.0, 13/16.0, 14/16.0, 13/16.0);
|
||||
private static final AxisAlignedBB AABB = new AxisAlignedBB(3/16.0, 1/16.0, 3/16.0, 13/16.0, 15/16.0, 13/16.0);
|
||||
|
||||
public BlockForestDrum() {
|
||||
super(Material.WOOD, LibBlockNames.FOREST_DRUM);
|
||||
|
||||
@@ -458,7 +458,7 @@ public class TileSpreader extends TileSimpleInventory implements IManaCollector,
|
||||
public boolean isDreamwood() {
|
||||
updateContainingBlockInfo();
|
||||
int variant = getBlockMetadata();
|
||||
return world == null ? staticDreamwood : variant == SpreaderVariant.ELVEN.ordinal() || variant == SpreaderVariant.GAIA.ordinal();
|
||||
return world == null ? staticDreamwood : variant == SpreaderVariant.ELVEN.ordinal();
|
||||
}
|
||||
|
||||
public boolean isULTRA_SPREADER() {
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
{
|
||||
"variants": {
|
||||
"variant=default": { "model": "botania:apothecaries/default_apothecary" },
|
||||
"variant=forest": { "model": "botania:apothecaries/forest_apothecary" },
|
||||
"variant=plains": { "model": "botania:apothecaries/plains_apothecary" },
|
||||
"variant=mountain": { "model": "botania:apothecaries/mountain_apothecary" },
|
||||
"variant=fungal": { "model": "botania:apothecaries/fungal_apothecary" },
|
||||
"variant=swamp": { "model": "botania:apothecaries/swamp_apothecary" },
|
||||
"variant=desert": { "model": "botania:apothecaries/desert_apothecary" },
|
||||
"variant=taiga": { "model": "botania:apothecaries/taiga_apothecary" },
|
||||
"variant=mesa": { "model": "botania:apothecaries/mesa_apothecary" },
|
||||
"variant=mossy": { "model": "botania:apothecaries/mossy_apothecary" }
|
||||
"variant=default": { "model": "botania:apothecary_default" },
|
||||
"variant=forest": { "model": "botania:apothecary_forest" },
|
||||
"variant=plains": { "model": "botania:apothecary_plains" },
|
||||
"variant=mountain": { "model": "botania:apothecary_mountain" },
|
||||
"variant=fungal": { "model": "botania:apothecary_fungal" },
|
||||
"variant=swamp": { "model": "botania:apothecary_swamp" },
|
||||
"variant=desert": { "model": "botania:apothecary_desert" },
|
||||
"variant=taiga": { "model": "botania:apothecary_taiga" },
|
||||
"variant=mesa": { "model": "botania:apothecary_mesa" },
|
||||
"variant=mossy": { "model": "botania:apothecary_mossy" }
|
||||
}
|
||||
}
|
||||
@@ -1,35 +1,33 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"textures": {
|
||||
"stand": "botania:model/crystalcube_stand",
|
||||
"base_sides": "botania:model/crystalcube_base_sides",
|
||||
"base_top": "botania:model/crystalcube_base_top",
|
||||
"base_bottom": "botania:model/crystalcube_base_bottom",
|
||||
"cube": "botania:model/crystalcube_cube",
|
||||
"particle": "botania:blocks/storage2"
|
||||
}
|
||||
},
|
||||
"variants": {
|
||||
"static": {
|
||||
"true": {
|
||||
"model": "botania:crystalcube_base"
|
||||
},
|
||||
"false": {
|
||||
"model": "botania:crystalcube_cube"
|
||||
}
|
||||
},
|
||||
"inventory": [{
|
||||
"model": "botania:crystalcube_base",
|
||||
"transform": "forge:default-block",
|
||||
"submodel": {
|
||||
"cube": {
|
||||
"model": "botania:crystalcube_cube",
|
||||
"transform": {
|
||||
"translation": [ 0, 0.5, 0 ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}]
|
||||
}
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"textures": {
|
||||
"cloth": "botania:blocks/crystalcube_cloth",
|
||||
"base": "botania:blocks/crystalcube_base",
|
||||
"cube": "botania:blocks/crystalcube_cube",
|
||||
"particle": "botania:blocks/storage2"
|
||||
}
|
||||
},
|
||||
"variants": {
|
||||
"static": {
|
||||
"true": {
|
||||
"model": "botania:crystalcube_base"
|
||||
},
|
||||
"false": {
|
||||
"model": "botania:crystalcube_cube"
|
||||
}
|
||||
},
|
||||
"inventory": [{
|
||||
"model": "botania:crystalcube_base",
|
||||
"transform": "forge:default-block",
|
||||
"submodel": {
|
||||
"cube": {
|
||||
"model": "botania:crystalcube_cube",
|
||||
"transform": {
|
||||
"translation": [ 0, 0.5, 0 ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}]
|
||||
}
|
||||
}
|
||||
@@ -12,26 +12,26 @@
|
||||
"variant": {
|
||||
"default": {
|
||||
"textures": {
|
||||
"layer0": "botania:blocks/lightrelay0",
|
||||
"particle": "botania:blocks/lightrelay1"
|
||||
"layer0": "botania:blocks/luminizer",
|
||||
"particle": "botania:blocks/luminizer"
|
||||
}
|
||||
},
|
||||
"detector": {
|
||||
"textures": {
|
||||
"layer0": "botania:blocks/lightrelay2",
|
||||
"particle": "botania:blocks/lightrelay3"
|
||||
"layer0": "botania:blocks/luminizer_detector",
|
||||
"particle": "botania:blocks/luminizer_detector"
|
||||
}
|
||||
},
|
||||
"fork": {
|
||||
"textures": {
|
||||
"layer0": "botania:blocks/lightrelay4",
|
||||
"particle": "botania:blocks/lightrelay5"
|
||||
"layer0": "botania:blocks/luminizer_fork",
|
||||
"particle": "botania:blocks/luminizer_fork"
|
||||
}
|
||||
},
|
||||
"toggle": {
|
||||
"textures": {
|
||||
"layer0": "botania:blocks/lightrelay6",
|
||||
"particle": "botania:blocks/lightrelay7"
|
||||
"layer0": "botania:blocks/luminizer_toggle",
|
||||
"particle": "botania:blocks/luminizer_toggle"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"variants": {
|
||||
"variant=default": { "model": "botania:default_pool" },
|
||||
"variant=diluted": { "model": "botania:diluted_pool" },
|
||||
"variant=creative": { "model": "botania:creative_pool" },
|
||||
"variant=fabulous": { "model": "botania:fabulous_pool" }
|
||||
"variant=default": { "model": "botania:pool_default" },
|
||||
"variant=diluted": { "model": "botania:pool_diluted" },
|
||||
"variant=creative": { "model": "botania:pool_creative" },
|
||||
"variant=fabulous": { "model": "botania:pool_fabulous" }
|
||||
}
|
||||
}
|
||||
@@ -15,17 +15,17 @@
|
||||
},
|
||||
"static": {
|
||||
"true": {
|
||||
"model": "botania:pump"
|
||||
"model": "botania:mana_pump"
|
||||
},
|
||||
"false": {
|
||||
"model": "botania:pump_head"
|
||||
"model": "botania:mana_pump_head"
|
||||
}
|
||||
},
|
||||
"inventory": [{
|
||||
"model": "botania:pump",
|
||||
"model": "botania:mana_pump",
|
||||
"submodel": {
|
||||
"head": {
|
||||
"model": "botania:pump_head"
|
||||
"model": "botania:mana_pump_head"
|
||||
}
|
||||
}
|
||||
}]
|
||||
|
||||
@@ -52,9 +52,9 @@
|
||||
},
|
||||
"variants": {
|
||||
"variant": {
|
||||
"mana": { "textures": { "#pylon": "botania:model/pylon" } },
|
||||
"natura": { "textures": { "#pylon": "botania:model/pylon1" } },
|
||||
"gaia": { "textures": { "#pylon": "botania:model/pylon2" } }
|
||||
"mana": { "textures": { "#pylon": "botania:model/pylon_0" } },
|
||||
"natura": { "textures": { "#pylon": "botania:model/pylon_1" } },
|
||||
"gaia": { "textures": { "#pylon": "botania:model/pylon_2" } }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"variants": {
|
||||
"variant=mana": { "model": "botania:mana_spreader" },
|
||||
"variant=redstone": { "model": "botania:redstone_spreader" },
|
||||
"variant=elven": { "model": "botania:elven_spreader" },
|
||||
"variant=gaia": { "model": "botania:gaia_spreader" }
|
||||
"variant=mana": { "model": "botania:spreader_mana" },
|
||||
"variant=redstone": { "model": "botania:spreader_redstone" },
|
||||
"variant=elven": { "model": "botania:spreader_elven" },
|
||||
"variant=gaia": { "model": "botania:spreader_gaia" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"Comment": "Designed by Wiiv with Cubik Studio - https://cubik.studio",
|
||||
"parent": "botania:block/shapes/petal_apothecary",
|
||||
"textures": {
|
||||
"side": "botania:model/apothecary/stone_side",
|
||||
"goblet": "botania:model/apothecary/stone_goblet",
|
||||
"top_bottom": "botania:model/apothecary/stone_top_bottom",
|
||||
"particle": "botania:model/apothecary/stone_top_bottom"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"Comment": "Designed by Wiiv with Cubik Studio - https://cubik.studio",
|
||||
"parent": "botania:block/shapes/petal_apothecary",
|
||||
"textures": {
|
||||
"side": "botania:model/apothecary/desert_side",
|
||||
"goblet": "botania:model/apothecary/desert_goblet",
|
||||
"top_bottom": "botania:model/apothecary/desert_top_bottom",
|
||||
"particle": "botania:model/apothecary/desert_top_bottom"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"Comment": "Designed by Wiiv with Cubik Studio - https://cubik.studio",
|
||||
"parent": "botania:block/shapes/petal_apothecary",
|
||||
"textures": {
|
||||
"side": "botania:model/apothecary/forest_side",
|
||||
"goblet": "botania:model/apothecary/forest_goblet",
|
||||
"top_bottom": "botania:model/apothecary/forest_top_bottom",
|
||||
"particle": "botania:model/apothecary/forest_top_bottom"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"Comment": "Designed by Wiiv with Cubik Studio - https://cubik.studio",
|
||||
"parent": "botania:block/shapes/petal_apothecary",
|
||||
"textures": {
|
||||
"side": "botania:model/apothecary/fungal_side",
|
||||
"goblet": "botania:model/apothecary/fungal_goblet",
|
||||
"top_bottom": "botania:model/apothecary/fungal_top_bottom",
|
||||
"particle": "botania:model/apothecary/fungal_top_bottom"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"Comment": "Designed by Wiiv with Cubik Studio - https://cubik.studio",
|
||||
"parent": "botania:block/shapes/petal_apothecary",
|
||||
"textures": {
|
||||
"side": "botania:model/apothecary/mesa_side",
|
||||
"goblet": "botania:model/apothecary/mesa_goblet",
|
||||
"top_bottom": "botania:model/apothecary/mesa_top_bottom",
|
||||
"particle": "botania:model/apothecary/mesa_top_bottom"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"Comment": "Designed by Wiiv with Cubik Studio - https://cubik.studio",
|
||||
"parent": "botania:block/shapes/petal_apothecary",
|
||||
"textures": {
|
||||
"side": "botania:model/apothecary/mossy_side",
|
||||
"goblet": "botania:model/apothecary/mossy_goblet",
|
||||
"top_bottom": "botania:model/apothecary/mossy_top_bottom",
|
||||
"particle": "botania:model/apothecary/mossy_top_bottom"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"Comment": "Designed by Wiiv with Cubik Studio - https://cubik.studio",
|
||||
"parent": "botania:block/shapes/petal_apothecary",
|
||||
"textures": {
|
||||
"side": "botania:model/apothecary/mountain_side",
|
||||
"goblet": "botania:model/apothecary/mountain_goblet",
|
||||
"top_bottom": "botania:model/apothecary/mountain_top_bottom",
|
||||
"particle": "botania:model/apothecary/mountain_top_bottom"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"Comment": "Designed by Wiiv with Cubik Studio - https://cubik.studio",
|
||||
"parent": "botania:block/shapes/petal_apothecary",
|
||||
"textures": {
|
||||
"side": "botania:model/apothecary/plains_side",
|
||||
"goblet": "botania:model/apothecary/plains_goblet",
|
||||
"top_bottom": "botania:model/apothecary/plains_top_bottom",
|
||||
"particle": "botania:model/apothecary/plains_top_bottom"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"Comment": "Designed by Wiiv with Cubik Studio - https://cubik.studio",
|
||||
"parent": "botania:block/shapes/petal_apothecary",
|
||||
"textures": {
|
||||
"side": "botania:model/apothecary/swamp_side",
|
||||
"goblet": "botania:model/apothecary/swamp_goblet",
|
||||
"top_bottom": "botania:model/apothecary/swamp_top_bottom",
|
||||
"particle": "botania:model/apothecary/swamp_top_bottom"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"Comment": "Designed by Wiiv with Cubik Studio - https://cubik.studio",
|
||||
"parent": "botania:block/shapes/petal_apothecary",
|
||||
"textures": {
|
||||
"side": "botania:model/apothecary/taiga_side",
|
||||
"goblet": "botania:model/apothecary/taiga_goblet",
|
||||
"top_bottom": "botania:model/apothecary/taiga_top_bottom",
|
||||
"particle": "botania:model/apothecary/taiga_top_bottom"
|
||||
}
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
{
|
||||
"parent": "botania:block/shapes/pool_full",
|
||||
"textures": {
|
||||
"all": "botania:model/infinitepool",
|
||||
"liquid": "botania:blocks/manawater"
|
||||
}
|
||||
}
|
||||
@@ -1,29 +1,213 @@
|
||||
{
|
||||
"elements": [
|
||||
{
|
||||
"name": "Stand",
|
||||
"from": [ 5.0, 0.0, 5.0 ],
|
||||
"to": [ 11.0, 1.0, 11.0 ],
|
||||
"faces": {
|
||||
"west": { "texture": "#stand", "uv": [ 5.0, 7.0, 11.0, 8.0 ] },
|
||||
"north": { "texture": "#stand", "uv": [ 5.0, 9.0, 11.0, 10.0 ] },
|
||||
"east": { "texture": "#stand", "uv": [ 5.0, 11.0, 11.0, 12.0 ] },
|
||||
"south": { "texture": "#stand", "uv": [ 5.0, 13.0, 11.0, 14.0 ] },
|
||||
"down": { "texture": "#stand", "uv": [ 8.0, 0.0, 14.0, 6.0 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Base",
|
||||
"from": [ 3.0, 1.0, 3.0 ],
|
||||
"to": [ 13.0, 5.0, 13.0 ],
|
||||
"faces": {
|
||||
"west": { "texture": "#base_sides", "uv": [ 3.0, 0.0, 13.0, 4.0 ] },
|
||||
"north": { "texture": "#base_sides", "uv": [ 3.0, 4.0, 13.0, 8.0 ] },
|
||||
"east": { "texture": "#base_sides", "uv": [ 3.0, 8.0, 13.0, 12.0 ] },
|
||||
"south": { "texture": "#base_sides", "uv": [ 3.0, 12.0, 13.0, 16.0 ] },
|
||||
"up": { "texture": "#base_top", "uv": [ 3.0, 3.0, 13.0, 13.0 ] },
|
||||
"down": { "texture": "#base_bottom", "uv": [ 3.0, 3.0, 13.0, 13.0 ] }
|
||||
}
|
||||
}
|
||||
]
|
||||
"comment": "Designed by Wiiv with Cubik Studio - https://cubik.studio",
|
||||
"elements": [
|
||||
{
|
||||
"__comment": "base",
|
||||
"from": [ 5, 0, 5 ],
|
||||
"to": [ 11, 2, 11 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 10, 0, 16, 6 ], "texture": "#base" },
|
||||
"north": { "uv": [ 10, 6, 16, 8 ], "texture": "#base" },
|
||||
"south": { "uv": [ 10, 6, 16, 8 ], "texture": "#base" },
|
||||
"west": { "uv": [ 10, 8, 16, 10 ], "texture": "#base" },
|
||||
"east": { "uv": [ 10, 8, 16, 10 ], "texture": "#base" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "bottom",
|
||||
"from": [ 3, 2, 3 ],
|
||||
"to": [ 13, 2.001, 13 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 0, 0, 10, 10 ], "texture": "#base" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "top",
|
||||
"from": [ 3, 6, 3 ],
|
||||
"to": [ 13, 6.001, 13 ],
|
||||
"faces": {
|
||||
"up": { "uv": [ 0, 0, 10, 10 ], "texture": "#cloth" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "l1",
|
||||
"from": [ 3, 1, 3 ],
|
||||
"to": [ 3.001, 6, 5 ],
|
||||
"faces": {
|
||||
"west": { "uv": [ 0, 10, 2, 15 ], "texture": "#cloth" },
|
||||
"east": { "uv": [ 9, 10, 11, 15 ], "texture": "#cloth" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "l2",
|
||||
"from": [ 3, 2, 5 ],
|
||||
"to": [ 3.001, 6, 7 ],
|
||||
"faces": {
|
||||
"west": { "uv": [ 2, 11, 4, 15 ], "texture": "#cloth" },
|
||||
"east": { "uv": [ 7, 11, 9, 15 ], "texture": "#cloth" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "l3",
|
||||
"from": [ 3, 1, 7 ],
|
||||
"to": [ 3.001, 6, 9 ],
|
||||
"faces": {
|
||||
"west": { "uv": [ 4, 10, 6, 15 ], "texture": "#cloth" },
|
||||
"east": { "uv": [ 7, 10, 9, 15 ], "texture": "#cloth" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "l4",
|
||||
"from": [ 3, 2, 9 ],
|
||||
"to": [ 3.001, 6, 11 ],
|
||||
"faces": {
|
||||
"west": { "uv": [ 6, 11, 8, 15 ], "texture": "#cloth" },
|
||||
"east": { "uv": [ 5, 11, 7, 15 ], "texture": "#cloth" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "l5",
|
||||
"from": [ 3, 1, 11 ],
|
||||
"to": [ 3.001, 6, 13 ],
|
||||
"faces": {
|
||||
"west": { "uv": [ 4, 10, 6, 15 ], "texture": "#cloth" },
|
||||
"east": { "uv": [ 7, 10, 9, 15 ], "texture": "#cloth" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "r1",
|
||||
"from": [ 13, 1, 11 ],
|
||||
"to": [ 13.001, 6, 13 ],
|
||||
"faces": {
|
||||
"west": { "uv": [ 1, 10, 3, 15 ], "texture": "#cloth" },
|
||||
"east": { "uv": [ 10, 10, 12, 15 ], "texture": "#cloth" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "r2",
|
||||
"from": [ 13, 2, 9 ],
|
||||
"to": [ 13.001, 6, 11 ],
|
||||
"faces": {
|
||||
"west": { "uv": [ 2, 11, 4, 15 ], "texture": "#cloth" },
|
||||
"east": { "uv": [ 8, 11, 10, 15 ], "texture": "#cloth" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "r3",
|
||||
"from": [ 13, 1, 7 ],
|
||||
"to": [ 13.001, 6, 9 ],
|
||||
"faces": {
|
||||
"west": { "uv": [ 4, 10, 6, 15 ], "texture": "#cloth" },
|
||||
"east": { "uv": [ 6, 10, 8, 15 ], "texture": "#cloth" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "r4",
|
||||
"from": [ 13, 2, 5 ],
|
||||
"to": [ 13.001, 6, 7 ],
|
||||
"faces": {
|
||||
"west": { "uv": [ 6, 11, 8, 15 ], "texture": "#cloth" },
|
||||
"east": { "uv": [ 4, 11, 6, 15 ], "texture": "#cloth" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "r5",
|
||||
"from": [ 13, 1, 3 ],
|
||||
"to": [ 13.001, 6, 5 ],
|
||||
"faces": {
|
||||
"west": { "uv": [ 4, 10, 6, 15 ], "texture": "#cloth" },
|
||||
"east": { "uv": [ 2, 10, 4, 15 ], "texture": "#cloth" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "f1",
|
||||
"from": [ 3, 1, 13 ],
|
||||
"to": [ 5, 6, 13.001 ],
|
||||
"faces": {
|
||||
"north": { "uv": [ 1, 10, 3, 15 ], "texture": "#cloth" },
|
||||
"south": { "uv": [ 10, 10, 12, 15 ], "texture": "#cloth" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "f2",
|
||||
"from": [ 5, 2, 13 ],
|
||||
"to": [ 7, 6, 13.001 ],
|
||||
"faces": {
|
||||
"north": { "uv": [ 3, 11, 5, 15 ], "texture": "#cloth" },
|
||||
"south": { "uv": [ 8, 11, 10, 15 ], "texture": "#cloth" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "f3",
|
||||
"from": [ 7, 1, 13 ],
|
||||
"to": [ 9, 6, 13.001 ],
|
||||
"faces": {
|
||||
"north": { "uv": [ 5, 10, 7, 15 ], "texture": "#cloth" },
|
||||
"south": { "uv": [ 6, 10, 8, 15 ], "texture": "#cloth" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "f4",
|
||||
"from": [ 9, 2, 13 ],
|
||||
"to": [ 11, 6, 13.001 ],
|
||||
"faces": {
|
||||
"north": { "uv": [ 7, 11, 9, 15 ], "texture": "#cloth" },
|
||||
"south": { "uv": [ 4, 11, 6, 15 ], "texture": "#cloth" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "f5",
|
||||
"from": [ 11, 1, 13 ],
|
||||
"to": [ 13, 6, 13.001 ],
|
||||
"faces": {
|
||||
"north": { "uv": [ 9, 10, 11, 15 ], "texture": "#cloth" },
|
||||
"south": { "uv": [ 2, 10, 4, 15 ], "texture": "#cloth" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "b1",
|
||||
"from": [ 11, 1, 3 ],
|
||||
"to": [ 13, 6, 3.001 ],
|
||||
"faces": {
|
||||
"north": { "uv": [ 1, 10, 3, 15 ], "texture": "#cloth" },
|
||||
"south": { "uv": [ 10, 10, 12, 15 ], "texture": "#cloth" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "b2",
|
||||
"from": [ 9, 2, 3 ],
|
||||
"to": [ 11, 6, 3.001 ],
|
||||
"faces": {
|
||||
"north": { "uv": [ 3, 11, 5, 15 ], "texture": "#cloth" },
|
||||
"south": { "uv": [ 8, 11, 10, 15 ], "texture": "#cloth" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "b3",
|
||||
"from": [ 7, 1, 3 ],
|
||||
"to": [ 9, 6, 3.001 ],
|
||||
"faces": {
|
||||
"north": { "uv": [ 5, 10, 7, 15 ], "texture": "#cloth" },
|
||||
"south": { "uv": [ 6, 10, 8, 15 ], "texture": "#cloth" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "b4",
|
||||
"from": [ 5, 2, 3 ],
|
||||
"to": [ 7, 6, 3.001 ],
|
||||
"faces": {
|
||||
"north": { "uv": [ 7, 11, 9, 15 ], "texture": "#cloth" },
|
||||
"south": { "uv": [ 4, 11, 6, 15 ], "texture": "#cloth" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "b5",
|
||||
"from": [ 3, 1, 3 ],
|
||||
"to": [ 5, 6, 3.001 ],
|
||||
"faces": {
|
||||
"north": { "uv": [ 9, 10, 11, 15 ], "texture": "#cloth" },
|
||||
"south": { "uv": [ 2, 10, 4, 15 ], "texture": "#cloth" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,20 +1,20 @@
|
||||
{
|
||||
"textures": {
|
||||
"particle": "#cube"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"name": "Cube",
|
||||
"from": [ 4, 4, 4 ],
|
||||
"to": [ 12, 12, 12 ],
|
||||
"faces": {
|
||||
"down": { "texture": "#cube", "uv": [ 4, 4, 12, 12 ] },
|
||||
"up": { "texture": "#cube", "uv": [ 4, 4, 12, 12 ] },
|
||||
"north": { "texture": "#cube", "uv": [ 4, 4, 12, 12 ] },
|
||||
"south": { "texture": "#cube", "uv": [ 4, 4, 12, 12 ] },
|
||||
"west": { "texture": "#cube", "uv": [ 4, 4, 12, 12 ] },
|
||||
"east": { "texture": "#cube", "uv": [ 4, 4, 12, 12 ] }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
"textures": {
|
||||
"particle": "#cube"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"name": "Cube",
|
||||
"from": [ 4, 4, 4 ],
|
||||
"to": [ 12, 12, 12 ],
|
||||
"faces": {
|
||||
"down": { "texture": "#cube", "uv": [ 4, 4, 12, 12 ] },
|
||||
"up": { "texture": "#cube", "uv": [ 4, 4, 12, 12 ] },
|
||||
"north": { "texture": "#cube", "uv": [ 4, 4, 12, 12 ] },
|
||||
"south": { "texture": "#cube", "uv": [ 4, 4, 12, 12 ] },
|
||||
"west": { "texture": "#cube", "uv": [ 4, 4, 12, 12 ] },
|
||||
"east": { "texture": "#cube", "uv": [ 4, 4, 12, 12 ] }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
{
|
||||
"parent": "botania:block/shapes/pool_full",
|
||||
"textures": {
|
||||
"all": "botania:model/pool",
|
||||
"liquid": "botania:blocks/manawater"
|
||||
}
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
{
|
||||
"parent": "botania:block/shapes/pool_full",
|
||||
"textures": {
|
||||
"all": "botania:model/dilutedpool",
|
||||
"liquid": "botania:blocks/manawater"
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"parent": "botania:block/shapes/drum",
|
||||
"textures": {
|
||||
"top": "botania:blocks/forestdrum4",
|
||||
"side": "botania:blocks/forestdrum5"
|
||||
"top": "botania:blocks/drum_0",
|
||||
"side": "botania:blocks/drum_2"
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"parent": "botania:block/shapes/drum",
|
||||
"textures": {
|
||||
"top": "botania:blocks/forestdrum2",
|
||||
"side": "botania:blocks/forestdrum3"
|
||||
"top": "botania:blocks/drum_0",
|
||||
"side": "botania:blocks/drum_3"
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"parent": "botania:block/shapes/drum",
|
||||
"textures": {
|
||||
"top": "botania:blocks/forestdrum0",
|
||||
"side": "botania:blocks/forestdrum1"
|
||||
"top": "botania:blocks/drum_0",
|
||||
"side": "botania:blocks/drum_1"
|
||||
}
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
{
|
||||
"parent": "botania:block/shapes/pool_full",
|
||||
"textures": {
|
||||
"all": "botania:model/pool",
|
||||
"liquid": "botania:blocks/manawater"
|
||||
}
|
||||
}
|
||||
@@ -1,8 +1,75 @@
|
||||
{
|
||||
"parent": "minecraft:block/cube_bottom_top",
|
||||
"textures": {
|
||||
"top": "botania:blocks/distributor0",
|
||||
"side": "botania:blocks/distributor1",
|
||||
"bottom": "botania:blocks/livingrock0"
|
||||
}
|
||||
"__comment": "Designed by Wiiv with Cubik Studio - https://cubik.studio",
|
||||
"parent": "minecraft:block/block",
|
||||
"textures": {
|
||||
"texture": "botania:blocks/splitter",
|
||||
"particle": "botania:blocks/splitter"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"__comment": "pillar",
|
||||
"from": [ 4, 0, 4 ],
|
||||
"to": [ 12, 16, 12 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 8, 0, 16, 8 ], "texture": "#texture" },
|
||||
"up": { "uv": [ 8, 0, 16, 8 ], "texture": "#texture" },
|
||||
"north": { "uv": [ 0, 0, 8, 16 ], "texture": "#texture" },
|
||||
"south": { "uv": [ 0, 0, 8, 16 ], "texture": "#texture" },
|
||||
"west": { "uv": [ 0, 0, 8, 16 ], "texture": "#texture" },
|
||||
"east": { "uv": [ 0, 0, 8, 16 ], "texture": "#texture" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "left",
|
||||
"from": [ 0, 0, 4 ],
|
||||
"to": [ 4, 8, 12 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 16, 8, 8, 12 ], "texture": "#texture", "rotation": 90 },
|
||||
"up": { "uv": [ 8, 12, 16, 16 ], "texture": "#texture", "rotation": 90 },
|
||||
"north": { "uv": [ 8, 12, 16, 8 ], "texture": "#texture", "rotation": 90 },
|
||||
"south": { "uv": [ 8, 8, 16, 12 ], "texture": "#texture", "rotation": 90 },
|
||||
"west": { "uv": [ 0, 8, 8, 16 ], "texture": "#texture" },
|
||||
"east": { "uv": [ 0, 8, 8, 16 ], "texture": "#texture" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "right",
|
||||
"from": [ 12, 0, 4 ],
|
||||
"to": [ 16, 8, 12 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 8, 12, 16, 8 ], "texture": "#texture", "rotation": 90 },
|
||||
"up": { "uv": [ 16, 16, 8, 12 ], "texture": "#texture", "rotation": 90 },
|
||||
"north": { "uv": [ 8, 8, 16, 12 ], "texture": "#texture", "rotation": 90 },
|
||||
"south": { "uv": [ 8, 12, 16, 8 ], "texture": "#texture", "rotation": 90 },
|
||||
"west": { "uv": [ 0, 8, 8, 16 ], "texture": "#texture" },
|
||||
"east": { "uv": [ 0, 8, 8, 16 ], "texture": "#texture" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "front",
|
||||
"from": [ 4, 0, 12 ],
|
||||
"to": [ 12, 8, 16 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 8, 12, 16, 8 ], "texture": "#texture" },
|
||||
"up": { "uv": [ 8, 12, 16, 16 ], "texture": "#texture" },
|
||||
"north": { "uv": [ 0, 8, 8, 16 ], "texture": "#texture" },
|
||||
"south": { "uv": [ 0, 8, 8, 16 ], "texture": "#texture" },
|
||||
"west": { "uv": [ 8, 12, 16, 8 ], "texture": "#texture", "rotation": 90 },
|
||||
"east": { "uv": [ 8, 8, 16, 12 ], "texture": "#texture", "rotation": 90 }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "back",
|
||||
"from": [ 4, 0, 0 ],
|
||||
"to": [ 12, 8, 4 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 16, 8, 8, 12 ], "texture": "#texture" },
|
||||
"up": { "uv": [ 8, 12, 16, 16 ], "texture": "#texture", "rotation": 180 },
|
||||
"north": { "uv": [ 0, 8, 8, 16 ], "texture": "#texture" },
|
||||
"south": { "uv": [ 0, 8, 8, 16 ], "texture": "#texture" },
|
||||
"west": { "uv": [ 8, 8, 16, 12 ], "texture": "#texture", "rotation": 90 },
|
||||
"east": { "uv": [ 8, 12, 16, 8 ], "texture": "#texture", "rotation": 90 }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"Comment": "Designed by Wiiv with Cubik Studio - https://cubik.studio",
|
||||
"textures": {
|
||||
"structure": "botania:blocks/pump_structure",
|
||||
"head_sheat": "botania:blocks/pump_head_sheat"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"Comment": "end_east",
|
||||
"from": [ 4, 0, 14 ],
|
||||
"to": [ 12, 8, 16 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 8, 2, 16, 4 ], "texture": "#structure" },
|
||||
"up": { "uv": [ 8, 2, 16, 4 ], "texture": "#structure" },
|
||||
"north": { "uv": [ 0, 8, 8, 16 ], "texture": "#structure" },
|
||||
"south": { "uv": [ 0, 0, 8, 8 ], "texture": "#structure" },
|
||||
"west": { "uv": [ 8, 2, 16, 0 ], "texture": "#structure", "rotation": 90 },
|
||||
"east": { "uv": [ 8, 0, 16, 2 ], "texture": "#structure", "rotation": 90 }
|
||||
}
|
||||
},
|
||||
{
|
||||
"Comment": "end_west",
|
||||
"from": [ 4, 0, 0 ],
|
||||
"to": [ 12, 8, 2 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 8, 2, 16, 4 ], "texture": "#structure" },
|
||||
"up": { "uv": [ 8, 2, 16, 4 ], "texture": "#structure" },
|
||||
"north": { "uv": [ 0, 0, 8, 8 ], "texture": "#structure" },
|
||||
"south": { "uv": [ 0, 8, 8, 16 ], "texture": "#structure" },
|
||||
"west": { "uv": [ 8, 4, 16, 2 ], "texture": "#structure", "rotation": 90 },
|
||||
"east": { "uv": [ 8, 2, 16, 4 ], "texture": "#structure", "rotation": 90 }
|
||||
}
|
||||
},
|
||||
{
|
||||
"Comment": "tube",
|
||||
"from": [ 6, 2, 2 ],
|
||||
"to": [ 10, 6, 10 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 12, 8, 16, 16 ], "texture": "#structure" },
|
||||
"up": { "uv": [ 12, 8, 16, 16 ], "texture": "#structure" },
|
||||
"north": { "uv": [ 8, 12, 12, 16 ], "texture": "#structure" },
|
||||
"south": { "uv": [ 8, 8, 12, 12 ], "texture": "#structure" },
|
||||
"west": { "uv": [ 8, 4, 16, 8 ], "texture": "#structure" },
|
||||
"east": { "uv": [ 8, 4, 16, 8 ], "texture": "#structure" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"Comment": "sheat",
|
||||
"from": [ 4, 0, 10 ],
|
||||
"to": [ 12, 8, 14 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 8, 4, 16, 8 ], "texture": "#head_sheat" },
|
||||
"up": { "uv": [ 8, 0, 16, 4 ], "texture": "#head_sheat" },
|
||||
"north": { "uv": [ 0, 0, 8, 8 ], "texture": "#head_sheat" },
|
||||
"south": { "uv": [ 0, 0, 8, 8 ], "texture": "#head_sheat" },
|
||||
"west": { "uv": [ 8, 8, 16, 4 ], "texture": "#head_sheat", "rotation": 90 },
|
||||
"east": { "uv": [ 8, 4, 16, 8 ], "texture": "#head_sheat", "rotation": 90 }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"Comment": "Designed by Wiiv with Cubik Studio - https://cubik.studio",
|
||||
"textures": {
|
||||
"head_sheat": "botania:blocks/pump_head_sheat"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"Comment": "head",
|
||||
"from": [ 5, 1, 2 ],
|
||||
"to": [ 11, 7, 6 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 6, 8, 12, 12 ], "texture": "#head_sheat" },
|
||||
"up": { "uv": [ 6, 8, 12, 12 ], "texture": "#head_sheat" },
|
||||
"north": { "uv": [ 0, 8, 6, 14 ], "texture": "#head_sheat" },
|
||||
"south": { "uv": [ 0, 8, 6, 14 ], "texture": "#head_sheat" },
|
||||
"west": { "uv": [ 6, 12, 12, 8 ], "texture": "#head_sheat", "rotation": 90 },
|
||||
"east": { "uv": [ 6, 8, 12, 12 ], "texture": "#head_sheat", "rotation": 90 }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"parent": "botania:block/shapes/pool",
|
||||
"textures": {
|
||||
"all": "botania:model/pool"
|
||||
"all": "botania:blocks/pool_infinite"
|
||||
},
|
||||
"overrides": [{
|
||||
"predicate": {
|
||||
"botania:full": 1
|
||||
},
|
||||
"model": "botania:block/fabulous_pool_full"
|
||||
"model": "botania:block/pool_creative_full"
|
||||
}]
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"parent": "botania:block/shapes/pool_full",
|
||||
"textures": {
|
||||
"all": "botania:blocks/pool_infinite",
|
||||
"liquid": "botania:blocks/mana_water"
|
||||
}
|
||||
}
|
||||
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"parent": "botania:block/shapes/pool",
|
||||
"textures": {
|
||||
"all": "botania:model/dilutedpool"
|
||||
"all": "botania:blocks/livingrock0"
|
||||
},
|
||||
"overrides": [{
|
||||
"predicate": {
|
||||
"botania:full": 1
|
||||
},
|
||||
"model": "botania:block/diluted_pool_full"
|
||||
"model": "botania:block/pool_default_full"
|
||||
}]
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"parent": "botania:block/shapes/pool_full",
|
||||
"textures": {
|
||||
"all": "botania:blocks/livingrock0",
|
||||
"liquid": "botania:blocks/mana_water"
|
||||
}
|
||||
}
|
||||
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"parent": "botania:block/shapes/pool",
|
||||
"textures": {
|
||||
"all": "botania:model/infinitepool"
|
||||
"all": "botania:blocks/pool_diluted"
|
||||
},
|
||||
"overrides": [{
|
||||
"predicate": {
|
||||
"botania:full": 1
|
||||
},
|
||||
"model": "botania:block/creative_pool_full"
|
||||
"model": "botania:block/pool_diluted_full"
|
||||
}]
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"parent": "botania:block/shapes/pool_full",
|
||||
"textures": {
|
||||
"all": "botania:blocks/pool_diluted",
|
||||
"liquid": "botania:blocks/mana_water"
|
||||
}
|
||||
}
|
||||
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"parent": "botania:block/shapes/pool",
|
||||
"textures": {
|
||||
"all": "botania:model/pool"
|
||||
"all": "botania:blocks/livingrock0"
|
||||
},
|
||||
"overrides": [{
|
||||
"predicate": {
|
||||
"botania:full": 1
|
||||
},
|
||||
"model": "botania:block/default_pool_full"
|
||||
"model": "botania:block/pool_fabulous_full"
|
||||
}]
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"parent": "botania:block/shapes/pool_full",
|
||||
"textures": {
|
||||
"all": "botania:blocks/livingrock0",
|
||||
"liquid": "botania:blocks/mana_water"
|
||||
}
|
||||
}
|
||||
@@ -1,91 +0,0 @@
|
||||
{
|
||||
"textures": {
|
||||
"axle_sides": "botania:model/pump_axle_sides",
|
||||
"axle_top_bottom": "botania:model/pump_axle_top_bottom",
|
||||
"end": "botania:model/pump_end",
|
||||
"sheath": "botania:model/pump_sheath"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"name": "EndNorth",
|
||||
"from": [ 4.0, 0.0, 0.0 ],
|
||||
"to": [ 12.0, 8.0, 1.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#end", "uv": [ 0.0, 0.0, 8.0, 8.0 ] },
|
||||
"south": { "texture": "#end", "uv": [ 8.0, 0.0, 16.0, 8.0 ] },
|
||||
"east": { "texture": "#end", "uv": [ 2.0, 8.0, 4.0, 16.0 ] },
|
||||
"west": { "texture": "#end", "uv": [ 2.0, 8.0, 4.0, 16.0 ] },
|
||||
"up": { "texture": "#end", "uv": [ 6.0, 9.0, 14.0, 10.0 ] },
|
||||
"down": { "texture": "#end", "uv": [ 6.0, 11.0, 14.0, 12.0 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "EndSouth",
|
||||
"from": [ 4.0, 0.0, 15.0 ],
|
||||
"to": [ 12.0, 8.0, 16.0 ],
|
||||
"faces": {
|
||||
"south": { "texture": "#end", "uv": [ 0.0, 0.0, 8.0, 8.0 ] },
|
||||
"north": { "texture": "#end", "uv": [ 8.0, 0.0, 16.0, 8.0 ] },
|
||||
"east": { "texture": "#end", "uv": [ 2.0, 8.0, 4.0, 16.0 ] },
|
||||
"west": { "texture": "#end", "uv": [ 2.0, 8.0, 4.0, 16.0 ] },
|
||||
"up": { "texture": "#end", "uv": [ 6.0, 9.0, 14.0, 10.0 ] },
|
||||
"down": { "texture": "#end", "uv": [ 6.0, 11.0, 14.0, 12.0 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Axle",
|
||||
"from": [ 6.0, 2.0, 1.0 ],
|
||||
"to": [ 10.0, 6.0, 15.0 ],
|
||||
"faces": {
|
||||
"east": { "texture": "#axle_sides", "uv": [ 1.0, 0.0, 15.0, 4.0 ] },
|
||||
"west": { "texture": "#axle_sides", "uv": [ 1.0, 5.0, 15.0, 9.0 ] },
|
||||
"down": { "texture": "#axle_top_bottom", "uv": [ 4.0, 1.0, 8.0, 15.0 ] },
|
||||
"up": { "texture": "#axle_top_bottom", "uv": [ 8.0, 1.0, 12.0, 15.0 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "PinkTop",
|
||||
"from": [ 4.0, 7.0, 11.0 ],
|
||||
"to": [ 12.0, 8.0, 15.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#sheath", "uv": [ 1.0, 1.0, 9.0, 2.0 ] },
|
||||
"east": { "texture": "#sheath", "uv": [ 6.0, 5.0, 10.0, 6.0 ] },
|
||||
"west": { "texture": "#sheath", "uv": [ 6.0, 6.0, 10.0, 7.0 ] },
|
||||
"up": { "texture": "#sheath", "uv": [ 1.0, 1.0, 9.0, 5.0 ] },
|
||||
"down": { "texture": "#sheath", "uv": [ 7.0, 1.0, 15.0, 5.0 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "PinkBottom",
|
||||
"from": [ 4.0, 0.0, 11.0 ],
|
||||
"to": [ 12.0, 1.0, 15.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#sheath", "uv": [ 1.0, 1.0, 9.0, 2.0 ] },
|
||||
"east": { "texture": "#sheath", "uv": [ 6.0, 7.0, 10.0, 8.0 ] },
|
||||
"west": { "texture": "#sheath", "uv": [ 6.0, 8.0, 10.0, 9.0 ] },
|
||||
"up": { "texture": "#sheath", "uv": [ 1.0, 1.0, 9.0, 5.0 ] },
|
||||
"down": { "texture": "#sheath", "uv": [ 7.0, 1.0, 15.0, 5.0 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "PinkWest",
|
||||
"from": [ 4.0, 1.0, 11.0 ],
|
||||
"to": [ 5.0, 7.0, 15.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#sheath", "uv": [ 6.0, 1.0, 7.0, 7.0 ] },
|
||||
"east": { "texture": "#sheath", "uv": [ 6.0, 1.0, 10.0, 7.0 ] },
|
||||
"west": { "texture": "#sheath", "uv": [ 6.0, 1.0, 10.0, 7.0 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "PinkEast",
|
||||
"from": [ 11.0, 1.0, 11.0 ],
|
||||
"to": [ 12.0, 7.0, 15.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#sheath", "uv": [ 6.0, 1.0, 7.0, 7.0 ] },
|
||||
"east": { "texture": "#sheath", "uv": [ 6.0, 1.0, 10.0, 7.0 ] },
|
||||
"west": { "texture": "#sheath", "uv": [ 6.0, 1.0, 10.0, 7.0 ] }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,55 +0,0 @@
|
||||
{
|
||||
"textures": {
|
||||
"all": "botania:model/pump_head"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"name": "BlueTop",
|
||||
"from": [ 5.0, 6.0, 1.0 ],
|
||||
"to": [ 11.0, 7.0, 7.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#all", "uv": [ 3.0, 5.0, 9.0, 6.0 ] },
|
||||
"east": { "texture": "#all", "uv": [ 5.0, 8.0, 11.0, 7.0 ] },
|
||||
"south": { "texture": "#all", "uv": [ 3.0, 5.0, 9.0, 6.0 ] },
|
||||
"west": { "texture": "#all", "uv": [ 5.0, 8.0, 11.0, 7.0 ] },
|
||||
"up": { "texture": "#all", "uv": [ 3.0, 0.0, 9.0, 6.0 ] },
|
||||
"down": { "texture": "#all", "uv": [ 7.0, 0.0, 13.0, 6.0 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "BlueBottom",
|
||||
"from": [ 5.0, 1.0, 1.0 ],
|
||||
"to": [ 11.0, 2.0, 7.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#all", "uv": [ 3.0, 5.0, 9.0, 6.0 ] },
|
||||
"east": { "texture": "#all", "uv": [ 5.0, 8.0, 11.0, 7.0 ] },
|
||||
"south": { "texture": "#all", "uv": [ 3.0, 5.0, 9.0, 6.0 ] },
|
||||
"west": { "texture": "#all", "uv": [ 5.0, 8.0, 11.0, 7.0 ] },
|
||||
"up": { "texture": "#all", "uv": [ 7.0, 0.0, 13.0, 6.0 ] },
|
||||
"down": { "texture": "#all", "uv": [ 3.0, 0.0, 9.0, 6.0 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "BlueWest",
|
||||
"from": [ 5.0, 2.0, 1.0 ],
|
||||
"to": [ 6.0, 6.0, 7.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#all", "uv": [ 3.0, 0.0, 4.0, 4.0 ] },
|
||||
"east": { "texture": "#all", "uv": [ 3.0, 0.0, 9.0, 6.0 ] },
|
||||
"south": { "texture": "#all", "uv": [ 3.0, 0.0, 4.0, 4.0 ] },
|
||||
"west": { "texture": "#all", "uv": [ 3.0, 0.0, 9.0, 6.0 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "BlueEast",
|
||||
"from": [ 10.0, 2.0, 1.0 ],
|
||||
"to": [ 11.0, 6.0, 7.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#all", "uv": [ 3.0, 0.0, 4.0, 4.0 ] },
|
||||
"east": { "texture": "#all", "uv": [ 3.0, 0.0, 9.0, 6.0 ] },
|
||||
"south": { "texture": "#all", "uv": [ 3.0, 0.0, 4.0, 4.0 ] },
|
||||
"west": { "texture": "#all", "uv": [ 3.0, 0.0, 9.0, 6.0 ] }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,8 +1,49 @@
|
||||
{
|
||||
"parent": "botania:block/shapes/twelve_high_bottom_top",
|
||||
"textures": {
|
||||
"top": "botania:blocks/runealtar1",
|
||||
"side": "botania:blocks/runealtar2",
|
||||
"bottom": "botania:blocks/runealtar0"
|
||||
}
|
||||
"Comment": "Designed by Wiiv with Cubik Studio - https://cubik.studio",
|
||||
"parent": "minecraft:block/block",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/runic_altar_0",
|
||||
"up": "botania:blocks/runic_altar_1",
|
||||
"side": "botania:blocks/runic_altar_2",
|
||||
"particle": "botania:blocks/livingrock0"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"__comment": "top",
|
||||
"from": [ 0, 6, 0 ],
|
||||
"to": [ 16, 12, 16 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "bottom" },
|
||||
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#up" },
|
||||
"north": { "uv": [ 0, 4, 16, 10 ], "texture": "#side" },
|
||||
"south": { "uv": [ 0, 4, 16, 10 ], "texture": "#side" },
|
||||
"west": { "uv": [ 0, 4, 16, 10 ], "texture": "#side" },
|
||||
"east": { "uv": [ 0, 4, 16, 10 ], "texture": "#side" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "center",
|
||||
"from": [ 4, 4, 4 ],
|
||||
"to": [ 12, 6, 12 ],
|
||||
"faces": {
|
||||
"north": { "uv": [ 4, 10, 12, 12 ], "texture": "#side" },
|
||||
"south": { "uv": [ 4, 10, 12, 12 ], "texture": "#side" },
|
||||
"west": { "uv": [ 4, 10, 12, 12 ], "texture": "#side" },
|
||||
"east": { "uv": [ 4, 10, 12, 12 ], "texture": "#side" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "bottom",
|
||||
"from": [ 2, 0, 2 ],
|
||||
"to": [ 14, 4, 14 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 2, 2, 14, 14 ], "texture": "bottom" },
|
||||
"up": { "uv": [ 2, 2, 14, 14 ], "texture": "bottom" },
|
||||
"north": { "uv": [ 2, 12, 14, 16 ], "texture": "#side" },
|
||||
"south": { "uv": [ 2, 12, 14, 16 ], "texture": "#side" },
|
||||
"west": { "uv": [ 2, 12, 14, 16 ], "texture": "#side" },
|
||||
"east": { "uv": [ 2, 12, 14, 16 ], "texture": "#side" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,19 +1,21 @@
|
||||
{
|
||||
"parent": "minecraft:block/block",
|
||||
"textures": {
|
||||
"particle": "#side"
|
||||
},
|
||||
"elements": [{
|
||||
"name": "Drum",
|
||||
"from": [ 3.0, 0.0, 3.0 ],
|
||||
"to": [ 13.0, 14.0, 13.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#side", "uv": [ 3, 2, 13, 16 ] },
|
||||
"south": { "texture": "#side", "uv": [ 3, 2, 13, 16 ] },
|
||||
"west": { "texture": "#side", "uv": [ 3, 2, 13, 16 ] },
|
||||
"east": { "texture": "#side", "uv": [ 3, 2, 13, 16 ] },
|
||||
"up": { "texture": "#top", "uv": [ 3, 3, 12, 12 ] },
|
||||
"down": { "texture": "#top", "uv": [ 3, 3, 12, 12 ], "cullface": "down" }
|
||||
}
|
||||
}]
|
||||
"Comment": "Designed by Wiiv with Cubik Studio - https://cubik.studio",
|
||||
"parent": "minecraft:block/block",
|
||||
"textures": {
|
||||
"particle": "#side"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [ 3, 1, 3 ],
|
||||
"to": [ 13, 15, 13 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 3, 3, 13, 13 ], "texture": "#top"},
|
||||
"up": { "uv": [ 3, 3, 13, 13 ], "texture": "#top" },
|
||||
"north": { "uv": [ 3, 1, 13, 15 ], "texture": "#side" },
|
||||
"south": { "uv": [ 3, 1, 13, 15 ], "texture": "#side" },
|
||||
"west": { "uv": [ 3, 1, 13, 15 ], "texture": "#side" },
|
||||
"east": { "uv": [ 3, 1, 13, 15 ], "texture": "#side" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,138 +1,117 @@
|
||||
{
|
||||
"__comment": "The texture is split apart to facilitate efficient use of the atlas. Sorry for the clutter!",
|
||||
"parent": "minecraft:block/block",
|
||||
"display": {
|
||||
"gui": {
|
||||
"rotation": [ 30, 225, 0 ],
|
||||
"translation": [ 0, -1, 0],
|
||||
"scale":[ 0.55, 0.55, 0.55 ]
|
||||
}
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"name": "gobletBase",
|
||||
"from": [ 0.0, 0.0, 0.0 ],
|
||||
"to": [ 16.0, 2.0, 16.0 ],
|
||||
"faces": {
|
||||
"west": { "texture": "#gobletbaseside", "uv": [ 0.0, 0.0, 16.0, 2.0 ] },
|
||||
"south": { "texture": "#gobletbaseside", "uv": [ 0.0, 3.0, 16.0, 5.0 ] },
|
||||
"east": { "texture": "#gobletbaseside", "uv": [ 0.0, 6.0, 16.0, 8.0 ] },
|
||||
"north": { "texture": "#gobletbaseside", "uv": [ 0.0, 9.0, 16.0, 11.0 ] },
|
||||
"up": { "texture": "#gobletbasetop", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
|
||||
"down": { "texture": "#gobletbasebottom", "uv": [ 0.0, 0.0, 16.0, 16.0 ], "cullface": "down" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "gobletBase2",
|
||||
"from": [ 1.0, 2.0, 1.0 ],
|
||||
"to": [ 15.0, 3.0, 15.0 ],
|
||||
"faces": {
|
||||
"west": { "texture": "#gobletbase2side", "uv": [ 1.0, 0.0, 15.0, 1.0 ] },
|
||||
"south": { "texture": "#gobletbase2side", "uv": [ 1.0, 2.0, 15.0, 3.0 ] },
|
||||
"east": { "texture": "#gobletbase2side", "uv": [ 1.0, 4.0, 15.0, 5.0 ] },
|
||||
"north": { "texture": "#gobletbase2side", "uv": [ 1.0, 6.0, 15.0, 7.0 ] },
|
||||
"up": { "texture": "#gobletbase2top", "uv": [ 1.0, 1.0, 15.0, 15.0 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "gobletBase3",
|
||||
"from": [ 2.0, 3.0, 2.0 ],
|
||||
"to": [ 14.0, 4.0, 14.0 ],
|
||||
"faces": {
|
||||
"west": { "texture": "#gobletbase3side", "uv": [ 2.0, 0.0, 14.0, 1.0 ] },
|
||||
"south": { "texture": "#gobletbase3side", "uv": [ 2.0, 2.0, 14.0, 3.0 ] },
|
||||
"east": { "texture": "#gobletbase3side", "uv": [ 2.0, 4.0, 14.0, 5.0 ] },
|
||||
"north": { "texture": "#gobletbase3side", "uv": [ 2.0, 6.0, 14.0, 7.0 ] },
|
||||
"up": { "texture": "#gobletbase3top", "uv": [ 2.0, 2.0, 14.0, 14.0 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "gobletStand",
|
||||
"from": [ 5.0, 4.0, 5.0 ],
|
||||
"to": [ 11.0, 12.0, 11.0 ],
|
||||
"faces": {
|
||||
"west": { "texture": "#gobletstandside", "uv": [ 2.0, 0.0, 14.0, 9.0 ] },
|
||||
"south": { "texture": "#gobletstandside", "uv": [ 2.0, 0.0, 14.0, 9.0 ] },
|
||||
"east": { "texture": "#gobletstandside", "uv": [ 2.0, 9.0, 14.0, 16.0 ] },
|
||||
"north": { "texture": "#gobletstandside", "uv": [ 2.0, 9.0, 14.0, 16.0 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "kelkBase",
|
||||
"from": [ 4.0, 12.0, 4.0 ],
|
||||
"to": [ 12.0, 13.0, 12.0 ],
|
||||
"faces": {
|
||||
"west": { "texture": "#kelkbaseside", "uv": [ 4.0, 0.0, 12.0, 1.0 ] },
|
||||
"south": { "texture": "#kelkbaseside", "uv": [ 4.0, 2.0, 12.0, 3.0 ] },
|
||||
"east": { "texture": "#kelkbaseside", "uv": [ 4.0, 4.0, 12.0, 5.0 ] },
|
||||
"north": { "texture": "#kelkbaseside", "uv": [ 4.0, 6.0, 12.0, 7.0 ] },
|
||||
"down": { "texture": "#kelkbasetopbottom", "uv": [ 9.0, 4.0, 16.0, 12.0 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "kelkBase2",
|
||||
"from": [ 3.0, 13.0, 3.0 ],
|
||||
"to": [ 13.0, 14.0, 13.0 ],
|
||||
"faces": {
|
||||
"west": { "texture": "#kelkbase2side", "uv": [ 3.0, 0.0, 13.0, 1.0 ] },
|
||||
"south": { "texture": "#kelkbase2side", "uv": [ 3.0, 2.0, 13.0, 3.0 ] },
|
||||
"east": { "texture": "#kelkbase2side", "uv": [ 3.0, 4.0, 13.0, 5.0 ] },
|
||||
"north": { "texture": "#kelkbase2side", "uv": [ 3.0, 6.0, 13.0, 7.0 ] },
|
||||
"up": { "texture": "#kelkbase2top", "uv": [ 3.0, 3.0, 13.0, 13.0 ] },
|
||||
"down": { "texture": "#kelkbase2bottom", "uv": [ 3.0, 3.0, 13.0, 13.0 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "kelkWallNorth",
|
||||
"from": [ 3.0, 14.0, 2.0 ],
|
||||
"to": [ 13.0, 20.0, 3.0 ],
|
||||
"faces": {
|
||||
"west": { "texture": "#kelkwall", "uv": [ 0.0, 1.0, 1.0, 7.0 ] },
|
||||
"north": { "texture": "#kelkwall", "uv": [ 1.0, 1.0, 11.0, 7.0 ] },
|
||||
"south": { "texture": "#kelkwall", "uv": [ 1.0, 9.0, 11.0, 15.0 ] },
|
||||
"east": { "texture": "#kelkwall", "uv": [ 11.0, 9.0, 12.0, 15.0 ] },
|
||||
"up": { "texture": "#kelkwall", "uv": [ 1.0, 0.0, 11.0, 1.0 ] },
|
||||
"down": { "texture": "#kelkwall", "uv": [ 1.0, 8.0, 11.0, 9.0 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "kelkWallSouth",
|
||||
"from": [ 3.0, 14.0, 13.0 ],
|
||||
"to": [ 13.0, 20.0, 14.0 ],
|
||||
"faces": {
|
||||
"west": { "texture": "#kelkwall", "uv": [ 0.0, 1.0, 1.0, 7.0 ] },
|
||||
"north": { "texture": "#kelkwall", "uv": [ 1.0, 1.0, 11.0, 7.0 ] },
|
||||
"south": { "texture": "#kelkwall", "uv": [ 1.0, 9.0, 11.0, 15.0 ] },
|
||||
"east": { "texture": "#kelkwall", "uv": [ 11.0, 9.0, 12.0, 15.0 ] },
|
||||
"up": { "texture": "#kelkwall", "uv": [ 1.0, 0.0, 11.0, 1.0 ] },
|
||||
"down": { "texture": "#kelkwall", "uv": [ 1.0, 8.0, 11.0, 9.0 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "kelkWallWest",
|
||||
"from": [ 2.0, 14.0, 3.0 ],
|
||||
"to": [ 3.0, 20.0, 13.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#kelkwall", "uv": [ 0.0, 1.0, 1.0, 7.0 ] },
|
||||
"west": { "texture": "#kelkwall", "uv": [ 1.0, 1.0, 11.0, 7.0 ] },
|
||||
"east": { "texture": "#kelkwall", "uv": [ 1.0, 9.0, 11.0, 15.0 ] },
|
||||
"south": { "texture": "#kelkwall", "uv": [ 11.0, 9.0, 12.0, 15.0 ] },
|
||||
"up": { "texture": "#kelkwall", "uv": [ 13.0, 0.0, 14.0, 11.0 ] },
|
||||
"down": { "texture": "#kelkwall", "uv": [ 14.0, 0.0, 15.0, 11.0 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "kelkWallEast",
|
||||
"from": [ 13.0, 14.0, 3.0 ],
|
||||
"to": [ 14.0, 20.0, 13.0 ],
|
||||
"faces": {
|
||||
"north": { "texture": "#kelkwall", "uv": [ 0.0, 1.0, 1.0, 7.0 ] },
|
||||
"west": { "texture": "#kelkwall", "uv": [ 1.0, 1.0, 11.0, 7.0 ] },
|
||||
"east": { "texture": "#kelkwall", "uv": [ 1.0, 9.0, 11.0, 15.0 ] },
|
||||
"south": { "texture": "#kelkwall", "uv": [ 11.0, 9.0, 12.0, 15.0 ] },
|
||||
"up": { "texture": "#kelkwall", "uv": [ 13.0, 0.0, 14.0, 11.0 ] },
|
||||
"down": { "texture": "#kelkwall", "uv": [ 14.0, 0.0, 15.0, 11.0 ] }
|
||||
}
|
||||
}
|
||||
]
|
||||
"Comment": "Designed by Wiiv with Cubik Studio - https://cubik.studio",
|
||||
"parent": "minecraft:block/block",
|
||||
"elements": [
|
||||
{
|
||||
"comment": "baseBottom",
|
||||
"from": [ 0, 0, 0 ],
|
||||
"to": [ 16, 2, 16 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#top_bottom" },
|
||||
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#top_bottom" },
|
||||
"north": { "uv": [ 0, 14, 16, 16 ], "texture": "#side" },
|
||||
"south": { "uv": [ 0, 14, 16, 16 ], "texture": "#side" },
|
||||
"west": { "uv": [ 0, 14, 16, 16 ], "texture": "#side" },
|
||||
"east": { "uv": [ 0, 14, 16, 16 ], "texture": "#side" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "baseTop",
|
||||
"from": [ 2, 2, 2 ],
|
||||
"to": [ 14, 4, 14 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 2, 2, 14, 14 ], "texture": "#top_bottom" },
|
||||
"up": { "uv": [ 2, 2, 14, 14 ], "texture": "#top_bottom" },
|
||||
"north": { "uv": [ 2, 12, 14, 14 ], "texture": "#side" },
|
||||
"south": { "uv": [ 2, 12, 14, 14 ], "texture": "#side" },
|
||||
"west": { "uv": [ 2, 12, 14, 14 ], "texture": "#side" },
|
||||
"east": { "uv": [ 2, 12, 14, 14 ], "texture": "#side" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "pillar",
|
||||
"from": [ 4, 4, 4 ],
|
||||
"to": [ 12, 12, 12 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 4, 4, 12, 12 ], "texture": "#top_bottom" },
|
||||
"up": { "uv": [ 4, 4, 12, 12 ], "texture": "#top_bottom" },
|
||||
"north": { "uv": [ 4, 4, 12, 12 ], "texture": "#side" },
|
||||
"south": { "uv": [ 4, 4, 12, 12 ], "texture": "#side" },
|
||||
"west": { "uv": [ 4, 4, 12, 12 ], "texture": "#side" },
|
||||
"east": { "uv": [ 4, 4, 12, 12 ], "texture": "#side" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "baseGoblet",
|
||||
"from": [ 2, 12, 2 ],
|
||||
"to": [ 14, 14, 14 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 2, 2, 14, 14 ], "texture": "#top_bottom" },
|
||||
"up": { "uv": [ 2, 2, 14, 14 ], "texture": "#top_bottom" },
|
||||
"north": { "uv": [ 2, 2, 14, 4 ], "texture": "#side" },
|
||||
"south": { "uv": [ 2, 2, 14, 4 ], "texture": "#side" },
|
||||
"west": { "uv": [ 2, 2, 14, 4 ], "texture": "#side" },
|
||||
"east": { "uv": [ 2, 2, 14, 4 ], "texture": "#side" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "sideSouth",
|
||||
"from": [ 2, 14, 13 ],
|
||||
"to": [ 14, 20, 14 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 2, 2, 14, 3 ], "texture": "#top_bottom" },
|
||||
"up": { "uv": [ 2, 13, 14, 14 ], "texture": "#top_bottom" },
|
||||
"north": { "uv": [ 2, 10, 14, 16 ], "texture": "#goblet" },
|
||||
"south": { "uv": [ 2, 10, 14, 16 ], "texture": "#goblet" },
|
||||
"west": { "uv": [ 13, 10, 14, 16 ], "texture": "#goblet" },
|
||||
"east": { "uv": [ 2, 10, 3, 16 ], "texture": "#goblet" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "sideNorth",
|
||||
"from": [ 2, 14, 2 ],
|
||||
"to": [ 14, 20, 3 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 2, 13, 14, 14 ], "texture": "#top_bottom" },
|
||||
"up": { "uv": [ 2, 2, 14, 3 ], "texture": "#top_bottom" },
|
||||
"north": { "uv": [ 2, 10, 14, 16 ], "texture": "#goblet" },
|
||||
"south": { "uv": [ 2, 10, 14, 16 ], "texture": "#goblet" },
|
||||
"west": { "uv": [ 2, 10, 3, 16 ], "texture": "#goblet" },
|
||||
"east": { "uv": [ 13, 10, 14, 16 ], "texture": "#goblet" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "sideWest",
|
||||
"from": [ 2, 14, 3 ],
|
||||
"to": [ 3, 20, 13 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 2, 3, 3, 13 ], "texture": "#top_bottom" },
|
||||
"up": { "uv": [ 2, 3, 3, 13 ], "texture": "#top_bottom" },
|
||||
"north": { "uv": [ 13, 0, 14, 2 ], "texture": "#goblet" },
|
||||
"south": { "uv": [ 2, 0, 3, 2 ], "texture": "#goblet" },
|
||||
"west": { "uv": [ 3, 10, 13, 16 ], "texture": "#goblet" },
|
||||
"east": { "uv": [ 3, 10, 13, 16 ], "texture": "#goblet" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "sideEast",
|
||||
"from": [ 13, 14, 3 ],
|
||||
"to": [ 14, 20, 13 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 13, 3, 14, 13 ], "texture": "#top_bottom" },
|
||||
"up": { "uv": [ 13, 3, 14, 13 ], "texture": "top_bottom" },
|
||||
"north": { "uv": [ 2, 0, 3, 2 ], "texture": "#goblet" },
|
||||
"south": { "uv": [ 13, 0, 14, 2 ], "texture": "#goblet" },
|
||||
"west": { "uv": [ 3, 10, 13, 16 ], "texture": "#goblet" },
|
||||
"east": { "uv": [ 3, 10, 13, 16 ], "texture": "#goblet" }
|
||||
}
|
||||
}
|
||||
],
|
||||
"display": {
|
||||
"gui": {
|
||||
"rotation": [ 30, 225, 0 ],
|
||||
"translation": [ 0, -0.55, 0 ],
|
||||
"scale": [ 0.55, 0.55, 0.55 ]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,69 +1,74 @@
|
||||
{
|
||||
"parent": "minecraft:block/block",
|
||||
"textures": {
|
||||
"particle": "botania:blocks/livingrock0"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"name": "Base",
|
||||
"from": [ 0.0, 0.0, 0.0 ],
|
||||
"to": [ 16.0, 1.0, 16.0 ],
|
||||
"faces": {
|
||||
"west": { "texture": "#all", "uv": [ 0.0, 4.0, 4.0, 4.25 ], "tintindex": 0 },
|
||||
"north": { "texture": "#all", "uv": [ 4.0, 4.0, 8.0, 4.25 ], "tintindex": 0 },
|
||||
"east": { "texture": "#all", "uv": [ 8.0, 4.0, 12.0, 4.25 ], "tintindex": 0 },
|
||||
"south": { "texture": "#all", "uv": [ 12.0, 4.0, 16.0, 4.25 ], "tintindex": 0 },
|
||||
"up": { "texture": "#all", "uv": [ 4.0, 0.0, 8.0, 4.0 ], "tintindex": 0 },
|
||||
"down": { "texture": "#all", "uv": [ 8.0, 0.0, 12.0, 4.0 ], "tintindex": 0, "cullface": "down" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "SideSouth",
|
||||
"from": [ 0.0, 1.0, 15.0 ],
|
||||
"to": [ 16.0, 8.0, 16.0 ],
|
||||
"faces": {
|
||||
"west": { "texture": "#all", "uv": [ 0.0, 0.25, 0.25, 2.0 ], "tintindex": 0, "cullface": "west" },
|
||||
"north": { "texture": "#all", "uv": [ 0.25, 0.25, 4.0, 2.0 ], "tintindex": 0 },
|
||||
"east": { "texture": "#all", "uv": [ 4.0, 0.25, 4.25, 2.0 ], "tintindex": 0, "cullface": "east" },
|
||||
"south": { "texture": "#all", "uv": [ 4.25, 0.25, 8.0, 2.0 ], "tintindex": 0, "cullface": "south" },
|
||||
"up": { "texture": "#all", "uv": [ 0.25, 0.0, 4.0, 0.25 ], "tintindex": 0 },
|
||||
"down": { "texture": "#all", "uv": [ 4.25, 8.0, 16.0, 0.25 ], "tintindex": 0 }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "SideNorth",
|
||||
"from": [ 0.0, 1.0, 0.0 ],
|
||||
"to": [ 16.0, 8.0, 1.0 ],
|
||||
"faces": {
|
||||
"west": { "texture": "#all", "uv": [ 0.0, 0.25, 0.25, 2.0 ], "tintindex": 0, "cullface": "west" },
|
||||
"north": { "texture": "#all", "uv": [ 0.25, 0.25, 4.0, 2.0 ], "tintindex": 0, "cullface": "north" },
|
||||
"east": { "texture": "#all", "uv": [ 4.0, 0.25, 4.25, 2.0 ], "tintindex": 0, "cullface": "east" },
|
||||
"south": { "texture": "#all", "uv": [ 4.25, 0.25, 8.0, 2.0 ], "tintindex": 0 },
|
||||
"up": { "texture": "#all", "uv": [ 0.25, 0.0, 4.0, 0.25 ], "tintindex": 0 },
|
||||
"down": { "texture": "#all", "uv": [ 4.25, 8.0, 16.0, 0.25 ], "tintindex": 0 }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "SideWest",
|
||||
"from": [ 0.0, 1.0, 1.0 ],
|
||||
"to": [ 1.0, 8.0, 15.0 ],
|
||||
"faces": {
|
||||
"west": { "texture": "#all", "uv": [ 0.0, 3.5, 3.5, 5.25 ], "tintindex": 0, "cullface": "west" },
|
||||
"east": { "texture": "#all", "uv": [ 3.75, 3.5, 7.25, 5.25 ], "tintindex": 0 },
|
||||
"up": { "texture": "#all", "uv": [ 3.5, 1.0, 3.75, 3.5 ], "tintindex": 0 },
|
||||
"down": { "texture": "#all", "uv": [ 3.75, 1.0, 4.0, 3.5 ], "tintindex": 0 }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "SideEast",
|
||||
"from": [ 15.0, 1.0, 1.0 ],
|
||||
"to": [ 16.0, 8.0, 15.0 ],
|
||||
"faces": {
|
||||
"west": { "texture": "#all", "uv": [ 0.0, 3.5, 3.5, 5.25 ], "tintindex": 0 },
|
||||
"east": { "texture": "#all", "uv": [ 3.75, 3.5, 7.25, 5.25 ], "tintindex": 0, "cullface": "east" },
|
||||
"up": { "texture": "#all", "uv": [ 3.5, 1.0, 3.75, 3.5 ], "tintindex": 0 },
|
||||
"down": { "texture": "#all", "uv": [ 3.75, 1.0, 4.0, 3.5 ], "tintindex": 0 }
|
||||
}
|
||||
}
|
||||
]
|
||||
"Comment": "Designed by Wiiv with Cubik Studio - https://cubik.studio",
|
||||
"parent": "minecraft:block/block",
|
||||
"textures": {
|
||||
"particle": "botania:blocks/livingrock0"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"name": "base",
|
||||
"from": [ 0, 0, 0 ],
|
||||
"to": [ 16, 1, 16 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "down", "tintindex": 0 },
|
||||
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "tintindex": 0 },
|
||||
"north": { "uv": [ 0, 15, 16, 16 ], "texture": "#all", "tintindex": 0 },
|
||||
"south": { "uv": [ 0, 15, 16, 16 ], "texture": "#all", "tintindex": 0 },
|
||||
"west": { "uv": [ 0, 15, 16, 16 ], "texture": "#all", "tintindex": 0 },
|
||||
"east": { "uv": [ 0, 15, 16, 16 ], "texture": "#all", "tintindex": 0 }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "sideSouth",
|
||||
"from": [ 0, 1, 15 ],
|
||||
"to": [ 16, 8, 16 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 0, 0, 16, 1 ], "texture": "#all", "tintindex": 0 },
|
||||
"up": { "uv": [ 0, 15, 16, 16 ], "texture": "#all", "tintindex": 0 },
|
||||
"north": { "uv": [ 0, 8, 16, 15 ], "texture": "#all", "tintindex": 0 },
|
||||
"south": { "uv": [ 0, 8, 16, 15 ], "texture": "#all", "tintindex": 0 },
|
||||
"west": { "uv": [ 15, 8, 16, 15 ], "texture": "#all", "tintindex": 0 },
|
||||
"east": { "uv": [ 0, 8, 1, 15 ], "texture": "#all", "tintindex": 0 }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "sideNorth",
|
||||
"from": [ 0, 1, 0 ],
|
||||
"to": [ 16, 8, 1 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 0, 15, 16, 16 ], "texture": "#all", "tintindex": 0 },
|
||||
"up": { "uv": [ 0, 0, 16, 1 ], "texture": "#all", "tintindex": 0 },
|
||||
"north": { "uv": [ 0, 8, 16, 15 ], "texture": "#all", "tintindex": 0 },
|
||||
"south": { "uv": [ 0, 8, 16, 15 ], "texture": "#all", "tintindex": 0 },
|
||||
"west": { "uv": [ 0, 8, 1, 15 ], "texture": "#all", "tintindex": 0 },
|
||||
"east": { "uv": [ 15, 8, 16, 15 ], "texture": "#all", "tintindex": 0 }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "sideWest",
|
||||
"from": [ 15, 1, 1 ],
|
||||
"to": [ 16, 8, 15 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 15, 1, 16, 15 ], "texture": "#all", "tintindex": 0 },
|
||||
"up": { "uv": [ 15, 1, 16, 15 ], "texture": "#all", "tintindex": 0 },
|
||||
"north": { "uv": [ 0, 8, 1, 15 ], "texture": "#all", "tintindex": 0 },
|
||||
"south": { "uv": [ 15, 8, 16, 15 ], "texture": "#all", "tintindex": 0 },
|
||||
"west": { "uv": [ 1, 8, 15, 15 ], "texture": "#all", "tintindex": 0 },
|
||||
"east": { "uv": [ 1, 8, 15, 15 ], "texture": "#all", "tintindex": 0 }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "sideEast",
|
||||
"from": [ 0, 1, 1 ],
|
||||
"to": [ 1, 8, 15 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 0, 1, 1, 15 ], "texture": "#all", "tintindex": 0 },
|
||||
"up": { "uv": [ 0, 1, 1, 15 ], "texture": "#all", "tintindex": 0 },
|
||||
"north": { "uv": [ 15, 8, 16, 15 ], "texture": "#all", "tintindex": 0 },
|
||||
"south": { "uv": [ 0, 8, 1, 15 ], "texture": "#all", "tintindex": 0 },
|
||||
"west": { "uv": [ 1, 8, 15, 15 ], "texture": "#all", "tintindex": 0 },
|
||||
"east": { "uv": [ 1, 8, 15, 15 ], "texture": "#all", "tintindex": 0 }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,77 +1,82 @@
|
||||
{
|
||||
"parent": "minecraft:block/block",
|
||||
"textures": {
|
||||
"particle": "#all"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"name": "Base",
|
||||
"from": [ 0.0, 0.0, 0.0 ],
|
||||
"to": [ 16.0, 1.0, 16.0 ],
|
||||
"faces": {
|
||||
"west": { "texture": "#all", "uv": [ 0.0, 4.0, 4.0, 4.25 ], "tintindex": 0 },
|
||||
"north": { "texture": "#all", "uv": [ 4.0, 4.0, 8.0, 4.25 ], "tintindex": 0 },
|
||||
"east": { "texture": "#all", "uv": [ 8.0, 4.0, 12.0, 4.25 ], "tintindex": 0 },
|
||||
"south": { "texture": "#all", "uv": [ 12.0, 4.0, 16.0, 4.25 ], "tintindex": 0 },
|
||||
"up": { "texture": "#all", "uv": [ 4.0, 0.0, 8.0, 4.0 ], "tintindex": 0 },
|
||||
"down": { "texture": "#all", "uv": [ 8.0, 0.0, 12.0, 4.0 ], "tintindex": 0, "cullface": "down" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "SideSouth",
|
||||
"from": [ 0.0, 1.0, 15.0 ],
|
||||
"to": [ 16.0, 8.0, 16.0 ],
|
||||
"faces": {
|
||||
"west": { "texture": "#all", "uv": [ 0.0, 0.25, 0.25, 2.0 ], "tintindex": 0, "cullface": "west" },
|
||||
"north": { "texture": "#all", "uv": [ 0.25, 0.25, 4.0, 2.0 ], "tintindex": 0 },
|
||||
"east": { "texture": "#all", "uv": [ 4.0, 0.25, 4.25, 2.0 ], "tintindex": 0, "cullface": "east" },
|
||||
"south": { "texture": "#all", "uv": [ 4.25, 0.25, 8.0, 2.0 ], "tintindex": 0, "cullface": "south" },
|
||||
"up": { "texture": "#all", "uv": [ 0.25, 0.0, 4.0, 0.25 ], "tintindex": 0 },
|
||||
"down": { "texture": "#all", "uv": [ 4.25, 8.0, 16.0, 0.25 ], "tintindex": 0 }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "SideNorth",
|
||||
"from": [ 0.0, 1.0, 0.0 ],
|
||||
"to": [ 16.0, 8.0, 1.0 ],
|
||||
"faces": {
|
||||
"west": { "texture": "#all", "uv": [ 0.0, 0.25, 0.25, 2.0 ], "tintindex": 0, "cullface": "west" },
|
||||
"north": { "texture": "#all", "uv": [ 0.25, 0.25, 4.0, 2.0 ], "tintindex": 0, "cullface": "north" },
|
||||
"east": { "texture": "#all", "uv": [ 4.0, 0.25, 4.25, 2.0 ], "tintindex": 0, "cullface": "east" },
|
||||
"south": { "texture": "#all", "uv": [ 4.25, 0.25, 8.0, 2.0 ], "tintindex": 0 },
|
||||
"up": { "texture": "#all", "uv": [ 0.25, 0.0, 4.0, 0.25 ], "tintindex": 0 },
|
||||
"down": { "texture": "#all", "uv": [ 4.25, 8.0, 16.0, 0.25 ], "tintindex": 0 }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "SideWest",
|
||||
"from": [ 0.0, 1.0, 1.0 ],
|
||||
"to": [ 1.0, 8.0, 15.0 ],
|
||||
"faces": {
|
||||
"west": { "texture": "#all", "uv": [ 0.0, 3.5, 3.5, 5.25 ], "tintindex": 0, "cullface": "west" },
|
||||
"east": { "texture": "#all", "uv": [ 3.75, 3.5, 7.25, 5.25 ], "tintindex": 0 },
|
||||
"up": { "texture": "#all", "uv": [ 3.5, 1.0, 3.75, 3.5 ], "tintindex": 0 },
|
||||
"down": { "texture": "#all", "uv": [ 3.75, 1.0, 4.0, 3.5 ], "tintindex": 0 }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "SideEast",
|
||||
"from": [ 15.0, 1.0, 1.0 ],
|
||||
"to": [ 16.0, 8.0, 15.0 ],
|
||||
"faces": {
|
||||
"west": { "texture": "#all", "uv": [ 0.0, 3.5, 3.5, 5.25 ], "tintindex": 0 },
|
||||
"east": { "texture": "#all", "uv": [ 3.75, 3.5, 7.25, 5.25 ], "tintindex": 0, "cullface": "east" },
|
||||
"up": { "texture": "#all", "uv": [ 3.5, 1.0, 3.75, 3.5 ], "tintindex": 0 },
|
||||
"down": { "texture": "#all", "uv": [ 3.75, 1.0, 4.0, 3.5 ], "tintindex": 0 }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Liquid",
|
||||
"from": [ 1.0, 7.0, 1.0 ],
|
||||
"to": [ 15.0, 7.0, 15.0 ],
|
||||
"faces": {
|
||||
"up": { "texture": "#liquid", "uv": [ 1.0, 1.0, 15.0, 15.0 ] }
|
||||
}
|
||||
}
|
||||
]
|
||||
"Comment": "Designed by Wiiv with Cubik Studio - https://cubik.studio",
|
||||
"parent": "minecraft:block/block",
|
||||
"textures": {
|
||||
"particle": "#all"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"name": "base",
|
||||
"from": [ 0, 0, 0 ],
|
||||
"to": [ 16, 1, 16 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "down", "tintindex": 0 },
|
||||
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "tintindex": 0 },
|
||||
"north": { "uv": [ 0, 15, 16, 16 ], "texture": "#all", "tintindex": 0 },
|
||||
"south": { "uv": [ 0, 15, 16, 16 ], "texture": "#all", "tintindex": 0 },
|
||||
"west": { "uv": [ 0, 15, 16, 16 ], "texture": "#all", "tintindex": 0 },
|
||||
"east": { "uv": [ 0, 15, 16, 16 ], "texture": "#all", "tintindex": 0 }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "sideSouth",
|
||||
"from": [ 0, 1, 15 ],
|
||||
"to": [ 16, 8, 16 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 0, 0, 16, 1 ], "texture": "#all", "tintindex": 0 },
|
||||
"up": { "uv": [ 0, 15, 16, 16 ], "texture": "#all", "tintindex": 0 },
|
||||
"north": { "uv": [ 0, 8, 16, 15 ], "texture": "#all", "tintindex": 0 },
|
||||
"south": { "uv": [ 0, 8, 16, 15 ], "texture": "#all", "tintindex": 0 },
|
||||
"west": { "uv": [ 15, 8, 16, 15 ], "texture": "#all", "tintindex": 0 },
|
||||
"east": { "uv": [ 0, 8, 1, 15 ], "texture": "#all", "tintindex": 0 }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "sideNorth",
|
||||
"from": [ 0, 1, 0 ],
|
||||
"to": [ 16, 8, 1 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 0, 15, 16, 16 ], "texture": "#all", "tintindex": 0 },
|
||||
"up": { "uv": [ 0, 0, 16, 1 ], "texture": "#all", "tintindex": 0 },
|
||||
"north": { "uv": [ 0, 8, 16, 15 ], "texture": "#all", "tintindex": 0 },
|
||||
"south": { "uv": [ 0, 8, 16, 15 ], "texture": "#all", "tintindex": 0 },
|
||||
"west": { "uv": [ 0, 8, 1, 15 ], "texture": "#all", "tintindex": 0 },
|
||||
"east": { "uv": [ 15, 8, 16, 15 ], "texture": "#all", "tintindex": 0 }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "sideWest",
|
||||
"from": [ 15, 1, 1 ],
|
||||
"to": [ 16, 8, 15 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 15, 1, 16, 15 ], "texture": "#all", "tintindex": 0 },
|
||||
"up": { "uv": [ 15, 1, 16, 15 ], "texture": "#all", "tintindex": 0 },
|
||||
"north": { "uv": [ 0, 8, 1, 15 ], "texture": "#all", "tintindex": 0 },
|
||||
"south": { "uv": [ 15, 8, 16, 15 ], "texture": "#all", "tintindex": 0 },
|
||||
"west": { "uv": [ 1, 8, 15, 15 ], "texture": "#all", "tintindex": 0 },
|
||||
"east": { "uv": [ 1, 8, 15, 15 ], "texture": "#all", "tintindex": 0 }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "sideEast",
|
||||
"from": [ 0, 1, 1 ],
|
||||
"to": [ 1, 8, 15 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 0, 1, 1, 15 ], "texture": "#all", "tintindex": 0 },
|
||||
"up": { "uv": [ 0, 1, 1, 15 ], "texture": "#all", "tintindex": 0 },
|
||||
"north": { "uv": [ 15, 8, 16, 15 ], "texture": "#all", "tintindex": 0 },
|
||||
"south": { "uv": [ 0, 8, 1, 15 ], "texture": "#all", "tintindex": 0 },
|
||||
"west": { "uv": [ 1, 8, 15, 15 ], "texture": "#all", "tintindex": 0 },
|
||||
"east": { "uv": [ 1, 8, 15, 15 ], "texture": "#all", "tintindex": 0 }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "liquid",
|
||||
"from": [ 1, 7, 1 ],
|
||||
"to": [ 15, 7.001, 15 ],
|
||||
"faces": {
|
||||
"up": { "uv": [ 1, 1, 15, 15 ], "texture": "#liquid" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,20 +1,21 @@
|
||||
{
|
||||
"parent": "minecraft:block/block",
|
||||
"textures": {
|
||||
"particle": "#side"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [ 0, 0, 0 ],
|
||||
"to": [ 16, 3, 16 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#bottom", "cullface": "down" },
|
||||
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#top" },
|
||||
"north": { "uv": [ 0, 13, 16, 16 ], "texture": "#side", "cullface": "north" },
|
||||
"south": { "uv": [ 0, 13, 16, 16 ], "texture": "#side", "cullface": "south" },
|
||||
"west": { "uv": [ 0, 13, 16, 16 ], "texture": "#side", "cullface": "west" },
|
||||
"east": { "uv": [ 0, 13, 16, 16 ], "texture": "#side", "cullface": "east" }
|
||||
}
|
||||
}
|
||||
]
|
||||
"__comment": "Designed by Wiiv with Cubik Studio - https://cubik.studio",
|
||||
"parent": "minecraft:block/block",
|
||||
"textures": {
|
||||
"particle": "#side"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [ 0, 0, 0 ],
|
||||
"to": [ 16, 3, 16 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#bottom" },
|
||||
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#up" },
|
||||
"north": { "uv": [ 0, 13, 16, 16 ], "texture": "#side" },
|
||||
"south": { "uv": [ 0, 13, 16, 16 ], "texture": "#side" },
|
||||
"west": { "uv": [ 0, 13, 16, 16 ], "texture": "#side" },
|
||||
"east": { "uv": [ 0, 13, 16, 16 ], "texture": "#side" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
{
|
||||
"parent": "minecraft:block/block",
|
||||
"textures": {
|
||||
"particle": "#top"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [ 0, 0, 0 ],
|
||||
"to": [ 16, 12, 16 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#bottom", "cullface": "down" },
|
||||
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#top" },
|
||||
"north": { "uv": [ 0, 4, 16, 16 ], "texture": "#side", "cullface": "north" },
|
||||
"south": { "uv": [ 0, 4, 16, 16 ], "texture": "#side", "cullface": "south" },
|
||||
"west": { "uv": [ 0, 4, 16, 16 ], "texture": "#side", "cullface": "west" },
|
||||
"east": { "uv": [ 0, 4, 16, 16 ], "texture": "#side", "cullface": "east" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"parent": "botania:block/shapes/three_high_bottom_top",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/sparkchanger0",
|
||||
"top": "botania:blocks/sparkchanger1",
|
||||
"side": "botania:blocks/sparkchanger2"
|
||||
}
|
||||
}
|
||||
"parent": "botania:block/shapes/three_high_bottom_top",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/spark_tinkerer_0",
|
||||
"up": "botania:blocks/spark_tinkerer_1",
|
||||
"side": "botania:blocks/spark_tinkerer_2"
|
||||
}
|
||||
}
|
||||
File renamed without changes.
+1
-1
@@ -3,6 +3,6 @@
|
||||
"textures": {
|
||||
"inside": "botania:model/spreader_item/gaia_inside",
|
||||
"side": "botania:model/spreader_item/gaia_side",
|
||||
"material": "botania:blocks/dreamwood0"
|
||||
"material": "botania:model/spreader_item/gaia_material"
|
||||
}
|
||||
}
|
||||
File renamed without changes.
+1
-1
@@ -3,6 +3,6 @@
|
||||
"textures": {
|
||||
"inside": "botania:model/spreader_item/redstone_inside",
|
||||
"side": "botania:model/spreader_item/redstone_side",
|
||||
"material": "botania:model/spreader_item/redstone_material"
|
||||
"material": "botania:blocks/livingwood0"
|
||||
}
|
||||
}
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"parent": "botania:block/shapes/three_high_bottom_top",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/terraplate0",
|
||||
"top": "botania:blocks/terraplate1",
|
||||
"side": "botania:blocks/terraplate2"
|
||||
}
|
||||
}
|
||||
"parent": "botania:block/shapes/three_high_bottom_top",
|
||||
"textures": {
|
||||
"bottom": "botania:blocks/terra_plate_0",
|
||||
"up": "botania:blocks/terra_plate_1",
|
||||
"side": "botania:blocks/terra_plate_2"
|
||||
}
|
||||
}
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"parent": "minecraft:block/block",
|
||||
"textures": {
|
||||
"all": "botania:model/tinypotatocopy",
|
||||
"particle": "botania:model/tinypotatocopy"
|
||||
"all": "botania:model/tiny_potato",
|
||||
"particle": "botania:model/tiny_potato"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
@@ -15,7 +15,7 @@
|
||||
"east": { "texture": "#all", "uv": [ 8.0, 4.0, 12.0, 10.0 ] },
|
||||
"south": { "texture": "#all", "uv": [ 12.0, 4.0, 16.0, 10.0 ] },
|
||||
"up": { "texture": "#all", "uv": [ 4.0, 0.0, 8.0, 4.0 ] },
|
||||
"down": { "texture": "#all", "uv": [ 8.0, 0.0, 12.0, 4.0 ], "cullface": "down" }
|
||||
"down": { "texture": "#all", "uv": [ 8.0, 0.0, 12.0, 4.0 ] }
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "botania:items/astrolabe"
|
||||
"layer0": "botania:items/tool_astrolabe"
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "botania:items/auraring"
|
||||
"layer0": "botania:items/ring_aura_lesser"
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "botania:items/auraringgreater"
|
||||
"layer0": "botania:items/ring_aura_greater"
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "botania:items/autocraftinghalo"
|
||||
"layer0": "botania:items/halo_autocrafting"
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "botania:items/balancecloak"
|
||||
"layer0": "botania:items/cloak_balance"
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "botania:items/baublebox"
|
||||
"layer0": "botania:items/container_bauble_closed"
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "botania:items/blackholetalisman0"
|
||||
"layer0": "botania:items/talisman_black_hole"
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "botania:items/blackholetalisman1"
|
||||
"layer0": "botania:items/talisman_black_hole_activated"
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "botania:items/blacklotus"
|
||||
"layer0": "botania:items/black_lotus"
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "botania:items/blacklotus"
|
||||
"layer0": "botania:items/black_lotus_intense"
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "botania:items/bloodpendant0",
|
||||
"layer1": "botania:items/bloodpendant1"
|
||||
"layer0": "botania:items/pendant_blood",
|
||||
"layer1": "botania:items/pendant_blood_overlay"
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "botania:items/cloudpendant"
|
||||
"layer0": "botania:items/pendant_cloud"
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/handheld",
|
||||
"textures": {
|
||||
"layer0": "botania:items/cobblerod"
|
||||
"layer0": "botania:items/rod_cobble"
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "botania:items/corporeaspark0"
|
||||
"layer0": "botania:items/spark_corporea"
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "botania:items/corporeaspark2"
|
||||
"layer0": "botania:items/spark_corporea_master"
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "botania:items/craftinghalo"
|
||||
"layer0": "botania:items/halo_crafting"
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "botania:items/crystalbow0"
|
||||
"layer0": "botania:items/bow_crystal"
|
||||
},
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"parent": "botania:item/crystalbow",
|
||||
"textures": {
|
||||
"layer0": "botania:items/crystalbow1"
|
||||
"layer0": "botania:items/bow_crystal_pulling_1"
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"parent": "botania:item/crystalbow",
|
||||
"textures": {
|
||||
"layer0": "botania:items/crystalbow2"
|
||||
"layer0": "botania:items/bow_crystal_pulling_2"
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"parent": "botania:item/crystalbow",
|
||||
"textures": {
|
||||
"layer0": "botania:items/crystalbow3"
|
||||
"layer0": "botania:items/bow_crystal_pulling_3"
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"parent": "botania:item/crystalbow",
|
||||
"textures": {
|
||||
"layer0": "botania:items/crystalbow4"
|
||||
"layer0": "botania:items/bow_crystal_pulling_4"
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"parent": "botania:item/crystalbow",
|
||||
"textures": {
|
||||
"layer0": "botania:items/crystalbow5"
|
||||
"layer0": "botania:items/bow_crystal_pulling_5"
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/handheld",
|
||||
"textures": {
|
||||
"layer0": "botania:items/dammitreddit"
|
||||
"layer0": "botania:items/special_dammitreddit"
|
||||
}
|
||||
}
|
||||
File renamed without changes.
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/handheld",
|
||||
"textures": {
|
||||
"layer0": "botania:items/dirtrod"
|
||||
"layer0": "botania:items/rod_dirt"
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "botania:items/divacharm"
|
||||
"layer0": "botania:items/charm_diva"
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/handheld",
|
||||
"textures": {
|
||||
"layer0": "botania:items/diviningrod"
|
||||
"layer0": "botania:items/rod_divining"
|
||||
}
|
||||
}
|
||||
Loaded 100 of 1042 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user