generated from MrSphay/codex-agent-repository-kit
Stub remaining dust and glow client effects
Some checks failed
Build / build (push) Failing after 6m18s
Some checks failed
Build / build (push) Failing after 6m18s
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package com.vinlanx.explosionoverhaul.client;
|
||||
|
||||
import net.minecraft.client.resources.sounds.AbstractTickableSoundInstance;
|
||||
@@ -10,27 +7,27 @@ import net.minecraft.sounds.SoundSource;
|
||||
import net.minecraft.util.RandomSource;
|
||||
import net.minecraft.world.phys.Vec3;
|
||||
|
||||
public class PositionalSoundInstance
|
||||
extends AbstractTickableSoundInstance {
|
||||
public PositionalSoundInstance(SoundEvent pSound, SoundSource pSource, float pVolume, float pPitch, RandomSource pRandom, double pX, double pY, double pZ) {
|
||||
super(pSound, pSource, pRandom);
|
||||
this.f_119573_ = pVolume;
|
||||
this.f_119574_ = pPitch;
|
||||
this.f_119575_ = pX;
|
||||
this.f_119576_ = pY;
|
||||
this.f_119577_ = pZ;
|
||||
this.f_119578_ = false;
|
||||
this.f_119579_ = 0;
|
||||
this.f_119582_ = false;
|
||||
this.f_119580_ = SoundInstance.Attenuation.LINEAR;
|
||||
public class PositionalSoundInstance extends AbstractTickableSoundInstance {
|
||||
public PositionalSoundInstance(SoundEvent sound, SoundSource source, float volume, float pitch, RandomSource random, double x, double y, double z) {
|
||||
super(sound, source, random);
|
||||
this.volume = volume;
|
||||
this.pitch = pitch;
|
||||
this.x = x;
|
||||
this.y = y;
|
||||
this.z = z;
|
||||
this.looping = false;
|
||||
this.delay = 0;
|
||||
this.relative = false;
|
||||
this.attenuation = SoundInstance.Attenuation.LINEAR;
|
||||
}
|
||||
|
||||
public void m_7788_() {
|
||||
@Override
|
||||
public void tick() {
|
||||
}
|
||||
|
||||
public void updatePosition(Vec3 newPosition) {
|
||||
this.f_119575_ = newPosition.m_7096_();
|
||||
this.f_119576_ = newPosition.m_7098_();
|
||||
this.f_119577_ = newPosition.m_7094_();
|
||||
this.x = newPosition.x();
|
||||
this.y = newPosition.y();
|
||||
this.z = newPosition.z();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user