@@ -0,0 +1,246 @@
package com.fnaf.Client.gui;


import com.google.common.collect.Lists;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.block.Block;
import net.minecraft.block.BlockDoublePlant;
import net.minecraft.block.BlockMobSpawner;
import net.minecraft.client.Minecraft;
import net.minecraft.client.audio.PositionedSoundRecord;
import net.minecraft.client.audio.SoundHandler;
import net.minecraft.client.gui.GuiScreen;
import net.minecraft.client.gui.GuiTextField;
import net.minecraft.client.gui.ScaledResolution;
import net.minecraft.client.renderer.RenderHelper;
import net.minecraft.client.renderer.entity.RenderItem;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
import net.minecraft.item.ItemDoublePlant;
import net.minecraft.item.ItemMonsterPlacer;
import net.minecraft.item.ItemStack;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.StatCollector;
import org.lwjgl.input.Keyboard;
import org.lwjgl.input.Mouse;
import org.lwjgl.opengl.GL11;

import java.util.ArrayList;
import java.util.List;


public abstract class GuiPickItem extends GuiScreen
{
public String title;
public GuiVerticalSlider slider = new GuiVerticalSlider(100, 0, 12, 15, 300, 10);
private GuiTextField textField;
private RenderItem renderItem = new RenderItem();
private ArrayList<ItemStack> items = Lists.newArrayList();

public GuiPickItem(String t)
{
title = t;

Minecraft mc = Minecraft.getMinecraft();
ScaledResolution scaledresolution = new ScaledResolution(mc, mc.displayWidth, mc.displayHeight);
int w = scaledresolution.getScaledWidth();
int h = scaledresolution.getScaledHeight();
setWorldAndResolution(mc, w, h);

textField = new GuiTextField(fontRendererObj, width / 2 - 45, 30, 103, 12);
textField.setMaxStringLength(40);

for (Item item : (Iterable<Item>) Item.itemRegistry)
{
ItemStack itemstack = new ItemStack(item);

if (item != null)
{
try
{
items.add(itemstack);

List subItems = Lists.newArrayList();

item.getSubItems(item, null, subItems);

int maxDamage = subItems.size() - 1;

while (item.getHasSubtypes() && itemstack.getItemDamage() < maxDamage)
{
itemstack.setItemDamage(itemstack.getItemDamage() + 1);

if (!(item instanceof ItemDoublePlant) && !(Block.getBlockFromItem(item) instanceof BlockMobSpawner) && !(Block.getBlockFromItem(item) instanceof BlockDoublePlant) && !(item instanceof ItemMonsterPlacer))
{
items.add(new ItemStack(item, 1, itemstack.getItemDamage()));
}
}
}
catch (Exception e)
{
e.printStackTrace();
}
}
}
}

public abstract void onClickEntry(ItemStack itemstack, EntityPlayer player);

protected void keyTyped(char c, int key)
{
Keyboard.enableRepeatEvents(true);
textField.textboxKeyTyped(c, key);
}

public boolean doesGuiPauseGame()
{
return false;
}

protected void mouseClickMove(int mouseX, int mouseY, int lastButtonClicked, long timeSinceMouseClick)
{
slider.mouseClickMove(mouseX, mouseY, lastButtonClicked, timeSinceMouseClick);
}

protected void mouseClicked(int mouseX, int mouseY, int button)
{
slider.mouseClicked(mouseX, mouseY, button);
textField.mouseClicked(mouseX, mouseY, button);
}

protected void mouseMovedOrUp(int mouseX, int mouseY, int event)
{
slider.mouseMovedOrUp(mouseX, mouseY, event);
}

public void drawScreen(int mouseX, int mouseY, float partialTicks)
{
Minecraft mc = Minecraft.getMinecraft();
ScaledResolution scaledresolution = new ScaledResolution(mc, mc.displayWidth, mc.displayHeight);
int w = scaledresolution.getScaledWidth();
int h = scaledresolution.getScaledHeight();
setWorldAndResolution(mc, w, h);

drawDefaultBackground();
drawCenteredString(fontRendererObj, title, width / 2, 15, 16777215);
int x = width / 2 - 45;
int y = 30;
int scrollY;
int i = height - 20;
slider.minScroll = 40;
slider.maxScroll = i - 7;
slider.x = width / 2 - 70;
slider.drawScreen(mouseX, mouseY, partialTicks);

boolean selected;

List<ItemStack> displayItems = Lists.newArrayList();

for (ItemStack itemstack : items)
{
try
{
String name = StatCollector.translateToLocal(itemstack.getDisplayName());

Item item = itemstack.getItem();

boolean tabEquals = false;

if (item != null)
{
for (CreativeTabs tab : item.getCreativeTabs())
{
if (tab != null)
{
tabEquals = StatCollector.translateToLocal(tab.getTranslatedTabLabel()).toLowerCase().contains(textField.getText().toLowerCase());

if (tabEquals)
{
break;
}
}
}
}

if (name.toLowerCase().contains(textField.getText().toLowerCase()) || tabEquals)
{
displayItems.add(itemstack);
}
}
catch (Exception e)
{
e.printStackTrace();
}
}

scrollY = ((-slider.y + slider.minScroll) * ((displayItems.size()) / ((i - slider.minScroll) / 19)));

for (ItemStack itemstack : displayItems)
{
try
{
String name = StatCollector.translateToLocal(itemstack.getDisplayName());
selected = mouseX >= x && mouseX < x + fontRendererObj.getStringWidth(name) + 20 && mouseY >= y + 16 + scrollY && mouseY < y + 32 + scrollY;

y += 18;

if (y + scrollY <= height && y + scrollY > 42)
{
drawString(fontRendererObj, name + (selected ? " <" : ""), x + 20, y + 4 + scrollY, selected ? 0xFFFF7F : 0xFFFFFF);
drawString(fontRendererObj, selected ? ">" : "", x - 10, y + 4 + scrollY, 0xFFFF7F);

try
{
drawItemStack(x, y + scrollY, itemstack);
}
catch (Exception e)
{

}
}

if (selected)
{
if (Mouse.isButtonDown(0))
{
playClickSound(mc.getSoundHandler());
onClickEntry(itemstack, mc.thePlayer);
}
}
}
catch (Exception e)
{
e.printStackTrace();
}
}

GL11.glColor4f(1, 1, 1, 1);
GL11.glDisable(GL11.GL_LIGHTING);
GL11.glDisable(GL11.GL_BLEND);
textField.drawTextBox();
super.drawScreen(mouseX, mouseY, partialTicks);
}

public void drawItemStack(int x, int y, ItemStack itemstack)
{
RenderHelper.enableGUIStandardItemLighting();
zLevel = 100f;
renderItem.zLevel = 100f;
GL11.glEnable(2896);
GL11.glEnable(32826);
renderItem.renderItemAndEffectIntoGUI(mc.fontRenderer, mc.renderEngine, itemstack, x, y);
renderItem.renderItemOverlayIntoGUI(mc.fontRenderer, mc.renderEngine, itemstack, x, y);
GL11.glDisable(2896);
GL11.glEnable(3042);
renderItem.zLevel = 0f;
zLevel = 0f;
RenderHelper.disableStandardItemLighting();
}

public void playClickSound(SoundHandler soundHandler)
{
soundHandler.playSound(PositionedSoundRecord.func_147674_a(new ResourceLocation("gui.button.press"), 1f));
}
}
@@ -0,0 +1,75 @@
package com.fnaf.Client.gui;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.GuiScreen;
import net.minecraft.util.ResourceLocation;
import org.lwjgl.opengl.GL11;
public class GuiVerticalSlider extends GuiScreen
{
public int x;
public int y;
public int width;
public int height;
public int maxScroll;
public int minScroll;
public boolean dragging = false;
private ResourceLocation texture = new ResourceLocation("textures/gui/container/creative_inventory/tabs.png");

public GuiVerticalSlider(int x, int y, int width, int height, int maxScroll, int minScroll)
{
this.x = x;
this.y = y;
this.width = width;
this.height = height;
this.maxScroll = maxScroll;
this.minScroll = minScroll;
}

protected void mouseClickMove(int mouseX, int mouseY, int lastButtonClicked, long timeSinceMouseClick)
{
if (dragging)
{
y = mouseY - height / 2;
}
}

protected void mouseClicked(int mouseX, int mouseY, int button)
{
super.mouseClicked(mouseX, mouseY, button);

if (mouseX >= x && mouseX <= x + width && mouseY >= y && mouseY <= y + height)
{
dragging = true;
}
}

protected void mouseMovedOrUp(int mouseX, int mouseY, int event)
{
super.mouseMovedOrUp(mouseX, mouseY, event);
dragging = mouseX >= x && mouseX <= x + width && mouseY >= y && mouseY <= y + height;
}

public void drawScreen(int mouseX, int mouseY, float partialTicks)
{
if (y < minScroll)
{
y = minScroll;
}
if (y > maxScroll - height)
{
y = maxScroll - height;
}

GL11.glEnable(GL11.GL_BLEND);
GL11.glDisable(GL11.GL_TEXTURE_2D);
GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
GL11.glColor4f(0, 0, 0, 0.5F);
drawTexturedModalRect(x - 2, minScroll - 2, 0, 0, width + 4, maxScroll - minScroll + 4);

GL11.glColor4f(1f, 1f, 1f, 1f);
GL11.glEnable(GL11.GL_TEXTURE_2D);
Minecraft.getMinecraft().renderEngine.bindTexture(texture);
drawTexturedModalRect(x, y, 232, 0, width, height);
}
}
@@ -2,8 +2,7 @@

import java.util.Random;

import com.fnaf.Client.main.mainRegistry;

