Comments (6)
This should be fixed by the registry overhaul I'm working on.
from sponge.
@gratimax is this still an issue?
from sponge.
Yes, there's been no fix (no registry overhaul, etc.) yet
from sponge.
Having experimented with the monstrous #249 Registry PR, I'm going to leave this image to give people an understanding of static class initializers:
The issue is that plugin's main classes are being loaded far too early for any registration to take place. So early that the registry hasn't been initialized yet.
One option that @Mumfrey mentioned to me this past week was using a transformer to handle some super early registration (some things that CAN be registered as early as class loading), but it would be a "phase 2" type of thing.
from sponge.
Could have an early hook maybe in the coremod or as soon as the sponge mod is constructed for things like text that aren't dependent on any particular load order
from sponge.
Ok, so did further testing, I can get texts to be usable as soon as class loading of plugins.
https://gist.github.com/gabizou/1d8d9440802c9e33982c#file-gistfile1-txt-L124
Relevant log based on the registry changes.
from sponge.
Related Issues (20)
- SpongeForge on NeoForge 1.20 HOT 3
- Runtime remapping for plugins on SpongeForge
- Adding SpongeForge so I can use luckyperms but spongeforge freeze whole server
- JEI and SpongeForge cause Vanilla recipes and recipes for other mods using the vanilla crafting table to disappear. HOT 7
- SpongePowered Mixin Crash Error - Unexpected Error in Modded Minecraft HOT 7
- RawPlayDataChannel is not supported during ServerSideConnectionEvent.Join HOT 2
- The item serializer cannot load enchantments by default.
- IP-forwarding completely broken (both legacy & modern) on 1.20.2 HOT 1
- ServerSideConnectionEvent.Auth called twice per login HOT 1
- Missing implementation of Interaction Entity's Keys
- Recipes cannot be created
- BlockVolume's highestYAt throws an error if the height is negative value. HOT 1
- Container#type() is null
- Placing a Storage Drawers Controller causes a StackOverflow from sponge
- Server crash HOT 1
- Missing SlotTransaction for offhand HOT 1
- Server Crash HOT 5
- Issue with world.Light and Schedule Task HOT 5
- Incorrect identification of the command executor on SpongeForge 1.19.4.
- Entities rendering incorrectly due to DataEntry value not updating
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sponge.