
LTLightning
Members-
Posts
18 -
Joined
-
Last visited
Everything posted by LTLightning
-
How to tell when a piece of armor is unequipped?
LTLightning replied to AskHow1248's topic in Modder Support
Ah, I forgot that. Whoops. -
How to tell when a piece of armor is unequipped?
LTLightning replied to AskHow1248's topic in Modder Support
Pseudo-code, put it inside your armor class: @Override public void onArmorTick(World world, EntityPlayer player, ItemStack itemStack){ if (// check if armor is there){ // allow flight here } else { // disable flight } } -
I'm using this, which seems to work: public static org.apache.logging.log4j.Logger logger; @EventHandler public void preInit(FMLPreInitializationEvent event){ logger = event.getModLog(); logger.info("Something"); }
-
One of these two: CraftingManager.getInstance().getRecipeList().add(new ShapedOreRecipe(result, recipe)); CraftingManager.getInstance().getRecipeList().add(new ShapelessOreRecipe(result, recipe));
-
[1.6.4]How to get world.isRemote = false ?
LTLightning replied to KururuLABO's topic in Modder Support
Learn Java. It's: if (!world.isRemote()){ } -
http://pastebin.com/WHufRkfV Can anyone help? Game crashes whenever I try to make a new world.
-
Yup, that's what I meant! What should I put in the switch()?
-
That works, but then the copper sword can be repaired with a steel ingot and a copper ingot. Same thing with a steel sword.
-
Hi there! I know it's possible to add tools and armors to the anvil repair system by doing this: public boolean getIsRepairable(ItemStack par1ItemStack, ItemStack par2ItemStack) { return ingotSomething == par2ItemStack.itemID ? true : super.getIsRepairable(par1ItemStack, par2ItemStack); } But I made it so that all my swords are put into one class like so: public static Item copperSword = new ItemModSword... public static Item steelSword = new ItemModSword... Which means the getIsRepairable will only allow one item to use for repairing. My question is, is there a way to use more than one item for repairing depending on what tool I put in the anvil, without making new classes?
-
Nevermind! All fixed! Sorry about that.
-
Tried with recommended and latest. If I open the file I downloaded, cmd opens a split second and says: Could not find or load main class If I extract it and run the .java, nothing happens. Using Java 64Bit. Help please, new to the 1.6 installation.
-
gulliver mod dont work and its a modloader mod
LTLightning replied to Dorky's topic in Support & Bug Reports
Also, Littleblocks mod isn't compatible with Gullliver mod. They said so on the mod's page. -
Sorry if I'm not allowed to double post, but I think I fixed my problem. 1. I deleted minecraft.jar. 2. I force updated. 3. And everything seems fixed, no more crashing at all.
-
Nothing at all. Mods folder and coremods folder is empty. I disabled all mods in Magic Launcher too. Also, I tried installing Forge the old way (copy-pasting into the jar), and same thing happens. Where would I find an fml log? Is it in the crash-reports folder? If it is, then it's not there. EDIT: When using with mods, Minecraft crashes at start. Just so you know.
-
Anything I can do? And how am I not installing it correctly? I downloaded it from files.minecraftforge.net and did what you would do when installing a mod using Magic Launcher. Also, I don't wanna use another launcher because I like Magic Launcher.
-
Not using anything else but Forge. Coremods folder is empty. Any forge related config are deleted, but Minecraft crashes when creating a new world. It doesn't without Forge. More info: I'm using 1.5.2. Magic Launcher also says that Forge is not compatible (but I don't trust it that much). This also happens on older versions, including recommended version. I'll add more info if you guys need.