import com.fnaf.Client.main.main_fnaf;
import net.minecraft.util.ChatComponentTranslation;
import net.minecraftforge.common.MinecraftForge;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
@@ -14,8 +13,12 @@ public class ForgeEventHandler {

@SubscribeEvent
public void onPlayerLoggedIn(PlayerLoggedInEvent event){
ChatComponentTranslation chatcomponenttranslation = new ChatComponentTranslation("Thanks for signing up for the FNAF Mod Beta-Program, " + mainRegistry.getVersion() + "! Tip: " + getRandomTip(), new Object[0]);
ChatComponentTranslation chatcomponenttranslation = new ChatComponentTranslation("Thanks for signing up for the FNAF Mod Beta-Program, " + main_fnaf.getVersion() + "! Tip: " + getRandomTip(), new Object[0]);
if(main_fnaf.configHandler.sayThanksMessage){
event.player.addChatComponentMessage(chatcomponenttranslation);
}
}

private String getRandomTip(){
Random random = new Random();
int randomInt = random.nextInt(2);
@@ -35,7 +38,7 @@ public static void mainRegistry() {
public static void RegisterEvent() {


MinecraftForge.EVENT_BUS.register(mainRegistry.FeventHandler);
MinecraftForge.EVENT_BUS.register(main_fnaf.FeventHandler);

}

@@ -2,10 +2,15 @@



import net.minecraft.client.model.ModelBiped;
import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
import net.minecraft.item.Item;

import com.fnaf.Common.Blocks.Camera;
import com.fnaf.Common.Blocks.LootBox;
import com.fnaf.Common.Blocks.render.RenderCamera;
import com.fnaf.Common.Blocks.render.RenderLootBox;
import com.fnaf.Common.Blocks.tileEntity.TileEntityCamera;
import com.fnaf.Common.Blocks.tileEntity.TileEntityLootBox;
import com.fnaf.Common.Entity.WitheredBonnie.EntityWitheredBonnieMob;
import com.fnaf.Common.Entity.WitheredBonnie.RenderWitheredBonnie;
@@ -52,9 +57,8 @@
import cpw.mods.fml.client.registry.RenderingRegistry;

public class ClientProxy extends ServerProxy{

public void registerRenderThings(){
//Entity
RenderingRegistry.registerEntityRenderingHandler(EntityPuppetMob.class, new RenderPuppetMob(new Puppet(), 0));
RenderingRegistry.registerEntityRenderingHandler(EntityFreddyMob.class, new RenderFreddyMob(new Freddy(), 0));
RenderingRegistry.registerEntityRenderingHandler(EntityBalloonBoyMob.class, new RenderBalloonBoy(new BalloonBoy(), 0));
@@ -71,13 +75,5 @@ public void registerRenderThings(){



//Blocks/Items

TileEntitySpecialRenderer render1 = new RenderLootBox();
ClientRegistry.bindTileEntitySpecialRenderer(TileEntityLootBox.class, render1);



}

}
}

This file was deleted.

@@ -2,8 +2,8 @@

public class Strings {

public static final String MODID = "fnaf2";
public static final String MODID = "fnafvtwo";
public static final String name = "Five Nights At Freddys";
public static final String version = "{$Version}";
public static final String version = "v2.8PRE_ALPHA_dev";

}
@@ -1,6 +1,7 @@
package com.fnaf.Client.main;

import com.fnaf.Client.handlers.ForgeEventHandler;
import com.fnaf.Client.network.ConfigurationHandler;
import com.fnaf.Client.utils.CreativeTabFNAF;
import com.fnaf.Client.utils.CreativeTabFNAF2;
import com.fnaf.Client.utils.CreativeTabFNAF3;
@@ -19,10 +20,12 @@
import com.fnaf.Common.Entity.toybonnie.EntityToyBonnie;
import com.fnaf.Common.Entity.toychica.EntityToyChica;
import com.fnaf.Common.Entity.toyfreddy.EntityToyFreddy;
import com.fnaf.Common.Items.fnaf2Items;
import com.fnaf.Common.Items.FNAFItems;

import net.minecraft.creativetab.CreativeTabs;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.common.config.Configuration;
import cpw.mods.fml.common.FMLCommonHandler;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.Mod.Instance;
@@ -32,32 +35,35 @@
import cpw.mods.fml.common.event.FMLPreInitializationEvent;

@Mod(modid = Strings.MODID, name = Strings.name, version = Strings.version)
public class mainRegistry
public class main_fnaf
{
public static CreativeTabs tabFnaf3 = new CreativeTabFNAF3(CreativeTabs.getNextID(), "standard3");
public static CreativeTabs tabFnaf2 = new CreativeTabFNAF2(CreativeTabs.getNextID(), "standard2");
public static CreativeTabs tabFnaf = new CreativeTabFNAF(CreativeTabs.getNextID(), "standard");
public static CreativeTabs tabFnaf3 = new CreativeTabFNAF3("standard3");
public static CreativeTabs tabFnaf2 = new CreativeTabFNAF2("standard2");
public static CreativeTabs tabFnaf = new CreativeTabFNAF("standard");
public static Configuration Config;

public static ForgeEventHandler FeventHandler = new ForgeEventHandler();

public static Configuration configFile;

@SidedProxy(clientSide = "com.fnaf.Client.main.ClientProxy", serverSide = "com.fnaf.Client.main.ServerProxy")
public static ServerProxy proxy;

@Instance(Strings.MODID)
public static mainRegistry modInstance;

public static main_fnaf modInstance;

public static ConfigurationHandler configHandler = new ConfigurationHandler();

@EventHandler
public void postInit(FMLPostInitializationEvent event){
MinecraftForge.EVENT_BUS.register(mainRegistry.FeventHandler);
MinecraftForge.EVENT_BUS.register(main_fnaf.FeventHandler);
}

@EventHandler
public void PreLoad(FMLPreInitializationEvent PreEvent)
{

MinecraftForge.EVENT_BUS.register(new SpawnEvent());

FMLCommonHandler.instance().bus().register(main_fnaf.modInstance);

EntityPuppet.mainRegistry();
EntityFreddy.mainRegistry();
@@ -72,7 +78,7 @@ public void PreLoad(FMLPreInitializationEvent PreEvent)
EntityToyBonnie.mainRegistry();
EntityToyChica.mainRegistry();
EntityToyFreddy.mainRegistry();
fnaf2Items.mainRegistry();
FNAFItems.mainRegistry();
TickHandler.mainregistry();
ForgeEventHandler.mainRegistry();
proxy.registerRenderThings();
@@ -0,0 +1,5 @@
package com.fnaf.Client.network;

public class ConfigurationHandler {
public boolean sayThanksMessage;
}
@@ -1,6 +1,6 @@
package com.fnaf.Client.utils;

import com.fnaf.Common.Items.fnaf2Items;
import com.fnaf.Common.Items.FNAFItems;

import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.init.Items;
@@ -10,15 +10,17 @@

public class CreativeTabFNAF extends CreativeTabs {

public CreativeTabFNAF(int id, String unlocalizedName) {

super(id, unlocalizedName);
}
public CreativeTabFNAF(String label) {
super(label);
this.setBackgroundImageName("fnaf.png");
}



@SideOnly(Side.CLIENT)
public Item getTabIconItem() {

//return Item.getItemFromBlock(Blocks.chest);
return fnaf2Items.BBPlushie;
return FNAFItems.BBPlushie;
}
}
@@ -1,6 +1,6 @@
package com.fnaf.Client.utils;

import com.fnaf.Common.Items.fnaf2Items;
import com.fnaf.Common.Items.FNAFItems;

import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.init.Items;
@@ -10,15 +10,15 @@

public class CreativeTabFNAF2 extends CreativeTabs {

public CreativeTabFNAF2(int id, String unlocalizedName) {
super(id, unlocalizedName);
}
public CreativeTabFNAF2(String label) {
super(label);
this.setBackgroundImageName("fnaf.png");
}

@SideOnly(Side.CLIENT)
public Item getTabIconItem() {

//return Item.getItemFromBlock(Blocks.chest);
return fnaf2Items.FreddysMask;
return FNAFItems.FreddysMask;
}
}
@@ -1,6 +1,6 @@
package com.fnaf.Client.utils;

import com.fnaf.Common.Items.fnaf2Items;
import com.fnaf.Common.Items.FNAFItems;

import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.init.Items;
@@ -10,15 +10,15 @@

public class CreativeTabFNAF3 extends CreativeTabs {

public CreativeTabFNAF3(int id, String unlocalizedName) {
super(id, unlocalizedName);
}
public CreativeTabFNAF3(String label) {
super(label);
this.setBackgroundImageName("fnaf.png");
}

@SideOnly(Side.CLIENT)
public Item getTabIconItem() {

//return Item.getItemFromBlock(Blocks.chest);
return fnaf2Items.Knife;
return FNAFItems.Knife;
}
}
@@ -15,6 +15,7 @@ public void onEntitySpawn(EntityJoinWorldEvent event)
{
if(event.entity instanceof EntitySlime || event.entity instanceof EntityZombie || event.entity instanceof EntitySpider) {
event.setCanceled(true);

}
}

@@ -2,7 +2,7 @@

import java.util.Random;

import com.fnaf.Common.Items.fnaf2Items;
import com.fnaf.Common.Items.FNAFItems;

import net.minecraft.block.Block;
import net.minecraft.world.World;
@@ -34,9 +34,9 @@ public void generate(Random random, int chunkX, int chunkZ, World world, IChunkP
*/
public void generateOverworld(World world, Random random, int chunkX, int chunkZ)
{
generateOre(3, fnaf2Items.plasticOres, 5, 8, world, random, chunkX, chunkZ);
generateOre(6, fnaf2Items.SteelOres, 6, 40, world, random, chunkX, chunkZ);
generateOre(100, fnaf2Items.Loot, 100, 100, world, random, chunkX, chunkZ);
generateOre(3, FNAFItems.plasticOres, 5, 8, world, random, chunkX, chunkZ);
generateOre(6, FNAFItems.SteelOres, 6, 40, world, random, chunkX, chunkZ);
generateOre(100, FNAFItems.Loot, 100, 100, world, random, chunkX, chunkZ);
}

public void generateNether(World world, Random random, int chunkX, int chunkZ)

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

@@ -0,0 +1,35 @@
package com.fnaf.Common.Blocks;

import net.minecraft.block.Block;
import net.minecraft.block.material.Material;

public class Camera extends Block
{
public Camera()
{
super(Material.cactus);
this.setHardness(200F);
this.setResistance(1500F);
this.setHarvestLevel("pickaxe", 3);
}



public boolean renderAsNormalBlock()
{
return false;
}

public boolean isOpaqueCube()
{
return false;
}

public int getRenderType()
{
return -1;

}

}

@@ -0,0 +1,119 @@
// Date: 5/23/2015 9:22:38 AM
// Template version 1.1
// Java generated by Techne
// Keep in mind that you still need to fill in some blanks
// - ZeuX






package com.fnaf.Common.Blocks.Models;

import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;

public class ModelBBPlushie extends ModelBase
{
//fields
ModelRenderer head;
ModelRenderer body;
ModelRenderer rightarm;
ModelRenderer leftarm;
ModelRenderer rightleg;
ModelRenderer leftleg;
ModelRenderer hatthingy;
ModelRenderer balloon1;
ModelRenderer balloon2;

public ModelBBPlushie()
{
textureWidth = 64;
textureHeight = 32;

head = new ModelRenderer(this, 33, 1);
head.addBox(-4F, -8F, -4F, 3, 3, 3);
head.setRotationPoint(2F, 23F, 1F);
head.setTextureSize(64, 32);
head.mirror = true;
setRotation(head, 0F, 0F, 0F);
body = new ModelRenderer(this, 34, 8);
body.addBox(-4F, 0F, -2F, 3, 4, 2);
body.setRotationPoint(2F, 18F, 0F);
body.setTextureSize(64, 32);
body.mirror = true;
setRotation(body, 0F, 0F, 0F);
rightarm = new ModelRenderer(this, 47, 9);
rightarm.addBox(-3F, -2F, -2F, 3, 1, 1);
rightarm.setRotationPoint(-2F, 20F, 0F);
rightarm.setTextureSize(64, 32);
rightarm.mirror = true;
setRotation(rightarm, 0F, 0F, 0F);
leftarm = new ModelRenderer(this, 27, 9);
leftarm.addBox(-1F, -2F, -2F, 1, 3, 1);
leftarm.setRotationPoint(2F, 20F, 0F);
leftarm.setTextureSize(64, 32);
leftarm.mirror = true;
setRotation(leftarm, 0F, 0F, 0F);
rightleg = new ModelRenderer(this, 45, 16);
rightleg.addBox(-2F, 0F, -2F, 1, 2, 1);
rightleg.setRotationPoint(0F, 22F, 0F);
rightleg.setTextureSize(64, 32);
rightleg.mirror = true;
setRotation(rightleg, 0F, 0F, 0F);
leftleg = new ModelRenderer(this, 29, 16);
leftleg.addBox(-2F, 0F, -2F, 1, 2, 1);
leftleg.setRotationPoint(2F, 22F, 0F);
leftleg.setTextureSize(64, 32);
leftleg.mirror = true;
setRotation(leftleg, 0F, 0F, 0F);
hatthingy = new ModelRenderer(this, 47, 3);
hatthingy.addBox(0F, 0F, 0F, 1, 1, 1);
hatthingy.setRotationPoint(-1F, 14F, -2F);
hatthingy.setTextureSize(64, 32);
hatthingy.mirror = true;
setRotation(hatthingy, 0F, 0F, 0F);
balloon1 = new ModelRenderer(this, 6, 16);
balloon1.addBox(0F, 0F, 0F, 1, 2, 1);
balloon1.setRotationPoint(-5F, 16F, -2F);
balloon1.setTextureSize(64, 32);
balloon1.mirror = true;
setRotation(balloon1, 0F, 0F, 0F);
balloon2 = new ModelRenderer(this, 2, 5);
balloon2.addBox(0F, 0F, 0F, 3, 3, 3);
balloon2.setRotationPoint(-6F, 13F, -3F);
balloon2.setTextureSize(64, 32);
balloon2.mirror = true;
setRotation(balloon2, 0F, 0F, 0F);
}

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);
head.render(f5);
body.render(f5);
rightarm.render(f5);
leftarm.render(f5);
rightleg.render(f5);
leftleg.render(f5);
hatthingy.render(f5);
balloon1.render(f5);
balloon2.render(f5);
}

private void setRotation(ModelRenderer model, float x, float y, float z)
{
model.rotateAngleX = x;
model.rotateAngleY = y;
model.rotateAngleZ = z;
}

public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5)
{
super.setRotationAngles(f, f1, f2, f3, f4, f5, null);
}

}
@@ -0,0 +1,111 @@
// Date: 5/23/2015 9:22:47 AM
// Template version 1.1
// Java generated by Techne
// Keep in mind that you still need to fill in some blanks
// - ZeuX






package com.fnaf.Common.Blocks.Models;

import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;

public class ModelBonniePlushie extends ModelBase
{
//fields
ModelRenderer head;
ModelRenderer body;
ModelRenderer rightarm;
ModelRenderer rightleg;
ModelRenderer leftleg;
ModelRenderer leftear;
ModelRenderer rightear;
ModelRenderer leftarm;

public ModelBonniePlushie()
{
textureWidth = 64;
textureHeight = 32;

head = new ModelRenderer(this, 31, 3);
head.addBox(-4F, -8F, -4F, 3, 3, 3);
head.setRotationPoint(2F, 24F, 3F);
head.setTextureSize(64, 32);
head.mirror = true;
setRotation(head, 0F, 0F, 0F);
body = new ModelRenderer(this, 32, 11);
body.addBox(-4F, 0F, -2F, 3, 4, 2);
body.setRotationPoint(2F, 19F, 2F);
body.setTextureSize(64, 32);
body.mirror = true;
setRotation(body, 0F, 0F, 0F);
rightarm = new ModelRenderer(this, 43, 12);
rightarm.addBox(-3F, -2F, -2F, 1, 3, 1);
rightarm.setRotationPoint(-1F, 22F, 2F);
rightarm.setTextureSize(64, 32);
rightarm.mirror = true;
setRotation(rightarm, 0F, 0F, 0.5585054F);
rightleg = new ModelRenderer(this, 39, 18);
rightleg.addBox(-2F, 0F, -2F, 1, 1, 4);
rightleg.setRotationPoint(0F, 23F, 0F);
rightleg.setTextureSize(64, 32);
rightleg.mirror = true;
setRotation(rightleg, 0F, 0.0872665F, 0F);
leftleg = new ModelRenderer(this, 26, 18);
leftleg.addBox(-2F, 0F, -2F, 1, 1, 4);
leftleg.setRotationPoint(2F, 23F, 0F);
leftleg.setTextureSize(64, 32);
leftleg.mirror = true;
setRotation(leftleg, 0F, -0.0872665F, 0F);
leftear = new ModelRenderer(this, 25, 4);
leftear.addBox(0F, 0F, 0F, 1, 3, 1);
leftear.setRotationPoint(0F, 13F, 0F);
leftear.setTextureSize(64, 32);
leftear.mirror = true;
setRotation(leftear, 0F, 0F, 0F);
rightear = new ModelRenderer(this, 45, 4);
rightear.addBox(0F, 0F, 0F, 1, 3, 1);
rightear.setRotationPoint(-2F, 13F, 0F);
rightear.setTextureSize(64, 32);
rightear.mirror = true;
setRotation(rightear, 0F, 0F, 0F);
leftarm = new ModelRenderer(this, 26, 12);
leftarm.addBox(0F, 0F, 0F, 1, 3, 1);
leftarm.setRotationPoint(1F, 19F, 0F);
leftarm.setTextureSize(64, 32);
leftarm.mirror = true;
setRotation(leftarm, 0F, 0F, -0.3839724F);
}

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);
head.render(f5);
body.render(f5);
rightarm.render(f5);
rightleg.render(f5);
leftleg.render(f5);
leftear.render(f5);
rightear.render(f5);
leftarm.render(f5);
}

private void setRotation(ModelRenderer model, float x, float y, float z)
{
model.rotateAngleX = x;
model.rotateAngleY = y;
model.rotateAngleZ = z;
}

public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5)
{
super.setRotationAngles(f, f1, f2, f3, f4, f5, null);
}

}
@@ -0,0 +1,109 @@
package com.fnaf.Common.Blocks.Models;

