• 0

    posted a message on [SOLVED!] Modification Issue! Help me! Please!
    Hi guys I have recently gotten a request for a mod, and well I get a 'nullpointerexception' error. Please help me!
    The error is from the "if (!this.par2World.isRemote)
    {
    this.par3EntityPlayer.addPotionEffect(new PotionEffect(Potion.regeneration.id, 60, 0));
    }" code
    Code:
    package mods.Hacks;
    import static cpw.mods.fml.relauncher.Side.CLIENT;
    import org.lwjgl.input.Keyboard;
    import cpw.mods.fml.relauncher.SideOnly;
    import net.minecraft.client.Minecraft;
    import net.minecraft.client.settings.KeyBinding;
    import net.minecraft.entity.EntityLiving;
    import net.minecraft.entity.player.EntityPlayer;
    import net.minecraft.entity.projectile.EntityPotion;
    import net.minecraft.item.Item;
    import net.minecraft.item.ItemFood;
    import net.minecraft.item.ItemStack;
    import net.minecraft.potion.Potion;
    import net.minecraft.potion.PotionEffect;
    import net.minecraft.server.MinecraftServer;
    import net.minecraft.src.BaseMod;
    import net.minecraft.src.ModLoader;
    import net.minecraft.world.World;
    public class mod_HackerBase extends BaseMod
    {
    
    private int potionId;
    /** set by setPotionEffect */
    private int potionDuration;
    /** set by setPotionEffect */
    private int potionAmplifier;
    /** probably of the set potion effect occurring */
    private float potionEffectProbability;
    
    
    public void setPotions(int par1, int par2, int par3)
    {
    	 this.potionId = par1;
    	 this.potionDuration = par2;
    	 this.potionAmplifier = par3;
    }
    
    public EntityLiving par3EntityLiving;
    public EntityPlayer par3EntityPlayer;
    public PotionEffect potioneffect;
    public World par2World;
    public ItemStack par1ItemStack;
    public ItemFood par1ItemFood;
    
    public String getVersion() {
    return "1";
    }
    
    public mod_HackerBase()
    {
    
    }
    private KeyBinding key_RegHeal = new KeyBinding("Reg & Heal", 37); public boolean RegHeal;
    
    @SideOnly(CLIENT)
    public boolean onTickInGame(float time, Minecraft minecraftInstance) {
    		 if(this.RegHeal)
    		 {
    		 this.Regen(this.par3EntityPlayer, this.par2World);
    	 System.out.print("Made");
    		 }
    		 else
    		 {
    				
    		 }
    		 return true;
    		 }
    
    
    public void keyboardEvent(KeyBinding event)
    	 {
    			 Minecraft minecraft = ModLoader.getMinecraftInstance();
    			 if (event == key_RegHeal)
    			 {
    			 RegHeal = !RegHeal;
    			
    			 }
    		 }
    
    public void load() {
    ModLoader.setInGameHook(this, true, false);
    
    ModLoader.registerKey(this, this.key_RegHeal, false);
    ModLoader.addLocalization("Reg & Heal", "Regen & Heal");
    }
    
    public void Regen(EntityPlayer par3EntityPlayer, World par2World)
    {
    if (!this.par2World.isRemote)
    	 {
    		 this.par3EntityPlayer.addPotionEffect(new PotionEffect(Potion.regeneration.id, 60, 0));
    	 }
    }
    }


    The consol log:
    2013-05-26 18:58:36 [INFO] [ForgeModLoader] Forge Mod Loader version 5.2.10.703 for Minecraft 1.5.2 loading
    2013-05-26 18:58:36 [INFO] [ForgeModLoader] Java is Java HotSpot(TM) 64-Bit Server VM, version 1.6.0_45, running on Mac OS X:x86_64:10.6.8, installed at /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
    2013-05-26 18:58:36 [INFO] [ForgeModLoader] Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
    2013-05-26 18:58:40 [INFO] [STDOUT] 229 recipes
    2013-05-26 18:58:40 [INFO] [STDOUT] 27 achievements
    2013-05-26 18:58:40 [INFO] [Minecraft-Client] Setting user: Player9
    2013-05-26 18:58:40 [INFO] [STDOUT] (Session ID is -)
    2013-05-26 18:58:40 [INFO] [STDERR] Client asked for parameter: server
    2013-05-26 18:58:40 [INFO] [Minecraft-Client] LWJGL Version: 2.4.2
    2013-05-26 18:58:40 [INFO] [MinecraftForge] Attempting early MinecraftForge initialization
    2013-05-26 18:58:40 [INFO] [STDOUT] MinecraftForge v7.8.0.703 Initialized
    2013-05-26 18:58:40 [INFO] [ForgeModLoader] MinecraftForge v7.8.0.703 Initialized
    2013-05-26 18:58:41 [INFO] [STDOUT] Replaced 85 ore recipies
    2013-05-26 18:58:41 [INFO] [MinecraftForge] Completed early MinecraftForge initialization
    2013-05-26 18:58:41 [INFO] [ForgeModLoader] Reading custom logging properties from /Users/marko5049/Desktop/Modding/mcpHack/jars/config/logging.properties
    2013-05-26 18:58:41 [OFF] [ForgeModLoader] Logging level for ForgeModLoader logging is set to ALL
    2013-05-26 18:58:41 [INFO] [ForgeModLoader] Searching /Users/marko5049/Desktop/Modding/mcpHack/jars/mods for mods
    2013-05-26 18:58:42 [INFO] [ForgeModLoader] Forge Mod Loader has identified 4 mods to load
    2013-05-26 18:58:42 [INFO] [mcp] Activating mod mcp
    2013-05-26 18:58:42 [INFO] [FML] Activating mod FML
    2013-05-26 18:58:42 [INFO] [Forge] Activating mod Forge
    2013-05-26 18:58:42 [INFO] [mod_HackerBase] Activating mod mod_HackerBase
    2013-05-26 18:58:42 [INFO] [ForgeModLoader] Configured a dormant chunk cache size of 0
    2013-05-26 18:58:43 [INFO] [STDOUT]
    2013-05-26 18:58:43 [INFO] [STDOUT] Starting up SoundSystem...
    2013-05-26 18:58:43 [INFO] [STDOUT] Initializing LWJGL OpenAL
    2013-05-26 18:58:43 [INFO] [STDOUT]	 (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
    2013-05-26 18:58:43 [INFO] [STDOUT] OpenAL initialized.
    2013-05-26 18:58:43 [INFO] [STDOUT]
    2013-05-26 18:58:44 [INFO] [ForgeModLoader] Forge Mod Loader has detected an older LWJGL version, new advanced texture animation features are disabled
    2013-05-26 18:58:44 [INFO] [ForgeModLoader] Not using advanced OpenGL 4.3 advanced capability for animations : OpenGL 4.3 is not available
    2013-05-26 18:58:44 [INFO] [Minecraft-Client] Found animation info for: textures/blocks/lava_flow.txt
    2013-05-26 18:58:44 [INFO] [Minecraft-Client] Found animation info for: textures/blocks/water_flow.txt
    2013-05-26 18:58:44 [INFO] [Minecraft-Client] Found animation info for: textures/blocks/fire_0.txt
    2013-05-26 18:58:44 [INFO] [Minecraft-Client] Found animation info for: textures/blocks/fire_1.txt
    2013-05-26 18:58:44 [INFO] [Minecraft-Client] Found animation info for: textures/blocks/lava.txt
    2013-05-26 18:58:44 [INFO] [Minecraft-Client] Found animation info for: textures/blocks/portal.txt
    2013-05-26 18:58:44 [INFO] [Minecraft-Client] Found animation info for: textures/blocks/water.txt
    2013-05-26 18:58:45 [INFO] [Minecraft-Client] Found animation info for: textures/items/clock.txt
    2013-05-26 18:58:45 [INFO] [Minecraft-Client] Found animation info for: textures/items/compass.txt
    2013-05-26 18:58:45 [INFO] [ForgeModLoader] Forge Mod Loader has successfully loaded 4 mods
    2013-05-26 18:58:46 [INFO] [Minecraft-Client] Found animation info for: textures/blocks/lava_flow.txt
    2013-05-26 18:58:46 [INFO] [Minecraft-Client] Found animation info for: textures/blocks/water_flow.txt
    2013-05-26 18:58:46 [INFO] [Minecraft-Client] Found animation info for: textures/blocks/fire_0.txt
    2013-05-26 18:58:46 [INFO] [Minecraft-Client] Found animation info for: textures/blocks/fire_1.txt
    2013-05-26 18:58:46 [INFO] [Minecraft-Client] Found animation info for: textures/blocks/lava.txt
    2013-05-26 18:58:46 [INFO] [Minecraft-Client] Found animation info for: textures/blocks/portal.txt
    2013-05-26 18:58:46 [INFO] [Minecraft-Client] Found animation info for: textures/blocks/water.txt
    2013-05-26 18:58:47 [INFO] [Minecraft-Client] Found animation info for: textures/items/clock.txt
    2013-05-26 18:58:47 [INFO] [Minecraft-Client] Found animation info for: textures/items/compass.txt
    2013-05-26 18:58:57 [INFO] [Minecraft-Server] Starting integrated minecraft server version 1.5.2
    2013-05-26 18:58:57 [INFO] [Minecraft-Server] Generating keypair
    2013-05-26 18:58:58 [INFO] [ForgeModLoader] Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@7b553d18)
    2013-05-26 18:58:58 [INFO] [ForgeModLoader] Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@7b553d18)
    2013-05-26 18:58:58 [INFO] [ForgeModLoader] Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@7b553d18)
    2013-05-26 18:58:58 [INFO] [Minecraft-Server] Preparing start region for level 0
    2013-05-26 18:58:59 [INFO] [STDOUT] loading single player
    2013-05-26 18:58:59 [INFO] [Minecraft-Server] Player9[/127.0.0.1:0] logged in with entity id 316 at (187.72333751322256, 64.0, 149.72043599834586)
    2013-05-26 18:59:06 [INFO] [Minecraft-Server] Stopping server
    2013-05-26 18:59:06 [INFO] [Minecraft-Server] Saving players
    2013-05-26 18:59:06 [INFO] [Minecraft-Server] Saving worlds
    2013-05-26 18:59:06 [INFO] [Minecraft-Server] Saving chunks for level 'New World'/Overworld
    2013-05-26 18:59:06 [INFO] [Minecraft-Server] Saving chunks for level 'New World'/Nether
    2013-05-26 18:59:06 [INFO] [Minecraft-Server] Saving chunks for level 'New World'/The End
    2013-05-26 18:59:06 [INFO] [ForgeModLoader] Unloading dimension 0
    2013-05-26 18:59:06 [INFO] [ForgeModLoader] Unloading dimension -1
    2013-05-26 18:59:06 [INFO] [ForgeModLoader] Unloading dimension 1
    2013-05-26 18:59:07 [INFO] [STDERR] java.lang.NullPointerException
    2013-05-26 18:59:07 [INFO] [STDERR] at mods.Hacks.mod_HackerBase.Regen(mod_HackerBase.java:99)
    2013-05-26 18:59:07 [INFO] [STDERR] at mods.Hacks.mod_HackerBase.onTickInGame(mod_HackerBase.java:68)
    2013-05-26 18:59:07 [INFO] [STDERR] at net.minecraft.src.BaseMod.doTickInGame(BaseMod.java:55)
    2013-05-26 18:59:07 [INFO] [STDERR] at cpw.mods.fml.common.modloader.BaseModTicker.sendTick(BaseModTicker.java:102)
    2013-05-26 18:59:07 [INFO] [STDERR] at cpw.mods.fml.common.modloader.BaseModTicker.tickBaseMod(BaseModTicker.java:82)
    2013-05-26 18:59:07 [INFO] [STDERR] at cpw.mods.fml.common.modloader.BaseModTicker.tickEnd(BaseModTicker.java:56)
    2013-05-26 18:59:07 [INFO] [STDERR] at cpw.mods.fml.common.SingleIntervalHandler.tickEnd(SingleIntervalHandler.java:34)
    2013-05-26 18:59:07 [INFO] [STDERR] at cpw.mods.fml.common.FMLCommonHandler.tickEnd(FMLCommonHandler.java:141)
    2013-05-26 18:59:07 [INFO] [STDERR] at cpw.mods.fml.common.FMLCommonHandler.onRenderTickEnd(FMLCommonHandler.java:377)
    2013-05-26 18:59:07 [INFO] [STDERR] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:873)
    2013-05-26 18:59:07 [INFO] [STDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:760)
    2013-05-26 18:59:07 [INFO] [STDERR] at java.lang.Thread.run(Thread.java:680)
    2013-05-26 18:59:17 [INFO] [Minecraft-Client] Stopping!
    2013-05-26 18:59:17 [INFO] [STDOUT]
    2013-05-26 18:59:17 [INFO] [STDOUT] SoundSystem shutting down...
    2013-05-26 18:59:17 [INFO] [STDOUT]	 Author: Paul Lamb, www.paulscode.com
    2013-05-26 18:59:17 [INFO] [STDOUT]
    2013-05-26 18:59:20 [INFO] [STDERR] Someone is closing me!


    The error log:
    Minecraft has crashed!	 --- No ­ sh­*t sherlock!
    	 ----------------------	
    Minecraft has stopped running because it encountered a problem; Unexpected error
    A full error report has been saved to /Users/marko5049/Desktop/Modding/mcpHack/jars/./crash-reports/crash-2013-05-26_19.05.48-client.txt - Please include a copy of that file (Not this screen!) if you report this crash to anyone; without it, they will not be able to help fix the crash :(
    
    --- BEGIN ERROR REPORT 888c3345 --------
    Full report at:
    /Users/marko5049/Desktop/Modding/mcpHack/jars/./crash-reports/crash-2013-05-26_19.05.48-client.txt
    Please show that file to Mojang, NOT just this screen!
    Generated 5/26/13 7:05 PM
    -- Head --
    Stacktrace:
    at mods.Hacks.mod_HackerBase.Regen(mod_HackerBase.java:99)
    at mods.Hacks.mod_HackerBase.onTickInGame(mod_HackerBase.java:68)
    at net.minecraft.src.BaseMod.doTickInGame(BaseMod.java:55)
    at cpw.mods.fml.common.modloader.BaseModTicker.sendTick(BaseModTicker.java:102)
    at cpw.mods.fml.common.modloader.BaseModTicker.tickBaseMod(BaseModTicker.java:82)
    at cpw.mods.fml.common.modloader.BaseModTicker.tickEnd(BaseModTicker.java:56)
    at cpw.mods.fml.common.SingleIntervalHandler.tickEnd(SingleIntervalHandler.java:34)
    at cpw.mods.fml.common.FMLCommonHandler.tickEnd(FMLCommonHandler.java:141)
    -- Affected level --
    Details:
    Level name: MpServer
    All players: 1 total; [EntityClientPlayerMP['Player122'/316, l='MpServer', x=187.72, y=65.62, z=149.72]]
    Chunk stats: MultiplayerChunkCache: 410
    Level seed: 0
    Level generator: ID 00 - default, ver 1. Features enabled: false
    Level generator options:
    Level spawn location: World: (196,64,112), Chunk: (at 4,4,0 in 12,7; contains blocks 192,0,112 to 207,255,127), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
    Level time: 18350 game time, 18350 day time
    Level dimension: 0
    Level storage version: 0x00000 - Unknown?
    Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
    Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
    Forced entities: 111 total; [EntityChicken['Chicken'/259, l='MpServer', x=260.44, y=64.00, z=212.56], EntityBat['Bat'/256, l='MpServer', x=260.25, y=44.10, z=101.75], EntitySpider['Spider'/257, l='MpServer', x=267.50, y=33.00, z=113.50], EntityClientPlayerMP['Player122'/316, l='MpServer', x=187.72, y=65.62, z=149.72], EntityChicken['Chicken'/85, l='MpServer', x=114.53, y=74.00, z=97.44], EntityBat['Bat'/84, l='MpServer', x=116.88, y=63.10, z=70.25], EntityEnderman['Enderman'/87, l='MpServer', x=122.69, y=20.00, z=142.50], EntitySkeleton['Skeleton'/86, l='MpServer', x=123.91, y=24.00, z=139.47], EntityZombie['Zombie'/89, l='MpServer', x=127.97, y=44.00, z=166.47], EntityChicken['Chicken'/88, l='MpServer', x=122.53, y=63.00, z=135.53], EntitySkeleton['Skeleton'/102, l='MpServer', x=132.95, y=13.00, z=128.55], EntityBat['Bat'/103, l='MpServer', x=129.47, y=28.10, z=138.63], EntityZombie['Zombie'/101, l='MpServer', x=140.31, y=41.00, z=127.41], EntityZombie['Zombie'/110, l='MpServer', x=142.97, y=40.00, z=180.38], EntityZombie['Zombie'/111, l='MpServer', x=135.06, y=25.00, z=200.47], EntitySkeleton['Skeleton'/108, l='MpServer', x=135.84, y=40.00, z=159.00], EntityZombie['Zombie'/109, l='MpServer', x=129.56, y=41.79, z=164.15], EntityBat['Bat'/106, l='MpServer', x=141.34, y=52.10, z=132.25], EntityChicken['Chicken'/107, l='MpServer', x=128.47, y=64.00, z=141.41], EntitySkeleton['Skeleton'/104, l='MpServer', x=136.09, y=44.00, z=138.50], EntitySkeleton['Skeleton'/105, l='MpServer', x=133.47, y=46.00, z=133.88], EntityCreeper['Creeper'/114, l='MpServer', x=139.84, y=39.00, z=192.91], EntitySkeleton['Skeleton'/113, l='MpServer', x=141.13, y=19.00, z=202.53], EntityZombie['Zombie'/112, l='MpServer', x=136.06, y=25.00, z=200.41], EntityBat['Bat'/127, l='MpServer', x=147.50, y=39.10, z=153.75], EntitySkeleton['Skeleton'/126, l='MpServer', x=154.53, y=27.00, z=159.22], EntityCreeper['Creeper'/125, l='MpServer', x=153.50, y=22.00, z=150.97], EntityCreeper['Creeper'/124, l='MpServer', x=150.06, y=55.00, z=135.50], EntityCreeper['Creeper'/123, l='MpServer', x=150.91, y=61.00, z=128.22], EntityCreeper['Creeper'/122, l='MpServer', x=150.78, y=43.00, z=128.50], EntityEnderman['Enderman'/121, l='MpServer', x=150.69, y=28.00, z=134.72], EntityCreeper['Creeper'/120, l='MpServer', x=144.70, y=14.71, z=98.70], EntityBat['Bat'/129, l='MpServer', x=145.58, y=38.40, z=147.54], EntitySkeleton['Skeleton'/128, l='MpServer', x=151.50, y=41.00, z=147.09], EntitySkeleton['Skeleton'/131, l='MpServer', x=158.77, y=39.76, z=172.23], EntityBat['Bat'/130, l='MpServer', x=147.64, y=39.82, z=158.75], EntityChicken['Chicken'/133, l='MpServer', x=151.81, y=63.00, z=170.47], EntitySkeleton['Skeleton'/132, l='MpServer', x=155.56, y=37.00, z=168.94], EntitySkeleton['Skeleton'/135, l='MpServer', x=156.94, y=37.00, z=177.50], EntityCreeper['Creeper'/134, l='MpServer', x=154.50, y=25.00, z=189.50], EntityCreeper['Creeper'/152, l='MpServer', x=164.63, y=37.00, z=121.94], EntityCreeper['Creeper'/153, l='MpServer', x=164.47, y=46.00, z=117.00], EntityZombie['Zombie'/154, l='MpServer', x=161.69, y=11.02, z=131.30], EntityZombie['Zombie'/155, l='MpServer', x=162.70, y=11.52, z=135.30], EntityZombie['Zombie'/156, l='MpServer', x=161.31, y=11.12, z=132.26], EntityZombie['Zombie'/157, l='MpServer', x=173.66, y=27.00, z=130.69], EntityCreeper['Creeper'/158, l='MpServer', x=170.46, y=22.00, z=157.32], EntityZombie['Zombie'/159, l='MpServer', x=168.97, y=16.00, z=153.53], EntitySkeleton['Skeleton'/146, l='MpServer', x=165.50, y=25.00, z=93.09], EntityCreeper['Creeper'/147, l='MpServer', x=166.94, y=22.00, z=117.47], EntitySkeleton['Skeleton'/148, l='MpServer', x=168.88, y=22.00, z=115.59], EntityCreeper['Creeper'/149, l='MpServer', x=167.84, y=22.00, z=115.31], EntitySkeleton['Skeleton'/150, l='MpServer', x=164.88, y=29.00, z=127.56], EntityBat['Bat'/151, l='MpServer', x=170.56, y=33.10, z=117.25], EntitySkeleton['Skeleton'/175, l='MpServer', x=181.31, y=12.19, z=94.31], EntitySkeleton['Skeleton'/163, l='MpServer', x=169.47, y=41.00, z=174.97], EntitySpider['Spider'/162, l='MpServer', x=177.56, y=51.00, z=159.75], EntityBat['Bat'/161, l='MpServer', x=170.44, y=52.10, z=157.75], EntityEnderman['Enderman'/160, l='MpServer', x=173.69, y=23.00, z=159.58], EntityChicken['Chicken'/166, l='MpServer', x=164.84, y=68.00, z=193.75], EntityChicken['Chicken'/165, l='MpServer', x=163.56, y=68.00, z=174.63], EntitySpider['Spider'/164, l='MpServer', x=174.34, y=52.00, z=159.44], EntityChicken['Chicken'/186, l='MpServer', x=180.81, y=72.00, z=181.19], EntityChicken['Chicken'/187, l='MpServer', x=179.28, y=67.00, z=229.47], EntitySkeleton['Skeleton'/184, l='MpServer', x=179.47, y=41.00, z=165.13], EntityBat['Bat'/185, l='MpServer', x=187.16, y=68.20, z=174.43], EntityWolf['Wolf'/191, l='MpServer', x=203.66, y=64.00, z=72.31], EntityBat['Bat'/178, l='MpServer', x=184.75, y=30.10, z=120.75], EntityChicken['Chicken'/179, l='MpServer', x=185.41, y=67.00, z=126.59], EntityZombie['Zombie'/176, l='MpServer', x=182.31, y=11.49, z=93.31], EntityChicken['Chicken'/177, l='MpServer', x=184.44, y=66.00, z=104.63], EntityEnderman['Enderman'/182, l='MpServer', x=179.31, y=17.00, z=154.74], EntitySkeleton['Skeleton'/183, l='MpServer', x=178.41, y=18.00, z=148.13], EntityBat['Bat'/180, l='MpServer', x=182.25, y=24.10, z=129.25], EntityEnderman['Enderman'/181, l='MpServer', x=178.50, y=19.20, z=143.19], EntitySkeleton['Skeleton'/205, l='MpServer', x=197.13, y=40.00, z=150.59], EntitySpider['Spider'/204, l='MpServer', x=195.98, y=40.64, z=148.72], EntityChicken['Chicken'/207, l='MpServer', x=197.52, y=63.00, z=183.05], EntityZombie['Zombie'/206, l='MpServer', x=194.72, y=43.00, z=144.06], EntitySkeleton['Skeleton'/201, l='MpServer', x=193.94, y=34.00, z=138.56], EntityCreeper['Creeper'/200, l='MpServer', x=194.47, y=34.00, z=137.75], EntityEnderman['Enderman'/203, l='MpServer', x=200.98, y=34.00, z=154.69], EntityChicken['Chicken'/202, l='MpServer', x=190.87, y=68.00, z=137.63], EntitySpider['Spider'/197, l='MpServer', x=197.00, y=44.00, z=118.62], EntityBat['Bat'/196, l='MpServer', x=200.47, y=29.10, z=127.75], EntityCreeper['Creeper'/199, l='MpServer', x=201.25, y=38.00, z=135.09], EntityChicken['Chicken'/198, l='MpServer', x=204.59, y=65.00, z=113.16], EntityBat['Bat'/193, l='MpServer', x=199.94, y=60.10, z=83.06], EntityChicken['Chicken'/192, l='MpServer', x=203.63, y=64.00, z=74.44], EntityChicken['Chicken'/195, l='MpServer', x=201.59, y=62.34, z=105.41], EntityCreeper['Creeper'/194, l='MpServer', x=195.09, y=36.00, z=106.58], EntityChicken['Chicken'/220, l='MpServer', x=222.59, y=64.00, z=90.41], EntityZombie['Zombie'/221, l='MpServer', x=213.97, y=50.00, z=111.47], EntityCreeper['Creeper'/222, l='MpServer', x=219.66, y=55.00, z=103.09], EntityZombie['Zombie'/223, l='MpServer', x=209.66, y=18.00, z=127.53], EntityZombie['Zombie'/216, l='MpServer', x=221.52, y=47.05, z=82.33], EntityZombie['Zombie'/219, l='MpServer', x=216.00, y=49.00, z=89.56], EntityChicken['Chicken'/239, l='MpServer', x=232.56, y=70.00, z=120.44], EntityChicken['Chicken'/238, l='MpServer', x=235.63, y=67.00, z=83.63], EntityZombie['Zombie'/237, l='MpServer', x=224.30, y=48.00, z=78.70], EntityCreeper['Creeper'/236, l='MpServer', x=226.09, y=45.00, z=71.75], EntityChicken['Chicken'/226, l='MpServer', x=222.44, y=70.00, z=144.28], EntityEnderman['Enderman'/225, l='MpServer', x=209.94, y=34.00, z=150.56], EntityCreeper['Creeper'/224, l='MpServer', x=208.48, y=34.14, z=154.55], EntityChicken['Chicken'/255, l='MpServer', x=262.75, y=63.00, z=80.66], EntityCreeper['Creeper'/250, l='MpServer', x=248.70, y=19.03, z=178.70], EntitySkeleton['Skeleton'/248, l='MpServer', x=238.94, y=40.00, z=140.56], EntitySkeleton['Skeleton'/249, l='MpServer', x=248.70, y=19.00, z=177.83], EntityChicken['Chicken'/242, l='MpServer', x=228.66, y=63.00, z=220.56], EntityBat['Bat'/240, l='MpServer', x=238.41, y=37.10, z=143.75], EntityBat['Bat'/241, l='MpServer', x=230.75, y=36.10, z=137.25]]
    Retry entities: 0 total; []
    Stacktrace:
    at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:441)
    at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2414)
    at net.minecraft.client.Minecraft.run(Minecraft.java:783)
    at java.lang.Thread.run(Thread.java:680)
    -- System Details --
    Details:
    Minecraft Version: 1.5.2
    Operating System: Mac OS X (x86_64) version 10.6.8
    Java Version: 1.6.0_45, Apple Inc.
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Apple Inc.
    Memory: 942831848 bytes (899 MB) / 1065025536 bytes (1015 MB) up to 1065025536 bytes (1015 MB)
    JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    AABB Pool Size: 12835 (718760 bytes; 0 MB) allocated, 1536 (86016 bytes; 0 MB) used
    Suspicious classes: FML and Forge are installed
    IntCache: cache: 0, tcache: 0, allocated: 1, tallocated: 63
    FML: MCP v7.51 FML v5.2.10.703 Minecraft Forge 7.8.0.703 4 mods loaded, 4 mods active
    mcp{7.44} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    FML{5.2.10.703} [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    Forge{7.8.0.703} [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    mod_HackerBase{1} [mod_HackerBase] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    LWJGL: 2.4.2
    OpenGL: ATI Radeon HD 5670 OpenGL Engine GL version 2.1 ATI-1.6.36, ATI Technologies Inc.
    Is Modded: Definitely; Client brand changed to 'fml,forge'
    Type: Client (map_client.txt)
    Texture Pack: Default
    Profiler Position: N/A (disabled)
    Vec3 Pool Size: 1342 (75152 bytes; 0 MB) allocated, 301 (16856 bytes; 0 MB) used
    java.lang.NullPointerException
    at mods.Hacks.mod_HackerBase.Regen(mod_HackerBase.java:99)
    at mods.Hacks.mod_HackerBase.onTickInGame(mod_HackerBase.java:68)
    at net.minecraft.src.BaseMod.doTickInGame(BaseMod.java:55)
    at cpw.mods.fml.common.modloader.BaseModTicker.sendTick(BaseModTicker.java:102)
    at cpw.mods.fml.common.modloader.BaseModTicker.tickBaseMod(BaseModTicker.java:82)
    at cpw.mods.fml.common.modloader.BaseModTicker.tickEnd(BaseModTicker.java:56)
    at cpw.mods.fml.common.SingleIntervalHandler.tickEnd(SingleIntervalHandler.java:34)
    at cpw.mods.fml.common.FMLCommonHandler.tickEnd(FMLCommonHandler.java:141)
    at cpw.mods.fml.common.FMLCommonHandler.onRenderTickEnd(FMLCommonHandler.java:377)
    at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:873)
    at net.minecraft.client.Minecraft.run(Minecraft.java:760)
    at java.lang.Thread.run(Thread.java:680)
    --- END ERROR REPORT 6ec60f74 ----------


    Thanks
    Please help me!
    Posted in: Modification Development
  • 0

    posted a message on marko5049's Minecraft 1.5+ Modification Tutorials
    Sorry for my inactiveness lately, I have had a handful of school work to deal with as well as dealing with my loving family. :)
    Thanks so much for all the great support, my channel is about to reach 750 views and I can't wait.
    I thank you all! :) :) :) :) :)
    My new GUI tutorial is out, it shows you how to add right click to buttons and make the text in the GUI bigger or smaller.
    I have had a mental black and I am running out of things to teach you guys in the GUI series, So if you have any please tell me!

    -Regards
    marko5049
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on marko5049's Minecraft 1.5+ Modification Tutorials
    Quote from da pro

    package EsteticsPLUS;

    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.util.Icon;






    public class BlockTrader extends Block {

    public BlockTrader(int par1, Material par2Material) {
    super(par1, par2Material);
    this.setCreativeTab(EsteticsPLUS.EsteticsPLUS);
    }

    @SideOnly(Side.CLIENT)
    public Icon top;
    public Icon bottom;
    public Icon Side1;
    public Icon Side2;
    public Icon Side3;
    public Icon Side4;
    public Icon Main;
    @SideOnly(Side.CLIENT)
    public void registerIcons(IconRegister iconRegister){

    this.top = iconRegister.registerIcon("EsteticsPLUS_TraderBlockTop");
    this.bottom = iconRegister.registerIcon("EsteticsPLUS_TraderBlockBottom");
    this.Side1 = iconRegister.registerIcon("EsteticsPLUS_TraderBlock");
    this.Side2 = iconRegister.registerIcon("EsteticsPLUS_TraderBlock");
    this.Side3 = iconRegister.registerIcon("EsteticsPLUS_TraderBlock");
    this.Side4 = iconRegister.registerIcon("EsteticsPLUS_TraderBlock");
    this.Main = iconRegister.registerIcon("EsteticsPLUS_TraderBlock");
    }
    @SideOnly(Side.CLIENT)
    public Icon getBlockTextureFromSideAndMetadata(int side, int meta){
    if (side == 0) {
    return bottom;

    }
    if (side == 1){
    return top;

    }

    if(side == 2){
    return Side1;
    }
    if(side == 3){
    return Side2;
    }
    if(side == 4){
    return Side3;
    }
    if(side == 5){
    return Side4;
    }
    else{
    return Main;
    }
    }



    }
    btw the error is that the textures doesnt show up ingame(yes i did put the textures in the jar and yes it is the correct names)
    can you help me fix it if so please pm me


    Here:
    public Icon TextureTop;
    public Icon TextureSide;
    public Icon TextureFront;
    public void registerIcons(IconRegistry, iconregistry)
    {
    this.TextureTop = iconregistry.registerIcon(FolderInMods:TextureFile);
    this.TextureSide = iconregistry.registerIcon(FolderInMods:TextureFile);
    this.TextureFront = iconregistry.registerIcon(FolderInMods:TextureFile);
    }
    public Icon getIcon(int par1, int par2)
    {
    int k = par2 & 7;
    return par1 == k ? (k != 1 && k != 0 ? this.TextureFront : this.TextureFront) : (k != 1 && k != 0 ? (par1 != 1 && par1 != 0 ? this.TextureSide : this.TextureTop) : this.TextureTop);
    }


    Just have a look at my tutorial.
    It will explain everything.

    -Regards
    marko5049
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on marko5049's Minecraft 1.5+ Modification Tutorials
    Great news guys, My channel has just reached 5 subs!!! :)
    So little subs but so much motivation. :)
    The channel is also about to reach 500 vies!! yay ;)
    I have recently uploaded ep.1 of the GUI series. and episode too is being uploaded right now!

    Thanks for all the support guys.
    enjoy and happy modding.

    -Regards
    marko5049
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on marko5049's Minecraft 1.5+ Modification Tutorials
    Quote from athallon123

    actually don't worry, managed to fix it


    That is great news!
    Enjoy coding! =D

    -Regards
    marko5049
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on marko5049's Minecraft 1.5+ Modification Tutorials
    Quote from athallon123

    please can you make a tutorial on how to fix textures for 1.5.2? it's really annoying me


    Please can you give me the code, and tell me what the problem is.

    -Regards
    marko5049
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on marko5049's Minecraft 1.5+ Modification Tutorials
    New tutorial out!
    Custom Bows!
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on marko5049's Minecraft 1.5+ Modification Tutorials
    Quote from athallon123

    some guis and stuff would be cool, there aren't a lot of those tuts


    Coming soon...
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on marko5049's Minecraft 1.5+ Modification Tutorials
    Quote from TorakTu

    Dude ! That is freaking sweet ! Thank you so much for those !!!!

    Thanks for the great support.
    new videos should be out soon!

    -Regards
    marko5049
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on marko5049's Minecraft 1.5+ Modification Tutorials
    Okay So I have just reached 100 channel views, which doesn't seem like a lot but to me it is a great start.
    To celebrate this I will be making a whole bunch of tutorials over the next few weeks until I run out. And no, I will not be doing basic blocks and items! I will do intermediate and some advanced tutorials!

    100 views!!! Yay, Thanks guys! :)

    I'm looking forward to making these!
    I have a poll going if you would like to vote for what i should do.
    If you would like too, you are welcome to leave suggestions of what I could do.
    From now on all my tutorials will be 720p (Not full HD), I hope this satisfies you guys. I am sorry that they aren't 1080p, but I have good but slow internet, so if it is 1080p it takes 6 to 16 hours to upload, where as 720p is 2 to 4 hours.
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on Halo: Battlefield Mod =Could be a while before anyone finds us. Years even.=
    That will be great, can't wait to see it!
    Posted in: WIP Mods
  • 0

    posted a message on [forge] micros 1.5.1 slab and custom trades
    I would assume so, as everyone call tile entities "non living entities'. you dont really need a tile entity for block models anyway. i dont know ask him if it is a block or a mob.
    Posted in: Mapping and Modding Tutorials
  • To post a comment, please .