forked from BynBang/OpenPrestige
Improve launcher injection and hook reliability
Find Fabric through the render thread's class loader and make bytecode transformations safer for launcher-provided class definitions. Improve hook reporting, process-picker refresh behavior, and self-destruct cleanup; document Dawn and Lunar 1.21.11 setup.
This commit is contained in:
1 parent
38ff6d387c
commit
036b24f2ae
12 files changed
+186
-48
No files matched your search
@@ -8,10 +8,12 @@ import net.lenni0451.classtransform.annotations.CTransformer;
|
||||
import net.lenni0451.classtransform.annotations.injection.CInject;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.damage.DamageSource;
|
||||
import net.minecraft.particle.BlockParticleEffect;
|
||||
import net.minecraft.particle.ParticleEffect;
|
||||
import net.minecraft.registry.entry.RegistryEntry;
|
||||
import net.minecraft.server.world.ServerWorld;
|
||||
import net.minecraft.sound.SoundEvent;
|
||||
import net.minecraft.util.collection.Pool;
|
||||
import net.minecraft.world.World.ExplosionSourceType;
|
||||
import net.minecraft.world.explosion.ExplosionBehavior;
|
||||
|
||||
@@ -33,6 +35,7 @@ public class ServerWorldMixin {
|
||||
ExplosionSourceType explosionSourceType,
|
||||
ParticleEffect smallParticle,
|
||||
ParticleEffect largeParticle,
|
||||
Pool<BlockParticleEffect> blockParticles,
|
||||
RegistryEntry<SoundEvent> soundEvent,
|
||||
InjectionCallback ci
|
||||
) {
|
||||
|
||||
Reference in new issue
Block a user