Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

memcallen

Members
  • Joined

  • Last visited

Everything posted by memcallen

  1. what do you mean by subclass? this is my ItemBlocks constructor, how would I change it to work? public MultiTelepadItemBlock() { super(gammacraft.MultiTeleporter); this.setCreativeTab(gammacraft.PlasmaTech); this.setUnlocalizedName("MultiUseTeleporter"); }
  2. it does, it takes my telepad block-the same one as in the register segment
  3. java.lang.NoSuchMethodException: com.example.gammacraft.items.ItemBlocks.MultiTelepadItemBlock.<init>(net.minecraft.block.Block) at java.lang.Class.getConstructor0(Unknown Source) ~[?:1.7.0_71] at java.lang.Class.getConstructor(Unknown Source) ~[?:1.7.0_71] at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:187) [GameRegistry.class:?] at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:160) [GameRegistry.class:?] at com.example.gammacraft.gammacraft.PreInit(gammacraft.java:504) [gammacraft.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_71] at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:536) [FMLModContainer.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_71] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) [guava-15.0.jar:?] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47) [guava-15.0.jar:?] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) [guava-15.0.jar:?] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) [guava-15.0.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:267) [guava-15.0.jar:?] at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:209) [LoadController.class:?] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:188) [LoadController.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_71] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) [guava-15.0.jar:?] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47) [guava-15.0.jar:?] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) [guava-15.0.jar:?] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) [guava-15.0.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:267) [guava-15.0.jar:?] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119) [LoadController.class:?] at cpw.mods.fml.common.Loader.loadMods(Loader.java:498) [Loader.class:?] at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:194) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:495) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:850) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:103) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_71] 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:?] [14:34:12] [Client thread/ERROR]: Fatal errors were detected during the transition from PREINITIALIZATION to INITIALIZATION. Loading cannot continue [14:34:12] [Client thread/ERROR]: mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized FML{7.2.116.1024} [Forge Mod Loader] (forgeBin-1.7.2-10.12.0.1024.jar) Unloaded->Constructed->Pre-initialized Forge{10.12.0.1024} [Minecraft Forge] (forgeBin-1.7.2-10.12.0.1024.jar) Unloaded->Constructed->Pre-initialized gammacraft{1.0} [gammacraft] (bin) Unloaded->Constructed->Errored [14:34:12] [Client thread/ERROR]: The following problems were captured during this phase [14:34:12] [Client thread/ERROR]: Caught exception from gammacraft cpw.mods.fml.common.LoaderException: java.lang.NoSuchMethodException: com.example.gammacraft.items.ItemBlocks.MultiTelepadItemBlock.<init>(net.minecraft.block.Block) at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:203) ~[GameRegistry.class:?] at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:160) ~[GameRegistry.class:?] at com.example.gammacraft.gammacraft.PreInit(gammacraft.java:504) ~[gammacraft.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_71] at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:536) ~[FMLModContainer.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_71] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) ~[guava-15.0.jar:?] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47) ~[guava-15.0.jar:?] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) ~[guava-15.0.jar:?] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) ~[guava-15.0.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:267) ~[guava-15.0.jar:?] at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:209) ~[LoadController.class:?] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:188) ~[LoadController.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_71] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) ~[guava-15.0.jar:?] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47) ~[guava-15.0.jar:?] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) ~[guava-15.0.jar:?] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) ~[guava-15.0.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:267) ~[guava-15.0.jar:?] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119) [LoadController.class:?] at cpw.mods.fml.common.Loader.loadMods(Loader.java:498) [Loader.class:?] at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:194) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:495) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:850) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:103) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_71] 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.NoSuchMethodException: com.example.gammacraft.items.ItemBlocks.MultiTelepadItemBlock.<init>(net.minecraft.block.Block) at java.lang.Class.getConstructor0(Unknown Source) ~[?:1.7.0_71] at java.lang.Class.getConstructor(Unknown Source) ~[?:1.7.0_71] at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:187) ~[GameRegistry.class:?] ... 39 more ---- Minecraft Crash Report ---- // Who set us up the TNT? Time: 1/1/15 2:34 PM Description: There was a severe problem during mod loading that has caused the game to fail cpw.mods.fml.common.LoaderException: java.lang.NoSuchMethodException: com.example.gammacraft.items.ItemBlocks.MultiTelepadItemBlock.<init>(net.minecraft.block.Block) at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:203) at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:160) at com.example.gammacraft.gammacraft.PreInit(gammacraft.java:504) 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 cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:536) 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:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) 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:209) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:188) 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:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) 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:119) at cpw.mods.fml.common.Loader.loadMods(Loader.java:498) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:194) at net.minecraft.client.Minecraft.startGame(Minecraft.java:495) at net.minecraft.client.Minecraft.run(Minecraft.java:850) at net.minecraft.client.main.Main.main(Main.java:103) 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:134) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) Caused by: java.lang.NoSuchMethodException: com.example.gammacraft.items.ItemBlocks.MultiTelepadItemBlock.<init>(net.minecraft.block.Block) at java.lang.Class.getConstructor0(Unknown Source) at java.lang.Class.getConstructor(Unknown Source) at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:187) ... 39 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.7.2 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.7.0_71, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 789641720 bytes (753 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v9.01-pre FML v7.2.116.1024 Minecraft Forge 10.12.0.1024 4 mods loaded, 4 mods active mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized FML{7.2.116.1024} [Forge Mod Loader] (forgeBin-1.7.2-10.12.0.1024.jar) Unloaded->Constructed->Pre-initialized Forge{10.12.0.1024} [Minecraft Forge] (forgeBin-1.7.2-10.12.0.1024.jar) Unloaded->Constructed->Pre-initialized gammacraft{1.0} [gammacraft] (bin) Unloaded->Constructed->Errored #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\austin\Desktop\gammacraft\eclipse\.\crash-reports\crash-2015-01-01_14.34.12-client.txt
  4. I tried this:GameRegistry.registerBlock(MultiTeleporter, MultiTelepadItemBlock.class,"MultiUseTeleporter"); but I just crashed, is there anything special I have to do in the ItemBlock class?
  5. Weird, the only thing I can think of is not setting up your workspace correctly (don't ask me how to do it correctly, I can't even understand how I did it before).
  6. I use it and my ores work perfectly fine, although I am still using 1.7.2. Not sure if it's different in 1.8
  7. It's a random variable, type whatever you want just make sure they're the same-it's still a variable
  8. I'm making a block and I want to add a "press shift for..." to it, normally I would use addInformation but seeing as that's an Item method, I can't use it. Do I have to create a custom ItemBlock? and if so, how do I?
  9. Yeah, they were the most basic thing I couldn't figure out. No idea why I didn't figure it out earlier.
  10. This is off topic but, The registerBlockIcons method gives you the IIconRegister for minecraft, you can call "registerIcon", the string is your modid+texture name (same as basic one). This method returns an IIcon, which is stored on a Client side only Variable like so: @SideOnly(Side.CLIENT) public static IIcon yourIcon; The registerBlockIcons would look something like this: public void registerBlockIcons(IIconRegister register){ yourIcon = register.registerIcon("modid:texturename"); } In the getIcon method, it's fairly self explanatory, it's args are the side (0-bottom,1-top etc) and the block's metadata. If you just want to make the block entirely one texture, just return that IIcon: public IIcon getIcon(int side, int metadata){ return yourIcon; }
  11. ...*facepalms* I thought it was when it was supposed to stop
  12. extend BlockOre, it's alot easier than hardcoding your own ore.
  13. have you tried this.setBlockTextureName? If you are trying that/have tried it, look at the "registerBlockIcons" and "getIcon" methods. They give you more control over texturing anyways.
  14. 1.I did read his signature 2. for whatever reason, For loops haven't "clicked" with me yet, I've already seen that website, and multiple others yet I still have no idea why my for loops don't work. (I can do the var:array ones though)
  15. You're using the wrong kind of packets. You need to use the S35PacketUpdateTileEntity ones (getDescriptionPacket and onDataPacket). Keep in mind that you put this in your TileEntity and you don't need the other classes.
  16. The only thing I can think of that would do that is either the "night" colouring or the lighting. I've only done very basic opengl so that's really all I can say
  17. I'm not very good at GUIs but why are you disabling GL_Lighting at the end? aren't you supposed to disable it at the beginning of rendering?
  18. maybe try the same thing, if someone tries to use a pick they can't use, then it gets switched to another slot. If there isn't another slot then it would drop the pick on the ground.
  19. I changed it to work with a do/while loop, now it works.
  20. For armour, I would check if the player has a certain level and if they don't have the required level/armour, then dequip the armour (this may cause some problems if the players inventory is full though).
  21. I had the exclamation point thing happen to me before too, when I was trying to figure out how to compile my mod. I fixed it by restoring an older copy. If you do restore an older version, backup your textures because it deleted my textures when I did.
  22. In 1.7 (not sure about 1. water sources are metadata of 0 and flowing blocks have metadata that increases the farther away it is from the source.
  23. I don't see a problem with the loop, and as you know I can't do for loops.
  24. yeah, it loops for 100 blocks in a direction and sets the block every loop fyi, the block update is for my block class, in the updateTick it sets itself to air

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.