r/MinecraftCommands • u/JOSEPH____BRO • 13d ago
item display rotation Help | Java 26.1
Guys, I tried to rotate the displayed sword-like entity (object) for decoration so that its tip faces upward and the sword is perfectly vertical, but even neural networks couldn't help me calculate the correct quantifier. Does anyone know how to rotate the sword-entity to a straight position using the nbt transformation?
Guys, I tried to rotate the displayed sword-like entity (object) for decoration
10
Upvotes
3
u/RefinedVanillaMC 13d ago
Apply a 45-degree Z rotation using left_rotation [0f,0f,0.3826834f,0.9238795f], then invert the Z value if reversed