digamma armor model and UV, quackos NEI fix

This commit is contained in:
Bob 2021-01-16 19:09:09 +01:00
parent ee3b483ac3
commit 96065ca523
9 changed files with 3617 additions and 3857 deletions

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 409 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 964 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 455 B

View File

@ -1,5 +1,7 @@
package com.hbm.entity.mob;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.entity.EntityAgeable;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.boss.IBossDisplayData;
@ -89,4 +91,13 @@ public class EntityQuackos extends EntityDuck implements IBossDisplayData {
((EntityLivingBase)this.riddenByEntity).renderYawOffset = this.renderYawOffset;
}
}
/**
* BOW
*/
@SideOnly(Side.CLIENT)
public float getShadowSize()
{
return 7.5F;
}
}

View File

@ -5,12 +5,9 @@ import java.util.List;
import com.hbm.config.WeaponConfig;
import com.hbm.entity.effect.EntityRagingVortex;
import com.hbm.extprop.HbmLivingProps;
import com.hbm.lib.ModDamageSource;
import com.hbm.util.I18nUtil;
import net.minecraft.entity.Entity;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.attributes.AttributeModifier;
import net.minecraft.entity.item.EntityItem;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
@ -49,7 +46,7 @@ public class ItemDigamma extends ItemRadioactive {
float d = ((int)((1000F / digamma) * 10F)) / 10F;
list.add(EnumChatFormatting.RED + "[" + I18nUtil.resolveKey("trait.digamma") + "]");
list.add(EnumChatFormatting.DARK_RED + "" + d + "DRX/s");
list.add(EnumChatFormatting.DARK_RED + "" + d + "mDRX/s");
list.add(EnumChatFormatting.RED + "[" + I18nUtil.resolveKey("trait.drop") + "]");
}

View File

@ -565,6 +565,12 @@ public class ResourceManager {
public static final ResourceLocation ajro_chest = new ResourceLocation(RefStrings.MODID, "textures/armor/ajro_chest.png");
public static final ResourceLocation ajro_arm = new ResourceLocation(RefStrings.MODID, "textures/armor/ajro_arm.png");
public static final ResourceLocation fau_helmet = new ResourceLocation(RefStrings.MODID, "textures/armor/fau_helmet.png");
public static final ResourceLocation fau_leg = new ResourceLocation(RefStrings.MODID, "textures/armor/fau_leg.png");
public static final ResourceLocation fau_chest = new ResourceLocation(RefStrings.MODID, "textures/armor/fau_chest.png");
public static final ResourceLocation fau_cassette = new ResourceLocation(RefStrings.MODID, "textures/armor/fau_cassette.png");
public static final ResourceLocation fau_arm = new ResourceLocation(RefStrings.MODID, "textures/armor/fau_arm.png");
public static final ResourceLocation hat = new ResourceLocation(RefStrings.MODID, "textures/armor/hat.png");

View File

@ -9,12 +9,15 @@ import net.minecraft.client.Minecraft;
import net.minecraft.entity.Entity;
public class ModelArmorDigamma extends ModelArmorBase {
ModelRendererObj cassette;
public ModelArmorDigamma(int type) {
super(type);
head = new ModelRendererObj(ResourceManager.armor_fau, "Head");
body = new ModelRendererObj(ResourceManager.armor_fau, "Body");
cassette = new ModelRendererObj(ResourceManager.armor_fau, "Cassette");
leftArm = new ModelRendererObj(ResourceManager.armor_fau, "LeftArm").setRotationPoint(-5.0F, 2.0F, 0.0F);
rightArm = new ModelRendererObj(ResourceManager.armor_fau, "RightArm").setRotationPoint(5.0F, 2.0F, 0.0F);
leftLeg = new ModelRendererObj(ResourceManager.armor_fau, "LeftLeg").setRotationPoint(1.9F, 12.0F, 0.0F);
@ -31,21 +34,28 @@ public class ModelArmorDigamma extends ModelArmorBase {
GL11.glPushMatrix();
GL11.glShadeModel(GL11.GL_SMOOTH);
Minecraft.getMinecraft().renderEngine.bindTexture(ResourceManager.universal);
body.copyTo(cassette);
if(type == 0) {
Minecraft.getMinecraft().renderEngine.bindTexture(ResourceManager.fau_helmet);
head.render(par7);
}
if(type == 1) {
Minecraft.getMinecraft().renderEngine.bindTexture(ResourceManager.fau_chest);
body.render(par7);
Minecraft.getMinecraft().renderEngine.bindTexture(ResourceManager.fau_cassette);
cassette.render(par7);
Minecraft.getMinecraft().renderEngine.bindTexture(ResourceManager.fau_arm);
leftArm.render(par7);
rightArm.render(par7);
}
if(type == 2) {
Minecraft.getMinecraft().renderEngine.bindTexture(ResourceManager.fau_leg);
leftLeg.render(par7);
rightLeg.render(par7);
}
if(type == 3) {
Minecraft.getMinecraft().renderEngine.bindTexture(ResourceManager.fau_leg);
leftFoot.render(par7);
rightFoot.render(par7);
}