some garbage i almost forgot

This commit is contained in:
Pheonix 2022-06-19 18:23:38 +01:00
parent fcfa5cee55
commit b7ffa0f1d8
2 changed files with 9 additions and 3 deletions

View File

@ -107,6 +107,7 @@ public class GunPoweredFactory {
bullet.firingRate = 20; bullet.firingRate = 20;
bullet.modeName = "weapon.elecGun.glass_cannon.radio"; bullet.modeName = "weapon.elecGun.glass_cannon.radio";
bullet.chatColour = EnumChatFormatting.DARK_RED; bullet.chatColour = EnumChatFormatting.DARK_RED;
bullet.setToFire(200);
return bullet; return bullet;
} }
@ -135,6 +136,7 @@ public class GunPoweredFactory {
bullet.firingRate = 15; bullet.firingRate = 15;
bullet.modeName = "weapon.elecGun.glass_cannon.micro"; bullet.modeName = "weapon.elecGun.glass_cannon.micro";
bullet.chatColour = EnumChatFormatting.RED; bullet.chatColour = EnumChatFormatting.RED;
bullet.setToFire(200);
return bullet; return bullet;
} }
@ -163,6 +165,7 @@ public class GunPoweredFactory {
bullet.firingRate = 10; bullet.firingRate = 10;
bullet.modeName = "weapon.elecGun.glass_cannon.ir"; bullet.modeName = "weapon.elecGun.glass_cannon.ir";
bullet.chatColour = EnumChatFormatting.RED; bullet.chatColour = EnumChatFormatting.RED;
bullet.setToFire(100);
return bullet; return bullet;
} }
@ -191,6 +194,7 @@ public class GunPoweredFactory {
bullet.firingRate = 5; bullet.firingRate = 5;
bullet.modeName = "weapon.elecGun.glass_cannon.visible"; bullet.modeName = "weapon.elecGun.glass_cannon.visible";
bullet.chatColour = EnumChatFormatting.GREEN; bullet.chatColour = EnumChatFormatting.GREEN;
bullet.setToFire(100);
return bullet; return bullet;
} }
@ -219,6 +223,7 @@ public class GunPoweredFactory {
bullet.firingRate = 3; bullet.firingRate = 3;
bullet.modeName = "weapon.elecGun.glass_cannon.uv"; bullet.modeName = "weapon.elecGun.glass_cannon.uv";
bullet.chatColour = EnumChatFormatting.AQUA; bullet.chatColour = EnumChatFormatting.AQUA;
bullet.setToFire(100);
return bullet; return bullet;
} }
@ -247,6 +252,7 @@ public class GunPoweredFactory {
bullet.firingRate = 2; bullet.firingRate = 2;
bullet.modeName = "weapon.elecGun.glass_cannon.xray"; bullet.modeName = "weapon.elecGun.glass_cannon.xray";
bullet.chatColour = EnumChatFormatting.BLUE; bullet.chatColour = EnumChatFormatting.BLUE;
bullet.setToFire(40);
return bullet; return bullet;
} }
@ -275,6 +281,7 @@ public class GunPoweredFactory {
bullet.firingRate = 1; bullet.firingRate = 1;
bullet.modeName = "weapon.elecGun.glass_cannon.gamma"; bullet.modeName = "weapon.elecGun.glass_cannon.gamma";
bullet.chatColour = EnumChatFormatting.LIGHT_PURPLE; bullet.chatColour = EnumChatFormatting.LIGHT_PURPLE;
bullet.setToFire(40);
return bullet; return bullet;
} }

View File

@ -50,10 +50,9 @@ public class RenderInfoSystem {
if(event.type != ElementType.CROSSHAIRS) if(event.type != ElementType.CROSSHAIRS)
return; return;
if(this.messages.isEmpty()) { if(this.messages.isEmpty())
return; return;
}
Minecraft mc = Minecraft.getMinecraft(); Minecraft mc = Minecraft.getMinecraft();
ScaledResolution resolution = event.resolution; ScaledResolution resolution = event.resolution;