mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-26 15:03:30 +00:00
Optimize Imports
This commit is contained in:
1 parent
61dc056735
commit
9c541999f3
264 files changed
+2848
-489
No files matched your search
@@ -11,8 +11,12 @@ import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.EntityLiving;
|
||||
import net.minecraft.entity.EntityLivingBase;
|
||||
import net.minecraft.init.Items;
|
||||
import net.minecraft.item.*;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemArmor;
|
||||
import net.minecraft.item.ItemArmor.ArmorMaterial;
|
||||
import net.minecraft.item.ItemBlock;
|
||||
import net.minecraft.item.ItemBow;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
import noppes.npcs.client.model.ModelPony;
|
||||
import noppes.npcs.client.model.ModelPonyArmor;
|
||||
@@ -99,23 +103,23 @@ public class RenderNPCPony extends RenderNPCInterface {
|
||||
|
||||
pony.isPegasus = false;
|
||||
pony.isUnicorn = false;
|
||||
Color color = new Color(bufferedimage.getRGB(0, 0), true);
|
||||
Color color1 = new Color(249, 177, 49, 255);
|
||||
Color color2 = new Color(136, 202, 240, 255);
|
||||
Color color3 = new Color(209, 159, 228, 255);
|
||||
Color color4 = new Color(254, 249, 252, 255);
|
||||
if (color.equals(color1)) {
|
||||
}
|
||||
if (color.equals(color2)) {
|
||||
pony.isPegasus = true;
|
||||
}
|
||||
if (color.equals(color3)) {
|
||||
pony.isUnicorn = true;
|
||||
}
|
||||
if (color.equals(color4)) {
|
||||
pony.isPegasus = true;
|
||||
pony.isUnicorn = true;
|
||||
}
|
||||
Color color = new Color(bufferedimage.getRGB(0, 0), true);
|
||||
Color color1 = new Color(249, 177, 49, 255);
|
||||
Color color2 = new Color(136, 202, 240, 255);
|
||||
Color color3 = new Color(209, 159, 228, 255);
|
||||
Color color4 = new Color(254, 249, 252, 255);
|
||||
if (color.equals(color1)) {
|
||||
}
|
||||
if (color.equals(color2)) {
|
||||
pony.isPegasus = true;
|
||||
}
|
||||
if (color.equals(color3)) {
|
||||
pony.isUnicorn = true;
|
||||
}
|
||||
if (color.equals(color4)) {
|
||||
pony.isPegasus = true;
|
||||
pony.isUnicorn = true;
|
||||
}
|
||||
pony.checked = loc;
|
||||
}
|
||||
} catch (IOException e) {
|
||||
|
||||
Reference in new issue
Block a user