Git Product home page Git Product logo

Comments (6)

batlefield avatar batlefield commented on June 6, 2024

I use world load event and it works

from minecraftforge.

psxlover avatar psxlover commented on June 6, 2024

I never said that world load doesn't work, I said that world **un**load doesn't get fired.

from minecraftforge.

LexManos avatar LexManos commented on June 6, 2024

I could of sworn i stuck it somewhere, however, I have been meaning to go and re-look at these to provide a more useful Save.Load/Unload as Worlds can be loaded and unloaded in the same 'Save'. So if you guys have any suggestions of where to stick these events i'm all ears :p

from minecraftforge.

cpw avatar cpw commented on June 6, 2024

Well, FML has the server starting and stopping events that may provide what you need....

from minecraftforge.

psxlover avatar psxlover commented on June 6, 2024

World unload is needed for removing the tile entities from that particular world (since onChunkUnload() of tile entities does not work when a world unloads).
For changing maps FML server state events will be enough provided that the map can't change while the server is running.

Edit: does the serverStopping event have to be in the @mod file? It's the only place it seems to trigger.

from minecraftforge.

 avatar commented on June 6, 2024

World unload events should now be run in all the proper places.

from minecraftforge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.