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