Forge 1.19.4

Properly move `ServerStatusPing` to codec
Reimplement custom display contexts

Co-authored-by: Matyrobbrt <[email protected]>
Co-authored-by: coehlrich <[email protected]>
Signed-off-by: SizableShrimp <[email protected]>
This commit is contained in:
committed 2023-03-14 17:22:27 -05:00
1 parent 1f44339d6e
commit 44c689f171
347 files changed
+2545 -2436

No files matched your search

@@ -47,11 +47,18 @@ public class RegisterParticleProvidersEvent extends Event implements IModBusEven
* or a redundant texture list error will occur when particle jsons load.
* @param provider ParticleProvider responsible for providing that ParticleType's particles.
*/
@SuppressWarnings("deprecation")
public <T extends ParticleOptions> void register(ParticleType<T> type, ParticleProvider<T> provider)
{
particleEngine.register(type, provider);
}
@SuppressWarnings("deprecation")
public <T extends ParticleOptions> void register(ParticleType<T> type, ParticleProvider.Sprite<T> sprite)
{
particleEngine.register(type, sprite);
}
/**
* Registers a ParticleProvider for a json-based ParticleType.
* Particle jsons define a list of texture sprites which the particle can use to render itself.
@@ -61,6 +68,7 @@ public class RegisterParticleProvidersEvent extends Event implements IModBusEven
* or a missing texture list error will occur when particle jsons load.
* @param registration SpriteParticleRegistration responsible for providing that ParticleType's particles.
*/
@SuppressWarnings("deprecation")
public <T extends ParticleOptions> void register(ParticleType<T> type, ParticleEngine.SpriteParticleRegistration<T> registration)
{
particleEngine.register(type, registration);