Merge pull request #96 from ludovic111/fix/particles-63-missing-types

Particles: 29 missing vanilla particle types (part of #63)
This commit is contained in:
Ludovic Marie
2026-10-14 16:51:35 +02:00
committed by GitHub
8 changed files with 599 additions and 22 deletions
@@ -198,6 +198,7 @@ public final class VanillaParticleProvidersOracle {
public static void main(String[] args) throws Exception {
SharedConstants.tryDetectVersion(); Bootstrap.bootStrap();
ParityData.init(); // item components, for the item particle providers' stacks
var u = Class.forName("sun.misc.Unsafe"); unsafe = field(u, "theUnsafe").get(null); allocate = u.getMethod("allocateInstance", Class.class);
var mc = make(Minecraft.class); field(Minecraft.class, "instance").set(null, mc);
var manager = make(ModelManager.class); field(ModelManager.class, "blockStateModelSet").set(manager, new Models());