▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Dynamic Trees Particle Fixer
Dynamic Trees Particle Fixer

Dynamic Trees Particle Fixer

Easy way to fix rare crash with Particle of Dynamic Trees

Оцените первым
319
3
Все версии→Dynamic Trees Particle Fixer 1.20.1-1.0

Dynamic Trees Particle Fixer 1.20.1-1.0

Release15.12.2025

Список изменений

@Inject(method = "addDustParticle", at = @At("HEAD"), cancellable = true)
    private static void fixNullParticle(Level level, double fx, double fy, double fz, double mx, double my, double mz, net.minecraft.world.level.block.state.BlockState blockState, float r, float g, float b, CallbackInfo ci) {
        if (level.isClientSide) {
            Particle particle = net.minecraft.client.Minecraft.getInstance().particleEngine.createParticle(new net.minecraft.core.particles.BlockParticleOption(net.minecraft.core.particles.ParticleTypes.BLOCK, blockState), fx, fy, fz, mx, my, mz);
            if (particle == null) {
                net.minecraft.core.particles.DustParticleOptions dust = new net.minecraft.core.particles.DustParticleOptions(new Vector3f(r, g, b), 1.0F);
                level.addParticle(dust, fx, fy, fz, mx, my, mz);
                ci.cancel();
            }
        }
    }

Easy mixin for fix crash

Файлы

DynamicTreesPF-1.20.1-1.0.jar(226.69 KiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

1.20.1-1.0

Загрузчики

Forge

Версии игры

1.20.1

Загрузок

231

Дата публикации

15.12.2025

Загрузил

ID версии

Главная