Full Imports and Code Format Optimization

This commit is contained in:
Kam committed 2025-03-12 20:12:01 -04:00
1 parent 250edf099c
commit 6815f579a7
1192 files changed
+60344 -62167

No files matched your search

@@ -30,11 +30,12 @@ public class ScriptSound implements ISound {
for (Field field : ScriptSound.class.getDeclaredFields()) {
try {
if (field.getName().equals("sourceEntity") && this.sourceEntity != null) {
compound.setInteger("EntityID",this.sourceEntity.getEntityId());
compound.setInteger("EntityID", this.sourceEntity.getEntityId());
} else if (!field.get(this).equals(field.get(newSound))) {
compound = writeNBTTag(compound, field.getType(), field.getName(), field.get(this));
}
} catch (Exception ignored) {}
} catch (Exception ignored) {
}
}
return compound;
@@ -94,7 +95,8 @@ public class ScriptSound implements ISound {
}
}
}
} catch (Exception ignored) {}
} catch (Exception ignored) {
}
}
return particle;
@@ -128,8 +130,7 @@ public class ScriptSound implements ISound {
this.volume = volume;
}
public float getVolume()
{
public float getVolume() {
return this.volume;
}
@@ -137,8 +138,7 @@ public class ScriptSound implements ISound {
this.pitch = pitch;
}
public float getPitch()
{
public float getPitch() {
return this.pitch;
}