Jump to content

phase

Members
  • Posts

    19
  • Joined

  • Last visited

Everything posted by phase

  1. I want to do that with all blocks, like the pack should do.
  2. Make the block's texture tint red a little, like in AcTennis' video about his resourcepack:
  3. Hello! I was wondering how I would make a block powered with redstone glow, to help out redstoners. I'm quite new to Forge, but have all the basics down, and am ready to get in the deep stuff. :3 Thanks, Phase Edit: By glow, I tint the block's texture red. (No idea why I said glow )
  4. Heyo! I was wondering if there were any tutorials for a furnace! I can't seem to find any, ANYWHERE! I tried using older versions, and they don't seem to work. So, if anyone could direct me to a tutorial, that would be great! Thanks -Phase
  5. So like this: public class FrittenDirt extends Block { public FrittenDirt(Material m) { super(m); setHardness(0.5f); setStepSound(Block.soundTypeGravel); setCreativeTab(CreativeTabs.tabAllSearch); setBlockName("frittenDirt"); setBlockTextureName("lucien:frittenDirt"); } public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4) { par3List.add("text here"); } }
  6. Ya! But, I don't know how to use that!
  7. Heyo! I was wondering how you could add lore to an item! Thanks! -Phase
  8. Well der it's not working! You didn't add an ID! Like this: public final static Block frittenDirt = new FrittenDirt(500, Material.ground); And in the Block Class: public FrittenDirt(int id, Material m) { super(m); setCreativeTab(CreativeTabs.tabAllSearch); } And, Boom! Your done!
  9. If you mean this: @EventHandler public void preInit(FMLPreInitializationEvent event) { MinecraftForge.EVENT_BUS.register(new SoundLoader()); MinecraftForge.EVENT_BUS.register(this); } Then yes.
  10. I did match them... I think What didn't I match?
  11. URG!!! I can't seem to get it to work... public class SoundLoader { @SideOnly(Side.CLIENT) @ForgeSubscribe public void onSoundsLoaded(SoundLoadEvent event) { SoundManager manager = event.manager; manager.soundPoolStreaming.addSound(Info.TEX + ":NirtosDisc.ogg"); manager.soundPoolStreaming.addSound(Info.TEX + ":DiscVechs.ogg"); manager.soundPoolStreaming.addSound(Info.TEX + ":DiscBTeam.ogg"); } } that is my SoundLoader public class NirtosDisc extends ItemRecord { public NirtosDisc(int id, String songTitle, String songAuthor) { super(id, songTitle); setCreativeTab(Certus.nirtosTab); setUnlocalizedName("NirtosDisc"); func_111206_d(Info.TEX.toLowerCase() + ":" + "Nirtos_Disc"); } public class SoundManager { @SideOnly(Side.CLIENT) @ForgeSubscribe public void onSoundsLoaded(SoundLoadEvent event) { net.minecraft.client.audio.SoundManager manager = event.manager; manager.soundPoolStreaming.addSound(Info.TEX + ":test"); } } } that is my disc. When I put the disc in the jukebox, it just doesn't play any sound.
  12. The "EthericRecord" is sort of the same as "ItemRecord", just with more strings for the item. You would add music the same way you do in a normal music disc.
  13. Hey there! I was wondering how to add music to a music disc. I already have the disc made and it works fine in-game. When I put it in the Jukebox, it just doesn't play music. Code: And yes, I've tried this: [lmgtfy]minecraft forge music disc 1.6.2[/lmgtfy]
  14. Where do you put int certusOrbID = certusOrb.itemID; ? And I meant to put "certusOrb.itemID;" not certusIngot.
  15. What do you mean by "You should ALWAYS grab the ID from the item/block instance"?
  16. I was wondering if there was a way to make item ids stay what you. //Certus Ingot public final static Item certusOrb = new CertusOrb(6101); int certusOrbID = certusIngot.itemID; In this item, I set the id to "6101". In game, it switches around. Is there anyway to fix this? -Phase
  17. I'm pretty sure I did it correctly, I did the "recompile.bat" then the "reoblala.bat".
  18. ---- Minecraft Crash Report ---- // Don't do that. Time: 8/24/13 10:13 AM Description: There was a severe problem during mod loading that has caused the game to fail cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: fritten.pac.Basic at cpw.mods.fml.common.LoadController.transition(LoadController.java:149) at cpw.mods.fml.common.Loader.loadMods(Loader.java:520) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:181) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:470) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:796) at net.minecraft.client.main.Main.main(SourceFile:101) 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:57) at net.minecraft.launchwrapper.Launch.main(Launch.java:18) Caused by: java.lang.ClassNotFoundException: fritten.pac.Basic at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:179) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:58) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:457) 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 com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) at com.google.common.eventbus.EventBus.post(EventBus.java:267) at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:194) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174) 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 com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) at com.google.common.eventbus.EventBus.post(EventBus.java:267) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:105) at cpw.mods.fml.common.Loader.loadMods(Loader.java:510) ... 10 more Caused by: java.lang.NullPointerException at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:171) ... 38 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.6.2 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.7.0_21, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 63407448 bytes (60 MB) / 395116544 bytes (376 MB) up to 954466304 bytes (910 MB) JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Suspicious classes: FML and Forge are installed IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v8.04 FML v6.2.43.819 Minecraft Forge 9.10.0.819 4 mods loaded, 4 mods active mcp{8.04} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed FML{6.2.43.819} [Forge Mod Loader] (coremods) Unloaded->Constructed Forge{9.10.0.819} [Minecraft Forge] (coremods) Unloaded->Constructed Basic{0.6} [Fritten] (Fritten Mod.zip) Unloaded->Errored So this is it..... I REALLY have no idea what is going on... My mod is called "Fritten" v 0.6 and ya... It works fine when I test it in Eclipse, but when I put it in the Minecraft "mods" folder, It crashes I'm pretty sure I correctly "recompiled" and "reobfuscated". PLEASE HELP! -Phase EDIT: Forgot the Forge Error
×
×
  • Create New...

Important Information

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