Jump to content

junzuke

Members
  • Posts

    16
  • Joined

  • Last visited

Everything posted by junzuke

  1. ok TGG the thing about damaged worked but now after changing the target priority to this it still wont attack creepers as i said before it will attack everything else but thanks so far
  2. Hi guys I am in need of some help . I final got my mob to attack other npcs and it will attack most mobs but for some reason it will not attack creepers with this this.targetTasks.addTask(1, new EntityAINearestAttackableTarget(this, EntityZombie.class, 5, false)); I don’t know what I am doing wrong . Ok so secondly I want to turn down how much damage it deal because it currently kills most things including players in one hit and I need to make it less OP . I don’t know how to do this as most of the code is a mix and match from other minecraft mobs but I think its this ?? the rest of the code is below and in-case your wondering the reason I added a separate yAINearestAttackableTarget for each is because the npc is a Entitymob and so they attack each other please help me resolve this thanks
  3. thanks are you meaning this ? i tried adding it but still no luck Thanks anyways
  4. Hi guys I'm trying to get my npc to attack other npcs it already attacks players via this.tasks.addTask(2, new EntityAIAttackOnCollide(this, EntityPlayer.class, 1.0D, false)); and am trying this for the other npcs this.tasks.addTask(1, new EntityAIAttackOnCollide(this, EntityMob.class, 1.5D, false)); but no luck so far any help would be much appreciated thanks
  5. Hi guys in my mod I'm trying to get my Guard npc to move between two way points iv already got the base guard working and an item"flag" to mark the two points but I'm pretty new to modding and am not sure were to go from here and tips/ suggestions / help would be appreciated thanks .
  6. Hello all sorry if this has already been solved . but i have been trying to add attack to my mob "Guard" however no luck so far maybe i haven't done enough but this is really getting to me. i think Im making the mob passive but don't Know how to change that please help in new to modding and iv come back to after a while of frustration and failed attempts thanks in advance code from baseMod and the GuardMod files is below BaseMod GuardMod
  7. thanks to YSPilot this issue has been resolved it was mod specific issue
  8. TGG i don't know were you what me to put that code in vanilla
  9. thanks YSPilot but still no fix I'm getting desperate
  10. OK guys thanks for help still no solution here's my code so far package Mcmkingdoms.Mod; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.Item; import net.minecraftforge.common.MinecraftForge; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; // used in 1.6.2 //import cpw.mods.fml.common.Mod.PreInit; // used in 1.5.2 //import cpw.mods.fml.common.Mod.Init; // used in 1.5.2 //import cpw.mods.fml.common.Mod.PostInit; // used in 1.5.2 import cpw.mods.fml.common.Mod.Instance; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPostInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; import cpw.mods.fml.common.network.NetworkMod; import cpw.mods.fml.common.registry.GameRegistry; import cpw.mods.fml.common.registry.LanguageRegistry; @Mod(modid= McmkingdomsInfo.ID , name= McmkingdomsInfo.NAME , version= McmkingdomsInfo.VERS) @NetworkMod(clientSideRequired=true) public class basemod { public final static Block StrongStone = new ModBlock(500,Material.ground).setHardness(100000.f).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("StrongStone").setCreativeTab(CreativeTabs.tabBlock); public final static Item FirstItem = new FirstItem(5000); public final static Item HardenedIron = new FirstItem (5001).setMaxStackSize(64).setCreativeTab(CreativeTabs.tabMisc).setUnlocalizedName("Hardened Iron"); // The instance of your mod that Forge uses. @Instance(value = McmkingdomsInfo.NAME) public static basemod instance; // Says where the client and server 'proxy' code is loaded. @SidedProxy(clientSide="Mcmkingdoms.Mod.client.clientProxy", serverSide="Mcmkingdoms.Mod.CommonProxy") public static CommonProxy proxy; @EventHandler // used in 1.6.2 //@PreInit // used in 1.5.2 public void preInit(FMLPreInitializationEvent event) { // Stub Method } @EventHandler // used in 1.6.2 //@Init // used in 1.5.2 public void load(FMLInitializationEvent event) { proxy.registerRenderers(); GameRegistry.registerBlock(StrongStone,"StrongStone"); LanguageRegistry.addName(StrongStone ,"Strong Stone"); MinecraftForge.setBlockHarvestLevel(StrongStone,"Axe",3); // MinecraftForge.setBlockHarvestLevel(StrongStoneStair,"Axe",3); // GameRegistry.registerBlock(StrongStoneStair,"StrongStone"); // LanguageRegistry.addName(StrongStoneStair ,"Strong Stone Stair"); // MinecraftForge.setBlockHarvestLevel(StrongStoneStair,"Axe",3); } @EventHandler // used in 1.6.2 //@PostInit // used in 1.5.2 public void postInit(FMLPostInitializationEvent event) { // Stub Method } } Strong Stone package Mcmkingdoms.Mod; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.client.renderer.texture.IconRegister; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.EnumToolMaterial; public class StrongStone extends Block { public StrongStone(int id, Material Material) { super(id, Material); setUnlocalizedName("StrongStone"); } @Override //@Side(Side.CLIENT) public void registerIcons(IconRegister iconRegister) { this.blockIcon = iconRegister.registerIcon(McmkingdomsInfo.NAME.toLowerCase() + ":StrongStone"); } } Info file were name , ids ,ect are defined package Mcmkingdoms.Mod; public class McmkingdomsInfo { public static final String ID = "mcmkingdoms"; public static final String NAME = "Mcmkingdoms"; public static final String VERS = "1.0.0 Alpha"; public static final String CLIENTPROXY = "McmkingdomsMod.client."; public static final String COMMONPROXY = "McmkingdomsMod.basemod."; }
  11. thank you tried that still not working unfortunately
  12. this is my Strong Stone block thought I had set the name package Mcmkingdoms.Mod; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.client.renderer.texture.IconRegister; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.EnumToolMaterial; public class StrongStone extends Block { public StrongStone(int id, Material Material) { super(id, Material); } @Override public void registerIcons(IconRegister iconRegister) { this.blockIcon = iconRegister.registerIcon(McmkingdomsInfo.ID + ":StrongStone"); } }
  13. Hello this is my first post so excuse me if this problem has already been resolved. I'm having a problem getting my mods textures to work i have watched at least 5 video , 12 tutorials , and 20 plus forum posts on this and have been trying to get it working for about 2 weeks below is my Nov 06, 2013 1:21:47 PM net.minecraft.launchwrapper.LogWrapper log INFO: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker Nov 06, 2013 1:21:47 PM net.minecraft.launchwrapper.LogWrapper log INFO: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker Nov 06, 2013 1:21:47 PM net.minecraft.launchwrapper.LogWrapper log INFO: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker 2013-11-06 13:21:48 [iNFO] [ForgeModLoader] Forge Mod Loader version 6.4.20.916 for Minecraft 1.6.4 loading 2013-11-06 13:21:48 [iNFO] [ForgeModLoader] Java is Java HotSpot 64-Bit Server VM, version 1.7.0_13, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre7 2013-11-06 13:21:48 [iNFO] [ForgeModLoader] Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation 2013-11-06 13:21:48 [iNFO] [sTDOUT] Loaded 40 rules from AccessTransformer config file fml_at.cfg 2013-11-06 13:21:49 [iNFO] [sTDOUT] Loaded 109 rules from AccessTransformer config file forge_at.cfg 2013-11-06 13:21:49 [sEVERE] [ForgeModLoader] The binary patch set is missing. Either you are in a development environment, or things are not going to work! 2013-11-06 13:21:53 [iNFO] [ForgeModLoader] Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker 2013-11-06 13:21:53 [iNFO] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker 2013-11-06 13:21:55 [iNFO] [ForgeModLoader] Launching wrapped minecraft {net.minecraft.client.main.Main} 2013-11-06 13:21:59 [iNFO] [Minecraft-Client] Setting user: Player917 2013-11-06 13:21:59 [iNFO] [Minecraft-Client] (Session ID is null) 2013-11-06 13:22:08 [iNFO] [Minecraft-Client] LWJGL Version: 2.9.0 2013-11-06 13:22:14 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default 2013-11-06 13:22:16 [iNFO] [sTDOUT] 2013-11-06 13:22:16 [iNFO] [sTDOUT] Starting up SoundSystem... 2013-11-06 13:22:17 [iNFO] [sTDOUT] Initializing LWJGL OpenAL 2013-11-06 13:22:17 [iNFO] [sTDOUT] (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) 2013-11-06 13:22:18 [iNFO] [MinecraftForge] Attempting early MinecraftForge initialization 2013-11-06 13:22:18 [iNFO] [sTDOUT] MinecraftForge v9.11.1.916 Initialized 2013-11-06 13:22:18 [iNFO] [ForgeModLoader] MinecraftForge v9.11.1.916 Initialized 2013-11-06 13:22:18 [iNFO] [sTDOUT] OpenAL initialized. 2013-11-06 13:22:18 [iNFO] [sTDOUT] 2013-11-06 13:22:19 [iNFO] [sTDOUT] Replaced 101 ore recipies 2013-11-06 13:22:20 [iNFO] [MinecraftForge] Completed early MinecraftForge initialization 2013-11-06 13:22:20 [iNFO] [ForgeModLoader] Reading custom logging properties from C:\Users\joelgeri\Dropbox\Guards Plugin\Modding\Joels projects\forge\mcp\jars\config\logging.properties 2013-11-06 13:22:20 [OFF] [ForgeModLoader] Logging level for ForgeModLoader logging is set to ALL 2013-11-06 13:22:21 [iNFO] [ForgeModLoader] Searching C:\Users\joelgeri\Dropbox\Guards Plugin\Modding\Joels projects\forge\mcp\jars\mods for mods 2013-11-06 13:22:56 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 4 mods to load 2013-11-06 13:22:56 [iNFO] [mcp] Activating mod mcp 2013-11-06 13:22:56 [iNFO] [FML] Activating mod FML 2013-11-06 13:22:56 [iNFO] [Forge] Activating mod Forge 2013-11-06 13:22:56 [iNFO] [McmKingdoms] Activating mod McmKingdoms 2013-11-06 13:22:56 [WARNING] [Forge Mod Loader] Mod Forge Mod Loader is missing a pack.mcmeta file, things may not work well 2013-11-06 13:22:56 [WARNING] [Minecraft Forge] Mod Minecraft Forge is missing a pack.mcmeta file, things may not work well 2013-11-06 13:22:56 [WARNING] [Mcmkingdoms] Mod Mcmkingdoms is missing a pack.mcmeta file, things may not work well 2013-11-06 13:22:56 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Mcmkingdoms 2013-11-06 13:22:56 [iNFO] [sTDOUT] 2013-11-06 13:22:56 [iNFO] [sTDOUT] SoundSystem shutting down... 2013-11-06 13:22:57 [iNFO] [sTDOUT] Author: Paul Lamb, www.paulscode.com 2013-11-06 13:22:57 [iNFO] [sTDOUT] 2013-11-06 13:22:57 [iNFO] [sTDOUT] 2013-11-06 13:22:57 [iNFO] [sTDOUT] Starting up SoundSystem... 2013-11-06 13:22:57 [iNFO] [ForgeModLoader] Registering Forge Packet Handler 2013-11-06 13:22:57 [iNFO] [sTDOUT] Initializing LWJGL OpenAL 2013-11-06 13:22:57 [iNFO] [sTDOUT] (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) 2013-11-06 13:22:57 [iNFO] [ForgeModLoader] Succeeded registering Forge Packet Handler 2013-11-06 13:22:57 [iNFO] [ForgeModLoader] Configured a dormant chunk cache size of 0 2013-11-06 13:22:58 [iNFO] [sTDOUT] OpenAL initialized. 2013-11-06 13:22:58 [iNFO] [sTDOUT] 2013-11-06 13:23:00 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_500_StrongStone.png 2013-11-06 13:23:02 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/items/MISSING_ICON_ITEM_5257_Hardened Iron.png 2013-11-06 13:23:02 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/items/MISSING_ICON_ITEM_5256_LongSword.png 2013-11-06 13:23:04 [iNFO] [ForgeModLoader] Forge Mod Loader has successfully loaded 4 mods 2013-11-06 13:23:04 [WARNING] [Forge Mod Loader] Mod Forge Mod Loader is missing a pack.mcmeta file, things may not work well 2013-11-06 13:23:04 [WARNING] [Minecraft Forge] Mod Minecraft Forge is missing a pack.mcmeta file, things may not work well 2013-11-06 13:23:04 [WARNING] [Mcmkingdoms] Mod Mcmkingdoms is missing a pack.mcmeta file, things may not work well 2013-11-06 13:23:04 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Mcmkingdoms 2013-11-06 13:23:04 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/items/MISSING_ICON_ITEM_5257_Hardened Iron.png 2013-11-06 13:23:04 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/items/MISSING_ICON_ITEM_5256_LongSword.png 2013-11-06 13:23:05 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_500_StrongStone.png 2013-11-06 13:23:06 [iNFO] [sTDOUT] 2013-11-06 13:23:06 [iNFO] [sTDOUT] SoundSystem shutting down... 2013-11-06 13:23:06 [iNFO] [sTDOUT] Author: Paul Lamb, www.paulscode.com 2013-11-06 13:23:06 [iNFO] [sTDOUT] 2013-11-06 13:23:07 [iNFO] [sTDOUT] 2013-11-06 13:23:07 [iNFO] [sTDOUT] Starting up SoundSystem... 2013-11-06 13:23:07 [iNFO] [sTDOUT] Initializing LWJGL OpenAL 2013-11-06 13:23:07 [iNFO] [sTDOUT] (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) 2013-11-06 13:23:08 [iNFO] [sTDOUT] OpenAL initialized. 2013-11-06 13:23:08 [iNFO] [sTDOUT] 2013-11-06 13:23:10 [sEVERE] [Minecraft-Client] Realms: Server not available! any help would be much appreciated Thanks
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.