Jump to content
  • Home
  • Files
  • Docs
  • Merch
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Minecraft Forge
  • Suggestions
  • Adding WorldEvent.Init to ease instance manipulation
Sign in to follow this  
Followers 0
TheMasterGabriel

Adding WorldEvent.Init to ease instance manipulation

By TheMasterGabriel, August 8, 2016 in Suggestions

  • Start new topic

Recommended Posts

TheMasterGabriel    29

TheMasterGabriel

TheMasterGabriel    29

  • Creeper Killer
  • TheMasterGabriel
  • Forge Modder
  • 29
  • 178 posts
Posted August 8, 2016

I think it would be pretty useful to have a WorldEvent.Init event. It would get called just before the return statement in the init() function in WorldServer and WorldClient. I suggest this because it would make manipulating World instances upon creation a lot easier and more convenient.

 

(Currently, I think the only way to manipulate world instances would be through WorldEvent.Load, but you would need to keep a running list of all the World instances/dimension ids that have loaded to prevent the desired manipulations being applied more than once [since WorldEvent.Load is called in a bunch of different places]. AND, you wouldn't be able to make the list static [since you can have multiple saves and world instances are freshly generated every time you quit and reload a save], so you would need to have some sort of identifier that was saved upon quitting and reloading).

 

Of course, you could manipulate all worlds with ASM/a coremod, but that's not really desirable (as per the hundreds of posts about why someone shouldn't make a coremod).

Share this post


Link to post
Share on other sites

Choonster    1624

Choonster

Choonster    1624

  • Reality Controller
  • Choonster
  • Forge Modder
  • 1624
  • 5050 posts
Posted August 8, 2016

As far as I can see,

WorldEvent.Load

is only ever fired once for each

World

instance.

Share this post


Link to post
Share on other sites

LexManos    1519

LexManos

LexManos    1519

  • Reality Controller
  • LexManos
  • Forge Code God
  • 1519
  • 8574 posts
Posted August 8, 2016

User was banned for 4 days for his thinly veiled threat to coremod shit if his suggestion isnt taken.

Thinly veiled threats are still threats.

This is not being tolerated anymore.

 

 

On that, as Choonster stated, Load is only called once per instance.

And you need to be more specific of what you mean by 'manipulated'

Share this post


Link to post
Share on other sites

SkinnyFats    0

SkinnyFats

SkinnyFats    0

  • Tree Puncher
  • SkinnyFats
  • Members
  • 0
  • 1 post
Posted August 9, 2016

User was banned for 4 days for his thinly veiled threat to coremod shit if his suggestion isnt taken.

Thinly veiled threats are still threats.

This is not being tolerated anymore.

 

 

On that, as Choonster stated, Load is only called once per instance.

And you need to be more specific of what you mean by 'manipulated'

 

 

May I just say, my statement wasn't a threat. In fact, how you even interpreted it as a personal threat is a mystery to me. I was simply stating "I researched asm stuff before posting and found it discouraged pretty much everywhere someone mentioned it, so there is probably a better alternative to what I'm trying to do." It was an innocent rhetorical statement and had nothing to do with "forcing your hand".

 

Also, I don't know why you are so pessimistic and unnecessarily rude all the time. It isn't really helpful to the people who are just trying to learn the platform you helped create and you don't seem to enjoy it either. You have forums, support systems and tutorials on this website for a reason, so it seems kinda unfair to just push aside everybody who you deem "unworthy" because they aren't professional programmers. Further, if you hate and are willing to ban people for just mentioning asm and coremods, why bother having a wiki tutorial page on them, not to mention having a system in Forge to help people make them? It seems kinda counter intuitive.

 

So sorry if you thought I was threatening you to implement a suggestion, I promise that was not my intention. As for making this new account just to clarify a misunderstanding, I'm sorry for that too, but I wanted to make sure you didn't get the wrong impression.

Share this post


Link to post
Share on other sites

LexManos    1519

LexManos