import net.minecraft.client.model.ModelBase;
//Exported java file
//Keep in mind that you still need to fill in some blanks
// - ZeuX
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;

public class ModelCamera extends ModelBase
{
public ModelCamera()
{
Shape1 = new ModelRenderer(this, 0, 15);
Shape1.addBox(-1F, -1F, -6F, 2, 2, 6, 0F);
Shape1.setRotationPoint(0F, 18F, 7F);
Shape1.rotateAngleX = 0F;
Shape1.rotateAngleY = 0F;
Shape1.rotateAngleZ = 0F;
Shape1.mirror = false;
Shape2 = new ModelRenderer(this, 0, 26);
Shape2.addBox(-1.533333F, -2.533333F, -1F, 3, 5, 1, 0F);
Shape2.setRotationPoint(0F, 18F, 8F);
Shape2.rotateAngleX = 0F;
Shape2.rotateAngleY = 0F;
Shape2.rotateAngleZ = 0F;
Shape2.mirror = false;
Shape3 = new ModelRenderer(this, 15, 26);
Shape3.addBox(-1F, -3F, -1F, 2, 4, 2, 0F);
Shape3.setRotationPoint(0F, 17F, 1.533333F);
Shape3.rotateAngleX = 0F;
Shape3.rotateAngleY = 0F;
Shape3.rotateAngleZ = 0F;
Shape3.mirror = false;
Shape4 = new ModelRenderer(this, 29, 18);
Shape4.addBox(-2F, -4F, -5.466667F, 4, 4, 10, 0F);
Shape4.setRotationPoint(0F, 16F, 2F);
Shape4.rotateAngleX = 0.1570796F;
Shape4.rotateAngleY = 0F;
Shape4.rotateAngleZ = 0F;
Shape4.mirror = false;
Shape5 = new ModelRenderer(this, 31, 5);
Shape5.addBox(-2.5F, -4.333333F, -6F, 5, 1, 11, 0F);
Shape5.setRotationPoint(0F, 16F, 2F);
Shape5.rotateAngleX = 0.1570796F;
Shape5.rotateAngleY = 0F;
Shape5.rotateAngleZ = 0F;
Shape5.mirror = false;
Shape6 = new ModelRenderer(this, 0, 0);
Shape6.addBox(-2.5F, -3.333333F, -6F, 1, 1, 11, 0F);
Shape6.setRotationPoint(0F, 16F, 2F);
Shape6.rotateAngleX = 0.1570796F;
Shape6.rotateAngleY = 0F;
Shape6.rotateAngleZ = 0F;
Shape6.mirror = false;
Shape7 = new ModelRenderer(this, 17, 0);
Shape7.addBox(-2.5F, -2.333333F, -6F, 1, 1, 8, 0F);
Shape7.setRotationPoint(0F, 16F, 2F);
Shape7.rotateAngleX = 0.1570796F;
Shape7.rotateAngleY = 0F;
Shape7.rotateAngleZ = 0F;
Shape7.mirror = false;
Shape8 = new ModelRenderer(this, 0, 0);
Shape8.addBox(1.5F, -3.333333F, -6F, 1, 1, 11, 0F);
Shape8.setRotationPoint(0F, 16F, 2F);
Shape8.rotateAngleX = 0.1570796F;
Shape8.rotateAngleY = 0F;
Shape8.rotateAngleZ = 0F;
Shape8.mirror = false;
Shape9 = new ModelRenderer(this, 17, 0);
Shape9.addBox(1.5F, -2.333333F, -6F, 1, 1, 8, 0F);
Shape9.setRotationPoint(0F, 16F, 2F);
Shape9.rotateAngleX = 0.1570796F;
Shape9.rotateAngleY = 0F;
Shape9.rotateAngleZ = 0F;
Shape9.mirror = false;
}

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);
Shape1.render(f5);
Shape2.render(f5);
Shape3.render(f5);
Shape4.render(f5);
Shape5.render(f5);
Shape6.render(f5);
Shape7.render(f5);
Shape8.render(f5);
Shape9.render(f5);
}

public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5)
{
super.setRotationAngles(f, f1, f2, f3, f4, f5, null);
}

//fields
public ModelRenderer Shape1;
public ModelRenderer Shape2;
public ModelRenderer Shape3;
public ModelRenderer Shape4;
public ModelRenderer Shape5;
public ModelRenderer Shape6;
public ModelRenderer Shape7;
public ModelRenderer Shape8;
public ModelRenderer Shape9;
}
@@ -0,0 +1,111 @@
// Date: 5/23/2015 9:23:20 AM
// Template version 1.1
// Java generated by Techne
// Keep in mind that you still need to fill in some blanks
// - ZeuX






package com.fnaf.Common.Blocks.Models;

import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;

public class ModelChicaPlushie extends ModelBase
{
//fields
ModelRenderer head;
ModelRenderer body;
ModelRenderer rightarm;
ModelRenderer leftarm;
ModelRenderer leftleg;
ModelRenderer rightleg;
ModelRenderer hairstrand1;
ModelRenderer hairstrand2;

public ModelChicaPlushie()
{
textureWidth = 64;
textureHeight = 32;

head = new ModelRenderer(this, 30, 1);
head.addBox(-4F, -8F, -4F, 3, 3, 3);
head.setRotationPoint(2F, 24F, 3F);
head.setTextureSize(64, 32);
head.mirror = true;
setRotation(head, 0F, 0F, 0F);
body = new ModelRenderer(this, 31, 9);
body.addBox(-4F, 0F, -2F, 3, 4, 2);
body.setRotationPoint(2F, 19F, 2F);
body.setTextureSize(64, 32);
body.mirror = true;
setRotation(body, 0F, 0F, 0F);
rightarm = new ModelRenderer(this, 44, 11);
rightarm.addBox(-3F, -2F, -2F, 1, 3, 1);
rightarm.setRotationPoint(-2F, 22F, 2F);
rightarm.setTextureSize(64, 32);
rightarm.mirror = true;
setRotation(rightarm, 0F, 0F, 0.7853982F);
leftarm = new ModelRenderer(this, 25, 10);
leftarm.addBox(-1F, -2F, -2F, 1, 3, 1);
leftarm.setRotationPoint(3F, 20F, 2F);
leftarm.setTextureSize(64, 32);
leftarm.mirror = true;
setRotation(leftarm, 0F, 0F, -0.6632251F);
leftleg = new ModelRenderer(this, 26, 16);
leftleg.addBox(-2F, 0F, -2F, 1, 1, 4);
leftleg.setRotationPoint(2F, 23F, 0F);
leftleg.setTextureSize(64, 32);
leftleg.mirror = true;
setRotation(leftleg, 0F, -0.0872665F, 0F);
rightleg = new ModelRenderer(this, 38, 16);
rightleg.addBox(0F, 0F, 0F, 1, 1, 4);
rightleg.setRotationPoint(-2F, 23F, -2F);
rightleg.setTextureSize(64, 32);
rightleg.mirror = true;
setRotation(rightleg, 0F, 0.0872665F, 0F);
hairstrand1 = new ModelRenderer(this, 53, 16);
hairstrand1.addBox(0F, 0F, 0F, 1, 2, 1);
hairstrand1.setRotationPoint(-1F, 14F, 0F);
hairstrand1.setTextureSize(64, 32);
hairstrand1.mirror = true;
setRotation(hairstrand1, 0F, 0F, 0F);
hairstrand2 = new ModelRenderer(this, 59, 16);
hairstrand2.addBox(0F, 0F, 0F, 1, 1, 1);
hairstrand2.setRotationPoint(-2F, 15F, 1F);
hairstrand2.setTextureSize(64, 32);
hairstrand2.mirror = true;
setRotation(hairstrand2, 0F, 0F, 0F);
}

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);
head.render(f5);
body.render(f5);
rightarm.render(f5);
leftarm.render(f5);
leftleg.render(f5);
rightleg.render(f5);
hairstrand1.render(f5);
hairstrand2.render(f5);
}

private void setRotation(ModelRenderer model, float x, float y, float z)
{
model.rotateAngleX = x;
model.rotateAngleY = y;
model.rotateAngleZ = z;
}

public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5)
{
super.setRotationAngles(f, f1, f2, f3, f4, f5, null);
}

}
@@ -0,0 +1,166 @@
// Date: 5/23/2015 9:24:23 AM
// Template version 1.1
// Java generated by Techne
// Keep in mind that you still need to fill in some blanks
// - ZeuX






package com.fnaf.Common.Blocks.Models;

import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;

