Everything posted by Monstrous_Apple
-
Enchanted Glow
Thanks guys, I made a few changes to my mod to get it to work, I did use that "extends ItemSimpleFoiled" and made a new class for enchanted items themselves, may not have been the best way but it seems to work, so thanks again.
-
Enchanted Glow
Hey does anyone know how to make an item have the enchantment glow when it's not actually enchanted just like a nether star?
-
Fuel Handler
Thanks everyone it works now, and yeah I'm not the best with java but I can do most of the needed stuff.
-
Fuel Handler
I tried that and it don't work though I do have an error but I'm not sure what I'm actually doing wrong do you know the fix? And I'm usign eclipse and I was getting an error but I tried the item from block before and got an error too. package com.MonstrousApple.mod.handler; import com.MonstrousApple.mod.blocks.MABlocks; import com.MonstrousApple.mod.items.MAItems; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraftforge.fml.common.IFuelHandler; public class MAFuelHandler implements IFuelHandler { @Override public int getBurnTime(ItemStack fuel) { if(fuel.Item.getItemFromBlock() == MABlocks.CompressedCoalBlock) return 80000; return 0; } }
-
Fuel Handler
Hi, I can't seem to get blocks to work, only items, does anyone know what I should do? This is my code: package com.MonstrousApple.mod.handler; import com.MonstrousApple.mod.blocks.MABlocks; import com.MonstrousApple.mod.items.MAItems; import net.minecraft.item.ItemStack; import net.minecraftforge.fml.common.IFuelHandler; public class MAFuelHandler implements IFuelHandler { @Override public int getBurnTime(ItemStack fuel) { if(fuel.getItem() == MABlocks.CompressedCoalBlock) return 80000; return 0; } }
-
Item Dropped From Block
Thanks p455w0rd, I used your example and it worked and thanks to everyone for helping too.
-
Item Dropped From Block
Hi guys, I have my code set up like this to drop different items from a certain block, however it only works with one item, what can I do to fix this? Also how do I get multiple items at certain chances to drop from one block? Thanks. package com.MonstrousApple.mod.ores; import java.util.Random; import com.MonstrousApple.mod.MAGlobal; import com.MonstrousApple.mod.items.MAItems; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.block.state.IBlockState; import net.minecraft.item.Item; public class MAOre extends Block { public MAOre(String unlocalizedName, Material material, float hardness, float resistance) { super(material); this.setCreativeTab(MAGlobal.maCreativeTabOres); this.setUnlocalizedName(unlocalizedName); this.setHardness(hardness); this.setResistance(resistance); } public Item getItemDropped(IBlockState state, Random rand, int fortune) { return this == MAOres.SapphireOre ? MAItems.Sapphire : Item.getItemFromBlock(this); return this == MAOres.RubyOre ? MAItems.Ruby : Item.getItemFromBlock(this); } public int quantityDropped(Random random) { return this == MAOres.SapphireOre ? 4 + random.nextInt(5) : 1; return this == MAOres.RubyOre ? 4 + random.nextInt(5) : 1; } }
-
Minecraft Forge Crashes
This isn't my error report since my forge works perfectly, just my brothers always crashes, does anyone know how to fix this? Also here's there error: ---- Minecraft Crash Report ---- // You're mean. Time: 30/04/16 10:12 Description: Initializing game net.minecraft.client.renderer.StitcherException: Unable to fit: missingno - size: 16x16 - Maybe try a lowerresolution resourcepack? at net.minecraft.client.renderer.texture.Stitcher.func_94305_f(Stitcher.java:72) at net.minecraft.client.renderer.texture.TextureMap.func_110571_b(TextureMap.java:258) at net.minecraft.client.renderer.texture.TextureMap.func_174943_a(TextureMap.java:94) at net.minecraftforge.client.model.ModelLoader.func_177570_a(ModelLoader.java:125) at net.minecraft.client.resources.model.ModelManager.func_110549_a(ModelManager.java:28) at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110542_a(SimpleReloadableResourceManager.java:120) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:478) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:329) at net.minecraft.client.main.Main.main(SourceFile:124) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at net.minecraft.client.renderer.texture.Stitcher.func_94305_f(Stitcher.java:72) at net.minecraft.client.renderer.texture.TextureMap.func_110571_b(TextureMap.java:258) at net.minecraft.client.renderer.texture.TextureMap.func_174943_a(TextureMap.java:94) at net.minecraftforge.client.model.ModelLoader.func_177570_a(ModelLoader.java:125) at net.minecraft.client.resources.model.ModelManager.func_110549_a(ModelManager.java:28) at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110542_a(SimpleReloadableResourceManager.java:120) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:478) -- Initialization -- Details: Stacktrace: at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:329) at net.minecraft.client.main.Main.main(SourceFile:124) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) -- System Details -- Details: Minecraft Version: 1.8.9 Operating System: Windows Vista (x86) version 6.0 Java Version: 1.8.0_91, Oracle Corporation Java VM Version: Java HotSpot Client VM (mixed mode), Oracle Corporation Memory: 130284880 bytes (124 MB) / 269524992 bytes (257 MB) up to 523501568 bytes (499 MB) JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx512M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP 9.19 Powered by Forge 11.15.1.1855 3 mods loaded, 3 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored UCH mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) UCH FML{8.0.99.99} [Forge Mod Loader] (forge-1.8.9-11.15.1.1855.jar) UCH Forge{11.15.1.1855} [Minecraft Forge] (forge-1.8.9-11.15.1.1855.jar) Loaded coremods (and transformers): GL info: ' Vendor: 'Intel' Version: '1.5.0 - Build 7.15.10.1502' Renderer: 'Intel Cantiga' Launched Version: 1.8.9-forge1.8.9-11.15.1.1855 LWJGL: 2.9.4 OpenGL: Intel Cantiga GL version 1.5.0 - Build 7.15.10.1502, Intel GL Caps: Using GL 1.3 multitexturing. Using GL 1.3 texture combiners. Not using framebuffer objects because OpenGL 1.4 is not supported, EXT_blend_func_separate is supported, OpenGL 3.0 is not supported, ARB_framebuffer_object is not supported, and EXT_framebuffer_object is not supported. Shaders are not available because OpenGL 2.1 is not supported, ARB_shader_objects is not supported, ARB_vertex_shader is not supported, and ARB_fragment_shader is not supported. VBOs are available because OpenGL 1.5 is supported. Using VBOs: No Is Modded: Definitely; Client brand changed to 'fml,forge' Type: Client (map_client.txt) Resource Packs: Tiny Pixels - 25th October.zip Current Language: English (US) Profiler Position: N/A (disabled) CPU: 2x Genuine Intel® CPU T1600 @ 1.66GHz
-
Minecraft 1.8.9 Eclipse Won't Run Server
Never mind, I fixed it, just forgot literally on word in my code... thanks anyway though.
-
Minecraft 1.8.9 Eclipse Won't Run Server
Wait I've already made the common proxy, do you know what else it could be?
-
Minecraft 1.8.9 Eclipse Won't Run Server
Sorry I'm new to all this, what should I do to fix it? As in like how do I make a sided proxy?
-
Minecraft 1.8.9 Eclipse Won't Run Server
My client works but my server don't, like when you test the server using the green play button in eclipse this is the error, any ideas?:
IPS spam blocked by CleanTalk.