LexManos    1519

  • Reality Controller
  • LexManos
  • Forge Code God
  • 1519
  • 8574 posts
Posted August 9, 2016

Users second account was perma banned for ban evasion.

Coremods are a thing of the past, they only exist in modern minecraft because the community would literally explode if we even tried to remove it. {We've tried} And there is literally no way we CAN remove it because we have to use the mechanics so that Forge itself can work.

Coremods for APIs/Abstraction Layers {Currently, Forge, Sponge, LiteLoader} is FINE.

Coremods for every mod and it's dog is NOT.

 

I dont care what your intentions were, but your statement was a threat.

EVERY person who has ever said that, especially when dealing with things they want in Forge, has intended it as a "If you don't make this change I'll just hack it in with a coremod".

There is literally no other reason to acknowledge that core modding is a option other then to threaten to use it if we don't comply with what you want.

 

Either way, locking thread because this is not needed, The load event does exactly what you need.

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • Oliviafrostpaw
      [1.14.4] Injecting into Existing Loot Tables, Blocks

      By Oliviafrostpaw · Posted 9 minutes ago

      Ah, thank you very very much. Having attempted to look and find the correct bus/subscriber and or examples for its usage I found no instance of @Mod.EventBusSubscriber on the classes, is this necessary or am I just looking in the wrong places? Any Guidance would be appreciated 
    • bluey418
      Error with running modpack on twitch

      By bluey418 · Posted 21 minutes ago

      I have opened up minecraft for the first time in a while, and I wanted to run a modpack off of the twitch launcher. Every time I try to run MC, and I've tried this for a few modpacks, I get the following error in my game output tab:   OpenJDK 64-Bit Server VM warning: Ignoring option PermSize; support was removed in 8.0 Error: Could not find or load main class = Caused by: java.lang.ClassNotFoundException: =   Any idea what is causing this? I am running on a Mac, FYI.   Thanks!
    • Draco18s
      [1.14.4] Injecting into Existing Loot Tables, Blocks

      By Draco18s · Posted 46 minutes ago

      @Mod.EventBusSubscriber(bus=Mod.EventBusSubscriber.Bus.MOD)   That is not the correct bus for that event.
    • Draco18s
      [1.14.4] Dimensions

      By Draco18s · Posted 49 minutes ago

      When you create a dimension, you have to pass a DimensionType to DimensionManager.registerDimension()   Why not...hold onto it?   If you have access to the world, you can also query that world for its dimension information, which includes the DimensionType.
    • Draco18s
      CORAL TOMBSTONE MOD NOT WORKS

      By Draco18s · Posted 52 minutes ago

      Talk to the mod author. Those of us here have no idea what that mod is, where the problem could be, or how to fix it. This is the Forge forums. We deal with Forge.
  • Topics

    • Oliviafrostpaw
      10
      [1.14.4] Injecting into Existing Loot Tables, Blocks

      By Oliviafrostpaw
      Started December 8

    • bluey418
      0
      Error with running modpack on twitch

      By bluey418
      Started 21 minutes ago

    • RaphGamingz
      2
      [1.14.4] Dimensions

      By RaphGamingz
      Started Yesterday at 07:45 AM

    • martingabrixx
      1
      CORAL TOMBSTONE MOD NOT WORKS

      By martingabrixx
      Started 5 hours ago

    • Edivad99
      1
      Minecraft Forge for 1.15

      By Edivad99
      Started 1 hour ago

  • Who's Online (See full list)

    • bluey418
    • Edivad99
    • geekles
    • J0WAY
    • Skyriis
    • PrinceRaiden
    • Kerman
    • LexManos
    • ErdbeerbaerLP
    • Draco18s
    • hohserg
    • Oliviafrostpaw
    • LilyStag
    • Nuxache
  • All Activity
  • Home
  • Minecraft Forge
  • Suggestions
  • Adding WorldEvent.Init to ease instance manipulation
  • Theme
  • Contact Us
  • Discord

Copyright © 2019 ForgeDevelopment LLC · Ads by Curse Powered by Invision Community