public class ModelDesk extends ModelBase
{
//fields
ModelRenderer top;
ModelRenderer leg1;
ModelRenderer leg2;
ModelRenderer leg3;
ModelRenderer leg4;
ModelRenderer paperball1;
ModelRenderer paperball2;
ModelRenderer paperball3;
ModelRenderer fan1;
ModelRenderer fan2;
ModelRenderer fan3;
ModelRenderer cup;
ModelRenderer straw1;
ModelRenderer straw2;

public ModelDesk()
{
textureWidth = 128;
textureHeight = 32;

top = new ModelRenderer(this, 5, 0);
top.addBox(-4F, -8F, -4F, 45, 3, 13);
top.setRotationPoint(-19F, 21F, -1F);
top.setTextureSize(128, 32);
top.mirror = true;
setRotation(top, 0F, 0F, 0F);
leg1 = new ModelRenderer(this, 13, 18);
leg1.addBox(0F, 0F, 0F, 2, 8, 2);
leg1.setRotationPoint(20F, 16F, -5F);
leg1.setTextureSize(128, 32);
leg1.mirror = true;
setRotation(leg1, 0F, 0F, 0F);
leg2 = new ModelRenderer(this, 13, 18);
leg2.addBox(0F, 0F, 0F, 2, 8, 2);
leg2.setRotationPoint(20F, 16F, 6F);
leg2.setTextureSize(128, 32);
leg2.mirror = true;
setRotation(leg2, 0F, 0F, 0F);
leg3 = new ModelRenderer(this, 13, 18);
leg3.addBox(0F, 0F, 0F, 2, 8, 2);
leg3.setRotationPoint(-23F, 16F, -5F);
leg3.setTextureSize(128, 32);
leg3.mirror = true;
setRotation(leg3, 0F, 0F, 0F);
leg4 = new ModelRenderer(this, 13, 18);
leg4.addBox(0F, 0F, 0F, 2, 8, 2);
leg4.setRotationPoint(-23F, 16F, 6F);
leg4.setTextureSize(128, 32);
leg4.mirror = true;
setRotation(leg4, 0F, 0F, 0F);
paperball1 = new ModelRenderer(this, 109, 6);
paperball1.addBox(0F, 0F, 0F, 2, 2, 2);
paperball1.setRotationPoint(-9F, 11F, 3F);
paperball1.setTextureSize(128, 32);
paperball1.mirror = true;
setRotation(paperball1, 0F, 0F, 0F);
paperball2 = new ModelRenderer(this, 117, 2);
paperball2.addBox(0F, 0F, 0F, 2, 2, 2);
paperball2.setRotationPoint(-13F, 11F, 5F);
paperball2.setTextureSize(128, 32);
paperball2.mirror = true;
setRotation(paperball2, 0F, 0F, 0F);
paperball3 = new ModelRenderer(this, 119, 8);
paperball3.addBox(0F, 0F, 0F, 2, 2, 2);
paperball3.setRotationPoint(7F, 11F, -3F);
paperball3.setTextureSize(128, 32);
paperball3.mirror = true;
setRotation(paperball3, 0F, 0F, 0F);
fan1 = new ModelRenderer(this, 101, 21);
fan1.addBox(0F, 0F, 0F, 5, 1, 3);
fan1.setRotationPoint(7F, 12F, 3F);
fan1.setTextureSize(128, 32);
fan1.mirror = true;
setRotation(fan1, 0F, 0F, 0F);
fan2 = new ModelRenderer(this, 70, 20);
fan2.addBox(0F, 0F, 0F, 1, 2, 1);
fan2.setRotationPoint(9F, 10F, 4F);
fan2.setTextureSize(128, 32);
fan2.mirror = true;
setRotation(fan2, 0F, 0F, 0F);
fan3 = new ModelRenderer(this, 78, 19);
fan3.addBox(0F, 0F, 0F, 6, 6, 3);
fan3.setRotationPoint(6.5F, 4F, 3F);
fan3.setTextureSize(128, 32);
fan3.mirror = true;
setRotation(fan3, 0F, 0F, 0F);
cup = new ModelRenderer(this, 0, 4);
cup.addBox(0F, 0F, 0F, 3, 5, 3);
cup.setRotationPoint(16F, 8F, 0F);
cup.setTextureSize(128, 32);
cup.mirror = true;
setRotation(cup, 0F, 0F, 0F);
straw1 = new ModelRenderer(this, 14, 9);
straw1.addBox(0F, 0F, 0F, 1, 1, 1);
straw1.setRotationPoint(17F, 7F, 1F);
straw1.setTextureSize(128, 32);
straw1.mirror = true;
setRotation(straw1, 0F, 0F, 0F);
straw2 = new ModelRenderer(this, 10, 2);
straw2.addBox(0F, 0F, 0F, 3, 1, 1);
straw2.setRotationPoint(16.9F, 6.1F, 1F);
straw2.setTextureSize(128, 32);
straw2.mirror = true;
setRotation(straw2, 0F, 0F, -0.0698132F);
fan1 = new ModelRenderer(this, 44, 24);
fan1.addBox(0F, 0F, 0F, 5, 1, 3);
fan1.setRotationPoint(5F, 12F, 0F);
fan1.setTextureSize(128, 32);
fan1.mirror = true;
setRotation(fan1, 0F, 0.1919862F, 0F);
}

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);
top.render(f5);
leg1.render(f5);
leg2.render(f5);
leg3.render(f5);
leg4.render(f5);
paperball1.render(f5);
paperball2.render(f5);
paperball3.render(f5);
fan1.render(f5);
fan2.render(f5);
fan3.render(f5);
cup.render(f5);
straw1.render(f5);
straw2.render(f5);
fan1.render(f5);
}

private void setRotation(ModelRenderer model, float x, float y, float z)
{
model.rotateAngleX = x;
model.rotateAngleY = y;
model.rotateAngleZ = z;
}

public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5)
{
super.setRotationAngles(f, f1, f2, f3, f4, f5, null);
}

}

Large diffs are not rendered by default.

@@ -0,0 +1,119 @@
// Date: 5/23/2015 9:25:53 AM
// Template version 1.1
// Java generated by Techne
// Keep in mind that you still need to fill in some blanks
// - ZeuX






package com.fnaf.Common.Blocks.Models;

import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;

public class ModelFreddyPlushie extends ModelBase
{
//fields
ModelRenderer head;
ModelRenderer body;
ModelRenderer rightarm;
ModelRenderer leftarm;
ModelRenderer rightleg;
ModelRenderer leftleg;
ModelRenderer leftear;
ModelRenderer rightear;
ModelRenderer hat;

public ModelFreddyPlushie()
{
textureWidth = 64;
textureHeight = 32;

head = new ModelRenderer(this, 34, 2);
head.addBox(-4F, -8F, -4F, 3, 3, 3);
head.setRotationPoint(2F, 24F, 3F);
head.setTextureSize(64, 32);
head.mirror = true;
setRotation(head, 0F, 0F, 0F);
body = new ModelRenderer(this, 35, 9);
body.addBox(-4F, 0F, -2F, 3, 4, 2);
body.setRotationPoint(2F, 19F, 2F);
body.setTextureSize(64, 32);
body.mirror = true;
setRotation(body, 0F, 0F, 0F);
rightarm = new ModelRenderer(this, 49, 10);
rightarm.addBox(-3F, -2F, -2F, 1, 3, 1);
rightarm.setRotationPoint(-2F, 22F, 2F);
rightarm.setTextureSize(64, 32);
rightarm.mirror = true;
setRotation(rightarm, 0F, 0F, 0.7853982F);
leftarm = new ModelRenderer(this, 30, 11);
leftarm.addBox(-1F, -2F, -2F, 1, 3, 1);
leftarm.setRotationPoint(3F, 20F, 2F);
leftarm.setTextureSize(64, 32);
leftarm.mirror = true;
setRotation(leftarm, 0F, 0F, -0.6283185F);
rightleg = new ModelRenderer(this, 48, 16);
rightleg.addBox(-2F, 0F, -2F, 1, 1, 4);
rightleg.setRotationPoint(0F, 23F, 0F);
rightleg.setTextureSize(64, 32);
rightleg.mirror = true;
setRotation(rightleg, 0F, 0.0872665F, 0F);
leftleg = new ModelRenderer(this, 28, 16);
leftleg.addBox(-2F, 0F, -2F, 1, 1, 4);
leftleg.setRotationPoint(2F, 23F, 0F);
leftleg.setTextureSize(64, 32);
leftleg.mirror = true;
setRotation(leftleg, 0F, -0.0872665F, 0F);
leftear = new ModelRenderer(this, 28, 4);
leftear.addBox(0F, 0F, 0F, 1, 1, 1);
leftear.setRotationPoint(1F, 15F, 0F);
leftear.setTextureSize(64, 32);
leftear.mirror = true;
setRotation(leftear, 0F, -0.0872665F, -0.0349066F);
rightear = new ModelRenderer(this, 49, 3);
rightear.addBox(0F, 0F, 0F, 1, 1, 1);
rightear.setRotationPoint(-3F, 15F, 0F);
rightear.setTextureSize(64, 32);
rightear.mirror = true;
setRotation(rightear, 0F, -0.0349066F, 0.0349066F);
hat = new ModelRenderer(this, 28, 23);
hat.addBox(0F, 0F, 0F, 1, 2, 1);
hat.setRotationPoint(-1F, 14F, 0F);
hat.setTextureSize(64, 32);
hat.mirror = true;
setRotation(hat, 0F, -0.0872665F, 0.0349066F);
}

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);
head.render(f5);
body.render(f5);
rightarm.render(f5);
leftarm.render(f5);
rightleg.render(f5);
leftleg.render(f5);
leftear.render(f5);
rightear.render(f5);
hat.render(f5);
}

private void setRotation(ModelRenderer model, float x, float y, float z)
{
model.rotateAngleX = x;
model.rotateAngleY = y;
model.rotateAngleZ = z;
}

public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5)
{
super.setRotationAngles(f, f1, f2, f3, f4, f5, null);
}

}
@@ -0,0 +1,118 @@
// Date: 5/23/2015 9:26:27 AM
// Template version 1.1
// Java generated by Techne
// Keep in mind that you still need to fill in some blanks
// - ZeuX






package com.fnaf.Common.Blocks.Models;

import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;

public class ModelGFPlushie extends ModelBase
{
//fields
ModelRenderer head;
ModelRenderer body;
ModelRenderer rightarm;
ModelRenderer leftarm;
ModelRenderer rightleg;
ModelRenderer leftleg;
ModelRenderer leftear;
ModelRenderer rightear;
ModelRenderer hat;

{
textureWidth = 64;
textureHeight = 32;

head = new ModelRenderer(this, 34, 2);
head.addBox(-4F, -8F, -4F, 3, 3, 3);
head.setRotationPoint(2F, 24F, 3F);
head.setTextureSize(64, 32);
head.mirror = true;
setRotation(head, 0F, 0F, 0F);
body = new ModelRenderer(this, 35, 9);
body.addBox(-4F, 0F, -2F, 3, 4, 2);
body.setRotationPoint(2F, 19F, 2F);
body.setTextureSize(64, 32);
body.mirror = true;
setRotation(body, 0F, 0F, 0F);
rightarm = new ModelRenderer(this, 49, 10);
rightarm.addBox(-3F, -2F, -2F, 1, 3, 1);
rightarm.setRotationPoint(-2F, 22F, 2F);
rightarm.setTextureSize(64, 32);
rightarm.mirror = true;
setRotation(rightarm, 0F, 0F, 0.7853982F);
leftarm = new ModelRenderer(this, 30, 11);
leftarm.addBox(-1F, -2F, -2F, 1, 3, 1);
leftarm.setRotationPoint(3F, 20F, 2F);
leftarm.setTextureSize(64, 32);
leftarm.mirror = true;
setRotation(leftarm, 0F, 0F, -0.6283185F);
rightleg = new ModelRenderer(this, 48, 16);
rightleg.addBox(-2F, 0F, -2F, 1, 1, 4);
rightleg.setRotationPoint(0F, 23F, 0F);
rightleg.setTextureSize(64, 32);
rightleg.mirror = true;
setRotation(rightleg, 0F, 0.0872665F, 0F);
leftleg = new ModelRenderer(this, 28, 16);
leftleg.addBox(-2F, 0F, -2F, 1, 1, 4);
leftleg.setRotationPoint(2F, 23F, 0F);
leftleg.setTextureSize(64, 32);
leftleg.mirror = true;
setRotation(leftleg, 0F, -0.0872665F, 0F);
leftear = new ModelRenderer(this, 28, 4);
leftear.addBox(0F, 0F, 0F, 1, 1, 1);
leftear.setRotationPoint(1F, 15F, 0F);
leftear.setTextureSize(64, 32);
leftear.mirror = true;
setRotation(leftear, 0F, -0.0872665F, -0.0349066F);
rightear = new ModelRenderer(this, 49, 3);
rightear.addBox(0F, 0F, 0F, 1, 1, 1);
rightear.setRotationPoint(-3F, 15F, 0F);
rightear.setTextureSize(64, 32);
rightear.mirror = true;
setRotation(rightear, 0F, -0.0349066F, 0.0349066F);
hat = new ModelRenderer(this, 28, 23);
hat.addBox(0F, 0F, 0F, 1, 2, 1);
hat.setRotationPoint(-1F, 14F, 0F);
hat.setTextureSize(64, 32);
hat.mirror = true;
setRotation(hat, 0F, -0.0872665F, 0.0349066F);
}

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);
head.render(f5);
body.render(f5);
rightarm.render(f5);
leftarm.render(f5);
rightleg.render(f5);
leftleg.render(f5);
leftear.render(f5);
rightear.render(f5);
hat.render(f5);
}

