mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
digamma armor model and UV, quackos NEI fix
This commit is contained in:
parent
ee3b483ac3
commit
96065ca523
File diff suppressed because it is too large
Load Diff
BIN
src/main/java/assets/hbm/textures/armor/fau_arm.png
Normal file
BIN
src/main/java/assets/hbm/textures/armor/fau_arm.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 409 B |
BIN
src/main/java/assets/hbm/textures/armor/fau_chest.png
Normal file
BIN
src/main/java/assets/hbm/textures/armor/fau_chest.png
Normal file
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 |
BIN
src/main/java/assets/hbm/textures/armor/fau_leg.png
Normal file
BIN
src/main/java/assets/hbm/textures/armor/fau_leg.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 455 B |
@ -1,5 +1,7 @@
|
|||||||
package com.hbm.entity.mob;
|
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.EntityAgeable;
|
||||||
import net.minecraft.entity.EntityLivingBase;
|
import net.minecraft.entity.EntityLivingBase;
|
||||||
import net.minecraft.entity.boss.IBossDisplayData;
|
import net.minecraft.entity.boss.IBossDisplayData;
|
||||||
@ -89,4 +91,13 @@ public class EntityQuackos extends EntityDuck implements IBossDisplayData {
|
|||||||
((EntityLivingBase)this.riddenByEntity).renderYawOffset = this.renderYawOffset;
|
((EntityLivingBase)this.riddenByEntity).renderYawOffset = this.renderYawOffset;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* BOW
|
||||||
|
*/
|
||||||
|
@SideOnly(Side.CLIENT)
|
||||||
|
public float getShadowSize()
|
||||||
|
{
|
||||||
|
return 7.5F;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -5,12 +5,9 @@ import java.util.List;
|
|||||||
import com.hbm.config.WeaponConfig;
|
import com.hbm.config.WeaponConfig;
|
||||||
import com.hbm.entity.effect.EntityRagingVortex;
|
import com.hbm.entity.effect.EntityRagingVortex;
|
||||||
import com.hbm.extprop.HbmLivingProps;
|
import com.hbm.extprop.HbmLivingProps;
|
||||||
import com.hbm.lib.ModDamageSource;
|
|
||||||
import com.hbm.util.I18nUtil;
|
import com.hbm.util.I18nUtil;
|
||||||
|
|
||||||
import net.minecraft.entity.Entity;
|
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.item.EntityItem;
|
||||||
import net.minecraft.entity.player.EntityPlayer;
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
@ -49,7 +46,7 @@ public class ItemDigamma extends ItemRadioactive {
|
|||||||
float d = ((int)((1000F / digamma) * 10F)) / 10F;
|
float d = ((int)((1000F / digamma) * 10F)) / 10F;
|
||||||
|
|
||||||
list.add(EnumChatFormatting.RED + "[" + I18nUtil.resolveKey("trait.digamma") + "]");
|
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") + "]");
|
list.add(EnumChatFormatting.RED + "[" + I18nUtil.resolveKey("trait.drop") + "]");
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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_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 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");
|
public static final ResourceLocation hat = new ResourceLocation(RefStrings.MODID, "textures/armor/hat.png");
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -10,11 +10,14 @@ import net.minecraft.entity.Entity;
|
|||||||
|
|
||||||
public class ModelArmorDigamma extends ModelArmorBase {
|
public class ModelArmorDigamma extends ModelArmorBase {
|
||||||
|
|
||||||
|
ModelRendererObj cassette;
|
||||||
|
|
||||||
public ModelArmorDigamma(int type) {
|
public ModelArmorDigamma(int type) {
|
||||||
super(type);
|
super(type);
|
||||||
|
|
||||||
head = new ModelRendererObj(ResourceManager.armor_fau, "Head");
|
head = new ModelRendererObj(ResourceManager.armor_fau, "Head");
|
||||||
body = new ModelRendererObj(ResourceManager.armor_fau, "Body");
|
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);
|
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);
|
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);
|
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.glPushMatrix();
|
||||||
GL11.glShadeModel(GL11.GL_SMOOTH);
|
GL11.glShadeModel(GL11.GL_SMOOTH);
|
||||||
|
|
||||||
Minecraft.getMinecraft().renderEngine.bindTexture(ResourceManager.universal);
|
body.copyTo(cassette);
|
||||||
|
|
||||||
if(type == 0) {
|
if(type == 0) {
|
||||||
|
Minecraft.getMinecraft().renderEngine.bindTexture(ResourceManager.fau_helmet);
|
||||||
head.render(par7);
|
head.render(par7);
|
||||||
}
|
}
|
||||||
if(type == 1) {
|
if(type == 1) {
|
||||||
|
Minecraft.getMinecraft().renderEngine.bindTexture(ResourceManager.fau_chest);
|
||||||
body.render(par7);
|
body.render(par7);
|
||||||
|
Minecraft.getMinecraft().renderEngine.bindTexture(ResourceManager.fau_cassette);
|
||||||
|
cassette.render(par7);
|
||||||
|
Minecraft.getMinecraft().renderEngine.bindTexture(ResourceManager.fau_arm);
|
||||||
leftArm.render(par7);
|
leftArm.render(par7);
|
||||||
rightArm.render(par7);
|
rightArm.render(par7);
|
||||||
}
|
}
|
||||||
if(type == 2) {
|
if(type == 2) {
|
||||||
|
Minecraft.getMinecraft().renderEngine.bindTexture(ResourceManager.fau_leg);
|
||||||
leftLeg.render(par7);
|
leftLeg.render(par7);
|
||||||
rightLeg.render(par7);
|
rightLeg.render(par7);
|
||||||
}
|
}
|
||||||
if(type == 3) {
|
if(type == 3) {
|
||||||
|
Minecraft.getMinecraft().renderEngine.bindTexture(ResourceManager.fau_leg);
|
||||||
leftFoot.render(par7);
|
leftFoot.render(par7);
|
||||||
rightFoot.render(par7);
|
rightFoot.render(par7);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user