Jump to content

freshhh

Members
  • Posts

    60
  • Joined

  • Last visited

Posts posted by freshhh

  1. Hi, I haven't modded/played Minecraft for some time and I wanted to update my mods again. I went on forge and noticed there were no version after 1.7.2 - Can someone quickly fresh my up on what happened and are my 172 mods compatible with 18 Minecraft versions etcetera? Sorry if this has been answered elsewhere, I looked around, I swear on mi mum.

  2. What are the 3 new potion effects?

    Unless you're talking about the absorbtion and resistance which you can't get in vanilla.

     

    also why do the pictures say 692x394png?

     

    it's a cool mod though, want to try it

     

    -The description is kinda outdated, I have to admit. Some potions were unavailable for public use before a certain version (unsure which).

     

    -Image shack thingy, just click them for a better view.

     

    -Thanks, hope you enjoy it.

  3. What are the 3 new potion effects?

    Unless you're talking about the absorbtion and resistance which you can't get in vanilla.

     

    also why do the pictures say 692x394png?

     

    it's a cool mod though, want to try it

     

    The description is kinda outdated, I have to admit. Some potions were unavailable for public use before a certain version (unsure which).

  4. 1.6.1 & 1.6.3 are both broken in vanilla. There is NO reason to use these versions.

    1.6.2 & 1.6.4 are mostly compatible when using forge (1.6.2 mods usually work on 1.6.4 and vice versa).

    That leads to the conclusion that if you want to use 1.6, use 1.6.4.

     

    Alright, thanks for the heads up.

  5. Can't find anything which solves the problem in there. + that's the support section for normal players.

     

    Really now.

     

    Let me see here.  The error you're getting is....urllib2 HTTP 403.  I can see how that's not in the EAQ with those words.

     

    The forum, however is searchable.

     

    http://www.minecraftforge.net/forum/index.php/topic,11001.0.html

     

    BAM, it is in the EAQ:

     

    These libraries failed to download. Try again. org.scala-lang:scala-library:2.10.2, org.scala-lang:scala-compiler:2.10.2

    Download this: https://bitbucket.org/luacs1998/forgelibrarydownloads/downloads/fmllibs16.zip and extract it to your .minecraft folder, then try running Minecraft, or redownload the installer.

     

    Also:

    that's the support section for normal players.

    And wtf do you think you are?  You're not a MODDER and this is the MODDER support forums.

     

    I'm using forge to create mods, therefore I'm a modder, am I incorrect?  On the other hand, excuse me but I was searching the topic for 403 errors.

  6. Alrighty. I've decided to release the 1.6.4 update early. However I did not test if it works in the minecraft client itself as I'm currently unable to test this myself. If this does work, enjoy the update.

    EDIT : To upgrade apples, take the recipe you would normaly craft your apple with and replace the red apple with the already enchanted apple to get to its next tier.  x Apple II is the biggest tier atm.

  7. Hi, I'm trying to add a constructor that adds a base recipe and takes the name and ingredient as parameters, then adds the shapeless recipe when I write registerBaseRecipe(myItem,Item.sword) or whatsoever.

     

    Here's my code. I'm confused by this probably easy bit of code.

     

    		public void registerBaseRecipe(ItemStack name, Item recipe){
    		 GameRegistry.addShapelessRecipe(name, new Object[]{
    		            new ItemStack(Item.pickaxeStone), new ItemStack(recipe)
    		});
    	}

  8. Given that potion effects only effect entities, I am not sure what you're trying to do here.

     

    You can set potion effects to food, so when the player eats it, he gets the potion effect. Even tho I never had to do anything using entities. Only a single line of code (.setPotionEffect()). I'm asking if it is possible to cure bad potion effects or to remove potion effects with .setPotionEffect() or anything else that doesn't require me to touch anything entity related.

  9. Hi, just wondering if there were any major changes with functions used between 1.6 and 1.7. Another way of forming this question : Can people still use 1.6.4 code in 1.7.2 and will it still work or are the functions completely rewrote? Sorry if this was answered elsewhere but I'm a retarded donkey for not seeing it.

  10. Hi, trying to run Minecraft on Eclipse. I use Windows 7 and Forge 10.12.0.982.

    When I try to run it, I get this error :

     

    [02:52:12] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
    [02:52:12] [main/INFO]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
    [02:52:12] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
    [02:52:12] [main/INFO]: Forge Mod Loader version 7.2.30.982 for Minecraft 1.7.2 loading
    [02:52:12] [main/INFO]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_17, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre7
    [02:52:13] [main/INFO]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
    [02:52:13] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
    [02:52:13] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
    [02:52:13] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
    [02:52:13] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
    [02:52:13] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
    [02:52:13] [main/ERROR]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
    [02:52:14] [main/ERROR]: The minecraft jar file:/C:/Users/Robbe/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.0.982/forge-1.7.2-10.12.0.982-mcp.jar!/net/minecraft/client/ClientBrandRetriever.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again!
    [02:52:14] [main/ERROR]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem!
    [02:52:14] [main/ERROR]: Technical information: ClientBrandRetriever was at jar:file:/C:/Users/Robbe/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.0.982/forge-1.7.2-10.12.0.982-mcp.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it
    [02:52:14] [main/ERROR]: FML appears to be missing any signature data. This is not a good thing
    [02:52:14] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
    [02:52:14] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
    [02:52:16] [main/INFO]: Launching wrapped minecraft {net.minecraft.client.main.Main}
    [02:52:19] [main/ERROR]: Unable to launch
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_17]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_17]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_17]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_17]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
    Caused by: java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
    at java.lang.ClassLoader.loadLibrary(Unknown Source) ~[?:1.7.0_17]
    at java.lang.Runtime.loadLibrary0(Unknown Source) ~[?:1.7.0_17]
    at java.lang.System.loadLibrary(Unknown Source) ~[?:1.7.0_17]
    at org.lwjgl.Sys$1.run(Sys.java:73) ~[lwjgl-2.9.0.jar:?]
    at java.security.AccessController.doPrivileged(Native Method) ~[?:1.7.0_17]
    at org.lwjgl.Sys.doLoadLibrary(Sys.java:66) ~[lwjgl-2.9.0.jar:?]
    at org.lwjgl.Sys.loadLibrary(Sys.java:95) ~[lwjgl-2.9.0.jar:?]
    at org.lwjgl.Sys.<clinit>(Sys.java:112) ~[lwjgl-2.9.0.jar:?]
    at net.minecraft.client.Minecraft.getSystemTime(Minecraft.java:2579) ~[Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:36) ~[Main.class:?]
    ... 6 more
    

     

    Here's my variables incase you need them :

     

    Prog args :

    --version 1.7.2 --tweakClass cpw.mods.fml.common.launcher.FMLTweaker --accessToken whatever

     

    VM args:

    -Dfml.ignoreInvalidMinecraftCertificates=true

     

    Main class :

    net.minecraft.launchwrapper.Launch

     

    Visited various topics about this problem, yet not solved.

     

    EDIT: 1 minute after posting this I figured out that I've been using the wrong path and also the wrong library.

    For those having the same issue, right click your project > properties > java build path > Libraries > Expand LWJGL 2.9.0.jar by clicking on the arrow > Double click native library location and input the correct path. It will probably look like "C:/Users/YourName/Desktop/forge.2/build/natives" or something else. The "build/natives" folder is what you need.

     

    http://puu.sh/67wmS.png

    http://puu.sh/67wkA.png

     

  11. Thanks, this all works now and I managed to remove teh block after an explosion, my next question was ? What's the line to spawn a certain block on that place ? Can't seem to find such command to be honest.

     

    you mean world.setBlock(...) ?

     

    Yup, this worked - thanks alot man!

  12. 		config.get(Configuration.CATEGORY_BLOCK, "Test",400).getInt();

    You're never actually setting your ID variable. Which would seem to imply that your block is getting set to 0. Which means that all the air in the world explodes and crashes your game. That would be my guess.

     

    This is what I thought the problem was. I took a look at the config and I solved it, thank you !

  13. recode textures for 1.5.2, blocks should be loaded in  preinit/init, setup your config correctly, you don't need harvest level, client and common proxies really aren't needed; btw the block doesn't need hardness, resistance, or step sound by default. read the tnt code for the block "damaging block".

     

    This all worked before. Harvest level and proxies are for future use, I already coded them so I don't get a messed up baseclass. About the TNT, the TNT itself does not explode, the entity does. It has to explode instantly without entity.

  14. It would be helpfull if you give us ALL the code so we can solve it faster.

     

    Base

     

    package mod.Archedeon;
    
    import CommonProxy.CommonProxy;
    import net.minecraft.block.Block;
    import net.minecraft.block.material.Material;
    import net.minecraft.item.Item;
    import net.minecraftforge.common.Configuration;
    import net.minecraftforge.common.MinecraftForge;
    import cpw.mods.fml.common.Mod;
    import cpw.mods.fml.common.Mod.Init;
    import cpw.mods.fml.common.Mod.Instance;
    import cpw.mods.fml.common.Mod.PostInit;
    import cpw.mods.fml.common.Mod.PreInit;
    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 = "Archedeon", name = "Archedeon", version = "1.0.0")
    @NetworkMod(clientSideRequired = true, serverSideRequired = false)
    public class Base {
    @Instance("Tutorial")
    public static Base instance;
    @SidedProxy(clientSide = "ClientProxy.ClientProxy", serverSide = "CommonProxy.CommonProxy")
    public static CommonProxy proxy;
    
    public static Block Test;
    
    public static int TestID;
    
    @PreInit
    public void preInit(FMLPreInitializationEvent event) {
    	Configuration config = new Configuration(
    			event.getSuggestedConfigurationFile());
    	config.load();
    
    	config.get(Configuration.CATEGORY_BLOCK, "Test",400).getInt();
    
    	config.save();
    }
    
    @Init
    public void load(FMLInitializationEvent event) {
    	loadItem();
    	loadBlock();
    	harvestLevel();
    	registerLanguage();
    	registerGame();
    
    }
    
    @PostInit
    public void postInit(FMLPostInitializationEvent event) {
    
    }
    
    private void loadBlock() {
    	Test = new DamagingBlock(TestID, Material.rock)
    			.setUnlocalizedName("Test").setHardness(4.0F)
    			.setResistance(50.0F).setStepSound(Block.soundStoneFootstep);
    }
    
    private void loadItem() {
    
    }
    
    private void harvestLevel() {
    
    }
    
    private void registerLanguage() {
    	LanguageRegistry.addName(Test, "Test Block");
    
    }
    
    private void registerGame() {
    	GameRegistry.registerBlock(Test,
    			"Archedeon" + Test.getUnlocalizedName2());
    }
    
    }

     

     

    DamagingBlock

     

    package mod.Archedeon;
    
    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.entity.player.EntityPlayer;
    import net.minecraft.world.World;
    
    public class DamagingBlock extends Block {
    
            public DamagingBlock(int id, Material material) {
                    super(id, material);
                    this.setCreativeTab(CreativeTabs.tabBlock);
            }
    
            @Override
            public void registerIcons(IconRegister iconReg) {
                    this.blockIcon = iconReg.registerIcon("tut/mod:"+this.getUnlocalizedName2());
    
            }
    public boolean onBlockActivated(World world, int x, int y, int z,
    		EntityPlayer player, int a, float b, float c, float d) {
    	world.createExplosion(null, x, y, z, 1, true);
    	return true;
    }
    }
    

     

     

    CommonProxy

     

    package CommonProxy;
    
    public class CommonProxy {
    public static String ITEMS_PNG = "/archedeon/mod/items.png";
    public static String BLOCKS_PNG = "/archedeon/mod/blocks.png";
    
    public void registerRenders(){
    
    }
    
    }
    

     

     

    ClientProxy

     

    package ClientProxy;
    
    import net.minecraftforge.client.MinecraftForgeClient;
    import CommonProxy.CommonProxy;
    
    public class ClientProxy extends CommonProxy {
    
    @Override
    public void registerRenders() {
    	MinecraftForgeClient.preloadTexture(ITEMS_PNG);
    	MinecraftForgeClient.preloadTexture(BLOCKS_PNG);
    }
    }
    

     

  15. Can we see that one block, then? And, if you say that there are AIOOBEs, can you show us the log for them?

     

    package mod.Archedeon;
    
    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.entity.player.EntityPlayer;
    import net.minecraft.world.World;
    
    public class DamagingBlock extends Block {
    
            public DamagingBlock(int id, Material material) {
                    super(id, material);
                    this.setCreativeTab(CreativeTabs.tabBlock);
            }
    
            @Override
            public void registerIcons(IconRegister iconReg) {
                    this.blockIcon = iconReg.registerIcon("tut/mod:"+this.getUnlocalizedName2());
    
            }
    public boolean onBlockActivated(World world, int x, int y, int z,
    		EntityPlayer player, int a, float b, float c, float d) {
    	world.createExplosion(null, x, y, z, 1, true);
    	return true;
    }
    }
    

     

    I tried removing the onBlockActivated to see if thats where the problem lies, but that does not fix it, and for the AIOOBES, I forgot to save the log for it, but this error didn't appear after a while anymore.

×
×
  • Create New...

Important Information

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