private void setRotation(ModelRenderer model, float x, float y, float z)
{
model.rotateAngleX = x;
model.rotateAngleY = y;
model.rotateAngleZ = z;
}

public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5)
{
super.setRotationAngles(f, f1, f2, f3, f4, f5, null);
}

}
@@ -0,0 +1,87 @@
// Date: 5/23/2015 9:26:38 AM
// Template version 1.1
// Java generated by Techne
// Keep in mind that you still need to fill in some blanks
// - ZeuX






package com.fnaf.Common.Blocks.Models;

import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;

public class ModelPoop extends ModelBase
{
//fields
ModelRenderer Shape1;
ModelRenderer Shape2;
ModelRenderer Shape3;
ModelRenderer Shape4;
ModelRenderer Shape5;

public ModelPoop()
{
textureWidth = 64;
textureHeight = 32;

Shape1 = new ModelRenderer(this, 0, 0);
Shape1.addBox(-2F, -1F, -1.5F, 4, 1, 3);
Shape1.setRotationPoint(0F, 24F, 0F);
Shape1.setTextureSize(64, 32);
Shape1.mirror = true;
setRotation(Shape1, 0F, -0.7853982F, 0F);
Shape2 = new ModelRenderer(this, 0, 0);
Shape2.addBox(-1F, -1F, 1F, 2, 1, 1);
Shape2.setRotationPoint(0F, 24F, 0F);
Shape2.setTextureSize(64, 32);
Shape2.mirror = true;
setRotation(Shape2, 0F, -0.7853982F, 0F);
Shape3 = new ModelRenderer(this, 0, 0);
Shape3.addBox(-1.5F, -1F, -2F, 3, 1, 1);
Shape3.setRotationPoint(0F, 24F, 0F);
Shape3.setTextureSize(64, 32);
Shape3.mirror = true;
setRotation(Shape3, 0F, -0.7853982F, 0F);
Shape4 = new ModelRenderer(this, 0, 0);
Shape4.addBox(-1F, -1.533333F, -1F, 2, 1, 2);
Shape4.setRotationPoint(0F, 24F, 0F);
Shape4.setTextureSize(64, 32);
Shape4.mirror = true;
setRotation(Shape4, 0F, 0F, 0F);
Shape5 = new ModelRenderer(this, 0, 0);
Shape5.addBox(-0.4666667F, -2.2F, -0.4F, 1, 1, 1);
Shape5.setRotationPoint(0F, 24F, 0F);
Shape5.setTextureSize(64, 32);
Shape5.mirror = true;
setRotation(Shape5, 0F, 0F, 0F);
}

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);
Shape1.render(f5);
Shape2.render(f5);
Shape3.render(f5);
Shape4.render(f5);
Shape5.render(f5);
}

private void setRotation(ModelRenderer model, float x, float y, float z)
{
model.rotateAngleX = x;
model.rotateAngleY = y;
model.rotateAngleZ = z;
}

public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5)
{
super.setRotationAngles(f, f1, f2, f3, f4, f5, null);
}

}
@@ -0,0 +1,31 @@
package com.fnaf.Common.Blocks.render;

import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.ResourceLocation;

import org.lwjgl.opengl.GL11;

import com.fnaf.Client.main.Strings;
import com.fnaf.Common.Blocks.Models.ModelCamera;
import com.fnaf.Common.Blocks.Models.ModelLootBox;

public class RenderCamera extends TileEntitySpecialRenderer{

ResourceLocation texture = new ResourceLocation(Strings.MODID + ":" + "textures/blocks/models/camera.png");


private ModelCamera model;

public RenderCamera() {
this.model = model;

}

@Override
public void renderTileEntityAt(TileEntity p_147500_1_, double p_147500_2_, double p_147500_4_, double p_147500_6_, float p_147500_8_) {
GL11.glPushMatrix();
this.bindTexture(texture);
}

}
@@ -0,0 +1,7 @@
package com.fnaf.Common.Blocks.tileEntity;

import net.minecraft.tileentity.TileEntity;

public class TileEntityCamera extends TileEntity{

}
@@ -33,7 +33,7 @@ protected String getDeathSound()
public static void createEntity(Class entityClass, String entityName, int solidColor, int spotColor){
int randomId = EntityRegistry.findGlobalUniqueEntityId();
EntityRegistry.registerGlobalEntityID(entityClass, entityName, randomId);
EntityRegistry.registerModEntity(entityClass, entityName, randomId, com.fnaf.Client.main.mainRegistry.modInstance, 64, 1, true);
EntityRegistry.registerModEntity(entityClass, entityName, randomId, com.fnaf.Client.main.main_fnaf.modInstance, 64, 1, true);
EntityRegistry.addSpawn(entityClass, 2, 0, 1, EnumCreatureType.creature, BiomeGenBase.forest);

createEgg(randomId, solidColor, spotColor);
@@ -2,10 +2,16 @@

import net.minecraft.entity.EntityAgeable;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.EntityAIAttackOnCollide;
import net.minecraft.entity.ai.EntityAIHurtByTarget;
import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
import net.minecraft.entity.ai.EntityAIPanic;
import net.minecraft.entity.ai.EntityAISwimming;
import net.minecraft.entity.ai.EntityAITempt;
import net.minecraft.entity.ai.EntityAIWander;
import net.minecraft.entity.ai.EntityAIWatchClosest;
import net.minecraft.entity.passive.EntityAnimal;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Items;
import net.minecraft.world.World;

@@ -15,10 +21,13 @@ public class EntityWitheredBonnieMob extends EntityAnimal{

public EntityWitheredBonnieMob(World par1World) {
super(par1World);
this.setSize(0.5F, 0.4F);
this.tasks.addTask(0, new EntityAIWander(this, 0.5D));
this.tasks.addTask(1, new EntityAIPanic(this, 2.0D));
this.tasks.addTask(2, new EntityAITempt(this, 0.7D, Items.beef, false));
this.setSize(1F, 1F);
this.tasks.addTask(0, new EntityAISwimming(this));
this.tasks.addTask(2, new EntityAIAttackOnCollide(this, EntityPlayer.class, 1.0D, false));
this.tasks.addTask(7, new EntityAIWander(this, 1.0D));
this.tasks.addTask(8, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
this.targetTasks.addTask(1, new EntityAIHurtByTarget(this, true));
this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 0, true));


}
@@ -29,16 +38,19 @@ public boolean isAIEnabled(){

protected void applyEntityAttributes(){
super.applyEntityAttributes();
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(16.0F);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0D);
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(100.0F);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.15D);
this.getEntityAttribute(SharedMonsterAttributes.attackDamage).setBaseValue(10D);
}

@Override
public EntityAgeable createChild(EntityAgeable p_90011_1_) {

return new EntityWitheredBonnieMob(worldObj);
// TODO Auto-generated method stub
return null;
}





}
@@ -36,7 +36,7 @@ protected String getDeathSound()
public static void createEntity(Class entityClass, String entityName, int solidColor, int spotColor){
int randomId = EntityRegistry.findGlobalUniqueEntityId();
EntityRegistry.registerGlobalEntityID(entityClass, entityName, randomId);
EntityRegistry.registerModEntity(entityClass, entityName, randomId, com.fnaf.Client.main.mainRegistry.modInstance, 64, 1, true);
EntityRegistry.registerModEntity(entityClass, entityName, randomId, com.fnaf.Client.main.main_fnaf.modInstance, 64, 1, true);
EntityRegistry.addSpawn(entityClass, 2, 0, 1, EnumCreatureType.creature, BiomeGenBase.forest);

createEgg(randomId, solidColor, spotColor);
@@ -24,26 +24,23 @@ public class EntityBalloonBoyMob extends EntityMob{

public EntityBalloonBoyMob(World par1World) {
super(par1World);
this.setSize(1F, 1F);
this.tasks.addTask(0, new EntityAISwimming(this));
this.tasks.addTask(2, new EntityAIAttackOnCollide(this, EntityPlayer.class, 1.0D, false));
this.tasks.addTask(7, new EntityAIWander(this, 1.0D));
this.setSize(10F, 10F);
this.tasks.addTask(2, new EntityAIAttackOnCollide(this, EntityPlayer.class, 1.0D, true));
this.tasks.addTask(8, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
this.targetTasks.addTask(1, new EntityAIHurtByTarget(this, true));
this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 0, true));


}

public boolean isAIEnabled(){
return true;
return false;
}

protected void applyEntityAttributes(){
super.applyEntityAttributes();
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(16.0F);
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(100.0F);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.15D);
this.getEntityAttribute(SharedMonsterAttributes.attackDamage).setBaseValue(1D);
this.getEntityAttribute(SharedMonsterAttributes.attackDamage).setBaseValue(10D);
}


@@ -1,13 +1,15 @@
package com.fnaf.Common.Entity.balloonboy;

import com.fnaf.Client.main.Strings;

import net.minecraft.client.model.ModelBase;
import net.minecraft.client.renderer.entity.RenderLiving;
import net.minecraft.entity.Entity;
import net.minecraft.util.ResourceLocation;

public class RenderBalloonBoy extends RenderLiving{

private static final ResourceLocation mobTextures = new ResourceLocation(com.fnaf.Client.main.Strings.MODID + ":textures/models/bb.png");
private static final ResourceLocation mobTextures = new ResourceLocation(Strings.MODID + ":" + "textures/models/bb.png");
private static final String __OBFID = "CL_00000984";

public RenderBalloonBoy(ModelBase par1ModelBase, float par2) {
@@ -33,7 +33,7 @@ protected String getDeathSound()
public static void createEntity(Class entityClass, String entityName, int solidColor, int spotColor){
int randomId = EntityRegistry.findGlobalUniqueEntityId();
EntityRegistry.registerGlobalEntityID(entityClass, entityName, randomId);
EntityRegistry.registerModEntity(entityClass, entityName, randomId, com.fnaf.Client.main.mainRegistry.modInstance, 64, 1, true);
EntityRegistry.registerModEntity(entityClass, entityName, randomId, com.fnaf.Client.main.main_fnaf.modInstance, 64, 1, true);
EntityRegistry.addSpawn(entityClass, 2, 0, 1, EnumCreatureType.creature, BiomeGenBase.forest);

createEgg(randomId, solidColor, spotColor);
@@ -2,35 +2,49 @@

import net.minecraft.entity.EntityAgeable;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.EntityAIAttackOnCollide;
import net.minecraft.entity.ai.EntityAIHurtByTarget;
import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
import net.minecraft.entity.ai.EntityAIPanic;
import net.minecraft.entity.ai.EntityAISwimming;
import net.minecraft.entity.ai.EntityAITempt;
import net.minecraft.entity.ai.EntityAIWander;
import net.minecraft.entity.ai.EntityAIWatchClosest;
import net.minecraft.entity.passive.EntityAnimal;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Items;
import net.minecraft.world.World;

public class EntityBonnieMob extends EntityAnimal{

public EntityBonnieMob(World par1World) {
super(par1World);
this.setSize(0.5F, 0.4F);
this.tasks.addTask(0, new EntityAIWander(this, 0.5D));
this.tasks.addTask(1, new EntityAIPanic(this, 2.0D));
this.tasks.addTask(2, new EntityAITempt(this, 0.7D, Items.beef, false));


public EntityBonnieMob(World par1World) {
super(par1World);
this.setSize(10F, 10F);
this.tasks.addTask(2, new EntityAIAttackOnCollide(this, EntityPlayer.class, 1.0D, true));
this.tasks.addTask(8, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 0, true));


}

public boolean isAIEnabled(){
return false;
}

}

public boolean isAIEnabled(){
return true;
}

protected void applyEntityAttributes(){
super.applyEntityAttributes();
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(16.0F);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0D);
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(100.0F);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.15D);
this.getEntityAttribute(SharedMonsterAttributes.attackDamage).setBaseValue(10D);
}


//Well shit, My Bonnie has a fucken Dog-thingy!


@Override
public EntityAgeable createChild(EntityAgeable p_90011_1_) {

@@ -33,7 +33,7 @@ protected String getDeathSound()
public static void createEntity(Class entityClass, String entityName, int solidColor, int spotColor){
int randomId = EntityRegistry.findGlobalUniqueEntityId();
EntityRegistry.registerGlobalEntityID(entityClass, entityName, randomId);
EntityRegistry.registerModEntity(entityClass, entityName, randomId, com.fnaf.Client.main.mainRegistry.modInstance, 64, 1, true);
EntityRegistry.registerModEntity(entityClass, entityName, randomId, com.fnaf.Client.main.main_fnaf.modInstance, 64, 1, true);
EntityRegistry.addSpawn(entityClass, 2, 0, 1, EnumCreatureType.creature, BiomeGenBase.forest);

createEgg(randomId, solidColor, spotColor);
@@ -2,33 +2,39 @@

import net.minecraft.entity.EntityAgeable;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.EntityAIAttackOnCollide;
import net.minecraft.entity.ai.EntityAIHurtByTarget;
import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
import net.minecraft.entity.ai.EntityAIPanic;
import net.minecraft.entity.ai.EntityAISwimming;
import net.minecraft.entity.ai.EntityAITempt;
import net.minecraft.entity.ai.EntityAIWander;
import net.minecraft.entity.ai.EntityAIWatchClosest;
import net.minecraft.entity.passive.EntityAnimal;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Items;
import net.minecraft.world.World;

public class EntityChicaMob extends EntityAnimal{

public EntityChicaMob(World par1World) {
super(par1World);
this.setSize(0.5F, 0.4F);
this.tasks.addTask(0, new EntityAIWander(this, 0.5D));
this.tasks.addTask(1, new EntityAIPanic(this, 2.0D));
this.tasks.addTask(2, new EntityAITempt(this, 0.7D, Items.beef, false));
this.setSize(10F, 10F);
this.tasks.addTask(2, new EntityAIAttackOnCollide(this, EntityPlayer.class, 1.0D, true));
this.tasks.addTask(8, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 0, true));


}

public boolean isAIEnabled(){
return true;
}

return false;
}
protected void applyEntityAttributes(){
super.applyEntityAttributes();
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(16.0F);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0D);
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(100.0F);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.15D);
this.getEntityAttribute(SharedMonsterAttributes.attackDamage).setBaseValue(10D);
}

