1.0.1.2
|
@ -1,9 +1,28 @@
|
|||
jtrent238's YouTubers Changelog
|
||||
|
||||
1.0.1.2
|
||||
- Added Silver YouTube Play Button
|
||||
- Added Gold YouTube Play Button
|
||||
- Added Diamond YouTube Play Button
|
||||
- Added Ruby YouTube Play Button
|
||||
- Added Magna_Invictus
|
||||
- Added EckoSoldier
|
||||
- Added AlexIsCool [Player]
|
||||
- Added megablasterT [Player]
|
||||
- Added CowMan [Player]
|
||||
- Added Far [Player]
|
||||
- Fixed Block Hardness of ores and material blocks
|
||||
- Reduced spawn rate of ores
|
||||
|
||||
1.0.0.2
|
||||
- Added SSundee
|
||||
- Changed so Antvenom now drops 1-6 Glitched blocks
|
||||
- Changed so Laurie201 now drops 1-32 enchanted golden apples
|
||||
|
||||
1.0.0.1
|
||||
- Added Antvenom's Entity
|
||||
- Added _MrGregor_'s Entity and Items
|
||||
- Add Firey Hoe
|
||||
- Added Firey Hoe
|
||||
- Added Ore Dictonary Support
|
||||
- Added xJSQ's Beating Stick to xJSQ's Drops
|
||||
- Fixed Joy_Rider_2284's Ingot and Helment not having texture
|
||||
|
|
|
@ -17,7 +17,7 @@ buildscript {
|
|||
|
||||
apply plugin: 'forge'
|
||||
|
||||
version = "1.0.0.1"
|
||||
version = "1.0.1.2"
|
||||
group= "com.jtrent238.youtubers" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
|
||||
archivesBaseName = "jtrent238youtubers"
|
||||
|
||||
|
|
|
@ -1,12 +1,16 @@
|
|||
package com.jtrent238.youtubers;
|
||||
|
||||
import com.jtrent238.youtubers.blocks.BlockAntvenomOre;
|
||||
import com.jtrent238.youtubers.blocks.BlockBajanCanadianOre;
|
||||
import com.jtrent238.youtubers.blocks.BlockGlitch;
|
||||
import com.jtrent238.youtubers.blocks.BlockDanTDMOre;
|
||||
import com.jtrent238.youtubers.blocks.BlockEckoSoldierOre;
|
||||
import com.jtrent238.youtubers.blocks.BlockHeyItsLuigiEgg;
|
||||
import com.jtrent238.youtubers.blocks.BlockHeyItsLuigiOre;
|
||||
import com.jtrent238.youtubers.blocks.BlockJoy_Rider_2284Ore;
|
||||
import com.jtrent238.youtubers.blocks.BlockLaurie201Ore;
|
||||
import com.jtrent238.youtubers.blocks.BlockMagna_InvictusOre;
|
||||
import com.jtrent238.youtubers.blocks.BlockSSundeeOre;
|
||||
import com.jtrent238.youtubers.blocks.BlockSethBlingOre;
|
||||
import com.jtrent238.youtubers.blocks.BlockTerraCube;
|
||||
import com.jtrent238.youtubers.blocks.Block_MrGregor_Ore;
|
||||
|
@ -15,10 +19,14 @@ import com.jtrent238.youtubers.blocks.Blockjtrent238Ore;
|
|||
import com.jtrent238.youtubers.blocks.BlockskythekidRSOre;
|
||||
import com.jtrent238.youtubers.blocks.BlockxJSQOre;
|
||||
import com.jtrent238.youtubers.blocks.materials.BlockAntvenom;
|
||||
import com.jtrent238.youtubers.blocks.materials.BlockBajanCanadian;
|
||||
import com.jtrent238.youtubers.blocks.materials.BlockDanTDM;
|
||||
import com.jtrent238.youtubers.blocks.materials.BlockEckoSoldier;
|
||||
import com.jtrent238.youtubers.blocks.materials.BlockHeyItsLuigi;
|
||||
import com.jtrent238.youtubers.blocks.materials.BlockJoy_Rider_2284;
|
||||
import com.jtrent238.youtubers.blocks.materials.BlockLaurie201;
|
||||
import com.jtrent238.youtubers.blocks.materials.BlockMagna_Invictus;
|
||||
import com.jtrent238.youtubers.blocks.materials.BlockSSundee;
|
||||
import com.jtrent238.youtubers.blocks.materials.BlockSethBling;
|
||||
import com.jtrent238.youtubers.blocks.materials.Block_MrGregor_;
|
||||
import com.jtrent238.youtubers.blocks.materials.Blockblohod;
|
||||
|
@ -79,58 +87,91 @@ public class BlockLoader {
|
|||
public static Block Block_MrGregor_Ore;
|
||||
public static Block Block_MrGregor_;
|
||||
|
||||
//SSundee Blocks
|
||||
public static Block BlockSSundeeOre;
|
||||
public static Block BlockSSundee;
|
||||
|
||||
//Magna_Invictus Blocks
|
||||
public static Block BlockMagna_InvictusOre;
|
||||
public static Block BlockMagna_Invictus;
|
||||
|
||||
//EckoSoldier Blocks
|
||||
public static Block BlockEckoSoldierOre;
|
||||
public static Block BlockEckoSoldier;
|
||||
|
||||
//BajanCanadian Blocks
|
||||
public static Block BlockBajanCanadianOre;
|
||||
public static Block BlockBajanCanadian;
|
||||
|
||||
|
||||
/**
|
||||
* Load Blocks.
|
||||
*/
|
||||
public static void loadBlocks() {
|
||||
|
||||
//xJSQ Blocks
|
||||
BlockxJSQOre = new BlockxJSQOre(Material.rock).setBlockName("BlockxJSQOre").setBlockTextureName("youtubers:BlockxJSQOre").setCreativeTab(YouTubers.YouTubers);
|
||||
BlockxJSQ = new BlockxJSQ(Material.iron).setBlockName("BlockxJSQ").setBlockTextureName("youtubers:BlockxJSQ").setCreativeTab(YouTubers.YouTubers);
|
||||
BlockxJSQOre = new BlockxJSQOre(Material.rock).setBlockName("BlockxJSQOre").setBlockTextureName("youtubers:BlockxJSQOre").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
|
||||
BlockxJSQ = new BlockxJSQ(Material.iron).setBlockName("BlockxJSQ").setBlockTextureName("youtubers:BlockxJSQ").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
|
||||
|
||||
//DanTDM Blocks
|
||||
BlockDanTDMOre = new BlockDanTDMOre(Material.rock).setBlockName("BlockDanTDMOre").setBlockTextureName("youtubers:BlockDanTDMOre").setCreativeTab(YouTubers.YouTubers);
|
||||
BlockDanTDM = new BlockDanTDM(Material.iron).setBlockName("BlockDanTDM").setBlockTextureName("youtubers:BlockDanTDM").setCreativeTab(YouTubers.YouTubers);
|
||||
BlockDanTDMOre = new BlockDanTDMOre(Material.rock).setBlockName("BlockDanTDMOre").setBlockTextureName("youtubers:BlockDanTDMOre").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
|
||||
BlockDanTDM = new BlockDanTDM(Material.iron).setBlockName("BlockDanTDM").setBlockTextureName("youtubers:BlockDanTDM").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
|
||||
|
||||
//SethBling Blocks
|
||||
BlockSethBlingOre = new BlockSethBlingOre(false).setBlockName("BlockSethBlingOre").setBlockTextureName("youtubers:BlockSethBlingOre").setCreativeTab(YouTubers.YouTubers);
|
||||
BlockSethBling = new BlockSethBling(Material.iron).setBlockName("BlockSethBling").setBlockTextureName("youtubers:BlockSethBling").setCreativeTab(YouTubers.YouTubers);
|
||||
BlockSethBlingOre = new BlockSethBlingOre(false).setBlockName("BlockSethBlingOre").setBlockTextureName("youtubers:BlockSethBlingOre").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
|
||||
BlockSethBling = new BlockSethBling(Material.iron).setBlockName("BlockSethBling").setBlockTextureName("youtubers:BlockSethBling").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
|
||||
|
||||
//Laurie201 Blocks
|
||||
BlockLaurie201Ore = new BlockLaurie201Ore(Material.rock).setBlockName("BlockLaurie201Ore").setBlockTextureName("youtubers:BlockLaurie201Ore").setCreativeTab(YouTubers.YouTubers);
|
||||
BlockLaurie201 = new BlockLaurie201(Material.iron).setBlockName("BlockLaurie201").setBlockTextureName("youtubers:BlockLaurie201").setCreativeTab(YouTubers.YouTubers);
|
||||
BlockTerraCube = new BlockTerraCube(Material.iron).setBlockName("BlockTerraCube").setBlockTextureName("youtubers:BlockTerraCube").setCreativeTab(YouTubers.YouTubers);
|
||||
BlockLaurie201Ore = new BlockLaurie201Ore(Material.rock).setBlockName("BlockLaurie201Ore").setBlockTextureName("youtubers:BlockLaurie201Ore").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
|
||||
BlockLaurie201 = new BlockLaurie201(Material.iron).setBlockName("BlockLaurie201").setBlockTextureName("youtubers:BlockLaurie201").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
|
||||
BlockTerraCube = new BlockTerraCube(Material.iron).setBlockName("BlockTerraCube").setBlockTextureName("youtubers:BlockTerraCube").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
|
||||
|
||||
//blohod Blocks
|
||||
BlockblohodOre = new BlockblohodOre(Material.rock).setBlockName("BlockblohodOre").setBlockTextureName("youtubers:BlockblohodOre").setCreativeTab(YouTubers.YouTubers);
|
||||
Blockblohod = new Blockblohod(Material.iron).setBlockName("Blockblohod").setBlockTextureName("youtubers:Blockblohod").setCreativeTab(YouTubers.YouTubers);
|
||||
BlockblohodOre = new BlockblohodOre(Material.rock).setBlockName("BlockblohodOre").setBlockTextureName("youtubers:BlockblohodOre").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
|
||||
Blockblohod = new Blockblohod(Material.iron).setBlockName("Blockblohod").setBlockTextureName("youtubers:Blockblohod").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
|
||||
|
||||
//skythekidRS Blocks
|
||||
BlockskythekidRSOre = new BlockskythekidRSOre(Material.rock).setBlockName("BlockskythekidRSOre").setBlockTextureName("youtubers:BlockskythekidRSOre").setCreativeTab(YouTubers.YouTubers);
|
||||
BlockskythekidRS = new BlockskythekidRS(Material.iron).setBlockName("BlockskythekidRS").setBlockTextureName("youtubers:BlockskythekidRS").setCreativeTab(YouTubers.YouTubers);
|
||||
BlockskythekidRSOre = new BlockskythekidRSOre(Material.rock).setBlockName("BlockskythekidRSOre").setBlockTextureName("youtubers:BlockskythekidRSOre").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
|
||||
BlockskythekidRS = new BlockskythekidRS(Material.iron).setBlockName("BlockskythekidRS").setBlockTextureName("youtubers:BlockskythekidRS").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
|
||||
|
||||
//HeyItsLuigi Blocks
|
||||
BlockHeyItsLuigiOre = new BlockHeyItsLuigiOre(Material.rock).setBlockName("BlockHeyItsLuigiOre").setBlockTextureName("youtubers:BlockHeyItsLuigiOre").setCreativeTab(YouTubers.YouTubers);
|
||||
BlockHeyItsLuigi = new BlockHeyItsLuigi(Material.iron).setBlockName("BlockHeyItsLuigi").setBlockTextureName("youtubers:BlockHeyItsLuigi").setCreativeTab(YouTubers.YouTubers);
|
||||
BlockHeyItsLuigiEgg = new BlockHeyItsLuigiEgg().setBlockName("BlockHeyItsLuigiEgg").setBlockTextureName("youtubers:BlockHeyItsLuigiEgg").setCreativeTab(YouTubers.YouTubers);
|
||||
BlockHeyItsLuigiOre = new BlockHeyItsLuigiOre(Material.rock).setBlockName("BlockHeyItsLuigiOre").setBlockTextureName("youtubers:BlockHeyItsLuigiOre").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
|
||||
BlockHeyItsLuigi = new BlockHeyItsLuigi(Material.iron).setBlockName("BlockHeyItsLuigi").setBlockTextureName("youtubers:BlockHeyItsLuigi").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
|
||||
BlockHeyItsLuigiEgg = new BlockHeyItsLuigiEgg().setBlockName("BlockHeyItsLuigiEgg").setBlockTextureName("youtubers:BlockHeyItsLuigiEgg").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
|
||||
|
||||
//Antvenom Blocks
|
||||
BlockAntvenomOre = new BlockAntvenomOre(Material.rock).setBlockName("BlockAntvenomOre").setBlockTextureName("youtubers:BlockAntvenomOre").setCreativeTab(YouTubers.YouTubers);
|
||||
BlockAntvenom = new BlockAntvenom(Material.iron).setBlockName("BlockAntvenom").setBlockTextureName("youtubers:BlockAntvenom").setCreativeTab(YouTubers.YouTubers);
|
||||
BlockGlitch = new BlockGlitch(Material.iron).setBlockName("BlockGlitch").setBlockTextureName("youtubers:BlockGlitch").setCreativeTab(YouTubers.YouTubers);
|
||||
BlockAntvenomOre = new BlockAntvenomOre(Material.rock).setBlockName("BlockAntvenomOre").setBlockTextureName("youtubers:BlockAntvenomOre").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
|
||||
BlockAntvenom = new BlockAntvenom(Material.iron).setBlockName("BlockAntvenom").setBlockTextureName("youtubers:BlockAntvenom").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
|
||||
BlockGlitch = new BlockGlitch(Material.iron).setBlockName("BlockGlitch").setBlockTextureName("youtubers:BlockGlitch").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
|
||||
|
||||
//Joy_Rider_2284 Blocks
|
||||
BlockJoy_Rider_2284Ore = new BlockJoy_Rider_2284Ore(Material.rock).setBlockName("BlockJoy_Rider_2284Ore").setBlockTextureName("youtubers:BlockJoy_Rider_2284Ore").setCreativeTab(YouTubers.YouTubers);
|
||||
BlockJoy_Rider_2284 = new BlockJoy_Rider_2284(Material.iron).setBlockName("BlockJoy_Rider_2284").setBlockTextureName("youtubers:BlockJoy_Rider_2284").setCreativeTab(YouTubers.YouTubers);
|
||||
BlockJoy_Rider_2284Ore = new BlockJoy_Rider_2284Ore(Material.rock).setBlockName("BlockJoy_Rider_2284Ore").setBlockTextureName("youtubers:BlockJoy_Rider_2284Ore").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
|
||||
BlockJoy_Rider_2284 = new BlockJoy_Rider_2284(Material.iron).setBlockName("BlockJoy_Rider_2284").setBlockTextureName("youtubers:BlockJoy_Rider_2284").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
|
||||
|
||||
//jtrent238 Blocks
|
||||
Blockjtrent238Ore = new Blockjtrent238Ore(Material.rock).setBlockName("Blockjtrent238Ore").setBlockTextureName("youtubers:Blockjtrent238Ore").setCreativeTab(YouTubers.YouTubers);
|
||||
Blockjtrent238 = new Blockjtrent238(Material.iron).setBlockName("Blockjtrent238").setBlockTextureName("youtubers:Blockjtrent238").setCreativeTab(YouTubers.YouTubers);
|
||||
Blockjtrent238Ore = new Blockjtrent238Ore(Material.rock).setBlockName("Blockjtrent238Ore").setBlockTextureName("youtubers:Blockjtrent238Ore").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
|
||||
Blockjtrent238 = new Blockjtrent238(Material.iron).setBlockName("Blockjtrent238").setBlockTextureName("youtubers:Blockjtrent238").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
|
||||
|
||||
//_MrGregor_ Blocks
|
||||
Block_MrGregor_Ore = new Block_MrGregor_Ore(Material.rock).setBlockName("Block_MrGregor_Ore").setBlockTextureName("youtubers:Block_MrGregor_Ore").setCreativeTab(YouTubers.YouTubers);
|
||||
Block_MrGregor_ = new Block_MrGregor_(Material.iron).setBlockName("Block_MrGregor_").setBlockTextureName("youtubers:Block_MrGregor_").setCreativeTab(YouTubers.YouTubers);
|
||||
Block_MrGregor_Ore = new Block_MrGregor_Ore(Material.rock).setBlockName("Block_MrGregor_Ore").setBlockTextureName("youtubers:Block_MrGregor_Ore").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
|
||||
Block_MrGregor_ = new Block_MrGregor_(Material.iron).setBlockName("Block_MrGregor_").setBlockTextureName("youtubers:Block_MrGregor_").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
|
||||
|
||||
//SSundee Blocks
|
||||
BlockSSundeeOre = new BlockSSundeeOre(Material.rock).setBlockName("BlockSSundeeOre").setBlockTextureName("youtubers:BlockSSundeeOre").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
|
||||
BlockSSundee = new BlockSSundee(Material.iron).setBlockName("BlockSSundee").setBlockTextureName("youtubers:BlockSSundee").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
|
||||
|
||||
//Magna_Invictus Blocks
|
||||
BlockMagna_InvictusOre = new BlockMagna_InvictusOre(Material.rock).setBlockName("BlockMagna_InvictusOre").setBlockTextureName("youtubers:BlockMagna_InvictusOre").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
|
||||
BlockMagna_Invictus = new BlockMagna_Invictus(Material.iron).setBlockName("BlockMagna_Invictus").setBlockTextureName("youtubers:BlockMagna_Invictus").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
|
||||
|
||||
//EckoSoldier Blocks
|
||||
BlockEckoSoldierOre = new BlockEckoSoldierOre(Material.rock).setBlockName("BlockEckoSoldierOre").setBlockTextureName("youtubers:BlockEckoSoldierOre").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
|
||||
BlockEckoSoldier = new BlockEckoSoldier(Material.iron).setBlockName("BlockEckoSoldier").setBlockTextureName("youtubers:BlockEckoSoldier").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
|
||||
|
||||
//BajanCanadian Blocks
|
||||
BlockBajanCanadianOre = new BlockBajanCanadianOre(Material.rock).setBlockName("BlockBajanCanadianOre").setBlockTextureName("youtubers:BlockBajanCanadianOre").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
|
||||
BlockBajanCanadian = new BlockBajanCanadian(Material.iron).setBlockName("BlockBajanCanadian").setBlockTextureName("youtubers:BlockBajanCanadian").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
|
||||
|
||||
registerBlocks();
|
||||
}
|
||||
|
||||
|
@ -167,7 +208,7 @@ public class BlockLoader {
|
|||
//HeyItsLuigi Blocks
|
||||
GameRegistry.registerBlock(BlockHeyItsLuigiOre, "BlockHeyItsLuigiOre");
|
||||
GameRegistry.registerBlock(BlockHeyItsLuigi, "BlockHeyItsLuigi");
|
||||
//GameRegistry.registerBlock(BlockHeyItsLuigiEgg, "BlockHeyItsLuigiEgg");
|
||||
GameRegistry.registerBlock(BlockHeyItsLuigiEgg, "BlockHeyItsLuigiEgg");
|
||||
|
||||
//Antvenom Blocks
|
||||
GameRegistry.registerBlock(BlockAntvenomOre, "BlockAntvenomOre");
|
||||
|
@ -186,6 +227,22 @@ public class BlockLoader {
|
|||
GameRegistry.registerBlock(Block_MrGregor_Ore, "Block_MrGregor_Ore");
|
||||
GameRegistry.registerBlock(Block_MrGregor_, "Block_MrGregor_");
|
||||
|
||||
//SSundee Blocks
|
||||
GameRegistry.registerBlock(BlockSSundeeOre, "BlockSSundeeOre");
|
||||
GameRegistry.registerBlock(BlockSSundee, "BlockSSundee");
|
||||
|
||||
//Magna_Invictus Blocks
|
||||
GameRegistry.registerBlock(BlockMagna_InvictusOre, "BlockMagna_InvictusOre");
|
||||
GameRegistry.registerBlock(BlockMagna_Invictus, "BlockMagna_Invictus");
|
||||
|
||||
//EckoSoldier Blocks
|
||||
GameRegistry.registerBlock(BlockEckoSoldierOre, "BlockEckoSoldierOre");
|
||||
GameRegistry.registerBlock(BlockEckoSoldier, "BlockEckoSoldier");
|
||||
|
||||
//BajanCanadian Blocks
|
||||
GameRegistry.registerBlock(BlockBajanCanadianOre, "BlockBajanCanadianOre");
|
||||
GameRegistry.registerBlock(BlockBajanCanadian, "BlockBajanCanadian");
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1,12 +1,21 @@
|
|||
package com.jtrent238.youtubers;
|
||||
|
||||
import com.jtrent238.youtubers.entity.player.EntityAlexIsCool;
|
||||
import com.jtrent238.youtubers.entity.player.EntityCowMan;
|
||||
import com.jtrent238.youtubers.entity.player.EntityFar;
|
||||
import com.jtrent238.youtubers.entity.player.EntityHER08RINE;
|
||||
import com.jtrent238.youtubers.entity.player.Entitycaptainspy6;
|
||||
import com.jtrent238.youtubers.entity.player.EntitymegablasterT;
|
||||
import com.jtrent238.youtubers.entity.youtuber.EntityAntvenom;
|
||||
import com.jtrent238.youtubers.entity.youtuber.EntityBajanCanadian;
|
||||
import com.jtrent238.youtubers.entity.youtuber.EntityDanTDM;
|
||||
import com.jtrent238.youtubers.entity.youtuber.EntityDerpSSundee;
|
||||
import com.jtrent238.youtubers.entity.youtuber.EntityEckoSoldier;
|
||||
import com.jtrent238.youtubers.entity.youtuber.EntityHeyItsLuigi;
|
||||
import com.jtrent238.youtubers.entity.youtuber.EntityJoy_Rider_2284;
|
||||
import com.jtrent238.youtubers.entity.youtuber.EntityLaurie201;
|
||||
import com.jtrent238.youtubers.entity.youtuber.EntityMagna_Invictus;
|
||||
import com.jtrent238.youtubers.entity.youtuber.EntitySSundee;
|
||||
import com.jtrent238.youtubers.entity.youtuber.EntitySethBling;
|
||||
import com.jtrent238.youtubers.entity.youtuber.Entity_MrGregor_;
|
||||
import com.jtrent238.youtubers.entity.youtuber.Entityblohod;
|
||||
|
@ -67,6 +76,25 @@ public class EntityLoader {
|
|||
EntityRegistry.registerGlobalEntityID(Entity_MrGregor_.class, "Entity_MrGregor_",EntityRegistry.findGlobalUniqueEntityId(), 0xff9000, 0x000000);
|
||||
EntityRegistry.addSpawn(Entity_MrGregor_.class, 5, 4, 6, EnumCreatureType.creature, BiomeGenBase.forest, BiomeGenBase.forestHills, BiomeGenBase.jungle, BiomeGenBase.forest, BiomeGenBase.plains, BiomeGenBase.beach, BiomeGenBase.mesa, BiomeGenBase.savanna, BiomeGenBase.desert, BiomeGenBase.desertHills);
|
||||
|
||||
//SSundee Registry
|
||||
EntityRegistry.registerGlobalEntityID(EntitySSundee.class, "EntitySSundee",EntityRegistry.findGlobalUniqueEntityId(), 0x000000, 0x595959);
|
||||
EntityRegistry.addSpawn(EntitySSundee.class, 5, 4, 6, EnumCreatureType.creature, BiomeGenBase.forest, BiomeGenBase.forestHills, BiomeGenBase.jungle, BiomeGenBase.forest, BiomeGenBase.plains, BiomeGenBase.beach, BiomeGenBase.mesa, BiomeGenBase.savanna, BiomeGenBase.desert, BiomeGenBase.desertHills);
|
||||
//Derp SSundee Registry
|
||||
EntityRegistry.registerGlobalEntityID(EntityDerpSSundee.class, "EntityDerpSSundee",EntityRegistry.findGlobalUniqueEntityId(), 0x000000, 0x595959);
|
||||
EntityRegistry.addSpawn(EntityDerpSSundee.class, 5, 4, 6, EnumCreatureType.creature, BiomeGenBase.forest, BiomeGenBase.forestHills, BiomeGenBase.jungle, BiomeGenBase.forest, BiomeGenBase.plains, BiomeGenBase.beach, BiomeGenBase.mesa, BiomeGenBase.savanna, BiomeGenBase.desert, BiomeGenBase.desertHills);
|
||||
|
||||
//Magna_Invictus Registry
|
||||
EntityRegistry.registerGlobalEntityID(EntityMagna_Invictus.class, "EntityMagna_Invictus",EntityRegistry.findGlobalUniqueEntityId(), 0x000000, 0x9b0096);
|
||||
EntityRegistry.addSpawn(EntityMagna_Invictus.class, 5, 4, 6, EnumCreatureType.creature, BiomeGenBase.forest, BiomeGenBase.forestHills, BiomeGenBase.jungle, BiomeGenBase.forest, BiomeGenBase.plains, BiomeGenBase.beach, BiomeGenBase.mesa, BiomeGenBase.savanna, BiomeGenBase.desert, BiomeGenBase.desertHills);
|
||||
|
||||
//EckoSoldier Registry
|
||||
EntityRegistry.registerGlobalEntityID(EntityEckoSoldier.class, "EntityEckoSoldier",EntityRegistry.findGlobalUniqueEntityId(), 0x32773c, 0x098c1c);
|
||||
EntityRegistry.addSpawn(EntityEckoSoldier.class, 5, 4, 6, EnumCreatureType.creature, BiomeGenBase.forest, BiomeGenBase.forestHills, BiomeGenBase.jungle, BiomeGenBase.forest, BiomeGenBase.plains, BiomeGenBase.beach, BiomeGenBase.mesa, BiomeGenBase.savanna, BiomeGenBase.desert, BiomeGenBase.desertHills);
|
||||
|
||||
//BajanCanadian Registry
|
||||
EntityRegistry.registerGlobalEntityID(EntityBajanCanadian.class, "EntityBajanCanadian",EntityRegistry.findGlobalUniqueEntityId(), 0x000000, 0xaa1106);
|
||||
EntityRegistry.addSpawn(EntityBajanCanadian.class, 5, 4, 6, EnumCreatureType.creature, BiomeGenBase.forest, BiomeGenBase.forestHills, BiomeGenBase.jungle, BiomeGenBase.forest, BiomeGenBase.plains, BiomeGenBase.beach, BiomeGenBase.mesa, BiomeGenBase.savanna, BiomeGenBase.desert, BiomeGenBase.desertHills);
|
||||
|
||||
}
|
||||
|
||||
public static void LoadPlayers() {
|
||||
|
@ -79,7 +107,22 @@ public class EntityLoader {
|
|||
EntityRegistry.registerGlobalEntityID(EntityHER08RINE.class, "EntityHER08RINE",EntityRegistry.findGlobalUniqueEntityId(), 0x00ff4c, 0xffffff);
|
||||
EntityRegistry.addSpawn(EntityHER08RINE.class, 2, 1, 3, EnumCreatureType.creature, BiomeGenBase.forest, BiomeGenBase.forestHills, BiomeGenBase.jungle, BiomeGenBase.forest, BiomeGenBase.plains, BiomeGenBase.beach, BiomeGenBase.mesa, BiomeGenBase.savanna, BiomeGenBase.desert, BiomeGenBase.desertHills);
|
||||
|
||||
|
||||
//AlexIsCool Registry
|
||||
EntityRegistry.registerGlobalEntityID(EntityAlexIsCool.class, "EntityAlexIsCool",EntityRegistry.findGlobalUniqueEntityId(), 0x30ddd1, 0x00ffed);
|
||||
EntityRegistry.addSpawn(EntityAlexIsCool.class, 2, 1, 3, EnumCreatureType.creature, BiomeGenBase.forest, BiomeGenBase.forestHills, BiomeGenBase.jungle, BiomeGenBase.forest, BiomeGenBase.plains, BiomeGenBase.beach, BiomeGenBase.mesa, BiomeGenBase.savanna, BiomeGenBase.desert, BiomeGenBase.desertHills);
|
||||
|
||||
//megablasterT Registry
|
||||
EntityRegistry.registerGlobalEntityID(EntitymegablasterT.class, "EntitymegablasterT",EntityRegistry.findGlobalUniqueEntityId(), 0xd5efed, 0x4fc1b9);
|
||||
EntityRegistry.addSpawn(EntitymegablasterT.class, 2, 1, 3, EnumCreatureType.creature, BiomeGenBase.forest, BiomeGenBase.forestHills, BiomeGenBase.jungle, BiomeGenBase.forest, BiomeGenBase.plains, BiomeGenBase.beach, BiomeGenBase.mesa, BiomeGenBase.savanna, BiomeGenBase.desert, BiomeGenBase.desertHills);
|
||||
|
||||
//CowMan Registry
|
||||
EntityRegistry.registerGlobalEntityID(EntityCowMan.class, "EntityCowMan",EntityRegistry.findGlobalUniqueEntityId(), 0xefd8d5, 0x843e33);
|
||||
EntityRegistry.addSpawn(EntityCowMan.class, 2, 1, 3, EnumCreatureType.creature, BiomeGenBase.forest, BiomeGenBase.forestHills, BiomeGenBase.jungle, BiomeGenBase.forest, BiomeGenBase.plains, BiomeGenBase.beach, BiomeGenBase.mesa, BiomeGenBase.savanna, BiomeGenBase.desert, BiomeGenBase.desertHills);
|
||||
|
||||
//Far Registry
|
||||
EntityRegistry.registerGlobalEntityID(EntityFar.class, "EntityFar",EntityRegistry.findGlobalUniqueEntityId(), 0xffc4ea, 0xffc4d2);
|
||||
EntityRegistry.addSpawn(EntityFar.class, 2, 1, 3, EnumCreatureType.creature, BiomeGenBase.forest, BiomeGenBase.forestHills, BiomeGenBase.jungle, BiomeGenBase.forest, BiomeGenBase.plains, BiomeGenBase.beach, BiomeGenBase.mesa, BiomeGenBase.savanna, BiomeGenBase.desert, BiomeGenBase.desertHills);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1,12 +1,21 @@
|
|||
package com.jtrent238.youtubers;
|
||||
|
||||
import com.jtrent238.youtubers.items.ItemDiamondMinecart;
|
||||
import com.jtrent238.youtubers.items.ItemDiamondPlayButton;
|
||||
import com.jtrent238.youtubers.items.ItemGoldPlayButton;
|
||||
import com.jtrent238.youtubers.items.ItemRandomBlockStructure_Placer;
|
||||
import com.jtrent238.youtubers.items.ItemRubyPlayButton;
|
||||
import com.jtrent238.youtubers.items.ItemSilverPlayButton;
|
||||
import com.jtrent238.youtubers.items.ItemSpawnEgg;
|
||||
import com.jtrent238.youtubers.items.armor.Antvenom_Armor;
|
||||
import com.jtrent238.youtubers.items.armor.BajanCanadian_Armor;
|
||||
import com.jtrent238.youtubers.items.armor.DanTDM_Armor;
|
||||
import com.jtrent238.youtubers.items.armor.EckoSoldier_Armor;
|
||||
import com.jtrent238.youtubers.items.armor.HeyItsLuigi_Armor;
|
||||
import com.jtrent238.youtubers.items.armor.Joy_Rider_2284_Armor;
|
||||
import com.jtrent238.youtubers.items.armor.Laurie201_Armor;
|
||||
import com.jtrent238.youtubers.items.armor.Magna_Invictus_Armor;
|
||||
import com.jtrent238.youtubers.items.armor.SSundee_Armor;
|
||||
import com.jtrent238.youtubers.items.armor.SethBling_Armor;
|
||||
import com.jtrent238.youtubers.items.armor._MrGregor__Armor;
|
||||
import com.jtrent238.youtubers.items.armor.blohod_Armor;
|
||||
|
@ -14,10 +23,14 @@ import com.jtrent238.youtubers.items.armor.jtrent238_Armor;
|
|||
import com.jtrent238.youtubers.items.armor.skythekidRS_Armor;
|
||||
import com.jtrent238.youtubers.items.armor.xJSQ_Armor;
|
||||
import com.jtrent238.youtubers.items.materials.ItemAntvenomIngot;
|
||||
import com.jtrent238.youtubers.items.materials.ItemBajanCanadianIngot;
|
||||
import com.jtrent238.youtubers.items.materials.ItemDanTDMIngot;
|
||||
import com.jtrent238.youtubers.items.materials.ItemEckoSoldierIngot;
|
||||
import com.jtrent238.youtubers.items.materials.ItemHeyItsLuigiIngot;
|
||||
import com.jtrent238.youtubers.items.materials.ItemJoy_Rider_2284Ingot;
|
||||
import com.jtrent238.youtubers.items.materials.ItemLaurie201Ingot;
|
||||
import com.jtrent238.youtubers.items.materials.ItemMagna_InvictusIngot;
|
||||
import com.jtrent238.youtubers.items.materials.ItemSSundeeIngot;
|
||||
import com.jtrent238.youtubers.items.materials.ItemSethBlingIngot;
|
||||
import com.jtrent238.youtubers.items.materials.Item_MrGregor_Ingot;
|
||||
import com.jtrent238.youtubers.items.materials.ItemblohodIngot;
|
||||
|
@ -29,11 +42,21 @@ import com.jtrent238.youtubers.items.tools.ItemAntvenomHoe;
|
|||
import com.jtrent238.youtubers.items.tools.ItemAntvenomMultiTool;
|
||||
import com.jtrent238.youtubers.items.tools.ItemAntvenomPickaxe;
|
||||
import com.jtrent238.youtubers.items.tools.ItemAntvenomShovel;
|
||||
import com.jtrent238.youtubers.items.tools.ItemBajanCanadianAxe;
|
||||
import com.jtrent238.youtubers.items.tools.ItemBajanCanadianHoe;
|
||||
import com.jtrent238.youtubers.items.tools.ItemBajanCanadianMultiTool;
|
||||
import com.jtrent238.youtubers.items.tools.ItemBajanCanadianPickaxe;
|
||||
import com.jtrent238.youtubers.items.tools.ItemBajanCanadianShovel;
|
||||
import com.jtrent238.youtubers.items.tools.ItemDanTDMAxe;
|
||||
import com.jtrent238.youtubers.items.tools.ItemDanTDMHoe;
|
||||
import com.jtrent238.youtubers.items.tools.ItemDanTDMMultiTool;
|
||||
import com.jtrent238.youtubers.items.tools.ItemDanTDMPickaxe;
|
||||
import com.jtrent238.youtubers.items.tools.ItemDanTDMShovel;
|
||||
import com.jtrent238.youtubers.items.tools.ItemEckoSoldierAxe;
|
||||
import com.jtrent238.youtubers.items.tools.ItemEckoSoldierHoe;
|
||||
import com.jtrent238.youtubers.items.tools.ItemEckoSoldierMultiTool;
|
||||
import com.jtrent238.youtubers.items.tools.ItemEckoSoldierPickaxe;
|
||||
import com.jtrent238.youtubers.items.tools.ItemEckoSoldierShovel;
|
||||
import com.jtrent238.youtubers.items.tools.ItemFireHoe;
|
||||
import com.jtrent238.youtubers.items.tools.ItemHeyItsLuigiAxe;
|
||||
import com.jtrent238.youtubers.items.tools.ItemHeyItsLuigiHoe;
|
||||
|
@ -50,6 +73,16 @@ import com.jtrent238.youtubers.items.tools.ItemLaurie201Hoe;
|
|||
import com.jtrent238.youtubers.items.tools.ItemLaurie201MultiTool;
|
||||
import com.jtrent238.youtubers.items.tools.ItemLaurie201Pickaxe;
|
||||
import com.jtrent238.youtubers.items.tools.ItemLaurie201Shovel;
|
||||
import com.jtrent238.youtubers.items.tools.ItemMagna_InvictusAxe;
|
||||
import com.jtrent238.youtubers.items.tools.ItemMagna_InvictusHoe;
|
||||
import com.jtrent238.youtubers.items.tools.ItemMagna_InvictusMultiTool;
|
||||
import com.jtrent238.youtubers.items.tools.ItemMagna_InvictusPickaxe;
|
||||
import com.jtrent238.youtubers.items.tools.ItemMagna_InvictusShovel;
|
||||
import com.jtrent238.youtubers.items.tools.ItemSSundeeAxe;
|
||||
import com.jtrent238.youtubers.items.tools.ItemSSundeeHoe;
|
||||
import com.jtrent238.youtubers.items.tools.ItemSSundeeMultiTool;
|
||||
import com.jtrent238.youtubers.items.tools.ItemSSundeePickaxe;
|
||||
import com.jtrent238.youtubers.items.tools.ItemSSundeeShovel;
|
||||
import com.jtrent238.youtubers.items.tools.ItemSethBlingAxe;
|
||||
import com.jtrent238.youtubers.items.tools.ItemSethBlingHoe;
|
||||
import com.jtrent238.youtubers.items.tools.ItemSethBlingMultiTool;
|
||||
|
@ -81,10 +114,14 @@ import com.jtrent238.youtubers.items.tools.ItemxJSQMultiTool;
|
|||
import com.jtrent238.youtubers.items.tools.ItemxJSQPickaxe;
|
||||
import com.jtrent238.youtubers.items.tools.ItemxJSQShovel;
|
||||
import com.jtrent238.youtubers.items.tools.weapons.ItemAntvenomSword;
|
||||
import com.jtrent238.youtubers.items.tools.weapons.ItemBajanCanadianSword;
|
||||
import com.jtrent238.youtubers.items.tools.weapons.ItemDanTDMSword;
|
||||
import com.jtrent238.youtubers.items.tools.weapons.ItemEckoSoldierSword;
|
||||
import com.jtrent238.youtubers.items.tools.weapons.ItemHeyItsLuigiSword;
|
||||
import com.jtrent238.youtubers.items.tools.weapons.ItemJoy_Rider_2284Sword;
|
||||
import com.jtrent238.youtubers.items.tools.weapons.ItemLaurie201Sword;
|
||||
import com.jtrent238.youtubers.items.tools.weapons.ItemMagna_InvictusSword;
|
||||
import com.jtrent238.youtubers.items.tools.weapons.ItemSSundeeSword;
|
||||
import com.jtrent238.youtubers.items.tools.weapons.ItemSethBlingSword;
|
||||
import com.jtrent238.youtubers.items.tools.weapons.Item_MrGregor_Sword;
|
||||
import com.jtrent238.youtubers.items.tools.weapons.ItemblohodSword;
|
||||
|
@ -102,6 +139,12 @@ import net.minecraftforge.common.util.EnumHelper;
|
|||
public class ItemLoader {
|
||||
|
||||
public static Item ItemSpawnEgg;
|
||||
public static Item ItemRandomBlockStructure_Placer;
|
||||
public static Item ItemSilverPlayButton;
|
||||
public static Item ItemGoldPlayButton;
|
||||
public static Item ItemDiamondPlayButton;
|
||||
public static Item ItemRubyPlayButton;
|
||||
|
||||
//xJSQ Stuff
|
||||
public static Item ItemxJSQIngot;
|
||||
public static Item ItemxJSQHelment;
|
||||
|
@ -248,6 +291,58 @@ public class ItemLoader {
|
|||
public static Item Item_MrGregor_Hoe;
|
||||
public static Item Item_MrGregor_MultiTool;
|
||||
|
||||
//SSundee Stuff
|
||||
public static Item ItemSSundeeIngot;
|
||||
public static Item ItemSSundeeHelment;
|
||||
public static Item ItemSSundeeChestplate;
|
||||
public static Item ItemSSundeeLeggings;
|
||||
public static Item ItemSSundeeBoots;
|
||||
public static Item ItemSSundeeSword;
|
||||
public static Item ItemSSundeePickaxe;
|
||||
public static Item ItemSSundeeAxe;
|
||||
public static Item ItemSSundeeShovel;
|
||||
public static Item ItemSSundeeHoe;
|
||||
public static Item ItemSSundeeMultiTool;
|
||||
|
||||
//Magna_Invictus Stuff
|
||||
public static Item ItemMagna_InvictusIngot;
|
||||
public static Item ItemMagna_InvictusHelment;
|
||||
public static Item ItemMagna_InvictusChestplate;
|
||||
public static Item ItemMagna_InvictusLeggings;
|
||||
public static Item ItemMagna_InvictusBoots;
|
||||
public static Item ItemMagna_InvictusSword;
|
||||
public static Item ItemMagna_InvictusPickaxe;
|
||||
public static Item ItemMagna_InvictusAxe;
|
||||
public static Item ItemMagna_InvictusShovel;
|
||||
public static Item ItemMagna_InvictusHoe;
|
||||
public static Item ItemMagna_InvictusMultiTool;
|
||||
|
||||
//EckoSoldier Stuff
|
||||
public static Item ItemEckoSoldierIngot;
|
||||
public static Item ItemEckoSoldierHelment;
|
||||
public static Item ItemEckoSoldierChestplate;
|
||||
public static Item ItemEckoSoldierLeggings;
|
||||
public static Item ItemEckoSoldierBoots;
|
||||
public static Item ItemEckoSoldierSword;
|
||||
public static Item ItemEckoSoldierPickaxe;
|
||||
public static Item ItemEckoSoldierAxe;
|
||||
public static Item ItemEckoSoldierShovel;
|
||||
public static Item ItemEckoSoldierHoe;
|
||||
public static Item ItemEckoSoldierMultiTool;
|
||||
|
||||
//BajanCanadian Stuff
|
||||
public static Item ItemBajanCanadianIngot;
|
||||
public static Item ItemBajanCanadianHelment;
|
||||
public static Item ItemBajanCanadianChestplate;
|
||||
public static Item ItemBajanCanadianLeggings;
|
||||
public static Item ItemBajanCanadianBoots;
|
||||
public static Item ItemBajanCanadianSword;
|
||||
public static Item ItemBajanCanadianPickaxe;
|
||||
public static Item ItemBajanCanadianAxe;
|
||||
public static Item ItemBajanCanadianShovel;
|
||||
public static Item ItemBajanCanadianHoe;
|
||||
public static Item ItemBajanCanadianMultiTool;
|
||||
|
||||
|
||||
private static int JSQ = 10; //xJSQ Multiplier
|
||||
private static int TDM = 10; //DanTDM Multiplier
|
||||
|
@ -260,6 +355,10 @@ public class ItemLoader {
|
|||
private static int JOYR = 10; //Joy_Rider_2284 Multiplier
|
||||
private static int JTRENT238 = 10; //jtrent238 Multiplier
|
||||
private static int MRGREG = 10; //_MrGregor_ Multiplier
|
||||
private static int SUNDEE = 10; //SSundee Multiplier
|
||||
private static int MAGINV = 10; //Magna_Invictus Multiplier
|
||||
private static int ECKO = 10; //EckoSoldier Multiplier
|
||||
private static int BCAN = 10; //BajanCanadian Multiplier
|
||||
|
||||
//xJSQ Tool & Armor Material
|
||||
public static ArmorMaterial xJSQ_ARMOR = EnumHelper.addArmorMaterial("xJSQ_ARMOR", 16, new int[] {3 * JSQ, 8 * JSQ, 6 * JSQ, 3 * JSQ}, 30 * JSQ);
|
||||
|
@ -305,6 +404,22 @@ public class ItemLoader {
|
|||
public static ArmorMaterial _MrGregor__ARMOR = EnumHelper.addArmorMaterial("_MrGregor__ARMOR", 16, new int[] {3 * MRGREG, 8 * MRGREG, 6 * MRGREG, 3 * MRGREG}, 30 * MRGREG);
|
||||
public static ToolMaterial _MrGregor__TOOL = EnumHelper.addToolMaterial("_MrGregor__TOOL", 3 * MRGREG, 1561 * MRGREG, 8.0F * MRGREG, 3.0F * MRGREG, 10 * MRGREG);
|
||||
|
||||
//SSundee Tool & Armor Material
|
||||
public static ArmorMaterial SSundee_ARMOR = EnumHelper.addArmorMaterial("SSundee_ARMOR", 16, new int[] {3 * SUNDEE, 8 * SUNDEE, 6 * SUNDEE, 3 * SUNDEE}, 30 * SUNDEE);
|
||||
public static ToolMaterial SSundee_TOOL = EnumHelper.addToolMaterial("SSundee_TOOL", 3 * SUNDEE, 1561 * SUNDEE, 8.0F * SUNDEE, 3.0F * SUNDEE, 10 * SUNDEE);
|
||||
|
||||
//Magna_Invictus Tool & Armor Material
|
||||
public static ArmorMaterial Magna_Invictus_ARMOR = EnumHelper.addArmorMaterial("Magna_Invictus_ARMOR", 16, new int[] {3 * SUNDEE, 8 * SUNDEE, 6 * SUNDEE, 3 * SUNDEE}, 30 * SUNDEE);
|
||||
public static ToolMaterial Magna_Invictus_TOOL = EnumHelper.addToolMaterial("Magna_Invictus_TOOL", 3 * SUNDEE, 1561 * SUNDEE, 8.0F * SUNDEE, 3.0F * SUNDEE, 10 * SUNDEE);
|
||||
|
||||
//EckoSoldier Tool & Armor Material
|
||||
public static ArmorMaterial EckoSoldier_ARMOR = EnumHelper.addArmorMaterial("EckoSoldier_ARMOR", 16, new int[] {3 * ECKO, 8 * ECKO, 6 * ECKO, 3 * ECKO}, 30 * ECKO);
|
||||
public static ToolMaterial EckoSoldier_TOOL = EnumHelper.addToolMaterial("EckoSoldier_TOOL", 3 * ECKO, 1561 * ECKO, 8.0F * ECKO, 3.0F * ECKO, 10 * ECKO);
|
||||
|
||||
//BajanCanadian Tool & Armor Material
|
||||
public static ArmorMaterial BajanCanadian_ARMOR = EnumHelper.addArmorMaterial("BajanCanadian_ARMOR", 16, new int[] {3 * BCAN, 8 * BCAN, 6 * BCAN, 3 * BCAN}, 30 * BCAN);
|
||||
public static ToolMaterial BajanCanadian_TOOL = EnumHelper.addToolMaterial("BajanCanadian_TOOL", 3 * BCAN, 1561 * BCAN, 8.0F * BCAN, 3.0F * BCAN, 10 * BCAN);
|
||||
|
||||
/**
|
||||
* Load Items.
|
||||
*/
|
||||
|
@ -312,7 +427,12 @@ public class ItemLoader {
|
|||
|
||||
|
||||
ItemSpawnEgg = new ItemSpawnEgg().setUnlocalizedName("ItemSpawnEgg").setTextureName("youtubers:ItemSpawnEgg")/*.setCreativeTab(YouTubers.YouTubers)*/;
|
||||
|
||||
ItemRandomBlockStructure_Placer = new ItemRandomBlockStructure_Placer(0).setUnlocalizedName("ItemRandomBlockStructure_Placer").setTextureName("youtubers:ItemRandomBlockStructure_Placer")/*.setCreativeTab(YouTubers.YouTubers)*/;
|
||||
ItemSilverPlayButton = new ItemSilverPlayButton().setUnlocalizedName("ItemSilverPlayButton").setTextureName("youtubers:ItemSilverPlayButton").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemGoldPlayButton = new ItemGoldPlayButton().setUnlocalizedName("ItemGoldPlayButton").setTextureName("youtubers:ItemGoldPlayButton").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemDiamondPlayButton = new ItemDiamondPlayButton().setUnlocalizedName("ItemDiamondPlayButton").setTextureName("youtubers:ItemDiamondPlayButton").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemRubyPlayButton = new ItemRubyPlayButton().setUnlocalizedName("ItemRubyPlayButton").setTextureName("youtubers:ItemRubyPlayButton").setCreativeTab(YouTubers.YouTubers);
|
||||
|
||||
//xJSQ Stuff
|
||||
ItemxJSQIngot = new ItemxJSQIngot().setUnlocalizedName("ItemxJSQIngot").setTextureName("youtubers:ItemxJSQIngot").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemxJSQHelment = new xJSQ_Armor(xJSQ_ARMOR, 0, 0).setUnlocalizedName("ItemxJSQHelment").setTextureName("youtubers:ItemxJSQHelment").setCreativeTab(YouTubers.YouTubers);
|
||||
|
@ -459,6 +579,58 @@ public class ItemLoader {
|
|||
Item_MrGregor_Hoe = new Item_MrGregor_Hoe(_MrGregor__TOOL).setUnlocalizedName("Item_MrGregor_Hoe").setTextureName("youtubers:Item_MrGregor_Hoe").setCreativeTab(YouTubers.YouTubers);
|
||||
Item_MrGregor_MultiTool = new Item_MrGregor_MultiTool(_MrGregor__TOOL).setUnlocalizedName("Item_MrGregor_MultiTool").setTextureName("youtubers:Item_MrGregor_MultiTool").setCreativeTab(YouTubers.YouTubers);
|
||||
|
||||
//SSundee Stuff
|
||||
ItemSSundeeIngot = new ItemSSundeeIngot().setUnlocalizedName("ItemSSundeeIngot").setTextureName("youtubers:ItemSSundeeIngot").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemSSundeeHelment = new SSundee_Armor(SSundee_ARMOR, 0, 0).setUnlocalizedName("ItemSSundeeHelment").setTextureName("youtubers:ItemSSundeeHelment").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemSSundeeChestplate = new SSundee_Armor(SSundee_ARMOR, 1, 1).setUnlocalizedName("ItemSSundeeChestplate").setTextureName("youtubers:ItemSSundeeChestplate").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemSSundeeLeggings = new SSundee_Armor(SSundee_ARMOR, 2, 2).setUnlocalizedName("ItemSSundeeLeggings").setTextureName("youtubers:ItemSSundeeLeggings").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemSSundeeBoots = new SSundee_Armor(SSundee_ARMOR, 3, 3).setUnlocalizedName("ItemSSundeeBoots").setTextureName("youtubers:ItemSSundeeBoots").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemSSundeeSword = new ItemSSundeeSword(SSundee_TOOL).setUnlocalizedName("ItemSSundeeSword").setTextureName("youtubers:ItemSSundeeSword").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemSSundeePickaxe = new ItemSSundeePickaxe(SSundee_TOOL).setUnlocalizedName("ItemSSundeePickaxe").setTextureName("youtubers:ItemSSundeePickaxe").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemSSundeeAxe = new ItemSSundeeAxe(SSundee_TOOL).setUnlocalizedName("ItemSSundeeAxe").setTextureName("youtubers:ItemSSundeeAxe").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemSSundeeShovel = new ItemSSundeeShovel(SSundee_TOOL).setUnlocalizedName("ItemSSundeeShovel").setTextureName("youtubers:ItemSSundeeShovel").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemSSundeeHoe = new ItemSSundeeHoe(SSundee_TOOL).setUnlocalizedName("ItemSSundeeHoe").setTextureName("youtubers:ItemSSundeeHoe").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemSSundeeMultiTool = new ItemSSundeeMultiTool(SSundee_TOOL).setUnlocalizedName("ItemSSundeeMultiTool").setTextureName("youtubers:ItemSSundeeMultiTool").setCreativeTab(YouTubers.YouTubers);
|
||||
|
||||
//Magna_Invictus Stuff
|
||||
ItemMagna_InvictusIngot = new ItemMagna_InvictusIngot().setUnlocalizedName("ItemMagna_InvictusIngot").setTextureName("youtubers:ItemMagna_InvictusIngot").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemMagna_InvictusHelment = new Magna_Invictus_Armor(Magna_Invictus_ARMOR, 0, 0).setUnlocalizedName("ItemMagna_InvictusHelment").setTextureName("youtubers:ItemMagna_InvictusHelment").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemMagna_InvictusChestplate = new Magna_Invictus_Armor(Magna_Invictus_ARMOR, 1, 1).setUnlocalizedName("ItemMagna_InvictusChestplate").setTextureName("youtubers:ItemMagna_InvictusChestplate").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemMagna_InvictusLeggings = new Magna_Invictus_Armor(Magna_Invictus_ARMOR, 2, 2).setUnlocalizedName("ItemMagna_InvictusLeggings").setTextureName("youtubers:ItemMagna_InvictusLeggings").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemMagna_InvictusBoots = new Magna_Invictus_Armor(Magna_Invictus_ARMOR, 3, 3).setUnlocalizedName("ItemMagna_InvictusBoots").setTextureName("youtubers:ItemMagna_InvictusBoots").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemMagna_InvictusSword = new ItemMagna_InvictusSword(Magna_Invictus_TOOL).setUnlocalizedName("ItemMagna_InvictusSword").setTextureName("youtubers:ItemMagna_InvictusSword").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemMagna_InvictusPickaxe = new ItemMagna_InvictusPickaxe(Magna_Invictus_TOOL).setUnlocalizedName("ItemMagna_InvictusPickaxe").setTextureName("youtubers:ItemMagna_InvictusPickaxe").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemMagna_InvictusAxe = new ItemMagna_InvictusAxe(Magna_Invictus_TOOL).setUnlocalizedName("ItemMagna_InvictusAxe").setTextureName("youtubers:ItemMagna_InvictusAxe").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemMagna_InvictusShovel = new ItemMagna_InvictusShovel(Magna_Invictus_TOOL).setUnlocalizedName("ItemMagna_InvictusShovel").setTextureName("youtubers:ItemMagna_InvictusShovel").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemMagna_InvictusHoe = new ItemMagna_InvictusHoe(Magna_Invictus_TOOL).setUnlocalizedName("ItemMagna_InvictusHoe").setTextureName("youtubers:ItemMagna_InvictusHoe").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemMagna_InvictusMultiTool = new ItemMagna_InvictusMultiTool(Magna_Invictus_TOOL).setUnlocalizedName("ItemMagna_InvictusMultiTool").setTextureName("youtubers:ItemMagna_InvictusMultiTool").setCreativeTab(YouTubers.YouTubers);
|
||||
|
||||
//EckoSoldier Stuff
|
||||
ItemEckoSoldierIngot = new ItemEckoSoldierIngot().setUnlocalizedName("ItemEckoSoldierIngot").setTextureName("youtubers:ItemEckoSoldierIngot").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemEckoSoldierHelment = new EckoSoldier_Armor(EckoSoldier_ARMOR, 0, 0).setUnlocalizedName("ItemEckoSoldierHelment").setTextureName("youtubers:ItemEckoSoldierHelment").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemEckoSoldierChestplate = new EckoSoldier_Armor(EckoSoldier_ARMOR, 1, 1).setUnlocalizedName("ItemEckoSoldierChestplate").setTextureName("youtubers:ItemEckoSoldierChestplate").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemEckoSoldierLeggings = new EckoSoldier_Armor(EckoSoldier_ARMOR, 2, 2).setUnlocalizedName("ItemEckoSoldierLeggings").setTextureName("youtubers:ItemEckoSoldierLeggings").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemEckoSoldierBoots = new EckoSoldier_Armor(EckoSoldier_ARMOR, 3, 3).setUnlocalizedName("ItemEckoSoldierBoots").setTextureName("youtubers:ItemEckoSoldierBoots").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemEckoSoldierSword = new ItemEckoSoldierSword(EckoSoldier_TOOL).setUnlocalizedName("ItemEckoSoldierSword").setTextureName("youtubers:ItemEckoSoldierSword").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemEckoSoldierPickaxe = new ItemEckoSoldierPickaxe(EckoSoldier_TOOL).setUnlocalizedName("ItemEckoSoldierPickaxe").setTextureName("youtubers:ItemEckoSoldierPickaxe").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemEckoSoldierAxe = new ItemEckoSoldierAxe(EckoSoldier_TOOL).setUnlocalizedName("ItemEckoSoldierAxe").setTextureName("youtubers:ItemEckoSoldierAxe").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemEckoSoldierShovel = new ItemEckoSoldierShovel(EckoSoldier_TOOL).setUnlocalizedName("ItemEckoSoldierShovel").setTextureName("youtubers:ItemEckoSoldierShovel").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemEckoSoldierHoe = new ItemEckoSoldierHoe(EckoSoldier_TOOL).setUnlocalizedName("ItemEckoSoldierHoe").setTextureName("youtubers:ItemEckoSoldierHoe").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemEckoSoldierMultiTool = new ItemEckoSoldierMultiTool(EckoSoldier_TOOL).setUnlocalizedName("ItemEckoSoldierMultiTool").setTextureName("youtubers:ItemEckoSoldierMultiTool").setCreativeTab(YouTubers.YouTubers);
|
||||
|
||||
//BajanCanadian Stuff
|
||||
ItemBajanCanadianIngot = new ItemBajanCanadianIngot().setUnlocalizedName("ItemBajanCanadianIngot").setTextureName("youtubers:ItemBajanCanadianIngot").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemBajanCanadianHelment = new BajanCanadian_Armor(BajanCanadian_ARMOR, 0, 0).setUnlocalizedName("ItemBajanCanadianHelment").setTextureName("youtubers:ItemBajanCanadianHelment").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemBajanCanadianChestplate = new BajanCanadian_Armor(BajanCanadian_ARMOR, 1, 1).setUnlocalizedName("ItemBajanCanadianChestplate").setTextureName("youtubers:ItemBajanCanadianChestplate").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemBajanCanadianLeggings = new BajanCanadian_Armor(BajanCanadian_ARMOR, 2, 2).setUnlocalizedName("ItemBajanCanadianLeggings").setTextureName("youtubers:ItemBajanCanadianLeggings").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemBajanCanadianBoots = new BajanCanadian_Armor(BajanCanadian_ARMOR, 3, 3).setUnlocalizedName("ItemBajanCanadianBoots").setTextureName("youtubers:ItemBajanCanadianBoots").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemBajanCanadianSword = new ItemBajanCanadianSword(BajanCanadian_TOOL).setUnlocalizedName("ItemBajanCanadianSword").setTextureName("youtubers:ItemBajanCanadianSword").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemBajanCanadianPickaxe = new ItemBajanCanadianPickaxe(BajanCanadian_TOOL).setUnlocalizedName("ItemBajanCanadianPickaxe").setTextureName("youtubers:ItemBajanCanadianPickaxe").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemBajanCanadianAxe = new ItemBajanCanadianAxe(BajanCanadian_TOOL).setUnlocalizedName("ItemBajanCanadianAxe").setTextureName("youtubers:ItemBajanCanadianAxe").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemBajanCanadianShovel = new ItemBajanCanadianShovel(BajanCanadian_TOOL).setUnlocalizedName("ItemBajanCanadianShovel").setTextureName("youtubers:ItemBajanCanadianShovel").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemBajanCanadianHoe = new ItemBajanCanadianHoe(BajanCanadian_TOOL).setUnlocalizedName("ItemBajanCanadianHoe").setTextureName("youtubers:ItemBajanCanadianHoe").setCreativeTab(YouTubers.YouTubers);
|
||||
ItemBajanCanadianMultiTool = new ItemBajanCanadianMultiTool(BajanCanadian_TOOL).setUnlocalizedName("ItemBajanCanadianMultiTool").setTextureName("youtubers:ItemBajanCanadianMultiTool").setCreativeTab(YouTubers.YouTubers);
|
||||
|
||||
registerItems();
|
||||
|
||||
}
|
||||
|
@ -469,7 +641,12 @@ public class ItemLoader {
|
|||
private static void registerItems(){
|
||||
|
||||
GameRegistry.registerItem(ItemSpawnEgg, ItemSpawnEgg.getUnlocalizedName().substring(5));
|
||||
|
||||
GameRegistry.registerItem(ItemRandomBlockStructure_Placer, ItemRandomBlockStructure_Placer.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemSilverPlayButton, ItemSilverPlayButton.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemGoldPlayButton, ItemGoldPlayButton.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemDiamondPlayButton, ItemDiamondPlayButton.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemRubyPlayButton, ItemRubyPlayButton.getUnlocalizedName().substring(5));
|
||||
|
||||
//xJSQ Stuff
|
||||
GameRegistry.registerItem(ItemxJSQIngot, ItemxJSQIngot.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemxJSQHelment, ItemxJSQHelment.getUnlocalizedName().substring(5));
|
||||
|
@ -616,5 +793,70 @@ public class ItemLoader {
|
|||
GameRegistry.registerItem(Item_MrGregor_Hoe, Item_MrGregor_Hoe.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(Item_MrGregor_MultiTool, Item_MrGregor_MultiTool.getUnlocalizedName().substring(5));
|
||||
|
||||
//SSundee Stuff
|
||||
GameRegistry.registerItem(ItemSSundeeIngot, ItemSSundeeIngot.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemSSundeeHelment, ItemSSundeeHelment.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemSSundeeChestplate, ItemSSundeeChestplate.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemSSundeeLeggings, ItemSSundeeLeggings.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemSSundeeBoots, ItemSSundeeBoots.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemSSundeeSword, ItemSSundeeSword.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemSSundeePickaxe, ItemSSundeePickaxe.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemSSundeeAxe, ItemSSundeeAxe.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemSSundeeShovel, ItemSSundeeShovel.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemSSundeeHoe, ItemSSundeeHoe.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemSSundeeMultiTool, ItemSSundeeMultiTool.getUnlocalizedName().substring(5));
|
||||
|
||||
//Magna_Invictus Stuff
|
||||
GameRegistry.registerItem(ItemMagna_InvictusIngot, ItemMagna_InvictusIngot.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemMagna_InvictusHelment, ItemMagna_InvictusHelment.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemMagna_InvictusChestplate, ItemMagna_InvictusChestplate.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemMagna_InvictusLeggings, ItemMagna_InvictusLeggings.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemMagna_InvictusBoots, ItemMagna_InvictusBoots.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemMagna_InvictusSword, ItemMagna_InvictusSword.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemMagna_InvictusPickaxe, ItemMagna_InvictusPickaxe.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemMagna_InvictusAxe, ItemMagna_InvictusAxe.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemMagna_InvictusShovel, ItemMagna_InvictusShovel.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemMagna_InvictusHoe, ItemMagna_InvictusHoe.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemMagna_InvictusMultiTool, ItemMagna_InvictusMultiTool.getUnlocalizedName().substring(5));
|
||||
|
||||
//EckoSoldier Stuff
|
||||
GameRegistry.registerItem(ItemEckoSoldierIngot, ItemEckoSoldierIngot.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemEckoSoldierHelment, ItemEckoSoldierHelment.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemEckoSoldierChestplate, ItemEckoSoldierChestplate.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemEckoSoldierLeggings, ItemEckoSoldierLeggings.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemEckoSoldierBoots, ItemEckoSoldierBoots.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemEckoSoldierSword, ItemEckoSoldierSword.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemEckoSoldierPickaxe, ItemEckoSoldierPickaxe.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemEckoSoldierAxe, ItemEckoSoldierAxe.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemEckoSoldierShovel, ItemEckoSoldierShovel.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemEckoSoldierHoe, ItemEckoSoldierHoe.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemEckoSoldierMultiTool, ItemEckoSoldierMultiTool.getUnlocalizedName().substring(5));
|
||||
|
||||
//EckoSoldier Stuff
|
||||
GameRegistry.registerItem(ItemEckoSoldierIngot, ItemEckoSoldierIngot.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemEckoSoldierHelment, ItemEckoSoldierHelment.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemEckoSoldierChestplate, ItemEckoSoldierChestplate.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemEckoSoldierLeggings, ItemEckoSoldierLeggings.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemEckoSoldierBoots, ItemEckoSoldierBoots.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemEckoSoldierSword, ItemEckoSoldierSword.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemEckoSoldierPickaxe, ItemEckoSoldierPickaxe.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemEckoSoldierAxe, ItemEckoSoldierAxe.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemEckoSoldierShovel, ItemEckoSoldierShovel.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemEckoSoldierHoe, ItemEckoSoldierHoe.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemEckoSoldierMultiTool, ItemEckoSoldierMultiTool.getUnlocalizedName().substring(5));
|
||||
|
||||
//BajanCanadian Stuff
|
||||
GameRegistry.registerItem(ItemBajanCanadianIngot, ItemBajanCanadianIngot.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemBajanCanadianHelment, ItemBajanCanadianHelment.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemBajanCanadianChestplate, ItemBajanCanadianChestplate.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemBajanCanadianLeggings, ItemBajanCanadianLeggings.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemBajanCanadianBoots, ItemBajanCanadianBoots.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemBajanCanadianSword, ItemBajanCanadianSword.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemBajanCanadianPickaxe, ItemBajanCanadianPickaxe.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemBajanCanadianAxe, ItemBajanCanadianAxe.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemBajanCanadianShovel, ItemBajanCanadianShovel.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemBajanCanadianHoe, ItemBajanCanadianHoe.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(ItemBajanCanadianMultiTool, ItemBajanCanadianMultiTool.getUnlocalizedName().substring(5));
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,17 +15,65 @@ public class OreDict {
|
|||
|
||||
|
||||
OreDictionary.registerOre("ore_xJSQ", BlockLoader.BlockxJSQOre);
|
||||
OreDictionary.registerOre("ingot_xJSQ", ItemLoader.ItemxJSQIngot);
|
||||
OreDictionary.registerOre("block_xJSQ", BlockLoader.BlockxJSQ);
|
||||
|
||||
OreDictionary.registerOre("ore_DanTDM", BlockLoader.BlockDanTDMOre);
|
||||
OreDictionary.registerOre("ingot_DanTDM", ItemLoader.ItemDanTDMIngot);
|
||||
OreDictionary.registerOre("block_DanTDM", BlockLoader.BlockDanTDM);
|
||||
|
||||
OreDictionary.registerOre("ore_SethBling", BlockLoader.BlockSethBlingOre);
|
||||
OreDictionary.registerOre("ingot_SethBling", ItemLoader.ItemSethBlingIngot);
|
||||
OreDictionary.registerOre("block_SethBling", BlockLoader.BlockSethBling);
|
||||
|
||||
OreDictionary.registerOre("ore_Laurie201", BlockLoader.BlockLaurie201Ore);
|
||||
OreDictionary.registerOre("ingot_Laurie201", ItemLoader.ItemLaurie201Ingot);
|
||||
OreDictionary.registerOre("block_Laurie201", BlockLoader.BlockLaurie201);
|
||||
|
||||
OreDictionary.registerOre("ore_blohod", BlockLoader.BlockblohodOre);
|
||||
OreDictionary.registerOre("ingot_blohod", ItemLoader.ItemblohodIngot);
|
||||
OreDictionary.registerOre("block_blohod", BlockLoader.Blockblohod);
|
||||
|
||||
OreDictionary.registerOre("ore_skythekidRS", BlockLoader.BlockskythekidRSOre);
|
||||
OreDictionary.registerOre("ingot_skythekidRS", ItemLoader.ItemskythekidRSIngot);
|
||||
OreDictionary.registerOre("block_skythekidRS", BlockLoader.BlockskythekidRS);
|
||||
|
||||
OreDictionary.registerOre("ore_HeyItsLuigi", BlockLoader.BlockHeyItsLuigiOre);
|
||||
OreDictionary.registerOre("ingot_HeyItsLuigi", ItemLoader.ItemHeyItsLuigiIngot);
|
||||
OreDictionary.registerOre("block_HeyItsLuigi", BlockLoader.BlockHeyItsLuigi);
|
||||
|
||||
OreDictionary.registerOre("ore_Antvenom", BlockLoader.BlockAntvenomOre);
|
||||
OreDictionary.registerOre("ingot_Antvenom", ItemLoader.ItemAntvenomIngot);
|
||||
OreDictionary.registerOre("block_Antvenom", BlockLoader.BlockAntvenom);
|
||||
|
||||
OreDictionary.registerOre("ore_Joy_Rider_2284", BlockLoader.BlockJoy_Rider_2284Ore);
|
||||
OreDictionary.registerOre("ingot_Joy_Rider_2284", ItemLoader.ItemJoy_Rider_2284Ingot);
|
||||
OreDictionary.registerOre("block_Joy_Rider_2284", BlockLoader.BlockJoy_Rider_2284);
|
||||
|
||||
OreDictionary.registerOre("ore_jtrent238", BlockLoader.Blockjtrent238Ore);
|
||||
OreDictionary.registerOre("ingot_jtrent238", ItemLoader.Itemjtrent238Ingot);
|
||||
OreDictionary.registerOre("block_jtrent238", BlockLoader.Blockjtrent238);
|
||||
|
||||
OreDictionary.registerOre("ore__MrGregor_", BlockLoader.Block_MrGregor_Ore);
|
||||
//OreDictionary.registerOre("ore_DanTDM", BlockLoader.BlockDanTDMOre);
|
||||
OreDictionary.registerOre("ingot__MrGregor_", ItemLoader.Item_MrGregor_Ingot);
|
||||
OreDictionary.registerOre("block__MrGregor_", BlockLoader.Block_MrGregor_);
|
||||
|
||||
OreDictionary.registerOre("ore_SSundee", BlockLoader.BlockSSundeeOre);
|
||||
OreDictionary.registerOre("ingot_SSundee", ItemLoader.ItemSSundeeIngot);
|
||||
OreDictionary.registerOre("block_SSundee", BlockLoader.BlockSSundee);
|
||||
|
||||
OreDictionary.registerOre("ore_Magna_Invictus", BlockLoader.BlockMagna_InvictusOre);
|
||||
OreDictionary.registerOre("ingot_Magna_Invictus", ItemLoader.ItemMagna_InvictusIngot);
|
||||
OreDictionary.registerOre("block_Magna_Invictus", BlockLoader.BlockMagna_Invictus);
|
||||
|
||||
OreDictionary.registerOre("ore_EckoSoldier", BlockLoader.BlockEckoSoldierOre);
|
||||
OreDictionary.registerOre("ingot_EckoSoldier", ItemLoader.ItemEckoSoldierIngot);
|
||||
OreDictionary.registerOre("block_EckoSoldier", BlockLoader.BlockEckoSoldier);
|
||||
|
||||
OreDictionary.registerOre("ore_BajanCanadian", BlockLoader.BlockBajanCanadianOre);
|
||||
OreDictionary.registerOre("ingot_BajanCanadian", ItemLoader.ItemBajanCanadianIngot);
|
||||
OreDictionary.registerOre("block_BajanCanadian", BlockLoader.BlockBajanCanadian);
|
||||
|
||||
|
||||
addItems();
|
||||
}
|
||||
|
@ -46,8 +94,10 @@ public class OreDict {
|
|||
replacements.put(new ItemStack(ItemLoader.ItemJoy_Rider_2284Ingot), "ingot_Joy_Rider_2284");
|
||||
replacements.put(new ItemStack(ItemLoader.Itemjtrent238Ingot), "ingot_jtrent238");
|
||||
replacements.put(new ItemStack(ItemLoader.Item_MrGregor_Ingot), "ingot__MrGregor_");
|
||||
|
||||
|
||||
replacements.put(new ItemStack(ItemLoader.ItemSSundeeIngot), "ingot_SSundee");
|
||||
replacements.put(new ItemStack(ItemLoader.ItemMagna_InvictusIngot), "ingot_Magna_Invictus");
|
||||
replacements.put(new ItemStack(ItemLoader.ItemEckoSoldierIngot), "ingot_EckoSoldier");
|
||||
replacements.put(new ItemStack(ItemLoader.ItemBajanCanadianIngot), "ingot_BajanCanadian");
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -153,6 +153,54 @@ public class Recipes {
|
|||
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.Item_MrGregor_Leggings), "III", "IBI", "IBI", 'I', ItemLoader.Item_MrGregor_Ingot);
|
||||
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.Item_MrGregor_Boots), "IBI", "IBI", 'I', ItemLoader.Item_MrGregor_Ingot);
|
||||
|
||||
//SSundee Crafting Recipes
|
||||
GameRegistry.addShapedRecipe(new ItemStack(BlockLoader.BlockSSundee), "XXX", "XXX", "XXX", 'X', ItemLoader.ItemSSundeeIngot);
|
||||
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemSSundeeSword), "I", "I", "S", 'I', ItemLoader.ItemSSundeeIngot, 'S', Items.stick);
|
||||
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemSSundeePickaxe), "III", "BSB", "BSB", 'I', ItemLoader.ItemSSundeeIngot, 'S', Items.stick);
|
||||
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemSSundeeAxe), "IIB", "ISB", "BSB", 'I', ItemLoader.ItemSSundeeIngot, 'S', Items.stick);
|
||||
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemSSundeeShovel), "BIB", "BSB", "BSB", 'I', ItemLoader.ItemSSundeeIngot, 'S', Items.stick);
|
||||
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemSSundeeHoe), "IIB", "BSB", "BSB", 'I', ItemLoader.ItemSSundeeIngot, 'S', Items.stick);
|
||||
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemSSundeeHelment), "III", "IBI", 'I', ItemLoader.ItemSSundeeIngot);
|
||||
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemSSundeeChestplate), "IBI", "III", "III", 'I', ItemLoader.ItemSSundeeIngot);
|
||||
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemSSundeeLeggings), "III", "IBI", "IBI", 'I', ItemLoader.ItemSSundeeIngot);
|
||||
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemSSundeeBoots), "IBI", "IBI", 'I', ItemLoader.ItemSSundeeIngot);
|
||||
|
||||
//Magna_Invictus Crafting Recipes
|
||||
GameRegistry.addShapedRecipe(new ItemStack(BlockLoader.BlockMagna_Invictus), "XXX", "XXX", "XXX", 'X', ItemLoader.ItemMagna_InvictusIngot);
|
||||
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemMagna_InvictusSword), "I", "I", "S", 'I', ItemLoader.ItemMagna_InvictusIngot, 'S', Items.stick);
|
||||
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemMagna_InvictusPickaxe), "III", "BSB", "BSB", 'I', ItemLoader.ItemMagna_InvictusIngot, 'S', Items.stick);
|
||||
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemMagna_InvictusAxe), "IIB", "ISB", "BSB", 'I', ItemLoader.ItemMagna_InvictusIngot, 'S', Items.stick);
|
||||
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemMagna_InvictusShovel), "BIB", "BSB", "BSB", 'I', ItemLoader.ItemMagna_InvictusIngot, 'S', Items.stick);
|
||||
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemMagna_InvictusHoe), "IIB", "BSB", "BSB", 'I', ItemLoader.ItemMagna_InvictusIngot, 'S', Items.stick);
|
||||
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemMagna_InvictusHelment), "III", "IBI", 'I', ItemLoader.ItemMagna_InvictusIngot);
|
||||
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemMagna_InvictusChestplate), "IBI", "III", "III", 'I', ItemLoader.ItemMagna_InvictusIngot);
|
||||
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemMagna_InvictusLeggings), "III", "IBI", "IBI", 'I', ItemLoader.ItemMagna_InvictusIngot);
|
||||
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemMagna_InvictusBoots), "IBI", "IBI", 'I', ItemLoader.ItemMagna_InvictusIngot);
|
||||
|
||||
//EckoSoldier Crafting Recipes
|
||||
GameRegistry.addShapedRecipe(new ItemStack(BlockLoader.BlockEckoSoldier), "XXX", "XXX", "XXX", 'X', ItemLoader.ItemEckoSoldierIngot);
|
||||
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemEckoSoldierSword), "I", "I", "S", 'I', ItemLoader.ItemEckoSoldierIngot, 'S', Items.stick);
|
||||
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemEckoSoldierPickaxe), "III", "BSB", "BSB", 'I', ItemLoader.ItemEckoSoldierIngot, 'S', Items.stick);
|
||||
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemEckoSoldierAxe), "IIB", "ISB", "BSB", 'I', ItemLoader.ItemEckoSoldierIngot, 'S', Items.stick);
|
||||
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemEckoSoldierShovel), "BIB", "BSB", "BSB", 'I', ItemLoader.ItemEckoSoldierIngot, 'S', Items.stick);
|
||||
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemEckoSoldierHoe), "IIB", "BSB", "BSB", 'I', ItemLoader.ItemEckoSoldierIngot, 'S', Items.stick);
|
||||
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemEckoSoldierHelment), "III", "IBI", 'I', ItemLoader.ItemEckoSoldierIngot);
|
||||
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemEckoSoldierChestplate), "IBI", "III", "III", 'I', ItemLoader.ItemEckoSoldierIngot);
|
||||
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemEckoSoldierLeggings), "III", "IBI", "IBI", 'I', ItemLoader.ItemEckoSoldierIngot);
|
||||
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemEckoSoldierBoots), "IBI", "IBI", 'I', ItemLoader.ItemEckoSoldierIngot);
|
||||
|
||||
//BajanCanadian Crafting Recipes
|
||||
GameRegistry.addShapedRecipe(new ItemStack(BlockLoader.BlockBajanCanadian), "XXX", "XXX", "XXX", 'X', ItemLoader.ItemBajanCanadianIngot);
|
||||
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemBajanCanadianSword), "I", "I", "S", 'I', ItemLoader.ItemBajanCanadianIngot, 'S', Items.stick);
|
||||
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemBajanCanadianPickaxe), "III", "BSB", "BSB", 'I', ItemLoader.ItemBajanCanadianIngot, 'S', Items.stick);
|
||||
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemBajanCanadianAxe), "IIB", "ISB", "BSB", 'I', ItemLoader.ItemBajanCanadianIngot, 'S', Items.stick);
|
||||
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemBajanCanadianShovel), "BIB", "BSB", "BSB", 'I', ItemLoader.ItemBajanCanadianIngot, 'S', Items.stick);
|
||||
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemBajanCanadianHoe), "IIB", "BSB", "BSB", 'I', ItemLoader.ItemBajanCanadianIngot, 'S', Items.stick);
|
||||
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemBajanCanadianHelment), "III", "IBI", 'I', ItemLoader.ItemBajanCanadianIngot);
|
||||
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemBajanCanadianChestplate), "IBI", "III", "III", 'I', ItemLoader.ItemBajanCanadianIngot);
|
||||
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemBajanCanadianLeggings), "III", "IBI", "IBI", 'I', ItemLoader.ItemBajanCanadianIngot);
|
||||
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemBajanCanadianBoots), "IBI", "IBI", 'I', ItemLoader.ItemBajanCanadianIngot);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -176,6 +224,11 @@ public class Recipes {
|
|||
GameRegistry.addSmelting(BlockLoader.BlockJoy_Rider_2284Ore, new ItemStack (ItemLoader.ItemJoy_Rider_2284Ingot, 1), 2F );
|
||||
GameRegistry.addSmelting(BlockLoader.Blockjtrent238Ore, new ItemStack (ItemLoader.Itemjtrent238Ingot, 1), 2F );
|
||||
GameRegistry.addSmelting(BlockLoader.Block_MrGregor_Ore, new ItemStack (ItemLoader.Item_MrGregor_Ingot, 1), 2F );
|
||||
GameRegistry.addSmelting(BlockLoader.BlockSSundeeOre, new ItemStack (ItemLoader.ItemSSundeeIngot, 1), 2F );
|
||||
GameRegistry.addSmelting(BlockLoader.BlockMagna_InvictusOre, new ItemStack (ItemLoader.ItemMagna_InvictusIngot, 1), 2F );
|
||||
GameRegistry.addSmelting(BlockLoader.BlockEckoSoldierOre, new ItemStack (ItemLoader.ItemEckoSoldierIngot, 1), 2F );
|
||||
GameRegistry.addSmelting(BlockLoader.BlockBajanCanadianOre, new ItemStack (ItemLoader.ItemBajanCanadianIngot, 1), 2F );
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -48,7 +48,7 @@ public class YouTubers
|
|||
|
||||
@Instance(MODID)
|
||||
public static YouTubers instance;
|
||||
public static final String MODVERSION = "1.0.0.1";
|
||||
public static final String MODVERSION = "1.0.1.2";
|
||||
public final static String COREVERSION = "1.0.0.3";
|
||||
public static final String MODNAME = "jtrent238's YouTuber Mod";
|
||||
public static final String MODAUTHOR = "jtrent238";
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
package com.jtrent238.youtubers.blocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
|
||||
public class BlockBajanCanadianOre extends Block{
|
||||
|
||||
public BlockBajanCanadianOre(Material p_i45394_1_) {
|
||||
super(p_i45394_1_);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
package com.jtrent238.youtubers.blocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
|
||||
public class BlockEckoSoldierOre extends Block{
|
||||
|
||||
public BlockEckoSoldierOre(Material p_i45394_1_) {
|
||||
super(p_i45394_1_);
|
||||
}
|
||||
|
||||
}
|
|
@ -7,6 +7,7 @@ import com.jtrent238.youtubers.entity.youtuber.EntityHeyItsLuigi;
|
|||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.BlockDragonEgg;
|
||||
import net.minecraft.block.BlockFalling;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.entity.Entity;
|
||||
|
@ -17,13 +18,13 @@ import net.minecraft.tileentity.TileEntityBrewingStand;
|
|||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public class BlockHeyItsLuigiEgg extends Block
|
||||
public class BlockHeyItsLuigiEgg extends BlockDragonEgg
|
||||
{
|
||||
private static final String __OBFID = "CL_00000232";
|
||||
|
||||
public BlockHeyItsLuigiEgg()
|
||||
{
|
||||
super(Material.dragonEgg);
|
||||
super();
|
||||
this.setBlockBounds(0.0625F, 0.0F, 0.0625F, 0.9375F, 1.0F, 0.9375F);
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
package com.jtrent238.youtubers.blocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
|
||||
public class BlockMagna_InvictusOre extends Block{
|
||||
|
||||
public BlockMagna_InvictusOre(Material p_i45394_1_) {
|
||||
super(p_i45394_1_);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
package com.jtrent238.youtubers.blocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
|
||||
public class BlockSSundeeOre extends Block{
|
||||
|
||||
public BlockSSundeeOre(Material p_i45394_1_) {
|
||||
super(p_i45394_1_);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,30 @@
|
|||
package com.jtrent238.youtubers.blocks.materials;
|
||||
|
||||
import com.jtrent238.youtubers.BlockLoader;
|
||||
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
|
||||
public class BlockBajanCanadian extends YouTuberBlock{
|
||||
|
||||
public BlockBajanCanadian(Material p_i45394_1_) {
|
||||
super(p_i45394_1_);
|
||||
}
|
||||
|
||||
/**
|
||||
* Determines if this block can be used as the base of a beacon.
|
||||
*
|
||||
* @param world The current world
|
||||
* @param x X Position
|
||||
* @param y Y Position
|
||||
* @param z Z position
|
||||
* @param beaconX Beacons X Position
|
||||
* @param beaconY Beacons Y Position
|
||||
* @param beaconZ Beacons Z Position
|
||||
* @return True, to support the beacon, and make it active with this block.
|
||||
*/
|
||||
public boolean isBeaconBase(IBlockAccess worldObj, int x, int y, int z, int beaconX, int beaconY, int beaconZ)
|
||||
{
|
||||
return this == BlockLoader.BlockBajanCanadian;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,30 @@
|
|||
package com.jtrent238.youtubers.blocks.materials;
|
||||
|
||||
import com.jtrent238.youtubers.BlockLoader;
|
||||
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
|
||||
public class BlockEckoSoldier extends YouTuberBlock{
|
||||
|
||||
public BlockEckoSoldier(Material p_i45394_1_) {
|
||||
super(p_i45394_1_);
|
||||
}
|
||||
|
||||
/**
|
||||
* Determines if this block can be used as the base of a beacon.
|
||||
*
|
||||
* @param world The current world
|
||||
* @param x X Position
|
||||
* @param y Y Position
|
||||
* @param z Z position
|
||||
* @param beaconX Beacons X Position
|
||||
* @param beaconY Beacons Y Position
|
||||
* @param beaconZ Beacons Z Position
|
||||
* @return True, to support the beacon, and make it active with this block.
|
||||
*/
|
||||
public boolean isBeaconBase(IBlockAccess worldObj, int x, int y, int z, int beaconX, int beaconY, int beaconZ)
|
||||
{
|
||||
return this == BlockLoader.BlockEckoSoldier;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,30 @@
|
|||
package com.jtrent238.youtubers.blocks.materials;
|
||||
|
||||
import com.jtrent238.youtubers.BlockLoader;
|
||||
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
|
||||
public class BlockMagna_Invictus extends YouTuberBlock{
|
||||
|
||||
public BlockMagna_Invictus(Material p_i45394_1_) {
|
||||
super(p_i45394_1_);
|
||||
}
|
||||
|
||||
/**
|
||||
* Determines if this block can be used as the base of a beacon.
|
||||
*
|
||||
* @param world The current world
|
||||
* @param x X Position
|
||||
* @param y Y Position
|
||||
* @param z Z position
|
||||
* @param beaconX Beacons X Position
|
||||
* @param beaconY Beacons Y Position
|
||||
* @param beaconZ Beacons Z Position
|
||||
* @return True, to support the beacon, and make it active with this block.
|
||||
*/
|
||||
public boolean isBeaconBase(IBlockAccess worldObj, int x, int y, int z, int beaconX, int beaconY, int beaconZ)
|
||||
{
|
||||
return this == BlockLoader.BlockMagna_Invictus;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,30 @@
|
|||
package com.jtrent238.youtubers.blocks.materials;
|
||||
|
||||
import com.jtrent238.youtubers.BlockLoader;
|
||||
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
|
||||
public class BlockSSundee extends YouTuberBlock{
|
||||
|
||||
public BlockSSundee(Material p_i45394_1_) {
|
||||
super(p_i45394_1_);
|
||||
}
|
||||
|
||||
/**
|
||||
* Determines if this block can be used as the base of a beacon.
|
||||
*
|
||||
* @param world The current world
|
||||
* @param x X Position
|
||||
* @param y Y Position
|
||||
* @param z Z position
|
||||
* @param beaconX Beacons X Position
|
||||
* @param beaconY Beacons Y Position
|
||||
* @param beaconZ Beacons Z Position
|
||||
* @return True, to support the beacon, and make it active with this block.
|
||||
*/
|
||||
public boolean isBeaconBase(IBlockAccess worldObj, int x, int y, int z, int beaconX, int beaconY, int beaconZ)
|
||||
{
|
||||
return this == BlockLoader.BlockSSundee;
|
||||
}
|
||||
}
|
|
@ -8,7 +8,7 @@ import net.minecraft.world.IBlockAccess;
|
|||
|
||||
public class YouTuberBlock extends Block{
|
||||
|
||||
protected YouTuberBlock(Material p_i45394_1_) {
|
||||
public YouTuberBlock(Material p_i45394_1_) {
|
||||
super(p_i45394_1_);
|
||||
}
|
||||
|
||||
|
|
|
@ -2,16 +2,25 @@ package com.jtrent238.youtubers.client;
|
|||
|
||||
import com.jtrent238.youtubers.common.CommonProxy;
|
||||
import com.jtrent238.youtubers.entity.youtuber.EntityAntvenom;
|
||||
import com.jtrent238.youtubers.entity.youtuber.EntityBajanCanadian;
|
||||
import com.jtrent238.youtubers.entity.youtuber.EntityDanTDM;
|
||||
import com.jtrent238.youtubers.entity.youtuber.EntityDerpSSundee;
|
||||
import com.jtrent238.youtubers.entity.youtuber.EntityEckoSoldier;
|
||||
import com.jtrent238.youtubers.entity.youtuber.EntityHeyItsLuigi;
|
||||
import com.jtrent238.youtubers.entity.youtuber.EntityJoy_Rider_2284;
|
||||
import com.jtrent238.youtubers.entity.youtuber.EntityLaurie201;
|
||||
import com.jtrent238.youtubers.entity.youtuber.EntityMagna_Invictus;
|
||||
import com.jtrent238.youtubers.entity.youtuber.EntitySSundee;
|
||||
import com.jtrent238.youtubers.entity.youtuber.EntitySethBling;
|
||||
import com.jtrent238.youtubers.entity.youtuber.Entity_MrGregor_;
|
||||
import com.jtrent238.youtubers.entity.youtuber.Entityblohod;
|
||||
import com.jtrent238.youtubers.entity.youtuber.EntityskythekidRS;
|
||||
import com.jtrent238.youtubers.entity.player.EntityAlexIsCool;
|
||||
import com.jtrent238.youtubers.entity.player.EntityCowMan;
|
||||
import com.jtrent238.youtubers.entity.player.EntityFar;
|
||||
import com.jtrent238.youtubers.entity.player.EntityHER08RINE;
|
||||
import com.jtrent238.youtubers.entity.player.Entitycaptainspy6;
|
||||
import com.jtrent238.youtubers.entity.player.EntitymegablasterT;
|
||||
import com.jtrent238.youtubers.entity.youtuber.EntityxJSQ;
|
||||
|
||||
import cpw.mods.fml.client.registry.RenderingRegistry;
|
||||
|
@ -44,10 +53,19 @@ public class ClientProxy extends CommonProxy
|
|||
RenderingRegistry.registerEntityRenderingHandler(EntityJoy_Rider_2284.class, new RenderLiving(new ModelBiped(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/youtuber/Joy_Rider_2284.png");}});
|
||||
RenderingRegistry.registerEntityRenderingHandler(EntityAntvenom.class, new RenderLiving(new ModelBiped(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/youtuber/Antvenom.png");}});
|
||||
RenderingRegistry.registerEntityRenderingHandler(Entity_MrGregor_.class, new RenderLiving(new ModelBiped(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/youtuber/_MrGregor_.png");}});
|
||||
RenderingRegistry.registerEntityRenderingHandler(EntitySSundee.class, new RenderLiving(new ModelBiped(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/youtuber/SSundee.png");}});
|
||||
RenderingRegistry.registerEntityRenderingHandler(EntityDerpSSundee.class, new RenderLiving(new ModelBiped(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/youtuber/DerpSSundee.png");}});
|
||||
RenderingRegistry.registerEntityRenderingHandler(EntityMagna_Invictus.class, new RenderLiving(new ModelBiped(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/youtuber/Magna_Invictus.png");}});
|
||||
RenderingRegistry.registerEntityRenderingHandler(EntityEckoSoldier.class, new RenderLiving(new ModelBiped(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/youtuber/EckoSoldier.png");}});
|
||||
RenderingRegistry.registerEntityRenderingHandler(EntityBajanCanadian.class, new RenderLiving(new ModelBiped(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/youtuber/BajanCanadian.png");}});
|
||||
|
||||
//NOT YOUTUBERS
|
||||
RenderingRegistry.registerEntityRenderingHandler(Entitycaptainspy6.class, new RenderLiving(new ModelBiped(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/player/captainspy6.png");}});
|
||||
RenderingRegistry.registerEntityRenderingHandler(EntityHER08RINE.class, new RenderLiving(new ModelBiped(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/player/HER08RINE.png");}});
|
||||
RenderingRegistry.registerEntityRenderingHandler(EntityAlexIsCool.class, new RenderLiving(new ModelBiped(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/player/AlexIsCool.png");}});
|
||||
RenderingRegistry.registerEntityRenderingHandler(EntitymegablasterT.class, new RenderLiving(new ModelBiped(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/player/megablasterT.png");}});
|
||||
RenderingRegistry.registerEntityRenderingHandler(EntityCowMan.class, new RenderLiving(new ModelBiped(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/player/CowMan.png");}});
|
||||
RenderingRegistry.registerEntityRenderingHandler(EntityFar.class, new RenderLiving(new ModelBiped(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/player/Far.png");}});
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -0,0 +1,200 @@
|
|||
package com.jtrent238.youtubers.entity.player;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
import cpw.mods.fml.client.registry.RenderingRegistry;
|
||||
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||
import cpw.mods.fml.common.event.FMLServerStartingEvent;
|
||||
import cpw.mods.fml.common.registry.EntityRegistry;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import net.minecraft.client.model.ModelBiped;
|
||||
import net.minecraft.client.renderer.entity.RenderLiving;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.EntityLiving;
|
||||
import net.minecraft.entity.EnumCreatureType;
|
||||
import net.minecraft.entity.SharedMonsterAttributes;
|
||||
import net.minecraft.entity.ai.EntityAIAttackOnCollide;
|
||||
import net.minecraft.entity.ai.EntityAIHurtByTarget;
|
||||
import net.minecraft.entity.ai.EntityAILookIdle;
|
||||
import net.minecraft.entity.ai.EntityAIMoveThroughVillage;
|
||||
import net.minecraft.entity.ai.EntityAIMoveTowardsRestriction;
|
||||
import net.minecraft.entity.ai.EntityAIMoveTowardsTarget;
|
||||
import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
|
||||
import net.minecraft.entity.ai.EntityAIWander;
|
||||
import net.minecraft.entity.ai.EntityAIWatchClosest;
|
||||
import net.minecraft.entity.boss.BossStatus;
|
||||
import net.minecraft.entity.boss.IBossDisplayData;
|
||||
import net.minecraft.entity.effect.EntityLightningBolt;
|
||||
import net.minecraft.entity.monster.EntityGolem;
|
||||
import net.minecraft.entity.monster.IMob;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.init.Items;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.DamageSource;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraft.world.biome.BiomeGenBase;
|
||||
import net.minecraftforge.common.DungeonHooks;
|
||||
|
||||
public class EntityAlexIsCool extends EntityGolem implements IBossDisplayData
|
||||
{
|
||||
World world = null;
|
||||
private int attackTimer;
|
||||
private DamageSource damageSource;
|
||||
private EntityPlayer entityAttackedBy;
|
||||
public EntityAlexIsCool(World var1)
|
||||
{
|
||||
super(var1);
|
||||
world = var1;
|
||||
experienceValue = 10;
|
||||
this.isImmuneToFire = true;
|
||||
this.tasks.addTask(1, new EntityAIAttackOnCollide(this, 1.0D, true));
|
||||
this.tasks.addTask(2, new EntityAIMoveTowardsTarget(this, 0.9D, 32.0F));
|
||||
this.tasks.addTask(3, new EntityAIMoveThroughVillage(this, 0.6D, true));
|
||||
this.tasks.addTask(4, new EntityAIMoveTowardsRestriction(this, 1.0D));
|
||||
this.tasks.addTask(6, new EntityAIWander(this, 0.6D));
|
||||
this.tasks.addTask(7, new EntityAIWatchClosest(this, EntityPlayer.class, 6.0F));
|
||||
this.tasks.addTask(8, new EntityAILookIdle(this));
|
||||
this.targetTasks.addTask(2, new EntityAIHurtByTarget(this, false));
|
||||
this.targetTasks.addTask(3, new EntityAINearestAttackableTarget(this, EntityLiving.class, 0, false, true, IMob.mobSelector));
|
||||
|
||||
this.hasCustomNameTag();
|
||||
this.setCustomNameTag("AlexIsCool");
|
||||
addRandomArmor();
|
||||
//DungeonHooks.addDungeonMob("xJSQ", 180);
|
||||
}
|
||||
|
||||
|
||||
protected void applyEntityAttributes()
|
||||
{
|
||||
super.applyEntityAttributes();
|
||||
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(50D);
|
||||
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.25D);
|
||||
}
|
||||
|
||||
public boolean attackEntityAsMob(Entity p_70652_1_)
|
||||
{
|
||||
this.attackTimer = 10;
|
||||
this.worldObj.setEntityState(this, (byte)4);
|
||||
boolean flag = p_70652_1_.attackEntityFrom(DamageSource.causeMobDamage(this), (float)(7 + this.rand.nextInt(15)));
|
||||
|
||||
if (flag)
|
||||
{
|
||||
p_70652_1_.motionY += 0.4000000059604645D;
|
||||
}
|
||||
|
||||
this.playSound("", 1.0F, 1.0F);
|
||||
return flag;
|
||||
}
|
||||
|
||||
|
||||
|
||||
protected void addRandomArmor(){
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
protected void dropRareDrop(int par1){
|
||||
this.dropItem(ItemLoader.itemCaptainCookieCookie, 1);
|
||||
}
|
||||
*/
|
||||
|
||||
public boolean isAIEnabled()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Determines if an entity can be despawned, used on idle far away entities
|
||||
*/
|
||||
protected boolean canDespawn()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Drop items of this living's type
|
||||
*/
|
||||
protected void dropFewItems(boolean var1, int var2)
|
||||
{
|
||||
//this.entityDropItem(new ItemStack(BlockLoader.blockFlowerLove, 1), 4F);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the sound this mob makes while it's alive.
|
||||
*/
|
||||
/*
|
||||
protected String getLivingSound()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
*/
|
||||
/**
|
||||
* Returns the sound this mob makes when it is hurt.
|
||||
*/
|
||||
/*
|
||||
protected String getHurtSound()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
*/
|
||||
/**
|
||||
* Returns the sound this mob makes on death.
|
||||
*/
|
||||
/*
|
||||
protected String getDeathSound()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
*/
|
||||
public void onStruckByLightning(EntityLightningBolt entityLightningBolt){
|
||||
int i = (int)this.posX;
|
||||
int j = (int)this.posY;
|
||||
int k = (int)this.posZ;
|
||||
Entity entity = this;
|
||||
|
||||
}
|
||||
|
||||
protected void fall(float l){
|
||||
int i = (int)this.posX;
|
||||
int j = (int)this.posY;
|
||||
int k = (int)this.posZ;
|
||||
super.fall(l);
|
||||
Entity entity = this;
|
||||
|
||||
}
|
||||
|
||||
public void onCriticalHit(Entity entity2) {
|
||||
int i = (int)this.posX;
|
||||
int j = (int)this.posY;
|
||||
int k = (int)this.posZ;
|
||||
Entity entity = this;
|
||||
|
||||
}
|
||||
|
||||
public void onKillEntity(EntityLiving entityLiving){
|
||||
int i = (int)this.posX;
|
||||
int j = (int)this.posY;
|
||||
int k = (int)this.posZ;
|
||||
Entity entity = this;
|
||||
|
||||
}
|
||||
|
||||
public String getEntityName(){
|
||||
return "AlexIsCool";
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Will return how many at most can spawn in a chunk at once.
|
||||
*/
|
||||
public int getMaxSpawnedInChunk()
|
||||
{
|
||||
return 4;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
|
@ -0,0 +1,200 @@
|
|||
package com.jtrent238.youtubers.entity.player;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
import cpw.mods.fml.client.registry.RenderingRegistry;
|
||||
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||
import cpw.mods.fml.common.event.FMLServerStartingEvent;
|
||||
import cpw.mods.fml.common.registry.EntityRegistry;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import net.minecraft.client.model.ModelBiped;
|
||||
import net.minecraft.client.renderer.entity.RenderLiving;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.EntityLiving;
|
||||
import net.minecraft.entity.EnumCreatureType;
|
||||
import net.minecraft.entity.SharedMonsterAttributes;
|
||||
import net.minecraft.entity.ai.EntityAIAttackOnCollide;
|
||||
import net.minecraft.entity.ai.EntityAIHurtByTarget;
|
||||
import net.minecraft.entity.ai.EntityAILookIdle;
|
||||
import net.minecraft.entity.ai.EntityAIMoveThroughVillage;
|
||||
import net.minecraft.entity.ai.EntityAIMoveTowardsRestriction;
|
||||
import net.minecraft.entity.ai.EntityAIMoveTowardsTarget;
|
||||
import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
|
||||
import net.minecraft.entity.ai.EntityAIWander;
|
||||
import net.minecraft.entity.ai.EntityAIWatchClosest;
|
||||
import net.minecraft.entity.boss.BossStatus;
|
||||
import net.minecraft.entity.boss.IBossDisplayData;
|
||||
import net.minecraft.entity.effect.EntityLightningBolt;
|
||||
import net.minecraft.entity.monster.EntityGolem;
|
||||
import net.minecraft.entity.monster.IMob;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.init.Items;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.DamageSource;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraft.world.biome.BiomeGenBase;
|
||||
import net.minecraftforge.common.DungeonHooks;
|
||||
|
||||
public class EntityCowMan extends EntityGolem implements IBossDisplayData
|
||||
{
|
||||
World world = null;
|
||||
private int attackTimer;
|
||||
private DamageSource damageSource;
|
||||
private EntityPlayer entityAttackedBy;
|
||||
public EntityCowMan(World var1)
|
||||
{
|
||||
super(var1);
|
||||
world = var1;
|
||||
experienceValue = 10;
|
||||
this.isImmuneToFire = true;
|
||||
this.tasks.addTask(1, new EntityAIAttackOnCollide(this, 1.0D, true));
|
||||
this.tasks.addTask(2, new EntityAIMoveTowardsTarget(this, 0.9D, 32.0F));
|
||||
this.tasks.addTask(3, new EntityAIMoveThroughVillage(this, 0.6D, true));
|
||||
this.tasks.addTask(4, new EntityAIMoveTowardsRestriction(this, 1.0D));
|
||||
this.tasks.addTask(6, new EntityAIWander(this, 0.6D));
|
||||
this.tasks.addTask(7, new EntityAIWatchClosest(this, EntityPlayer.class, 6.0F));
|
||||
this.tasks.addTask(8, new EntityAILookIdle(this));
|
||||
this.targetTasks.addTask(2, new EntityAIHurtByTarget(this, false));
|
||||
this.targetTasks.addTask(3, new EntityAINearestAttackableTarget(this, EntityLiving.class, 0, false, true, IMob.mobSelector));
|
||||
|
||||
this.hasCustomNameTag();
|
||||
this.setCustomNameTag("CowMan");
|
||||
addRandomArmor();
|
||||
//DungeonHooks.addDungeonMob("xJSQ", 180);
|
||||
}
|
||||
|
||||
|
||||
protected void applyEntityAttributes()
|
||||
{
|
||||
super.applyEntityAttributes();
|
||||
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(50D);
|
||||
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.25D);
|
||||
}
|
||||
|
||||
public boolean attackEntityAsMob(Entity p_70652_1_)
|
||||
{
|
||||
this.attackTimer = 10;
|
||||
this.worldObj.setEntityState(this, (byte)4);
|
||||
boolean flag = p_70652_1_.attackEntityFrom(DamageSource.causeMobDamage(this), (float)(7 + this.rand.nextInt(15)));
|
||||
|
||||
if (flag)
|
||||
{
|
||||
p_70652_1_.motionY += 0.4000000059604645D;
|
||||
}
|
||||
|
||||
this.playSound("", 1.0F, 1.0F);
|
||||
return flag;
|
||||
}
|
||||
|
||||
|
||||
|
||||
protected void addRandomArmor(){
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
protected void dropRareDrop(int par1){
|
||||
this.dropItem(ItemLoader.itemCaptainCookieCookie, 1);
|
||||
}
|
||||
*/
|
||||
|
||||
public boolean isAIEnabled()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Determines if an entity can be despawned, used on idle far away entities
|
||||
*/
|
||||
protected boolean canDespawn()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Drop items of this living's type
|
||||
*/
|
||||
protected void dropFewItems(boolean var1, int var2)
|
||||
{
|
||||
//this.entityDropItem(new ItemStack(BlockLoader.blockFlowerLove, 1), 4F);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the sound this mob makes while it's alive.
|
||||
*/
|
||||
/*
|
||||
protected String getLivingSound()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
*/
|
||||
/**
|
||||
* Returns the sound this mob makes when it is hurt.
|
||||
*/
|
||||
/*
|
||||
protected String getHurtSound()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
*/
|
||||
/**
|
||||
* Returns the sound this mob makes on death.
|
||||
*/
|
||||
/*
|
||||
protected String getDeathSound()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
*/
|
||||
public void onStruckByLightning(EntityLightningBolt entityLightningBolt){
|
||||
int i = (int)this.posX;
|
||||
int j = (int)this.posY;
|
||||
int k = (int)this.posZ;
|
||||
Entity entity = this;
|
||||
|
||||
}
|
||||
|
||||
protected void fall(float l){
|
||||
int i = (int)this.posX;
|
||||
int j = (int)this.posY;
|
||||
int k = (int)this.posZ;
|
||||
super.fall(l);
|
||||
Entity entity = this;
|
||||
|
||||
}
|
||||
|
||||
public void onCriticalHit(Entity entity2) {
|
||||
int i = (int)this.posX;
|
||||
int j = (int)this.posY;
|
||||
int k = (int)this.posZ;
|
||||
Entity entity = this;
|
||||
|
||||
}
|
||||
|
||||
public void onKillEntity(EntityLiving entityLiving){
|
||||
int i = (int)this.posX;
|
||||
int j = (int)this.posY;
|
||||
int k = (int)this.posZ;
|
||||
Entity entity = this;
|
||||
|
||||
}
|
||||
|
||||
public String getEntityName(){
|
||||
return "CowMan";
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Will return how many at most can spawn in a chunk at once.
|
||||
*/
|
||||
public int getMaxSpawnedInChunk()
|
||||
{
|
||||
return 4;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
|
@ -0,0 +1,200 @@
|
|||
package com.jtrent238.youtubers.entity.player;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
import cpw.mods.fml.client.registry.RenderingRegistry;
|
||||
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||
import cpw.mods.fml.common.event.FMLServerStartingEvent;
|
||||
import cpw.mods.fml.common.registry.EntityRegistry;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import net.minecraft.client.model.ModelBiped;
|
||||
import net.minecraft.client.renderer.entity.RenderLiving;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.EntityLiving;
|
||||
import net.minecraft.entity.EnumCreatureType;
|
||||
import net.minecraft.entity.SharedMonsterAttributes;
|
||||
import net.minecraft.entity.ai.EntityAIAttackOnCollide;
|
||||
import net.minecraft.entity.ai.EntityAIHurtByTarget;
|
||||
import net.minecraft.entity.ai.EntityAILookIdle;
|
||||
import net.minecraft.entity.ai.EntityAIMoveThroughVillage;
|
||||
import net.minecraft.entity.ai.EntityAIMoveTowardsRestriction;
|
||||
import net.minecraft.entity.ai.EntityAIMoveTowardsTarget;
|
||||
import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
|
||||
import net.minecraft.entity.ai.EntityAIWander;
|
||||
import net.minecraft.entity.ai.EntityAIWatchClosest;
|
||||
import net.minecraft.entity.boss.BossStatus;
|
||||
import net.minecraft.entity.boss.IBossDisplayData;
|
||||
import net.minecraft.entity.effect.EntityLightningBolt;
|
||||
import net.minecraft.entity.monster.EntityGolem;
|
||||
import net.minecraft.entity.monster.IMob;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.init.Items;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.DamageSource;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraft.world.biome.BiomeGenBase;
|
||||
import net.minecraftforge.common.DungeonHooks;
|
||||
|
||||
public class EntityFar extends EntityGolem implements IBossDisplayData
|
||||
{
|
||||
World world = null;
|
||||
private int attackTimer;
|
||||
private DamageSource damageSource;
|
||||
private EntityPlayer entityAttackedBy;
|
||||
public EntityFar(World var1)
|
||||
{
|
||||
super(var1);
|
||||
world = var1;
|
||||
experienceValue = 10;
|
||||
this.isImmuneToFire = true;
|
||||
this.tasks.addTask(1, new EntityAIAttackOnCollide(this, 1.0D, true));
|
||||
this.tasks.addTask(2, new EntityAIMoveTowardsTarget(this, 0.9D, 32.0F));
|
||||
this.tasks.addTask(3, new EntityAIMoveThroughVillage(this, 0.6D, true));
|
||||
this.tasks.addTask(4, new EntityAIMoveTowardsRestriction(this, 1.0D));
|
||||
this.tasks.addTask(6, new EntityAIWander(this, 0.6D));
|
||||
this.tasks.addTask(7, new EntityAIWatchClosest(this, EntityPlayer.class, 6.0F));
|
||||
this.tasks.addTask(8, new EntityAILookIdle(this));
|
||||
this.targetTasks.addTask(2, new EntityAIHurtByTarget(this, false));
|
||||
this.targetTasks.addTask(3, new EntityAINearestAttackableTarget(this, EntityLiving.class, 0, false, true, IMob.mobSelector));
|
||||
|
||||
this.hasCustomNameTag();
|
||||
this.setCustomNameTag("Far");
|
||||
addRandomArmor();
|
||||
//DungeonHooks.addDungeonMob("xJSQ", 180);
|
||||
}
|
||||
|
||||
|
||||
protected void applyEntityAttributes()
|
||||
{
|
||||
super.applyEntityAttributes();
|
||||
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(50D);
|
||||
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.25D);
|
||||
}
|
||||
|
||||
public boolean attackEntityAsMob(Entity p_70652_1_)
|
||||
{
|
||||
this.attackTimer = 10;
|
||||
this.worldObj.setEntityState(this, (byte)4);
|
||||
boolean flag = p_70652_1_.attackEntityFrom(DamageSource.causeMobDamage(this), (float)(7 + this.rand.nextInt(15)));
|
||||
|
||||
if (flag)
|
||||
{
|
||||
p_70652_1_.motionY += 0.4000000059604645D;
|
||||
}
|
||||
|
||||
this.playSound("", 1.0F, 1.0F);
|
||||
return flag;
|
||||
}
|
||||
|
||||
|
||||
|
||||
protected void addRandomArmor(){
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
protected void dropRareDrop(int par1){
|
||||
this.dropItem(ItemLoader.itemCaptainCookieCookie, 1);
|
||||
}
|
||||
*/
|
||||
|
||||
public boolean isAIEnabled()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Determines if an entity can be despawned, used on idle far away entities
|
||||
*/
|
||||
protected boolean canDespawn()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Drop items of this living's type
|
||||
*/
|
||||
protected void dropFewItems(boolean var1, int var2)
|
||||
{
|
||||
//this.entityDropItem(new ItemStack(BlockLoader.blockFlowerLove, 1), 4F);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the sound this mob makes while it's alive.
|
||||
*/
|
||||
/*
|
||||
protected String getLivingSound()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
*/
|
||||
/**
|
||||
* Returns the sound this mob makes when it is hurt.
|
||||
*/
|
||||
/*
|
||||
protected String getHurtSound()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
*/
|
||||
/**
|
||||
* Returns the sound this mob makes on death.
|
||||
*/
|
||||
/*
|
||||
protected String getDeathSound()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
*/
|
||||
public void onStruckByLightning(EntityLightningBolt entityLightningBolt){
|
||||
int i = (int)this.posX;
|
||||
int j = (int)this.posY;
|
||||
int k = (int)this.posZ;
|
||||
Entity entity = this;
|
||||
|
||||
}
|
||||
|
||||
protected void fall(float l){
|
||||
int i = (int)this.posX;
|
||||
int j = (int)this.posY;
|
||||
int k = (int)this.posZ;
|
||||
super.fall(l);
|
||||
Entity entity = this;
|
||||
|
||||
}
|
||||
|
||||
public void onCriticalHit(Entity entity2) {
|
||||
int i = (int)this.posX;
|
||||
int j = (int)this.posY;
|
||||
int k = (int)this.posZ;
|
||||
Entity entity = this;
|
||||
|
||||
}
|
||||
|
||||
public void onKillEntity(EntityLiving entityLiving){
|
||||
int i = (int)this.posX;
|
||||
int j = (int)this.posY;
|
||||
int k = (int)this.posZ;
|
||||
Entity entity = this;
|
||||
|
||||
}
|
||||
|
||||
public String getEntityName(){
|
||||
return "Far";
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Will return how many at most can spawn in a chunk at once.
|
||||
*/
|
||||
public int getMaxSpawnedInChunk()
|
||||
{
|
||||
return 4;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
|
@ -0,0 +1,200 @@
|
|||
package com.jtrent238.youtubers.entity.player;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
import cpw.mods.fml.client.registry.RenderingRegistry;
|
||||
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||
import cpw.mods.fml.common.event.FMLServerStartingEvent;
|
||||
import cpw.mods.fml.common.registry.EntityRegistry;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import net.minecraft.client.model.ModelBiped;
|
||||
import net.minecraft.client.renderer.entity.RenderLiving;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.EntityLiving;
|
||||
import net.minecraft.entity.EnumCreatureType;
|
||||
import net.minecraft.entity.SharedMonsterAttributes;
|
||||
import net.minecraft.entity.ai.EntityAIAttackOnCollide;
|
||||
import net.minecraft.entity.ai.EntityAIHurtByTarget;
|
||||
import net.minecraft.entity.ai.EntityAILookIdle;
|
||||
import net.minecraft.entity.ai.EntityAIMoveThroughVillage;
|
||||
import net.minecraft.entity.ai.EntityAIMoveTowardsRestriction;
|
||||
import net.minecraft.entity.ai.EntityAIMoveTowardsTarget;
|
||||
import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
|
||||
import net.minecraft.entity.ai.EntityAIWander;
|
||||
import net.minecraft.entity.ai.EntityAIWatchClosest;
|
||||
import net.minecraft.entity.boss.BossStatus;
|
||||
import net.minecraft.entity.boss.IBossDisplayData;
|
||||
import net.minecraft.entity.effect.EntityLightningBolt;
|
||||
import net.minecraft.entity.monster.EntityGolem;
|
||||
import net.minecraft.entity.monster.IMob;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.init.Items;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.DamageSource;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraft.world.biome.BiomeGenBase;
|
||||
import net.minecraftforge.common.DungeonHooks;
|
||||
|
||||
public class EntitymegablasterT extends EntityGolem implements IBossDisplayData
|
||||
{
|
||||
World world = null;
|
||||
private int attackTimer;
|
||||
private DamageSource damageSource;
|
||||
private EntityPlayer entityAttackedBy;
|
||||
public EntitymegablasterT(World var1)
|
||||
{
|
||||
super(var1);
|
||||
world = var1;
|
||||
experienceValue = 10;
|
||||
this.isImmuneToFire = true;
|
||||
this.tasks.addTask(1, new EntityAIAttackOnCollide(this, 1.0D, true));
|
||||
this.tasks.addTask(2, new EntityAIMoveTowardsTarget(this, 0.9D, 32.0F));
|
||||
this.tasks.addTask(3, new EntityAIMoveThroughVillage(this, 0.6D, true));
|
||||
this.tasks.addTask(4, new EntityAIMoveTowardsRestriction(this, 1.0D));
|
||||
this.tasks.addTask(6, new EntityAIWander(this, 0.6D));
|
||||
this.tasks.addTask(7, new EntityAIWatchClosest(this, EntityPlayer.class, 6.0F));
|
||||
this.tasks.addTask(8, new EntityAILookIdle(this));
|
||||
this.targetTasks.addTask(2, new EntityAIHurtByTarget(this, false));
|
||||
this.targetTasks.addTask(3, new EntityAINearestAttackableTarget(this, EntityLiving.class, 0, false, true, IMob.mobSelector));
|
||||
|
||||
this.hasCustomNameTag();
|
||||
this.setCustomNameTag("megablasterT");
|
||||
addRandomArmor();
|
||||
//DungeonHooks.addDungeonMob("xJSQ", 180);
|
||||
}
|
||||
|
||||
|
||||
protected void applyEntityAttributes()
|
||||
{
|
||||
super.applyEntityAttributes();
|
||||
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(50D);
|
||||
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.25D);
|
||||
}
|
||||
|
||||
public boolean attackEntityAsMob(Entity p_70652_1_)
|
||||
{
|
||||
this.attackTimer = 10;
|
||||
this.worldObj.setEntityState(this, (byte)4);
|
||||
boolean flag = p_70652_1_.attackEntityFrom(DamageSource.causeMobDamage(this), (float)(7 + this.rand.nextInt(15)));
|
||||
|
||||
if (flag)
|
||||
{
|
||||
p_70652_1_.motionY += 0.4000000059604645D;
|
||||
}
|
||||
|
||||
this.playSound("", 1.0F, 1.0F);
|
||||
return flag;
|
||||
}
|
||||
|
||||
|
||||
|
||||
protected void addRandomArmor(){
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
protected void dropRareDrop(int par1){
|
||||
this.dropItem(ItemLoader.itemCaptainCookieCookie, 1);
|
||||
}
|
||||
*/
|
||||
|
||||
public boolean isAIEnabled()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Determines if an entity can be despawned, used on idle far away entities
|
||||
*/
|
||||
protected boolean canDespawn()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Drop items of this living's type
|
||||
*/
|
||||
protected void dropFewItems(boolean var1, int var2)
|
||||
{
|
||||
//this.entityDropItem(new ItemStack(BlockLoader.blockFlowerLove, 1), 4F);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the sound this mob makes while it's alive.
|
||||
*/
|
||||
/*
|
||||
protected String getLivingSound()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
*/
|
||||
/**
|
||||
* Returns the sound this mob makes when it is hurt.
|
||||
*/
|
||||
/*
|
||||
protected String getHurtSound()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
*/
|
||||
/**
|
||||
* Returns the sound this mob makes on death.
|
||||
*/
|
||||
/*
|
||||
protected String getDeathSound()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
*/
|
||||
public void onStruckByLightning(EntityLightningBolt entityLightningBolt){
|
||||
int i = (int)this.posX;
|
||||
int j = (int)this.posY;
|
||||
int k = (int)this.posZ;
|
||||
Entity entity = this;
|
||||
|
||||
}
|
||||
|
||||
protected void fall(float l){
|
||||
int i = (int)this.posX;
|
||||
int j = (int)this.posY;
|
||||
int k = (int)this.posZ;
|
||||
super.fall(l);
|
||||
Entity entity = this;
|
||||
|
||||
}
|
||||
|
||||
public void onCriticalHit(Entity entity2) {
|
||||
int i = (int)this.posX;
|
||||
int j = (int)this.posY;
|
||||
int k = (int)this.posZ;
|
||||
Entity entity = this;
|
||||
|
||||
}
|
||||
|
||||
public void onKillEntity(EntityLiving entityLiving){
|
||||
int i = (int)this.posX;
|
||||
int j = (int)this.posY;
|
||||
int k = (int)this.posZ;
|
||||
Entity entity = this;
|
||||
|
||||
}
|
||||
|
||||
public String getEntityName(){
|
||||
return "megablasterT";
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Will return how many at most can spawn in a chunk at once.
|
||||
*/
|
||||
public int getMaxSpawnedInChunk()
|
||||
{
|
||||
return 4;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
|
@ -116,12 +116,19 @@ protected void addRandomArmor(){
|
|||
return true;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Drop items of this living's type
|
||||
*/
|
||||
protected void dropFewItems(boolean var1, int var2)
|
||||
{
|
||||
this.entityDropItem(new ItemStack(BlockLoader.BlockGlitch, 1), 4F);
|
||||
Random rn = new Random();
|
||||
int max = 6;
|
||||
int min = 1;
|
||||
int result = rn.nextInt(max - min + 1) + min;
|
||||
System.out.println(result);
|
||||
|
||||
this.entityDropItem(new ItemStack(BlockLoader.BlockGlitch, result), 1F);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -0,0 +1,211 @@
|
|||
package com.jtrent238.youtubers.entity.youtuber;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.EntityLiving;
|
||||
import net.minecraft.entity.SharedMonsterAttributes;
|
||||
import net.minecraft.entity.ai.EntityAIAttackOnCollide;
|
||||
import net.minecraft.entity.ai.EntityAIHurtByTarget;
|
||||
import net.minecraft.entity.ai.EntityAILookIdle;
|
||||
import net.minecraft.entity.ai.EntityAIMoveThroughVillage;
|
||||
import net.minecraft.entity.ai.EntityAIMoveTowardsRestriction;
|
||||
import net.minecraft.entity.ai.EntityAIMoveTowardsTarget;
|
||||
import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
|
||||
import net.minecraft.entity.ai.EntityAIWander;
|
||||
import net.minecraft.entity.ai.EntityAIWatchClosest;
|
||||
import net.minecraft.entity.boss.IBossDisplayData;
|
||||
import net.minecraft.entity.effect.EntityLightningBolt;
|
||||
import net.minecraft.entity.monster.EntityGolem;
|
||||
import net.minecraft.entity.monster.IMob;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.init.Items;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.DamageSource;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public class EntityBajanCanadian extends EntityGolem implements IBossDisplayData
|
||||
{
|
||||
World world = null;
|
||||
private int attackTimer;
|
||||
private DamageSource damageSource;
|
||||
private EntityPlayer entityAttackedBy;
|
||||
private ResourceLocation locationCape;
|
||||
public EntityBajanCanadian(World var1)
|
||||
{
|
||||
super(var1);
|
||||
world = var1;
|
||||
experienceValue = 4;
|
||||
this.isImmuneToFire = true;
|
||||
this.tasks.addTask(1, new EntityAIAttackOnCollide(this, 1.0D, true));
|
||||
this.tasks.addTask(2, new EntityAIMoveTowardsTarget(this, 0.9D, 32.0F));
|
||||
this.tasks.addTask(3, new EntityAIMoveThroughVillage(this, 0.6D, true));
|
||||
this.tasks.addTask(4, new EntityAIMoveTowardsRestriction(this, 1.0D));
|
||||
this.tasks.addTask(6, new EntityAIWander(this, 0.6D));
|
||||
this.tasks.addTask(7, new EntityAIWatchClosest(this, EntityPlayer.class, 6.0F));
|
||||
this.tasks.addTask(8, new EntityAILookIdle(this));
|
||||
this.targetTasks.addTask(2, new EntityAIHurtByTarget(this, false));
|
||||
this.targetTasks.addTask(3, new EntityAINearestAttackableTarget(this, EntityLiving.class, 0, false, true, IMob.mobSelector));
|
||||
|
||||
this.hasCustomNameTag();
|
||||
this.setCustomNameTag("BajanCanadian");
|
||||
|
||||
addRandomArmor();
|
||||
//DungeonHooks.addDungeonMob("xJSQ", 180);
|
||||
}
|
||||
|
||||
|
||||
protected void applyEntityAttributes()
|
||||
{
|
||||
super.applyEntityAttributes();
|
||||
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(50D);
|
||||
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.25D);
|
||||
}
|
||||
|
||||
public boolean attackEntityAsMob(Entity p_70652_1_)
|
||||
{
|
||||
this.attackTimer = 10;
|
||||
this.worldObj.setEntityState(this, (byte)4);
|
||||
boolean flag = p_70652_1_.attackEntityFrom(DamageSource.causeMobDamage(this), (float)(7 + this.rand.nextInt(15)));
|
||||
|
||||
if (flag)
|
||||
{
|
||||
p_70652_1_.motionY += 0.4000000059604645D;
|
||||
}
|
||||
|
||||
this.playSound("", 1.0F, 1.0F);
|
||||
return flag;
|
||||
}
|
||||
|
||||
|
||||
|
||||
protected void addRandomArmor(){
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
protected void dropRareDrop(int par1){
|
||||
this.dropItem(ItemLoader.itemCaptainCookieCookie, 1);
|
||||
}
|
||||
*/
|
||||
|
||||
public boolean isAIEnabled()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Determines if an entity can be despawned, used on idle far away entities
|
||||
*/
|
||||
protected boolean canDespawn()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Drop items of this living's type
|
||||
*/
|
||||
protected void dropFewItems(boolean var1, int var2)
|
||||
{
|
||||
Random rn0 = new Random();
|
||||
int max0 = 32;
|
||||
int min0 = 1;
|
||||
int result0 = rn0.nextInt(max0 - min0 + 1) + min0;
|
||||
System.out.println(result0);
|
||||
|
||||
Random rn1 = new Random();
|
||||
int max1 = 1;
|
||||
int min1 = 0;
|
||||
int result1 = rn1.nextInt(max1 - min1 + 1) + min1;
|
||||
System.out.println(result1);
|
||||
|
||||
this.entityDropItem(new ItemStack(Items.dye, result0, result1), 1F);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the sound this mob makes while it's alive.
|
||||
*/
|
||||
|
||||
protected String getLivingSound()
|
||||
{
|
||||
return this != null ? "youtubers:BajanCanadian_living" : "youtubers:BajanCanadian_living_1";
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the sound this mob makes when it is hurt.
|
||||
*/
|
||||
|
||||
protected String getHurtSound()
|
||||
{
|
||||
return "youtubers:BajanCanadian_hurt";
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the sound this mob makes on death.
|
||||
*/
|
||||
|
||||
protected String getDeathSound()
|
||||
{
|
||||
return "youtubers:BajanCanadian_death";
|
||||
}
|
||||
|
||||
public void onStruckByLightning(EntityLightningBolt entityLightningBolt){
|
||||
int i = (int)this.posX;
|
||||
int j = (int)this.posY;
|
||||
int k = (int)this.posZ;
|
||||
Entity entity = this;
|
||||
|
||||
}
|
||||
|
||||
protected void fall(float l){
|
||||
int i = (int)this.posX;
|
||||
int j = (int)this.posY;
|
||||
int k = (int)this.posZ;
|
||||
super.fall(l);
|
||||
Entity entity = this;
|
||||
|
||||
}
|
||||
|
||||
public void onCriticalHit(Entity entity2) {
|
||||
int i = (int)this.posX;
|
||||
int j = (int)this.posY;
|
||||
int k = (int)this.posZ;
|
||||
Entity entity = this;
|
||||
|
||||
}
|
||||
|
||||
public void onKillEntity(EntityLiving entityLiving){
|
||||
int i = (int)this.posX;
|
||||
int j = (int)this.posY;
|
||||
int k = (int)this.posZ;
|
||||
Entity entity = this;
|
||||
|
||||
}
|
||||
|
||||
public String getEntityName(){
|
||||
return "BajanCanadian";
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Will return how many at most can spawn in a chunk at once.
|
||||
*/
|
||||
public int getMaxSpawnedInChunk()
|
||||
{
|
||||
return 4;
|
||||
}
|
||||
/*
|
||||
public boolean func_152122_n()
|
||||
{
|
||||
return this.locationCape == new ResourceLocation("youtubers:textures/entity/cloak/MC15.png");
|
||||
}
|
||||
|
||||
public ResourceLocation renderCloak (float par1)
|
||||
{
|
||||
return new ResourceLocation("youtubers:textures/entity/cloak/MC15.png");
|
||||
}
|
||||
*/
|
||||
|
||||
}
|
|
@ -0,0 +1,202 @@
|
|||
package com.jtrent238.youtubers.entity.youtuber;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
import cpw.mods.fml.client.registry.RenderingRegistry;
|
||||
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||
import cpw.mods.fml.common.event.FMLServerStartingEvent;
|
||||
import cpw.mods.fml.common.registry.EntityRegistry;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import net.minecraft.client.model.ModelBiped;
|
||||
import net.minecraft.client.renderer.entity.RenderLiving;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.EntityLiving;
|
||||
import net.minecraft.entity.EnumCreatureType;
|
||||
import net.minecraft.entity.SharedMonsterAttributes;
|
||||
import net.minecraft.entity.ai.EntityAIAttackOnCollide;
|
||||
import net.minecraft.entity.ai.EntityAIHurtByTarget;
|
||||
import net.minecraft.entity.ai.EntityAILookIdle;
|
||||
import net.minecraft.entity.ai.EntityAIMoveThroughVillage;
|
||||
import net.minecraft.entity.ai.EntityAIMoveTowardsRestriction;
|
||||
import net.minecraft.entity.ai.EntityAIMoveTowardsTarget;
|
||||
import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
|
||||
import net.minecraft.entity.ai.EntityAIWander;
|
||||
import net.minecraft.entity.ai.EntityAIWatchClosest;
|
||||
import net.minecraft.entity.boss.BossStatus;
|
||||
import net.minecraft.entity.boss.IBossDisplayData;
|
||||
import net.minecraft.entity.effect.EntityLightningBolt;
|
||||
import net.minecraft.entity.monster.EntityGolem;
|
||||
import net.minecraft.entity.monster.IMob;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.init.Items;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.DamageSource;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraft.world.biome.BiomeGenBase;
|
||||
import net.minecraftforge.common.DungeonHooks;
|
||||
|
||||
//Replace DerpSSundee with name
|
||||
|
||||
public class EntityDerpSSundee extends EntityGolem implements IBossDisplayData
|
||||
{
|
||||
World world = null;
|
||||
private int attackTimer;
|
||||
private DamageSource damageSource;
|
||||
private EntityPlayer entityAttackedBy;
|
||||
public EntityDerpSSundee(World var1)
|
||||
{
|
||||
super(var1);
|
||||
world = var1;
|
||||
experienceValue = 4;
|
||||
this.isImmuneToFire = true;
|
||||
this.tasks.addTask(1, new EntityAIAttackOnCollide(this, 1.0D, true));
|
||||
this.tasks.addTask(2, new EntityAIMoveTowardsTarget(this, 0.9D, 32.0F));
|
||||
this.tasks.addTask(3, new EntityAIMoveThroughVillage(this, 0.6D, true));
|
||||
this.tasks.addTask(4, new EntityAIMoveTowardsRestriction(this, 1.0D));
|
||||
this.tasks.addTask(6, new EntityAIWander(this, 0.6D));
|
||||
this.tasks.addTask(7, new EntityAIWatchClosest(this, EntityPlayer.class, 6.0F));
|
||||
this.tasks.addTask(8, new EntityAILookIdle(this));
|
||||
this.targetTasks.addTask(2, new EntityAIHurtByTarget(this, false));
|
||||
this.targetTasks.addTask(3, new EntityAINearestAttackableTarget(this, EntityLiving.class, 0, false, true, IMob.mobSelector));
|
||||
|
||||
this.hasCustomNameTag();
|
||||
this.setCustomNameTag("SSundee");
|
||||
addRandomArmor();
|
||||
//DungeonHooks.addDungeonMob("DerpSSundee", 180);
|
||||
}
|
||||
|
||||
|
||||
protected void applyEntityAttributes()
|
||||
{
|
||||
super.applyEntityAttributes();
|
||||
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(50D);
|
||||
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.25D);
|
||||
}
|
||||
|
||||
public boolean attackEntityAsMob(Entity p_70652_1_)
|
||||
{
|
||||
this.attackTimer = 10;
|
||||
this.worldObj.setEntityState(this, (byte)4);
|
||||
boolean flag = p_70652_1_.attackEntityFrom(DamageSource.causeMobDamage(this), (float)(7 + this.rand.nextInt(15)));
|
||||
|
||||
if (flag)
|
||||
{
|
||||
p_70652_1_.motionY += 0.4000000059604645D;
|
||||
}
|
||||
|
||||
this.playSound("", 1.0F, 1.0F);
|
||||
return flag;
|
||||
}
|
||||
|
||||
|
||||
|
||||
protected void addRandomArmor(){
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
protected void dropRareDrop(int par1){
|
||||
this.dropItem(ItemLoader.itemCaptainCookieCookie, 1);
|
||||
}
|
||||
*/
|
||||
|
||||
public boolean isAIEnabled()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Determines if an entity can be despawned, used on idle far away entities
|
||||
*/
|
||||
protected boolean canDespawn()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Drop items of this living's type
|
||||
*/
|
||||
protected void dropFewItems(boolean var1, int var2)
|
||||
{
|
||||
//this.entityDropItem(new ItemStack(BlockLoader.blockFlowerLove, 1), 4F);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the sound this mob makes while it's alive.
|
||||
*/
|
||||
/*
|
||||
protected String getLivingSound()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
*/
|
||||
/**
|
||||
* Returns the sound this mob makes when it is hurt.
|
||||
*/
|
||||
/*
|
||||
protected String getHurtSound()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
*/
|
||||
/**
|
||||
* Returns the sound this mob makes on death.
|
||||
*/
|
||||
/*
|
||||
protected String getDeathSound()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
*/
|
||||
public void onStruckByLightning(EntityLightningBolt entityLightningBolt){
|
||||
int i = (int)this.posX;
|
||||
int j = (int)this.posY;
|
||||
int k = (int)this.posZ;
|
||||
Entity entity = this;
|
||||
|
||||
}
|
||||
|
||||
protected void fall(float l){
|
||||
int i = (int)this.posX;
|
||||
int j = (int)this.posY;
|
||||
int k = (int)this.posZ;
|
||||
super.fall(l);
|
||||
Entity entity = this;
|
||||
|
||||
}
|
||||
|
||||
public void onCriticalHit(Entity entity2) {
|
||||
int i = (int)this.posX;
|
||||
int j = (int)this.posY;
|
||||
int k = (int)this.posZ;
|
||||
Entity entity = this;
|
||||
|
||||
}
|
||||
|
||||
public void onKillEntity(EntityLiving entityLiving){
|
||||
int i = (int)this.posX;
|
||||
int j = (int)this.posY;
|
||||
int k = (int)this.posZ;
|
||||
Entity entity = this;
|
||||
|
||||
}
|
||||
|
||||
public String getEntityName(){
|
||||
return "DerpSSundee";
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Will return how many at most can spawn in a chunk at once.
|
||||
*/
|
||||
public int getMaxSpawnedInChunk()
|
||||
{
|
||||
return 4;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
|
@ -0,0 +1,205 @@
|
|||
package com.jtrent238.youtubers.entity.youtuber;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.EntityLiving;
|
||||
import net.minecraft.entity.SharedMonsterAttributes;
|
||||
import net.minecraft.entity.ai.EntityAIAttackOnCollide;
|
||||
import net.minecraft.entity.ai.EntityAIHurtByTarget;
|
||||
import net.minecraft.entity.ai.EntityAILookIdle;
|
||||
import net.minecraft.entity.ai.EntityAIMoveThroughVillage;
|
||||
import net.minecraft.entity.ai.EntityAIMoveTowardsRestriction;
|
||||
import net.minecraft.entity.ai.EntityAIMoveTowardsTarget;
|
||||
import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
|
||||
import net.minecraft.entity.ai.EntityAIWander;
|
||||
import net.minecraft.entity.ai.EntityAIWatchClosest;
|
||||
import net.minecraft.entity.boss.IBossDisplayData;
|
||||
import net.minecraft.entity.effect.EntityLightningBolt;
|
||||
import net.minecraft.entity.monster.EntityGolem;
|
||||
import net.minecraft.entity.monster.IMob;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.init.Items;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.DamageSource;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public class EntityEckoSoldier extends EntityGolem implements IBossDisplayData
|
||||
{
|
||||
World world = null;
|
||||
private int attackTimer;
|
||||
private DamageSource damageSource;
|
||||
private EntityPlayer entityAttackedBy;
|
||||
private ResourceLocation locationCape;
|
||||
public EntityEckoSoldier(World var1)
|
||||
{
|
||||
super(var1);
|
||||
world = var1;
|
||||
experienceValue = 4;
|
||||
this.isImmuneToFire = true;
|
||||
this.tasks.addTask(1, new EntityAIAttackOnCollide(this, 1.0D, true));
|
||||
this.tasks.addTask(2, new EntityAIMoveTowardsTarget(this, 0.9D, 32.0F));
|
||||
this.tasks.addTask(3, new EntityAIMoveThroughVillage(this, 0.6D, true));
|
||||
this.tasks.addTask(4, new EntityAIMoveTowardsRestriction(this, 1.0D));
|
||||
this.tasks.addTask(6, new EntityAIWander(this, 0.6D));
|
||||
this.tasks.addTask(7, new EntityAIWatchClosest(this, EntityPlayer.class, 6.0F));
|
||||
this.tasks.addTask(8, new EntityAILookIdle(this));
|
||||
this.targetTasks.addTask(2, new EntityAIHurtByTarget(this, false));
|
||||
this.targetTasks.addTask(3, new EntityAINearestAttackableTarget(this, EntityLiving.class, 0, false, true, IMob.mobSelector));
|
||||
|
||||
this.hasCustomNameTag();
|
||||
this.setCustomNameTag("EckoSoldier");
|
||||
|
||||
addRandomArmor();
|
||||
//DungeonHooks.addDungeonMob("xJSQ", 180);
|
||||
}
|
||||
|
||||
|
||||
protected void applyEntityAttributes()
|
||||
{
|
||||
super.applyEntityAttributes();
|
||||
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(50D);
|
||||
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.25D);
|
||||
}
|
||||
|
||||
public boolean attackEntityAsMob(Entity p_70652_1_)
|
||||
{
|
||||
this.attackTimer = 10;
|
||||
this.worldObj.setEntityState(this, (byte)4);
|
||||
boolean flag = p_70652_1_.attackEntityFrom(DamageSource.causeMobDamage(this), (float)(7 + this.rand.nextInt(15)));
|
||||
|
||||
if (flag)
|
||||
{
|
||||
p_70652_1_.motionY += 0.4000000059604645D;
|
||||
}
|
||||
|
||||
this.playSound("", 1.0F, 1.0F);
|
||||
return flag;
|
||||
}
|
||||
|
||||
|
||||
|
||||
protected void addRandomArmor(){
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
protected void dropRareDrop(int par1){
|
||||
this.dropItem(ItemLoader.itemCaptainCookieCookie, 1);
|
||||
}
|
||||
*/
|
||||
|
||||
public boolean isAIEnabled()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Determines if an entity can be despawned, used on idle far away entities
|
||||
*/
|
||||
protected boolean canDespawn()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Drop items of this living's type
|
||||
*/
|
||||
protected void dropFewItems(boolean var1, int var2)
|
||||
{
|
||||
Random rn = new Random();
|
||||
int max = 32;
|
||||
int min = 1;
|
||||
int result = rn.nextInt(max - min + 1) + min;
|
||||
System.out.println(result);
|
||||
|
||||
this.entityDropItem(new ItemStack(Items.dye, result, 2), 1F);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the sound this mob makes while it's alive.
|
||||
*/
|
||||
|
||||
protected String getLivingSound()
|
||||
{
|
||||
return this != null ? "youtubers:EckoSoldier_living" : "youtubers:EckoSoldier_living_1";
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the sound this mob makes when it is hurt.
|
||||
*/
|
||||
|
||||
protected String getHurtSound()
|
||||
{
|
||||
return "youtubers:EckoSoldier_hurt";
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the sound this mob makes on death.
|
||||
*/
|
||||
|
||||
protected String getDeathSound()
|
||||
{
|
||||
return "youtubers:EckoSoldier_death";
|
||||
}
|
||||
|
||||
public void onStruckByLightning(EntityLightningBolt entityLightningBolt){
|
||||
int i = (int)this.posX;
|
||||
int j = (int)this.posY;
|
||||
int k = (int)this.posZ;
|
||||
Entity entity = this;
|
||||
|
||||
}
|
||||
|
||||
protected void fall(float l){
|
||||
int i = (int)this.posX;
|
||||
int j = (int)this.posY;
|
||||
int k = (int)this.posZ;
|
||||
super.fall(l);
|
||||
Entity entity = this;
|
||||
|
||||
}
|
||||
|
||||
public void onCriticalHit(Entity entity2) {
|
||||
int i = (int)this.posX;
|
||||
int j = (int)this.posY;
|
||||
int k = (int)this.posZ;
|
||||
Entity entity = this;
|
||||
|
||||
}
|
||||
|
||||
public void onKillEntity(EntityLiving entityLiving){
|
||||
int i = (int)this.posX;
|
||||
int j = (int)this.posY;
|
||||
int k = (int)this.posZ;
|
||||
Entity entity = this;
|
||||
|
||||
}
|
||||
|
||||
public String getEntityName(){
|
||||
return "EckoSoldier";
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Will return how many at most can spawn in a chunk at once.
|
||||
*/
|
||||
public int getMaxSpawnedInChunk()
|
||||
{
|
||||
return 4;
|
||||
}
|
||||
/*
|
||||
public boolean func_152122_n()
|
||||
{
|
||||
return this.locationCape == new ResourceLocation("youtubers:textures/entity/cloak/MC15.png");
|
||||
}
|
||||
|
||||
public ResourceLocation renderCloak (float par1)
|
||||
{
|
||||
return new ResourceLocation("youtubers:textures/entity/cloak/MC15.png");
|
||||
}
|
||||
*/
|
||||
|
||||
}
|
|
@ -1,5 +1,7 @@
|
|||
package com.jtrent238.youtubers.entity.youtuber;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.EntityLiving;
|
||||
import net.minecraft.entity.SharedMonsterAttributes;
|
||||
|
@ -107,7 +109,13 @@ protected void addRandomArmor(){
|
|||
*/
|
||||
protected void dropFewItems(boolean var1, int var2)
|
||||
{
|
||||
this.entityDropItem(new ItemStack(Items.golden_apple, 32, 1), 1F);
|
||||
Random rn = new Random();
|
||||
int max = 32;
|
||||
int min = 1;
|
||||
int result = rn.nextInt(max - min + 1) + min;
|
||||
System.out.println(result);
|
||||
|
||||
this.entityDropItem(new ItemStack(Items.golden_apple, result, 1), 1F);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -0,0 +1,202 @@
|
|||
package com.jtrent238.youtubers.entity.youtuber;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
import cpw.mods.fml.client.registry.RenderingRegistry;
|
||||
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||
import cpw.mods.fml.common.event.FMLServerStartingEvent;
|
||||
import cpw.mods.fml.common.registry.EntityRegistry;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import net.minecraft.client.model.ModelBiped;
|
||||
import net.minecraft.client.renderer.entity.RenderLiving;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.EntityLiving;
|
||||
import net.minecraft.entity.EnumCreatureType;
|
||||
import net.minecraft.entity.SharedMonsterAttributes;
|
||||
import net.minecraft.entity.ai.EntityAIAttackOnCollide;
|
||||
import net.minecraft.entity.ai.EntityAIHurtByTarget;
|
||||
import net.minecraft.entity.ai.EntityAILookIdle;
|
||||
import net.minecraft.entity.ai.EntityAIMoveThroughVillage;
|
||||
import net.minecraft.entity.ai.EntityAIMoveTowardsRestriction;
|
||||
import net.minecraft.entity.ai.EntityAIMoveTowardsTarget;
|
||||
import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
|
||||
import net.minecraft.entity.ai.EntityAIWander;
|
||||
import net.minecraft.entity.ai.EntityAIWatchClosest;
|
||||
import net.minecraft.entity.boss.BossStatus;
|
||||
import net.minecraft.entity.boss.IBossDisplayData;
|
||||
import net.minecraft.entity.effect.EntityLightningBolt;
|
||||
import net.minecraft.entity.monster.EntityGolem;
|
||||
import net.minecraft.entity.monster.IMob;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.init.Items;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.DamageSource;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraft.world.biome.BiomeGenBase;
|
||||
import net.minecraftforge.common.DungeonHooks;
|
||||
|
||||
//Replace SSundee with name
|
||||
|
||||
public class EntityMagna_Invictus extends EntityGolem implements IBossDisplayData
|
||||
{
|
||||
World world = null;
|
||||
private int attackTimer;
|
||||
private DamageSource damageSource;
|
||||
private EntityPlayer entityAttackedBy;
|
||||
public EntityMagna_Invictus(World var1)
|
||||
{
|
||||
super(var1);
|
||||
world = var1;
|
||||
experienceValue = 4;
|
||||
this.isImmuneToFire = true;
|
||||
this.tasks.addTask(1, new EntityAIAttackOnCollide(this, 1.0D, true));
|
||||
this.tasks.addTask(2, new EntityAIMoveTowardsTarget(this, 0.9D, 32.0F));
|
||||
this.tasks.addTask(3, new EntityAIMoveThroughVillage(this, 0.6D, true));
|
||||
this.tasks.addTask(4, new EntityAIMoveTowardsRestriction(this, 1.0D));
|
||||
this.tasks.addTask(6, new EntityAIWander(this, 0.6D));
|
||||
this.tasks.addTask(7, new EntityAIWatchClosest(this, EntityPlayer.class, 6.0F));
|
||||
this.tasks.addTask(8, new EntityAILookIdle(this));
|
||||
this.targetTasks.addTask(2, new EntityAIHurtByTarget(this, false));
|
||||
this.targetTasks.addTask(3, new EntityAINearestAttackableTarget(this, EntityLiving.class, 0, false, true, IMob.mobSelector));
|
||||
|
||||
this.hasCustomNameTag();
|
||||
this.setCustomNameTag("Magna_Invictus");
|
||||
addRandomArmor();
|
||||
//DungeonHooks.addDungeonMob("SSundee", 180);
|
||||
}
|
||||
|
||||
|
||||
protected void applyEntityAttributes()
|
||||
{
|
||||
super.applyEntityAttributes();
|
||||
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(50D);
|
||||
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.25D);
|
||||
}
|
||||
|
||||
public boolean attackEntityAsMob(Entity p_70652_1_)
|
||||
{
|
||||
this.attackTimer = 10;
|
||||
this.worldObj.setEntityState(this, (byte)4);
|
||||
boolean flag = p_70652_1_.attackEntityFrom(DamageSource.causeMobDamage(this), (float)(7 + this.rand.nextInt(15)));
|
||||
|
||||
if (flag)
|
||||
{
|
||||
p_70652_1_.motionY += 0.4000000059604645D;
|
||||
}
|
||||
|
||||
this.playSound("", 1.0F, 1.0F);
|
||||
return flag;
|
||||
}
|
||||
|
||||
|
||||
|
||||
protected void addRandomArmor(){
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
protected void dropRareDrop(int par1){
|
||||
this.dropItem(ItemLoader.itemCaptainCookieCookie, 1);
|
||||
}
|
||||
*/
|
||||
|
||||
public boolean isAIEnabled()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Determines if an entity can be despawned, used on idle far away entities
|
||||
*/
|
||||
protected boolean canDespawn()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Drop items of this living's type
|
||||
*/
|
||||
protected void dropFewItems(boolean var1, int var2)
|
||||
{
|
||||
//this.entityDropItem(new ItemStack(BlockLoader.blockFlowerLove, 1), 4F);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the sound this mob makes while it's alive.
|
||||
*/
|
||||
/*
|
||||
protected String getLivingSound()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
*/
|
||||
/**
|
||||
* Returns the sound this mob makes when it is hurt.
|
||||
*/
|
||||
/*
|
||||
protected String getHurtSound()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
*/
|
||||
/**
|
||||
* Returns the sound this mob makes on death.
|
||||
*/
|
||||
/*
|
||||
protected String getDeathSound()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
*/
|
||||
public void onStruckByLightning(EntityLightningBolt entityLightningBolt){
|
||||
int i = (int)this.posX;
|
||||
int j = (int)this.posY;
|
||||
int k = (int)this.posZ;
|
||||
Entity entity = this;
|
||||
|
||||
}
|
||||
|
||||
protected void fall(float l){
|
||||
int i = (int)this.posX;
|
||||
int j = (int)this.posY;
|
||||
int k = (int)this.posZ;
|
||||
super.fall(l);
|
||||
Entity entity = this;
|
||||
|
||||
}
|
||||
|
||||
public void onCriticalHit(Entity entity2) {
|
||||
int i = (int)this.posX;
|
||||
int j = (int)this.posY;
|
||||
int k = (int)this.posZ;
|
||||
Entity entity = this;
|
||||
|
||||
}
|
||||
|
||||
public void onKillEntity(EntityLiving entityLiving){
|
||||
int i = (int)this.posX;
|
||||
int j = (int)this.posY;
|
||||
int k = (int)this.posZ;
|
||||
Entity entity = this;
|
||||
|
||||
}
|
||||
|
||||
public String getEntityName(){
|
||||
return "Magna_Invictus";
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Will return how many at most can spawn in a chunk at once.
|
||||
*/
|
||||
public int getMaxSpawnedInChunk()
|
||||
{
|
||||
return 4;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
|
@ -0,0 +1,202 @@
|
|||
package com.jtrent238.youtubers.entity.youtuber;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
import cpw.mods.fml.client.registry.RenderingRegistry;
|
||||
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||
import cpw.mods.fml.common.event.FMLServerStartingEvent;
|
||||
import cpw.mods.fml.common.registry.EntityRegistry;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import net.minecraft.client.model.ModelBiped;
|
||||
import net.minecraft.client.renderer.entity.RenderLiving;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.EntityLiving;
|
||||
import net.minecraft.entity.EnumCreatureType;
|
||||
import net.minecraft.entity.SharedMonsterAttributes;
|
||||
import net.minecraft.entity.ai.EntityAIAttackOnCollide;
|
||||
import net.minecraft.entity.ai.EntityAIHurtByTarget;
|
||||
import net.minecraft.entity.ai.EntityAILookIdle;
|
||||
import net.minecraft.entity.ai.EntityAIMoveThroughVillage;
|
||||
import net.minecraft.entity.ai.EntityAIMoveTowardsRestriction;
|
||||
import net.minecraft.entity.ai.EntityAIMoveTowardsTarget;
|
||||
import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
|
||||
import net.minecraft.entity.ai.EntityAIWander;
|
||||
import net.minecraft.entity.ai.EntityAIWatchClosest;
|
||||
import net.minecraft.entity.boss.BossStatus;
|
||||
import net.minecraft.entity.boss.IBossDisplayData;
|
||||
import net.minecraft.entity.effect.EntityLightningBolt;
|
||||
import net.minecraft.entity.monster.EntityGolem;
|
||||
import net.minecraft.entity.monster.IMob;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.init.Items;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.DamageSource;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraft.world.biome.BiomeGenBase;
|
||||
import net.minecraftforge.common.DungeonHooks;
|
||||
|
||||
//Replace SSundee with name
|
||||
|
||||
public class EntitySSundee extends EntityGolem implements IBossDisplayData
|
||||
{
|
||||
World world = null;
|
||||
private int attackTimer;
|
||||
private DamageSource damageSource;
|
||||
private EntityPlayer entityAttackedBy;
|
||||
public EntitySSundee(World var1)
|
||||
{
|
||||
super(var1);
|
||||
world = var1;
|
||||
experienceValue = 4;
|
||||
this.isImmuneToFire = true;
|
||||
this.tasks.addTask(1, new EntityAIAttackOnCollide(this, 1.0D, true));
|
||||
this.tasks.addTask(2, new EntityAIMoveTowardsTarget(this, 0.9D, 32.0F));
|
||||
this.tasks.addTask(3, new EntityAIMoveThroughVillage(this, 0.6D, true));
|
||||
this.tasks.addTask(4, new EntityAIMoveTowardsRestriction(this, 1.0D));
|
||||
this.tasks.addTask(6, new EntityAIWander(this, 0.6D));
|
||||
this.tasks.addTask(7, new EntityAIWatchClosest(this, EntityPlayer.class, 6.0F));
|
||||
this.tasks.addTask(8, new EntityAILookIdle(this));
|
||||
this.targetTasks.addTask(2, new EntityAIHurtByTarget(this, false));
|
||||
this.targetTasks.addTask(3, new EntityAINearestAttackableTarget(this, EntityLiving.class, 0, false, true, IMob.mobSelector));
|
||||
|
||||
this.hasCustomNameTag();
|
||||
this.setCustomNameTag("SSundee");
|
||||
addRandomArmor();
|
||||
//DungeonHooks.addDungeonMob("SSundee", 180);
|
||||
}
|
||||
|
||||
|
||||
protected void applyEntityAttributes()
|
||||
{
|
||||
super.applyEntityAttributes();
|
||||
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(50D);
|
||||
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.25D);
|
||||
}
|
||||
|
||||
public boolean attackEntityAsMob(Entity p_70652_1_)
|
||||
{
|
||||
this.attackTimer = 10;
|
||||
this.worldObj.setEntityState(this, (byte)4);
|
||||
boolean flag = p_70652_1_.attackEntityFrom(DamageSource.causeMobDamage(this), (float)(7 + this.rand.nextInt(15)));
|
||||
|
||||
if (flag)
|
||||
{
|
||||
p_70652_1_.motionY += 0.4000000059604645D;
|
||||
}
|
||||
|
||||
this.playSound("", 1.0F, 1.0F);
|
||||
return flag;
|
||||
}
|
||||
|
||||
|
||||
|
||||
protected void addRandomArmor(){
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
protected void dropRareDrop(int par1){
|
||||
this.dropItem(ItemLoader.itemCaptainCookieCookie, 1);
|
||||
}
|
||||
*/
|
||||
|
||||
public boolean isAIEnabled()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Determines if an entity can be despawned, used on idle far away entities
|
||||
*/
|
||||
protected boolean canDespawn()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Drop items of this living's type
|
||||
*/
|
||||
protected void dropFewItems(boolean var1, int var2)
|
||||
{
|
||||
//this.entityDropItem(new ItemStack(BlockLoader.blockFlowerLove, 1), 4F);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the sound this mob makes while it's alive.
|
||||
*/
|
||||
/*
|
||||
protected String getLivingSound()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
*/
|
||||
/**
|
||||
* Returns the sound this mob makes when it is hurt.
|
||||
*/
|
||||
/*
|
||||
protected String getHurtSound()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
*/
|
||||
/**
|
||||
* Returns the sound this mob makes on death.
|
||||
*/
|
||||
/*
|
||||
protected String getDeathSound()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
*/
|
||||
public void onStruckByLightning(EntityLightningBolt entityLightningBolt){
|
||||
int i = (int)this.posX;
|
||||
int j = (int)this.posY;
|
||||
int k = (int)this.posZ;
|
||||
Entity entity = this;
|
||||
|
||||
}
|
||||
|
||||
protected void fall(float l){
|
||||
int i = (int)this.posX;
|
||||
int j = (int)this.posY;
|
||||
int k = (int)this.posZ;
|
||||
super.fall(l);
|
||||
Entity entity = this;
|
||||
|
||||
}
|
||||
|
||||
public void onCriticalHit(Entity entity2) {
|
||||
int i = (int)this.posX;
|
||||
int j = (int)this.posY;
|
||||
int k = (int)this.posZ;
|
||||
Entity entity = this;
|
||||
|
||||
}
|
||||
|
||||
public void onKillEntity(EntityLiving entityLiving){
|
||||
int i = (int)this.posX;
|
||||
int j = (int)this.posY;
|
||||
int k = (int)this.posZ;
|
||||
Entity entity = this;
|
||||
|
||||
}
|
||||
|
||||
public String getEntityName(){
|
||||
return "SSundee";
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Will return how many at most can spawn in a chunk at once.
|
||||
*/
|
||||
public int getMaxSpawnedInChunk()
|
||||
{
|
||||
return 4;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
package com.jtrent238.youtubers.items;
|
||||
|
||||
public class ItemDiamondPlayButton extends ItemPlayButton{
|
||||
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
package com.jtrent238.youtubers.items;
|
||||
|
||||
public class ItemGoldPlayButton extends ItemPlayButton{
|
||||
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
package com.jtrent238.youtubers.items;
|
||||
|
||||
import net.minecraft.item.Item;
|
||||
|
||||
public class ItemPlayButton extends Item{
|
||||
|
||||
}
|
|
@ -0,0 +1,103 @@
|
|||
package com.jtrent238.youtubers.items;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.inventory.IInventory;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public class ItemRandomBlockStructure_Placer extends Item{
|
||||
|
||||
|
||||
|
||||
public ItemRandomBlockStructure_Placer(int par1){
|
||||
setMaxDamage(0);
|
||||
maxStackSize = 1;
|
||||
//setUnlocalizedName("itemJenWellPlacer");
|
||||
//setTextureName("epicproportionsmod:itemJenWellPlacer");
|
||||
//setCreativeTab(EpicProportionsMod.EpicProportionsMod);
|
||||
}
|
||||
public int getItemEnchantability()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
public int getMaxItemUseDuration(ItemStack par1ItemStack)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
public float getStrVsBlock(ItemStack par1ItemStack, Block par2Block)
|
||||
{
|
||||
return 1.0F;
|
||||
}
|
||||
|
||||
public boolean onItemUse(ItemStack itemStack, EntityPlayer entity, World world, int x, int y, int z, int l, float a, float b, float c){
|
||||
float var4 = 1.0F;
|
||||
|
||||
if(true){
|
||||
boolean place = true;
|
||||
|
||||
if(place){
|
||||
|
||||
Random rn = new Random();
|
||||
int max = 250;
|
||||
int min = 1;
|
||||
int result = rn.nextInt(max - min + 1) + min;
|
||||
System.out.println(result);
|
||||
|
||||
world.setBlock(x+0, y+0, z+0, Block.getBlockById(result));
|
||||
world.setBlock(x+1, y+0, z+0, Block.getBlockById(result));
|
||||
world.setBlock(x+2, y+0, z+0, Block.getBlockById(result));
|
||||
world.setBlock(x+0, y+0, z+1, Block.getBlockById(result));
|
||||
world.setBlock(x+1, y+0, z+1, Block.getBlockById(result));
|
||||
world.setBlock(x+2, y+0, z+1, Block.getBlockById(result));
|
||||
world.setBlock(x+0, y+0, z+2, Block.getBlockById(result));
|
||||
world.setBlock(x+1, y+0, z+2, Block.getBlockById(result));
|
||||
world.setBlock(x+2, y+0, z+2, Block.getBlockById(result));
|
||||
world.setBlock(x+0, y+1, z+0, Block.getBlockById(result));
|
||||
world.setBlock(x+1, y+1, z+0, Block.getBlockById(result));
|
||||
world.setBlock(x+2, y+1, z+0, Block.getBlockById(result));
|
||||
world.setBlock(x+0, y+1, z+1, Block.getBlockById(result));
|
||||
world.setBlock(x+1, y+1, z+1, Block.getBlockById(result));
|
||||
world.setBlock(x+2, y+1, z+1, Block.getBlockById(result));
|
||||
world.setBlock(x+0, y+1, z+2, Block.getBlockById(result));
|
||||
world.setBlock(x+1, y+1, z+2, Block.getBlockById(result));
|
||||
world.setBlock(x+2, y+1, z+2, Block.getBlockById(result));
|
||||
world.setBlock(x+0, y+2, z+0, Block.getBlockById(result));
|
||||
world.setBlock(x+1, y+2, z+0, Block.getBlockById(result));
|
||||
world.setBlock(x+2, y+2, z+0, Block.getBlockById(result));
|
||||
world.setBlock(x+0, y+2, z+1, Block.getBlockById(result));
|
||||
world.setBlock(x+1, y+2, z+1, Block.getBlockById(result));
|
||||
world.setBlock(x+2, y+2, z+1, Block.getBlockById(result));
|
||||
world.setBlock(x+0, y+2, z+2, Block.getBlockById(result));
|
||||
world.setBlock(x+1, y+2, z+2, Block.getBlockById(result));
|
||||
world.setBlock(x+2, y+2, z+2, Block.getBlockById(result));
|
||||
|
||||
|
||||
}
|
||||
--itemStack.stackSize;
|
||||
}
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
public void removeItem(EntityPlayer ep, ItemStack removeitem) {
|
||||
IInventory inv = ep.inventory;
|
||||
for(int i=0; i < inv.getSizeInventory(); i++)
|
||||
{
|
||||
if(inv.getStackInSlot(i) != null)
|
||||
{
|
||||
ItemStack j = inv.getStackInSlot(i);
|
||||
if(j.getItem() != null && j.getItem() == removeitem.getItem())
|
||||
{
|
||||
inv.setInventorySlotContents(i, null);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
package com.jtrent238.youtubers.items;
|
||||
|
||||
public class ItemRubyPlayButton extends ItemPlayButton{
|
||||
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
package com.jtrent238.youtubers.items;
|
||||
|
||||
public class ItemSilverPlayButton extends ItemPlayButton{
|
||||
|
||||
}
|
|
@ -0,0 +1,48 @@
|
|||
package com.jtrent238.youtubers.items.armor;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import net.minecraft.block.BlockDispenser;
|
||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.command.IEntitySelector;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.dispenser.BehaviorDefaultDispenseItem;
|
||||
import net.minecraft.dispenser.IBehaviorDispenseItem;
|
||||
import net.minecraft.dispenser.IBlockSource;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.EntityLiving;
|
||||
import net.minecraft.entity.EntityLivingBase;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.init.Items;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemArmor;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.item.ItemArmor.ArmorMaterial;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.util.AxisAlignedBB;
|
||||
import net.minecraft.util.EnumFacing;
|
||||
import net.minecraft.util.IIcon;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public class BajanCanadian_Armor extends ItemArmor{
|
||||
|
||||
private String textureName;
|
||||
private int armorType;
|
||||
|
||||
|
||||
public BajanCanadian_Armor(ArmorMaterial diamond, int i, int j) {
|
||||
super(diamond, 0, i);
|
||||
//this.textureName = textureName;
|
||||
this.setUnlocalizedName("BajanCanadian_Armor");
|
||||
this.setTextureName("youtubers:BajanCanadian_Armor");
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type)
|
||||
{
|
||||
return "youtubers:textures/armor/BajanCanadian_Armor_" + (this.armorType == 2 ? "2" : "1") + ".png";
|
||||
}
|
||||
}
|
|
@ -0,0 +1,48 @@
|
|||
package com.jtrent238.youtubers.items.armor;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import net.minecraft.block.BlockDispenser;
|
||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.command.IEntitySelector;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.dispenser.BehaviorDefaultDispenseItem;
|
||||
import net.minecraft.dispenser.IBehaviorDispenseItem;
|
||||
import net.minecraft.dispenser.IBlockSource;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.EntityLiving;
|
||||
import net.minecraft.entity.EntityLivingBase;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.init.Items;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemArmor;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.item.ItemArmor.ArmorMaterial;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.util.AxisAlignedBB;
|
||||
import net.minecraft.util.EnumFacing;
|
||||
import net.minecraft.util.IIcon;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public class EckoSoldier_Armor extends ItemArmor{
|
||||
|
||||
private String textureName;
|
||||
private int armorType;
|
||||
|
||||
|
||||
public EckoSoldier_Armor(ArmorMaterial diamond, int i, int j) {
|
||||
super(diamond, 0, i);
|
||||
//this.textureName = textureName;
|
||||
this.setUnlocalizedName("EckoSoldier_Armor");
|
||||
this.setTextureName("youtubers:EckoSoldier_Armor");
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type)
|
||||
{
|
||||
return "youtubers:textures/armor/EckoSoldier_Armor_" + (this.armorType == 2 ? "2" : "1") + ".png";
|
||||
}
|
||||
}
|
|
@ -0,0 +1,27 @@
|
|||
package com.jtrent238.youtubers.items.armor;
|
||||
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.item.ItemArmor;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.item.ItemArmor.ArmorMaterial;
|
||||
|
||||
public class Magna_Invictus_Armor extends ItemArmor{
|
||||
|
||||
private String textureName;
|
||||
private int armorType;
|
||||
|
||||
|
||||
public Magna_Invictus_Armor(ArmorMaterial diamond, int i, int j) {
|
||||
super(diamond, 0, i);
|
||||
//this.textureName = textureName;
|
||||
this.setUnlocalizedName("Magna_Invictus_Armor");
|
||||
this.setTextureName("youtubers:Magna_Invictus_Armor");
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type)
|
||||
{
|
||||
return "youtubers:textures/armor/Magna_Invictus_Armor" + (this.armorType == 2 ? "2" : "1") + ".png";
|
||||
}
|
||||
}
|
|
@ -0,0 +1,48 @@
|
|||
package com.jtrent238.youtubers.items.armor;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import net.minecraft.block.BlockDispenser;
|
||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.command.IEntitySelector;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.dispenser.BehaviorDefaultDispenseItem;
|
||||
import net.minecraft.dispenser.IBehaviorDispenseItem;
|
||||
import net.minecraft.dispenser.IBlockSource;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.EntityLiving;
|
||||
import net.minecraft.entity.EntityLivingBase;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.init.Items;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemArmor;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.item.ItemArmor.ArmorMaterial;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.util.AxisAlignedBB;
|
||||
import net.minecraft.util.EnumFacing;
|
||||
import net.minecraft.util.IIcon;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public class SSundee_Armor extends ItemArmor{
|
||||
|
||||
private String textureName;
|
||||
private int armorType;
|
||||
|
||||
|
||||
public SSundee_Armor(ArmorMaterial diamond, int i, int j) {
|
||||
super(diamond, 0, i);
|
||||
//this.textureName = textureName;
|
||||
this.setUnlocalizedName("SSundee_Armor");
|
||||
this.setTextureName("youtubers:SSundee_Armor");
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type)
|
||||
{
|
||||
return "youtubers:textures/armor/SSundee_Armor_" + (this.armorType == 2 ? "2" : "1") + ".png";
|
||||
}
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
package com.jtrent238.youtubers.items.materials;
|
||||
|
||||
public class ItemBajanCanadianIngot extends YouTuberIngot{
|
||||
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
package com.jtrent238.youtubers.items.materials;
|
||||
|
||||
public class ItemEckoSoldierIngot extends YouTuberIngot{
|
||||
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
package com.jtrent238.youtubers.items.materials;
|
||||
|
||||
public class ItemMagna_InvictusIngot extends YouTuberIngot{
|
||||
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
package com.jtrent238.youtubers.items.materials;
|
||||
|
||||
public class ItemSSundeeIngot extends YouTuberIngot{
|
||||
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
package com.jtrent238.youtubers.items.tools;
|
||||
|
||||
import net.minecraft.item.ItemAxe;
|
||||
|
||||
public class ItemBajanCanadianAxe extends ItemAxe{
|
||||
|
||||
public ItemBajanCanadianAxe(ToolMaterial p_i45327_1_) {
|
||||
super(p_i45327_1_);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
package com.jtrent238.youtubers.items.tools;
|
||||
|
||||
import net.minecraft.item.ItemHoe;
|
||||
|
||||
public class ItemBajanCanadianHoe extends ItemHoe{
|
||||
|
||||
public ItemBajanCanadianHoe(ToolMaterial p_i45343_1_) {
|
||||
super(p_i45343_1_);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
package com.jtrent238.youtubers.items.tools;
|
||||
|
||||
public class ItemBajanCanadianMultiTool extends ItemMultiTool{
|
||||
|
||||
public ItemBajanCanadianMultiTool(ToolMaterial material) {
|
||||
super(material);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
package com.jtrent238.youtubers.items.tools;
|
||||
|
||||
import net.minecraft.item.ItemPickaxe;
|
||||
|
||||
public class ItemBajanCanadianPickaxe extends ItemPickaxe{
|
||||
|
||||
public ItemBajanCanadianPickaxe(ToolMaterial p_i45347_1_) {
|
||||
super(p_i45347_1_);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
package com.jtrent238.youtubers.items.tools;
|
||||
|
||||
import net.minecraft.item.ItemSpade;
|
||||
|
||||
public class ItemBajanCanadianShovel extends ItemSpade{
|
||||
|
||||
public ItemBajanCanadianShovel(ToolMaterial p_i45353_1_) {
|
||||
super(p_i45353_1_);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
package com.jtrent238.youtubers.items.tools;
|
||||
|
||||
import net.minecraft.item.ItemAxe;
|
||||
|
||||
public class ItemEckoSoldierAxe extends ItemAxe{
|
||||
|
||||
public ItemEckoSoldierAxe(ToolMaterial p_i45327_1_) {
|
||||
super(p_i45327_1_);
|
||||
// TODO Auto-generated constructor stub
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
package com.jtrent238.youtubers.items.tools;
|
||||
|
||||
import net.minecraft.item.ItemHoe;
|
||||
|
||||
public class ItemEckoSoldierHoe extends ItemHoe{
|
||||
|
||||
public ItemEckoSoldierHoe(ToolMaterial p_i45343_1_) {
|
||||
super(p_i45343_1_);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
package com.jtrent238.youtubers.items.tools;
|
||||
|
||||
public class ItemEckoSoldierMultiTool extends ItemMultiTool{
|
||||
|
||||
public ItemEckoSoldierMultiTool(ToolMaterial material) {
|
||||
super(material);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
package com.jtrent238.youtubers.items.tools;
|
||||
|
||||
import net.minecraft.item.ItemPickaxe;
|
||||
|
||||
public class ItemEckoSoldierPickaxe extends ItemPickaxe{
|
||||
|
||||
public ItemEckoSoldierPickaxe(ToolMaterial p_i45347_1_) {
|
||||
super(p_i45347_1_);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
package com.jtrent238.youtubers.items.tools;
|
||||
|
||||
import net.minecraft.item.ItemSpade;
|
||||
|
||||
public class ItemEckoSoldierShovel extends ItemSpade{
|
||||
|
||||
public ItemEckoSoldierShovel(ToolMaterial p_i45353_1_) {
|
||||
super(p_i45353_1_);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
package com.jtrent238.youtubers.items.tools;
|
||||
|
||||
import net.minecraft.item.ItemAxe;
|
||||
|
||||
public class ItemMagna_InvictusAxe extends ItemAxe{
|
||||
|
||||
public ItemMagna_InvictusAxe(ToolMaterial p_i45327_1_) {
|
||||
super(p_i45327_1_);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
package com.jtrent238.youtubers.items.tools;
|
||||
|
||||
import net.minecraft.item.ItemHoe;
|
||||
|
||||
public class ItemMagna_InvictusHoe extends ItemHoe{
|
||||
|
||||
public ItemMagna_InvictusHoe(ToolMaterial p_i45343_1_) {
|
||||
super(p_i45343_1_);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
package com.jtrent238.youtubers.items.tools;
|
||||
|
||||
public class ItemMagna_InvictusMultiTool extends ItemMultiTool{
|
||||
|
||||
public ItemMagna_InvictusMultiTool(ToolMaterial material) {
|
||||
super(material);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
package com.jtrent238.youtubers.items.tools;
|
||||
|
||||
import net.minecraft.item.ItemPickaxe;
|
||||
|
||||
public class ItemMagna_InvictusPickaxe extends ItemPickaxe{
|
||||
|
||||
public ItemMagna_InvictusPickaxe(ToolMaterial p_i45347_1_) {
|
||||
super(p_i45347_1_);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
package com.jtrent238.youtubers.items.tools;
|
||||
|
||||
import net.minecraft.item.ItemSpade;
|
||||
|
||||
public class ItemMagna_InvictusShovel extends ItemSpade{
|
||||
|
||||
public ItemMagna_InvictusShovel(ToolMaterial p_i45353_1_) {
|
||||
super(p_i45353_1_);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
package com.jtrent238.youtubers.items.tools;
|
||||
|
||||
import net.minecraft.item.ItemAxe;
|
||||
|
||||
public class ItemSSundeeAxe extends ItemAxe{
|
||||
|
||||
public ItemSSundeeAxe(ToolMaterial p_i45327_1_) {
|
||||
super(p_i45327_1_);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
package com.jtrent238.youtubers.items.tools;
|
||||
|
||||
import net.minecraft.item.ItemHoe;
|
||||
|
||||
public class ItemSSundeeHoe extends ItemHoe{
|
||||
|
||||
public ItemSSundeeHoe(ToolMaterial p_i45343_1_) {
|
||||
super(p_i45343_1_);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
package com.jtrent238.youtubers.items.tools;
|
||||
|
||||
public class ItemSSundeeMultiTool extends ItemMultiTool{
|
||||
|
||||
public ItemSSundeeMultiTool(ToolMaterial material) {
|
||||
super(material);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
package com.jtrent238.youtubers.items.tools;
|
||||
|
||||
import net.minecraft.item.ItemPickaxe;
|
||||
|
||||
public class ItemSSundeePickaxe extends ItemPickaxe{
|
||||
|
||||
public ItemSSundeePickaxe(ToolMaterial p_i45347_1_) {
|
||||
super(p_i45347_1_);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
package com.jtrent238.youtubers.items.tools;
|
||||
|
||||
import net.minecraft.item.ItemSpade;
|
||||
|
||||
public class ItemSSundeeShovel extends ItemSpade{
|
||||
|
||||
public ItemSSundeeShovel(ToolMaterial p_i45353_1_) {
|
||||
super(p_i45353_1_);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
package com.jtrent238.youtubers.items.tools.weapons;
|
||||
|
||||
import net.minecraft.item.ItemSword;
|
||||
|
||||
public class ItemBajanCanadianSword extends ItemSword{
|
||||
|
||||
public ItemBajanCanadianSword(ToolMaterial p_i45356_1_) {
|
||||
super(p_i45356_1_);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
package com.jtrent238.youtubers.items.tools.weapons;
|
||||
|
||||
import net.minecraft.item.ItemSword;
|
||||
|
||||
public class ItemEckoSoldierSword extends ItemSword{
|
||||
|
||||
public ItemEckoSoldierSword(ToolMaterial p_i45356_1_) {
|
||||
super(p_i45356_1_);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
package com.jtrent238.youtubers.items.tools.weapons;
|
||||
|
||||
import net.minecraft.item.ItemSword;
|
||||
import net.minecraft.item.Item.ToolMaterial;
|
||||
|
||||
public class ItemMagna_InvictusSword extends ItemSword{
|
||||
|
||||
public ItemMagna_InvictusSword(ToolMaterial p_i45356_1_) {
|
||||
super(p_i45356_1_);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
package com.jtrent238.youtubers.items.tools.weapons;
|
||||
|
||||
import net.minecraft.item.ItemSword;
|
||||
|
||||
public class ItemSSundeeSword extends ItemSword{
|
||||
|
||||
public ItemSSundeeSword(ToolMaterial p_i45356_1_) {
|
||||
super(p_i45356_1_);
|
||||
}
|
||||
|
||||
}
|
|
@ -26,17 +26,18 @@ public class ModWorldGen implements IWorldGenerator {
|
|||
switch (world.provider.dimensionId) {
|
||||
|
||||
case 0: //Overworld
|
||||
this.runGenerator(this.gen_xJSQ_ore, world, random, chunkX, chunkZ, 20, 0, 64);
|
||||
this.runGenerator(this.gen_DanTDM_ore, world, random, chunkX, chunkZ, 20, 0, 64);
|
||||
this.runGenerator(this.gen_SethBling_ore, world, random, chunkX, chunkZ, 20, 0, 64);
|
||||
this.runGenerator(this.gen_Laurie201_ore, world, random, chunkX, chunkZ, 20, 0, 64);
|
||||
this.runGenerator(this.gen_blohod_ore, world, random, chunkX, chunkZ, 20, 0, 64);
|
||||
this.runGenerator(this.gen_skythekidRS_ore, world, random, chunkX, chunkZ, 20, 0, 64);
|
||||
this.runGenerator(this.gen_HeyItsLuigi_ore, world, random, chunkX, chunkZ, 20, 0, 64);
|
||||
this.runGenerator(this.gen_Antvenom_ore, world, random, chunkX, chunkZ, 20, 0, 64);
|
||||
this.runGenerator(this.gen_Joy_Rider_2284_ore, world, random, chunkX, chunkZ, 20, 0, 64);
|
||||
this.runGenerator(this.gen_jtrent238_ore, world, random, chunkX, chunkZ, 20, 0, 64);
|
||||
this.runGenerator(this.gen__MrGregor__ore, world, random, chunkX, chunkZ, 20, 0, 64);
|
||||
this.runGenerator(this.gen_xJSQ_ore, world, random, chunkX, chunkZ, 5, 0, 64);
|
||||
this.runGenerator(this.gen_DanTDM_ore, world, random, chunkX, chunkZ, 5, 0, 64);
|
||||
this.runGenerator(this.gen_SethBling_ore, world, random, chunkX, chunkZ, 5, 0, 64);
|
||||
this.runGenerator(this.gen_Laurie201_ore, world, random, chunkX, chunkZ, 5, 0, 64);
|
||||
this.runGenerator(this.gen_blohod_ore, world, random, chunkX, chunkZ, 5, 0, 64);
|
||||
this.runGenerator(this.gen_skythekidRS_ore, world, random, chunkX, chunkZ, 5, 0, 64);
|
||||
this.runGenerator(this.gen_HeyItsLuigi_ore, world, random, chunkX, chunkZ, 5, 0, 64);
|
||||
this.runGenerator(this.gen_Antvenom_ore, world, random, chunkX, chunkZ, 5, 0, 64);
|
||||
this.runGenerator(this.gen_Joy_Rider_2284_ore, world, random, chunkX, chunkZ, 5, 0, 64);
|
||||
this.runGenerator(this.gen_jtrent238_ore, world, random, chunkX, chunkZ, 5, 0, 64);
|
||||
this.runGenerator(this.gen__MrGregor__ore, world, random, chunkX, chunkZ, 5, 0, 64);
|
||||
this.runGenerator(this.gen_SSundee_ore, world, random, chunkX, chunkZ, 5, 0, 64);
|
||||
|
||||
break;
|
||||
case -1: //Nether
|
||||
|
@ -59,6 +60,7 @@ public class ModWorldGen implements IWorldGenerator {
|
|||
private WorldGenerator gen_Joy_Rider_2284_ore;
|
||||
private WorldGenerator gen_jtrent238_ore;
|
||||
private WorldGenerator gen__MrGregor__ore;
|
||||
private WorldGenerator gen_SSundee_ore;
|
||||
|
||||
|
||||
public ModWorldGen() {
|
||||
|
@ -73,6 +75,7 @@ public class ModWorldGen implements IWorldGenerator {
|
|||
this.gen_Joy_Rider_2284_ore = new WorldGenMinable(BlockLoader.BlockJoy_Rider_2284Ore, 8);
|
||||
this.gen_jtrent238_ore = new WorldGenMinable(BlockLoader.Blockjtrent238Ore, 8);
|
||||
this.gen__MrGregor__ore = new WorldGenMinable(BlockLoader.Block_MrGregor_Ore, 8);
|
||||
this.gen_SSundee_ore = new WorldGenMinable(BlockLoader.BlockSSundeeOre, 8);
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -1,11 +1,22 @@
|
|||
//jtrent238's YouTuber Mod Language File
|
||||
|
||||
//Creative Tabs
|
||||
itemgroup.YouTubers=jtrent238's YouTubers Mod
|
||||
|
||||
//Players
|
||||
entity.Entitycaptainspy6.name=captainspy6
|
||||
entity.EntityHER08RINE.name=HER08RINE
|
||||
entity.EntityAlexIsCool.name=AlexIsCool
|
||||
entity.EntitymegablasterT.name=megablasterT
|
||||
entity.EntityCowMan.name=CowMan
|
||||
entity.EntityFar.name=Far
|
||||
|
||||
//other Items
|
||||
item.ItemSpawnEgg.name=Spawn Egg
|
||||
item.ItemSilverPlayButton.name=Silver YouTube Play Button
|
||||
item.ItemGoldPlayButton.name=Gold YouTube Play Button
|
||||
item.ItemDiamondPlayButton.name=Diamond YouTube Play Button
|
||||
item.ItemRubyPlayButton.name=Ruby YouTube Play Button
|
||||
|
||||
//xJSQ
|
||||
entity.EntityxJSQ.name=xJSQ
|
||||
|
@ -188,3 +199,67 @@ item.Item_MrGregor_Hoe.name=_MrGregor_ Shovel
|
|||
item.Item_MrGregor_MultiTool.name=_MrGregor_ Multitool
|
||||
tile.Block_MrGregor_Ore.name=_MrGregor_ Ore
|
||||
tile.Block_MrGregor_.name=_MrGregor_ Block
|
||||
|
||||
//SSundee
|
||||
entity.EntitySSundee.name=SSundee
|
||||
item.ItemSSundeeIngot.name=SSundee Ingot
|
||||
item.ItemSSundeeHelment.name=SSundee Helment
|
||||
item.ItemSSundeeChestplate.name=SSundee Chestplate
|
||||
item.ItemSSundeeLeggings.name=SSundee Leggings
|
||||
item.ItemSSundeeBoots.name=SSundee Boots
|
||||
item.ItemSSundeeSword.name=SSundee Sword
|
||||
item.ItemSSundeePickaxe.name=SSundee Pickaxe
|
||||
item.ItemSSundeeAxe.name=SSundee Axe
|
||||
item.ItemSSundeeShovel.name=SSundee Shovel
|
||||
item.ItemSSundeeHoe.name=SSundee Shovel
|
||||
item.ItemSSundeeMultiTool.name=SSundee Multitool
|
||||
tile.BlockSSundeeOre.name=SSundee Ore
|
||||
tile.BlockSSundee.name=SSundee Block
|
||||
|
||||
//Magna_Invictus
|
||||
entity.EntityMagna_Invictus.name=Magna_Invictus
|
||||
item.ItemMagna_InvictusIngot.name=Magna_Invictus Ingot
|
||||
item.ItemMagna_InvictusHelment.name=Magna_Invictus Helment
|
||||
item.ItemMagna_InvictusChestplate.name=Magna_Invictus Chestplate
|
||||
item.ItemMagna_InvictusLeggings.name=Magna_Invictus Leggings
|
||||
item.ItemMagna_InvictusBoots.name=Magna_Invictus Boots
|
||||
item.ItemMagna_InvictusSword.name=Magna_Invictus Sword
|
||||
item.ItemMagna_InvictusPickaxe.name=Magna_Invictus Pickaxe
|
||||
item.ItemMagna_InvictusAxe.name=Magna_Invictus Axe
|
||||
item.ItemMagna_InvictusShovel.name=Magna_Invictus Shovel
|
||||
item.ItemMagna_InvictusHoe.name=Magna_Invictus Shovel
|
||||
item.ItemMagna_InvictusMultiTool.name=Magna_Invictus Multitool
|
||||
tile.BlockMagna_InvictusOre.name=Magna_Invictus Ore
|
||||
tile.BlockMagna_Invictus.name=Magna_Invictus Block
|
||||
|
||||
//EckoSoldier
|
||||
entity.EntityEckoSoldier.name=EckoSoldier
|
||||
item.ItemEckoSoldierIngot.name=EckoSoldier Ingot
|
||||
item.ItemEckoSoldierHelment.name=EckoSoldier Helment
|
||||
item.ItemEckoSoldierChestplate.name=EckoSoldier Chestplate
|
||||
item.ItemEckoSoldierLeggings.name=EckoSoldier Leggings
|
||||
item.ItemEckoSoldierBoots.name=EckoSoldier Boots
|
||||
item.ItemEckoSoldierSword.name=EckoSoldier Sword
|
||||
item.ItemEckoSoldierPickaxe.name=EckoSoldier Pickaxe
|
||||
item.ItemEckoSoldierAxe.name=EckoSoldier Axe
|
||||
item.ItemEckoSoldierShovel.name=EckoSoldier Shovel
|
||||
item.ItemEckoSoldierHoe.name=EckoSoldier Shovel
|
||||
item.ItemEckoSoldierMultiTool.name=EckoSoldier Multitool
|
||||
tile.BlockEckoSoldierOre.name=EckoSoldier Ore
|
||||
tile.BlockEckoSoldier.name=EckoSoldier Block
|
||||
|
||||
//BajanCanadian
|
||||
entity.EntityBajanCanadian.name=BajanCanadian
|
||||
item.ItemBajanCanadianIngot.name=BajanCanadian Ingot
|
||||
item.ItemBajanCanadianHelment.name=BajanCanadian Helment
|
||||
item.ItemBajanCanadianChestplate.name=BajanCanadian Chestplate
|
||||
item.ItemBajanCanadianLeggings.name=BajanCanadian Leggings
|
||||
item.ItemBajanCanadianBoots.name=BajanCanadian Boots
|
||||
item.ItemBajanCanadianSword.name=BajanCanadian Sword
|
||||
item.ItemBajanCanadianPickaxe.name=BajanCanadian Pickaxe
|
||||
item.ItemBajanCanadianAxe.name=BajanCanadian Axe
|
||||
item.ItemBajanCanadianShovel.name=BajanCanadian Shovel
|
||||
item.ItemBajanCanadianHoe.name=BajanCanadian Shovel
|
||||
item.ItemBajanCanadianMultiTool.name=BajanCanadian Multitool
|
||||
tile.BlockBajanCanadianOre.name=BajanCanadian Ore
|
||||
tile.BlockBajanCanadian.name=BajanCanadian Block
|
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 255 B |
After Width: | Height: | Size: 359 B |
After Width: | Height: | Size: 332 B |
After Width: | Height: | Size: 363 B |
After Width: | Height: | Size: 370 B |
After Width: | Height: | Size: 347 B |
After Width: | Height: | Size: 341 B |
After Width: | Height: | Size: 356 B |
After Width: | Height: | Size: 405 B |
After Width: | Height: | Size: 370 B |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 1.8 KiB |