SteamWar/BauSystem2.0
Archiviert
12
0

Add ObserverTracer direction particle for spawnParticle

Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
yoyosource 2021-06-20 08:49:18 +02:00
Ursprung 84aa02ebfe
Commit 0014fd0a81

Datei anzeigen

@ -114,6 +114,7 @@ public class ObserverTracer {
BlockFace blockFace = ((Observer) block.getBlockData()).getFacing();
blockFace = blockFace.getOppositeFace();
player.spawnParticle(Particle.FLAME, location.clone().add(0.5 + blockFace.getModX() / 5.0, 0.5 + blockFace.getModY() / 5.0, 0.5 + blockFace.getModZ() / 5.0), 1, 0, 0, 0, 0);
player.spawnParticle(Particle.FLAME, location.clone().add(0.5 + blockFace.getModX() / 2.5, 0.5 + blockFace.getModY() / 2.5, 0.5 + blockFace.getModZ() / 2.5), 1, 0, 0, 0, 0);
}
}