asd
All checks were successful
build / build (21) (push) Successful in 1m18s

This commit is contained in:
Soph :3 2024-09-13 18:28:35 +03:00
parent 122cceb355
commit ac99129c60
Signed by: sophie
GPG key ID: EDA5D222A0C270F2

View file

@ -97,10 +97,12 @@ public class Emote {
List<Vec3d> locs = getEmoteLocs(player.getPos().subtract(0, player.isSneaking() ? .5 : 0, 0), List<Vec3d> locs = getEmoteLocs(player.getPos().subtract(0, player.isSneaking() ? .5 : 0, 0),
emotes.get(emote), player.getRotationVector()); emotes.get(emote), player.getRotationVector());
for (Vec3d loc : locs) { for (Vec3d loc : locs) {
for(int i =0; i < 15; i ++) {
player.getWorld().addParticle(new DustParticleEffect(Vec3d.unpackRgb(16777215).toVector3f(), 0.5f), loc.x, player.getWorld().addParticle(new DustParticleEffect(Vec3d.unpackRgb(16777215).toVector3f(), 0.5f), loc.x,
loc.y, loc.z, 0, 0, 0); loc.y, loc.z, 0, 0, 0);
} }
} }
}
public static List<Vec3d> getEmoteLocs(Vec3d loc, String[] ttEmote, Vec3d rotationLoc) { public static List<Vec3d> getEmoteLocs(Vec3d loc, String[] ttEmote, Vec3d rotationLoc) {
List<List<Vec3d>> locations = new ArrayList<>(); List<List<Vec3d>> locations = new ArrayList<>();