@Override
@@ -33,7 +33,7 @@ protected String getDeathSound()
public static void createEntity(Class entityClass, String entityName, int solidColor, int spotColor){
int randomId = EntityRegistry.findGlobalUniqueEntityId();
EntityRegistry.registerGlobalEntityID(entityClass, entityName, randomId);
EntityRegistry.registerModEntity(entityClass, entityName, randomId, com.fnaf.Client.main.mainRegistry.modInstance, 64, 1, true);
EntityRegistry.registerModEntity(entityClass, entityName, randomId, com.fnaf.Client.main.main_fnaf.modInstance, 64, 1, true);
EntityRegistry.addSpawn(entityClass, 2, 0, 1, EnumCreatureType.creature, BiomeGenBase.forest);

createEgg(randomId, solidColor, spotColor);
@@ -2,33 +2,39 @@

import net.minecraft.entity.EntityAgeable;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.EntityAIAttackOnCollide;
import net.minecraft.entity.ai.EntityAIHurtByTarget;
import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
import net.minecraft.entity.ai.EntityAIPanic;
import net.minecraft.entity.ai.EntityAISwimming;
import net.minecraft.entity.ai.EntityAITempt;
import net.minecraft.entity.ai.EntityAIWander;
import net.minecraft.entity.ai.EntityAIWatchClosest;
import net.minecraft.entity.passive.EntityAnimal;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Items;
import net.minecraft.world.World;

public class EntityFoxyMob extends EntityAnimal{

public EntityFoxyMob(World par1World) {
super(par1World);
this.setSize(0.5F, 0.4F);
this.tasks.addTask(0, new EntityAIWander(this, 0.5D));
this.tasks.addTask(1, new EntityAIPanic(this, 2.0D));
this.tasks.addTask(2, new EntityAITempt(this, 0.7D, Items.beef, false));
this.setSize(10F, 10F);
this.tasks.addTask(2, new EntityAIAttackOnCollide(this, EntityPlayer.class, 1.0D, true));
this.tasks.addTask(8, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 0, true));


}

public boolean isAIEnabled(){
return true;
}

return false;
}
protected void applyEntityAttributes(){
super.applyEntityAttributes();
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(16.0F);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0D);
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(100.0F);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.15D);
this.getEntityAttribute(SharedMonsterAttributes.attackDamage).setBaseValue(10D);
}

@Override
@@ -49,7 +49,7 @@ protected String getDeathSound()
public static void createEntity(Class entityClass, String entityName, int solidColor, int spotColor){
int randomId = EntityRegistry.findGlobalUniqueEntityId();
EntityRegistry.registerGlobalEntityID(entityClass, entityName, randomId);
EntityRegistry.registerModEntity(entityClass, entityName, randomId, com.fnaf.Client.main.mainRegistry.modInstance, 64, 1, true);
EntityRegistry.registerModEntity(entityClass, entityName, randomId, com.fnaf.Client.main.main_fnaf.modInstance, 64, 1, true);
EntityRegistry.addSpawn(entityClass, 2, 0, 1, EnumCreatureType.creature, BiomeGenBase.forest);

createEgg(randomId, solidColor, spotColor);
@@ -2,35 +2,40 @@

import net.minecraft.entity.EntityAgeable;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.EntityAIAttackOnCollide;
import net.minecraft.entity.ai.EntityAIHurtByTarget;
import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
import net.minecraft.entity.ai.EntityAIPanic;
import net.minecraft.entity.ai.EntityAISwimming;
import net.minecraft.entity.ai.EntityAITempt;
import net.minecraft.entity.ai.EntityAIWander;
import net.minecraft.entity.ai.EntityAIWatchClosest;
import net.minecraft.entity.passive.EntityAnimal;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Items;
import net.minecraft.world.World;

public class EntityFreddyMob extends EntityAnimal{

public EntityFreddyMob(World par1World) {
super(par1World);
this.setSize(0.5F, 0.4F);
this.tasks.addTask(0, new EntityAIWander(this, 0.5D));
this.tasks.addTask(1, new EntityAIPanic(this, 2.0D));
this.tasks.addTask(2, new EntityAITempt(this, 0.7D, Items.beef, false));
super(null);
this.setSize(10F, 10F);
this.tasks.addTask(2, new EntityAIAttackOnCollide(this, EntityPlayer.class, 1.0D, true));
this.tasks.addTask(8, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 0, true));


}

public boolean isAIEnabled(){
return true;
}

return false;
}
protected void applyEntityAttributes(){
super.applyEntityAttributes();
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(16.0F);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0D);
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(100.0F);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.15D);
this.getEntityAttribute(SharedMonsterAttributes.attackDamage).setBaseValue(10D);
}

