Jump to content

UltimateDillon

Members
  • Posts

    25
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

UltimateDillon's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Maybe I'll understand it one day. But for now, if it works, I'm good. lol
  2. Getting too confusing now. I tested this on a dedicated server rather than LAN.
  3. Thank you, that seemed to fix the problem of it crashing the server. For future reference, does this mean that any code that should only be run on the server goes in CommonProxy? Thanks.
  4. I know this isn't supposed to be Java class but it's been a while since I wrote this code and I'm unsure which code should be used in ClientProxy, which is empty right now. At the minute, the creation and setup of all items and textures is done in BlocksItems.class which is called in my main class in public void load(FMLInitializationEvent event) Some of my confusion is based on the fact that this problem exists because I want the mod to be able to be included in a Forge server for multiple people to use it, and for mobs to still drop specific items on the server. Thanks. EDIT: This is my BlocksItems class:
  5. Would this include initializing and creating items? AKA everything in my BlocksItems class.
  6. How would I go about using @SidedProxy in this instance?
  7. So I made this mod and it works fine as a client mod, but it crashes a forge server if you try to load a server with it. Here is the crash log: I can figure that the cause is a NoClassDefFoundError, but I cannot figure out how to fix it. I read something about classpath but I have only worked within the Eclipse environment and am unsure how to handle this. Any help would be great. UltimateDillon
  8. It bothers me that I can almost spawn in items on a normal bukkit server but nobody can see them and if i try to click or take them out of the inventory GUI they disappear. It just doesn't seem neat or practical. I also don't know many servers that will want to use it as a server mod.
  9. Do you know of a way I can prevent my stuff showing up in creative or being spawned in on servers?
  10. You mean set up and register my items in a class and then just call it in the PreInit method? I originally did something like that but decided just to do it in less classes. Was that a bad decision?
  11. Do you mean in: @EventHandler // used in 1.6.2 //@Init // used in 1.5.2 public void load(FMLInitializationEvent event) { proxy.registerRenderers(); } I was registering my stuff in there at first but it didn't actually work until I moved it to PreInit
  12. I removed Optifine from my mods folder and that stopped the crashing.. could it be a conflict?
  13. Thanks, that fixed the problem of the mob drops, but I still have the crashes.
  14. EDIT: MinecraftForge.EVENT_BUS.register(new CustomDrops()); Moved this into the load method and still doesn't make the mob drop the items.
  15. The food is registered in the PreInit and the proxies are the same as they've always been: CommonProxy.java ClientProxy.java The only thing I can think of is the fact that my custom drops don't work even though I've now added this line to the PreInit in my main class: MinecraftForge.EVENT_BUS.register(new CustomDrops());
×
×
  • Create New...

Important Information

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