Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

pitman-87

Forge Modder
  • Content Count

    44
  • Joined

  • Last visited

Community Reputation

3 Neutral

About pitman-87

  • Rank
    Tree Puncher

Converted

  • Gender
    Undisclosed
  • Location
    Germany
  • Personal Text
    I am new!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I'd figured out with the help of this tweet: You have to set the Sliderclass when generating the properites: teleportVolume = (float) configuration.get(CATEGORY_SOUND, "teleportVolume", 0.2,"", 0.0, 1.0).setConfigEntryClass(TF2TeleporterMod.proxy.getSliderClass()).getDouble(); spinVolume = (float) configuration.get(CATEGORY_SOUND, "spinVolume", 0.05, "", 0.0, 1.0).setConfigEntryClass(TF2TeleporterMod.proxy.getSliderClass()).getDouble(); @Override public Class<? extends IConfigEntry> getSliderClass() { return NumberSliderEntry.class; } Thats all!
  2. Hey guys, I love the new GuiConfig-System, but I'm struggling with the sliders. I don't really know how to register them the proper way. That's my code so far: ConfigHandler: GuiFactory: The most important part is this one: @Override protected GuiScreen buildChildScreen() { List<IConfigElement> list = new ConfigElement(ConfigHandler.configuration.getCategory(ConfigHandler.CATEGORY_SOUND)).getChildElements(); List<IConfigElement> sound = new ArrayList<IConfigElement>(); for (IConfigElement ce : list) { sound.add(new Dummy
  3. Did you managed now to build your mod in dependency of another? Im still failing. Where did you put your .jar exactly? (related to this snipped: classpath 'com.radixshock.radixcore:RadixCore:1.0.0')
  4. The Example works pretty good, but the ServerPacketHandler have to be registered inside load() of the mod-class and not in the commonProxy.
  5. It would be cool when such features comes with forge itself.
  6. Hi guys I made a small API that people may use it, so I'm writing a tutorial, but people will need the source of the API. I don't want to offer my real source for various reasons, but they shall be able to decompile the API. The old (modloader-like) way don't work anymore (just putting the universal forge + the mod into minecraft.jar before decompiling with mcp). I also tried using fernflower, but the code is still obfuscathed: http://www.minecraftforge.net/forum/index.php/topic,2974.msg20255.html#msg20255 So is there a proper way to decompile a forge mod?
  7. I get this error all the time with forge and optifine ( and it was already there in 1.4.4). I'm not sure if this is optifines "fault", if it is so, I am sorry to bother you 2012-11-20 19:25:35 [iNFO] [sTDERR] java.lang.NullPointerException 2012-11-20 19:25:35 [iNFO] [sTDERR] at cf.b(MemoryConnection.java:159) 2012-11-20 19:25:35 [iNFO] [sTDERR] at cf.a(MemoryConnection.java:47) 2012-11-20 19:25:35 [iNFO] [sTDERR] at iv.b(NetServerHandler.java:636) 2012-11-20 19:25:35 [iNFO] [sTDERR] at gm.a(ServerConfigurationManager.java:89) 2012-11-20 19:25:35 [iNFO] [sTDERR] at bdr.b(Inte
  8. Hi guys, I'm looking for an event or call like EntityJoinedWorld but for players, because I want to send specific worldinformation to the player when he joins the game or go through portals. All I found are the EntityJoinedWorld-Event (but it don't work with player) and the INetworkhandler (but it only gets called once the player joined the server). For now I save the last world in Client and check every tick if the world has changed, but it seems a bit buggy. Maybe there is a better solution for this
  9. I tried it, but it don't help Even force chunkloading don't help and sometimes it happens with the /tp x y z command too. I quess I figured it out and the force chunkloading itself on startup was a problem. If I remove it, both issues are gone.
  10. Hey guys, I have some issues with my TF2 teleporter mod, and I have no idea why that happens since 1.4.2 ( otherwise I wouldn ask here ) 1. Sometimes (SMP and SSP) when a player gets teleported to a location, the chunks won't load anymore. The player glitches around in the air (in creative mode it's possible to fly around). After that happens, nothing gets loaded anymore (entities stay on their place, squids are floating in midair, no new chunk updates). I know you wanna see some code, but I'm not sure if its relevant and if this is a bug of Forge or Minecraft or I missed some
  11. Forge: 6.0.1.339 When I'm using config files, all my itemIDs are over 31000, but I didn't give them such high values. This causes that many Items of my mods have the same ID from the config files, while I actually was using different IDs. Code: public static int itemIDSentryRed = 2820; public static int itemIDSentryBlue = 2824; public static int itemIDSentryBase = 2825; public static int itemIDSentryHead = 2826; public static int itemIDMonitor = 2821; public static int itemIDWrench = 2822; public static int itemIDGoldenWrench = 2823; ..... @PreInit public void preInit(FMLPreIn
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.