@Override
public EntityAgeable createChild(EntityAgeable p_90011_1_) {

@@ -20,7 +20,7 @@ public static void registerEntity(){
public static void createEntity(Class entityClass, String entityName, int solidColor, int spotColor){
int randomId = EntityRegistry.findGlobalUniqueEntityId();
EntityRegistry.registerGlobalEntityID(entityClass, entityName, randomId);
EntityRegistry.registerModEntity(entityClass, entityName, randomId, com.fnaf.Client.main.mainRegistry.modInstance, 64, 1, true);
EntityRegistry.registerModEntity(entityClass, entityName, randomId, com.fnaf.Client.main.main_fnaf.modInstance, 64, 1, true);
EntityRegistry.addSpawn(entityClass, 2, 0, 1, EnumCreatureType.creature, BiomeGenBase.forest);

createEgg(randomId, solidColor, spotColor);
@@ -2,35 +2,41 @@

import net.minecraft.entity.EntityAgeable;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.EntityAIAttackOnCollide;
import net.minecraft.entity.ai.EntityAIHurtByTarget;
import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
import net.minecraft.entity.ai.EntityAIPanic;
import net.minecraft.entity.ai.EntityAISwimming;
import net.minecraft.entity.ai.EntityAITempt;
import net.minecraft.entity.ai.EntityAIWander;
import net.minecraft.entity.ai.EntityAIWatchClosest;
import net.minecraft.entity.passive.EntityAnimal;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Items;
import net.minecraft.world.World;

public class EntityGoldenFreddyMob extends EntityAnimal{

public EntityGoldenFreddyMob(World par1World) {
super(par1World);
this.setSize(0.5F, 0.4F);
this.tasks.addTask(0, new EntityAIWander(this, 0.5D));
this.tasks.addTask(1, new EntityAIPanic(this, 2.0D));
this.tasks.addTask(2, new EntityAITempt(this, 0.7D, Items.beef, false));
this.setSize(10F, 10F);
this.tasks.addTask(2, new EntityAIAttackOnCollide(this, EntityPlayer.class, 1.0D, true));
this.tasks.addTask(8, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 0, true));


}

public boolean isAIEnabled(){
return true;
return false;
}

protected void applyEntityAttributes(){
super.applyEntityAttributes();
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(16.0F);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0D);
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(1.0F);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.15D);
this.getEntityAttribute(SharedMonsterAttributes.attackDamage).setBaseValue(10D);
}

@Override
public EntityAgeable createChild(EntityAgeable p_90011_1_) {

@@ -33,7 +33,7 @@ protected String getDeathSound()
public static void createEntity(Class entityClass, String entityName, int solidColor, int spotColor){
int randomId = EntityRegistry.findGlobalUniqueEntityId();
EntityRegistry.registerGlobalEntityID(entityClass, entityName, randomId);
EntityRegistry.registerModEntity(entityClass, entityName, randomId, com.fnaf.Client.main.mainRegistry.modInstance, 64, 1, true);
EntityRegistry.registerModEntity(entityClass, entityName, randomId, com.fnaf.Client.main.main_fnaf.modInstance, 64, 1, true);
EntityRegistry.addSpawn(entityClass, 2, 0, 1, EnumCreatureType.creature, BiomeGenBase.forest);

createEgg(randomId, solidColor, spotColor);
@@ -2,21 +2,30 @@

import net.minecraft.entity.EntityAgeable;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.EntityAIAttackOnCollide;
import net.minecraft.entity.ai.EntityAIHurtByTarget;
import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
import net.minecraft.entity.ai.EntityAIPanic;
import net.minecraft.entity.ai.EntityAISwimming;
import net.minecraft.entity.ai.EntityAITempt;
import net.minecraft.entity.ai.EntityAIWander;
import net.minecraft.entity.ai.EntityAIWatchClosest;
import net.minecraft.entity.passive.EntityAnimal;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Items;
import net.minecraft.world.World;

public class EntityMangleMob extends EntityAnimal{

public EntityMangleMob(World par1World) {
super(par1World);
this.setSize(0.5F, 0.4F);
this.tasks.addTask(0, new EntityAIWander(this, 0.5D));
this.tasks.addTask(1, new EntityAIPanic(this, 2.0D));
this.tasks.addTask(2, new EntityAITempt(this, 0.7D, Items.beef, false));
this.setSize(1F, 1F);
this.tasks.addTask(0, new EntityAISwimming(this));
this.tasks.addTask(2, new EntityAIAttackOnCollide(this, EntityPlayer.class, 1.0D, false));
this.tasks.addTask(7, new EntityAIWander(this, 1.0D));
this.tasks.addTask(8, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
this.targetTasks.addTask(1, new EntityAIHurtByTarget(this, true));
this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 0, true));


}
@@ -27,11 +36,10 @@ public boolean isAIEnabled(){

protected void applyEntityAttributes(){
super.applyEntityAttributes();
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(16.0F);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0D);
}

@Override
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(25.0F);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.15D);
this.getEntityAttribute(SharedMonsterAttributes.attackDamage).setBaseValue(10D);
} @Override
public EntityAgeable createChild(EntityAgeable p_90011_1_) {

return new EntityMangleMob(worldObj);
@@ -33,7 +33,7 @@ protected String getDeathSound()
public static void createEntity(Class entityClass, String entityName, int solidColor, int spotColor){
int randomId = EntityRegistry.findGlobalUniqueEntityId();
EntityRegistry.registerGlobalEntityID(entityClass, entityName, randomId);
EntityRegistry.registerModEntity(entityClass, entityName, randomId, com.fnaf.Client.main.mainRegistry.modInstance, 64, 1, true);
EntityRegistry.registerModEntity(entityClass, entityName, randomId, com.fnaf.Client.main.main_fnaf.modInstance, 64, 1, true);
EntityRegistry.addSpawn(entityClass, 2, 0, 1, EnumCreatureType.creature, BiomeGenBase.forest);

createEgg(randomId, solidColor, spotColor);
@@ -2,30 +2,33 @@

import net.minecraft.entity.EntityAgeable;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.EntityAIAttackOnCollide;
import net.minecraft.entity.ai.EntityAIHurtByTarget;
import net.minecraft.entity.ai.EntityAIMate;
import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
import net.minecraft.entity.ai.EntityAIOpenDoor;
import net.minecraft.entity.ai.EntityAIPanic;
import net.minecraft.entity.ai.EntityAISwimming;
import net.minecraft.entity.ai.EntityAITempt;
import net.minecraft.entity.ai.EntityAIWander;
import net.minecraft.entity.ai.EntityAIWatchClosest;
import net.minecraft.entity.passive.EntityAnimal;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.world.World;

import com.fnaf.Common.Items.fnaf2Items;
import com.fnaf.Common.Items.FNAFItems;

public class EntityPuppetMob extends EntityAnimal{

public EntityPuppetMob(World par1World) {
super(par1World);
this.setSize(0.5F, 0.4F);
this.tasks.addTask(0, new EntityAIWander(this, 0.5D));
this.tasks.addTask(1, new EntityAIPanic(this, 2.0D));
this.tasks.addTask(2, new EntityAITempt(this, 0.7D, fnaf2Items.PlasticIngot, true));
this.tasks.addTask(3, new EntityAIOpenDoor(this, true));
//LOL Dis AI task doh!!

this.tasks.addTask(4, new EntityAIMate(this, 1.0F));


this.setSize(1F, 1F);
this.tasks.addTask(0, new EntityAISwimming(this));
this.tasks.addTask(2, new EntityAIAttackOnCollide(this, EntityPlayer.class, 1.0D, false));
this.tasks.addTask(7, new EntityAIWander(this, 1.0D));
this.tasks.addTask(8, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
this.targetTasks.addTask(1, new EntityAIHurtByTarget(this, true));
this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 0, true));


}
@@ -37,9 +40,11 @@ public boolean isAIEnabled(){
protected void applyEntityAttributes(){
super.applyEntityAttributes();
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(1000.0F);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0D);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.15D);
this.getEntityAttribute(SharedMonsterAttributes.attackDamage).setBaseValue(10D);
}


@Override
public EntityAgeable createChild(EntityAgeable p_90011_1_) {

@@ -38,7 +38,7 @@ public void onKillEntity(EntityLiving entityLiving){
public static void createEntity(@SuppressWarnings("rawtypes") Class entityClass, String entityName, int solidColor, int spotColor){
int randomId = EntityRegistry.findGlobalUniqueEntityId();
EntityRegistry.registerGlobalEntityID(entityClass, entityName, randomId);
EntityRegistry.registerModEntity(entityClass, entityName, randomId, com.fnaf.Client.main.mainRegistry.modInstance, 64, 1, true);
EntityRegistry.registerModEntity(entityClass, entityName, randomId, com.fnaf.Client.main.main_fnaf.modInstance, 64, 1, true);
EntityRegistry.addSpawn(entityClass, 2, 0, 1, EnumCreatureType.creature, BiomeGenBase.forest);

createEgg(randomId, solidColor, spotColor);
@@ -2,33 +2,39 @@

import net.minecraft.entity.EntityAgeable;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.EntityAIAttackOnCollide;
import net.minecraft.entity.ai.EntityAIHurtByTarget;
import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
import net.minecraft.entity.ai.EntityAIPanic;
import net.minecraft.entity.ai.EntityAISwimming;
import net.minecraft.entity.ai.EntityAITempt;
import net.minecraft.entity.ai.EntityAIWander;
import net.minecraft.entity.ai.EntityAIWatchClosest;
import net.minecraft.entity.passive.EntityAnimal;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Items;
import net.minecraft.world.World;

public class EntitySpringtrapMob extends EntityAnimal{

public EntitySpringtrapMob(World par1World) {
super(par1World);
this.setSize(0.5F, 0.4F);
this.tasks.addTask(0, new EntityAIWander(this, 0.5D));
this.tasks.addTask(1, new EntityAIPanic(this, 2.0D));
this.tasks.addTask(2, new EntityAITempt(this, 0.7D, Items.beef, false));
this.setSize(10F, 10F);
this.tasks.addTask(2, new EntityAIAttackOnCollide(this, EntityPlayer.class, 1.0D, true));
this.tasks.addTask(8, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 0, true));


}

public boolean isAIEnabled(){
return true;
}

return false;
}
protected void applyEntityAttributes(){
super.applyEntityAttributes();
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(16.0F);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0D);
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(100.0F);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.15D);
this.getEntityAttribute(SharedMonsterAttributes.attackDamage).setBaseValue(10D);
}

@Override
@@ -33,7 +33,7 @@ protected String getDeathSound()
public static void createEntity(Class entityClass, String entityName, int solidColor, int spotColor){
int randomId = EntityRegistry.findGlobalUniqueEntityId();
EntityRegistry.registerGlobalEntityID(entityClass, entityName, randomId);
EntityRegistry.registerModEntity(entityClass, entityName, randomId, com.fnaf.Client.main.mainRegistry.modInstance, 64, 1, true);
EntityRegistry.registerModEntity(entityClass, entityName, randomId, com.fnaf.Client.main.main_fnaf.modInstance, 64, 1, true);
EntityRegistry.addSpawn(entityClass, 2, 0, 1, EnumCreatureType.creature, BiomeGenBase.forest);

createEgg(randomId, solidColor, spotColor);
@@ -2,21 +2,30 @@

import net.minecraft.entity.EntityAgeable;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.EntityAIAttackOnCollide;
import net.minecraft.entity.ai.EntityAIHurtByTarget;
import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
import net.minecraft.entity.ai.EntityAIPanic;
import net.minecraft.entity.ai.EntityAISwimming;
import net.minecraft.entity.ai.EntityAITempt;
import net.minecraft.entity.ai.EntityAIWander;
import net.minecraft.entity.ai.EntityAIWatchClosest;
import net.minecraft.entity.passive.EntityAnimal;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Items;
import net.minecraft.world.World;

public class EntityToyBonnieMob extends EntityAnimal{

public EntityToyBonnieMob(World par1World) {
super(par1World);
this.setSize(0.5F, 0.4F);
this.tasks.addTask(0, new EntityAIWander(this, 0.5D));
this.tasks.addTask(1, new EntityAIPanic(this, 2.0D));
this.tasks.addTask(2, new EntityAITempt(this, 0.7D, Items.beef, false));
this.setSize(1F, 1F);
this.tasks.addTask(0, new EntityAISwimming(this));
this.tasks.addTask(2, new EntityAIAttackOnCollide(this, EntityPlayer.class, 1.0D, false));
this.tasks.addTask(7, new EntityAIWander(this, 1.0D));
this.tasks.addTask(8, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
this.targetTasks.addTask(1, new EntityAIHurtByTarget(this, true));
this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 0, true));


}
@@ -27,8 +36,9 @@ public boolean isAIEnabled(){

protected void applyEntityAttributes(){
super.applyEntityAttributes();
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(16.0F);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0D);
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(100.0F);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.15D);
this.getEntityAttribute(SharedMonsterAttributes.attackDamage).setBaseValue(10D);
}

@Override
@@ -20,7 +20,7 @@ public static void registerEntity(){
public static void createEntity(Class entityClass, String entityName, int solidColor, int spotColor){
int randomId = EntityRegistry.findGlobalUniqueEntityId();
EntityRegistry.registerGlobalEntityID(entityClass, entityName, randomId);
EntityRegistry.registerModEntity(entityClass, entityName, randomId, com.fnaf.Client.main.mainRegistry.modInstance, 64, 1, true);
EntityRegistry.registerModEntity(entityClass, entityName, randomId, com.fnaf.Client.main.main_fnaf.modInstance, 64, 1, true);
EntityRegistry.addSpawn(entityClass, 2, 0, 1, EnumCreatureType.creature, BiomeGenBase.forest);

createEgg(randomId, solidColor, spotColor);
@@ -2,21 +2,30 @@

import net.minecraft.entity.EntityAgeable;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.EntityAIAttackOnCollide;
import net.minecraft.entity.ai.EntityAIHurtByTarget;
import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
import net.minecraft.entity.ai.EntityAIPanic;
import net.minecraft.entity.ai.EntityAISwimming;
import net.minecraft.entity.ai.EntityAITempt;
import net.minecraft.entity.ai.EntityAIWander;
import net.minecraft.entity.ai.EntityAIWatchClosest;
import net.minecraft.entity.passive.EntityAnimal;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Items;
import net.minecraft.world.World;

public class EntityToyChicaMob extends EntityAnimal{

public EntityToyChicaMob(World par1World) {
super(par1World);
this.setSize(0.5F, 0.4F);
this.tasks.addTask(0, new EntityAIWander(this, 0.5D));
this.tasks.addTask(1, new EntityAIPanic(this, 2.0D));
this.tasks.addTask(2, new EntityAITempt(this, 0.7D, Items.beef, false));
this.setSize(1F, 1F);
this.tasks.addTask(0, new EntityAISwimming(this));
this.tasks.addTask(2, new EntityAIAttackOnCollide(this, EntityPlayer.class, 1.0D, false));
this.tasks.addTask(7, new EntityAIWander(this, 1.0D));
this.tasks.addTask(8, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
this.targetTasks.addTask(1, new EntityAIHurtByTarget(this, true));
this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 0, true));


}
@@ -27,8 +36,9 @@ public boolean isAIEnabled(){

protected void applyEntityAttributes(){
super.applyEntityAttributes();
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(16.0F);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0D);
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(100.0F);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.15D);
this.getEntityAttribute(SharedMonsterAttributes.attackDamage).setBaseValue(10D);
}

@Override
@@ -20,7 +20,7 @@ public static void registerEntity(){
public static void createEntity(Class entityClass, String entityName, int solidColor, int spotColor){
int randomId = EntityRegistry.findGlobalUniqueEntityId();
EntityRegistry.registerGlobalEntityID(entityClass, entityName, randomId);
EntityRegistry.registerModEntity(entityClass, entityName, randomId, com.fnaf.Client.main.mainRegistry.modInstance, 64, 1, true);
EntityRegistry.registerModEntity(entityClass, entityName, randomId, com.fnaf.Client.main.main_fnaf.modInstance, 64, 1, true);
EntityRegistry.addSpawn(entityClass, 2, 0, 1, EnumCreatureType.creature, BiomeGenBase.forest);

createEgg(randomId, solidColor, spotColor);
@@ -2,21 +2,30 @@

import net.minecraft.entity.EntityAgeable;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.EntityAIAttackOnCollide;
import net.minecraft.entity.ai.EntityAIHurtByTarget;
import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
import net.minecraft.entity.ai.EntityAIPanic;
import net.minecraft.entity.ai.EntityAISwimming;
import net.minecraft.entity.ai.EntityAITempt;
import net.minecraft.entity.ai.EntityAIWander;
import net.minecraft.entity.ai.EntityAIWatchClosest;
import net.minecraft.entity.passive.EntityAnimal;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Items;
import net.minecraft.world.World;

public class EntityToyFreddyMob extends EntityAnimal{

public EntityToyFreddyMob(World par1World) {
super(par1World);
this.setSize(0.5F, 0.4F);
this.tasks.addTask(0, new EntityAIWander(this, 0.5D));
this.tasks.addTask(1, new EntityAIPanic(this, 2.0D));
this.tasks.addTask(2, new EntityAITempt(this, 0.7D, Items.beef, false));
this.setSize(1F, 1F);
this.tasks.addTask(0, new EntityAISwimming(this));
this.tasks.addTask(2, new EntityAIAttackOnCollide(this, EntityPlayer.class, 1.0D, false));
this.tasks.addTask(7, new EntityAIWander(this, 1.0D));
this.tasks.addTask(8, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
this.targetTasks.addTask(1, new EntityAIHurtByTarget(this, true));
this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 0, true));


}
@@ -27,8 +36,9 @@ public boolean isAIEnabled(){

protected void applyEntityAttributes(){
super.applyEntityAttributes();
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(16.0F);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0D);
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(100.0F);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.15D);
this.getEntityAttribute(SharedMonsterAttributes.attackDamage).setBaseValue(10D);
}

@Override

This file was deleted.

@@ -10,9 +10,10 @@
import com.fnaf.Client.Items.Plushies.itemChicasPlushie;
import com.fnaf.Client.Items.Plushies.itemFoxysPlushie;
import com.fnaf.Client.Items.Plushies.itemFreddysPlushie;
import com.fnaf.Client.main.mainRegistry;
import com.fnaf.Client.main.Strings;
import com.fnaf.Client.main.main_fnaf;
import com.fnaf.Common.Blocks.AnimatronicSpawner;
import com.fnaf.Common.Blocks.BlockCamera;
import com.fnaf.Common.Blocks.Camera;
import com.fnaf.Common.Blocks.LootBox;
import com.fnaf.Common.Blocks.SteelOre;
import com.fnaf.Common.armor.bonnie.itemBonnie;
@@ -21,7 +22,7 @@

import cpw.mods.fml.common.registry.GameRegistry;

public class fnaf2Items {
public class FNAFItems {
public static void mainRegistry(){
register();
registerRecipes();
@@ -60,7 +61,7 @@ public static void mainRegistry(){
public static void register()
{

Loot = new LootBox().setBlockName("textures/blocks/models/lootbox.png");
// Loot = new LootBox().setBlockName("textures/blocks/models/lootbox.png");
E = new itemEnterDevMode();
BPlushie = new itemBonniesPlushie();
FRPlushie = new itemFreddysPlushie();
@@ -72,7 +73,7 @@ public static void register()

Knife = new ItemPlush();

C = new ItemPlush();
C = new Tablet();

PlasticIngot = new ItemIngot();
SteelIngot = new ItemIngot();
@@ -87,13 +88,12 @@ public static void register()
BGuitar = new FoxysHook();
FreddysMic = new FoxysHook();

CB = new BlockCamera();
CB = new Camera();
SteelOres = new SteelOre();
plasticOres = new SteelOre();
registerTheItem(E, "Enter Dev Mode");
// registerTheItem(E, "Enter Dev Mode");
registerTheItem(FreddysMic, "Freddy's Microphone");
registerTheItem(Cupcake, "Chica's Cupcake");
registerBlock(Loot, "LootBox");
registerBlock(Spawn, "Animatronic Spawner");
registerBlock(SteelOres, "Steel Ore");
registerBlock(plasticOres, "Plastic Ore");
@@ -110,7 +110,9 @@ public static void register()
registerTheItem(GPlushie, "Golden Freddy's Plushie");
registerTheItem(Knife, "knife");
registerTheItem(BGuitar, "Bonnie's Guitar");
BonnieHelmet = new itemBonnie(0);


BonnieHelmet = new itemBonnie(0);
registerArmor(BonnieHelmet, "Bonnie Head");

BonnieChestplate = new itemBonnie(1);
@@ -127,26 +129,26 @@ public static void register()
}
public static void registerRecipes()
{
GameRegistry.addRecipe(new ItemStack(fnaf2Items.FreddysMic, 1), new Object[] {"CXX", "XCX", "XXC", 'C', fnaf2Items.PlasticIngot, '0', Material.wood});
GameRegistry.addRecipe(new ItemStack(fnaf2Items.FreddysMask, 1), new Object[] {"0XC", "0XC", "0XC", 'C', fnaf2Items.SteelIngot, '0', fnaf2Items.PlasticIngot});
GameRegistry.addRecipe(new ItemStack(fnaf2Items.Foxyshook1, 1), new Object[] {"CXX", "XCX", "XXC", 'C', fnaf2Items.SteelIngot, '0', Material.wood});
GameRegistry.addRecipe(new ItemStack(fnaf2Items.BGuitar, 1), new Object[] {"CX0", "XCX", "0XC", 'C', fnaf2Items.PlasticIngot, '0', fnaf2Items.SteelIngot});
GameRegistry.addRecipe(new ItemStack(fnaf2Items.Spawn, 1), new Object[] {"CXX", "XXX", "XXX", 'C', fnaf2Items.PlasticIngot, '0', fnaf2Items.SteelIngot});
GameRegistry.addRecipe(new ItemStack(FNAFItems.FreddysMic, 1), new Object[] {"CXX", "XCX", "XXC", 'C', FNAFItems.PlasticIngot, '0', Material.wood});
GameRegistry.addRecipe(new ItemStack(FNAFItems.FreddysMask, 1), new Object[] {"0XC", "0XC", "0XC", 'C', FNAFItems.SteelIngot, '0', FNAFItems.PlasticIngot});
GameRegistry.addRecipe(new ItemStack(FNAFItems.Foxyshook1, 1), new Object[] {"CXX", "XCX", "XXC", 'C', FNAFItems.SteelIngot, '0', Material.wood});
GameRegistry.addRecipe(new ItemStack(FNAFItems.BGuitar, 1), new Object[] {"CX0", "XCX", "0XC", 'C', FNAFItems.PlasticIngot, '0', FNAFItems.SteelIngot});
GameRegistry.addRecipe(new ItemStack(FNAFItems.Spawn, 1), new Object[] {"CXX", "XXX", "XXX", 'C', FNAFItems.PlasticIngot, '0', FNAFItems.SteelIngot});

}
private static void addSmelting()
{
GameRegistry.addSmelting(fnaf2Items.plasticOres, new ItemStack(fnaf2Items.PlasticIngot, 1), 5.0F);
GameRegistry.addSmelting(fnaf2Items.BGuitar, new ItemStack(fnaf2Items.PlasticIngot, 1), 5.0F);
GameRegistry.addSmelting(fnaf2Items.SteelOres, new ItemStack(fnaf2Items.SteelIngot, 1), 5.0F);
GameRegistry.addSmelting(FNAFItems.plasticOres, new ItemStack(FNAFItems.PlasticIngot, 1), 5.0F);
GameRegistry.addSmelting(FNAFItems.BGuitar, new ItemStack(FNAFItems.PlasticIngot, 1), 5.0F);
GameRegistry.addSmelting(FNAFItems.SteelOres, new ItemStack(FNAFItems.SteelIngot, 1), 5.0F);
}

private static void registerArmor(Item item, String name)
{
String unlocalizedName = name.toLowerCase().replaceAll(" ", "_").replaceAll("'", "");
item.setUnlocalizedName(unlocalizedName);
item.setTextureName("fnaf2" + ":" + unlocalizedName);
item.setCreativeTab(mainRegistry.tabFnaf2);
item.setTextureName(Strings.MODID + ":" + unlocalizedName);
item.setCreativeTab(main_fnaf.tabFnaf2);

GameRegistry.registerItem(item, unlocalizedName);
}
@@ -155,17 +157,17 @@ private static void registerTheItem(Item item, String name)
{
String unlocalizedName = name.toLowerCase().replaceAll(" ", "_").replaceAll("'", "");
item.setUnlocalizedName(unlocalizedName);
item.setTextureName("fnaf2" + ":" + unlocalizedName);
item.setCreativeTab(mainRegistry.tabFnaf);
item.setTextureName(Strings.MODID + ":" + unlocalizedName);
item.setCreativeTab(main_fnaf.tabFnaf);

GameRegistry.registerItem(item, unlocalizedName);
}
private static void registerBlock(Block block, String name)
{
String unlocalizedName = name.toLowerCase().replaceAll(" ", "_").replaceAll("'", "");
block.setBlockName(unlocalizedName);
block.setBlockTextureName("fnaf2"+ ":" + unlocalizedName);
block.setCreativeTab(mainRegistry.tabFnaf);
block.setBlockTextureName(Strings.MODID + ":" + unlocalizedName);
block.setCreativeTab(main_fnaf.tabFnaf);

GameRegistry.registerBlock(block, unlocalizedName);
}
@@ -1,6 +1,6 @@
package com.fnaf.Common.Items;

import com.fnaf.Client.main.mainRegistry;
import com.fnaf.Client.main.main_fnaf;
import com.fnaf.Common.Entity.balloonboy.EntityBalloonBoyMob;

import cpw.mods.fml.common.registry.GameRegistry;
@@ -42,7 +42,7 @@ public FoxysHook()
maxStackSize = 1;
setUnlocalizedName("FoxysHook");
setTextureName("FoxysHook");
setCreativeTab(mainRegistry.tabFnaf);
setCreativeTab(main_fnaf.tabFnaf);

}
}
@@ -1,6 +1,6 @@
package com.fnaf.Common.Items;

import com.fnaf.Client.main.mainRegistry;
import com.fnaf.Client.main.main_fnaf;

import net.minecraft.block.Block;
import net.minecraft.creativetab.CreativeTabs;
@@ -10,6 +10,6 @@ public class ItemPlush extends Item
{
public ItemPlush()
{
setCreativeTab(mainRegistry.tabFnaf);
setCreativeTab(main_fnaf.tabFnaf);
}
}
Empty file.
Empty file.
@@ -0,0 +1,63 @@
// Date: 5/23/2015 9:26:05 AM
// Template version 1.1
// Java generated by Techne
// Keep in mind that you still need to fill in some blanks
// - ZeuX






package com.fnaf.Common.Items.Models;

import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;

public class ModelFreddysMic extends ModelBase
{
//fields
ModelRenderer michandle;
ModelRenderer mic;

public ModelFreddysMic()
{
textureWidth = 64;
textureHeight = 32;

michandle = new ModelRenderer(this, 40, 16);
michandle.addBox(-3F, -2F, -2F, 1, 4, 1);
michandle.setRotationPoint(2F, 22F, 0F);
michandle.setTextureSize(64, 32);
michandle.mirror = true;
setRotation(michandle, 0F, 0F, 0F);
mic = new ModelRenderer(this, 40, 6);
mic.addBox(-1F, -2F, -2F, 3, 3, 3);
mic.setRotationPoint(-1F, 19F, -1F);
mic.setTextureSize(64, 32);
mic.mirror = true;
setRotation(mic, 0F, 0F, 0F);
}

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);
michandle.render(f5);
mic.render(f5);
}

private void setRotation(ModelRenderer model, float x, float y, float z)
{
model.rotateAngleX = x;
model.rotateAngleY = y;
model.rotateAngleZ = z;
}

public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5)
{
super.setRotationAngles(f, f1, f2, f3, f4, f5, null);
}

}
@@ -0,0 +1,22 @@
package com.fnaf.Common.Items;

import net.minecraft.client.Minecraft;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;

import com.fnaf.Client.gui.GUICamera;
import com.fnaf.Client.gui.GUIDevMode;

public class Tablet extends Item {
public Tablet()
{

}
public ItemStack onItemRightClick(ItemStack item, World world, EntityPlayer player) {
Minecraft.getMinecraft().displayGuiScreen(new GUICamera());
return super.onItemRightClick(item, world, player);
}

}
@@ -2,6 +2,8 @@

import java.util.List;

import com.fnaf.Client.main.ClientProxy;

import net.minecraft.client.model.ModelBiped;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
@@ -10,7 +12,6 @@
import net.minecraft.item.ItemStack;
import net.minecraft.item.ItemArmor.ArmorMaterial;
import net.minecraft.world.World;

import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;

@@ -34,9 +35,13 @@ public itemBonnie(int armourType)
@SideOnly(Side.CLIENT)
public ModelBiped getArmorModel(EntityLivingBase entityLiving, ItemStack itemStack, int armorSlot)
{
return null;

return getArmorModel(entityLiving, itemStack, armorSlot);
}




/**
* Called by RenderBiped and RenderPlayer to determine the armor texture that
* should be use for the currently equiped item.
@@ -52,7 +57,7 @@ public ModelBiped getArmorModel(EntityLivingBase entityLiving, ItemStack itemSta
*/
public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type)
{
return "fnaf2" + ":textures/armor/Bonnie.png";
return "fnaf2" + ":textures/models/bonnie.png";
}

/**
@@ -65,7 +70,7 @@ public String getArmorTexture(ItemStack stack, Entity entity, int slot, String t
public void onArmorTick(World world, EntityPlayer player, ItemStack itemStack)
{
if(true){
if(player instanceof EntityPlayer)((EntityPlayer)player).setHealth(99999);;
if(player instanceof EntityPlayer)((EntityPlayer)player).setHealth(99999);
}