fix: name tags in multiplayer mode
import org.terasology.entitySystem.Component;
import org.terasology.module.sandbox.API;
+import org.terasology.network.Replicate;
import org.terasology.rendering.nui.Color;
/**
@API
public class NameTagComponent implements Component {
+ @Replicate
public float yOffset = 0.3f;
+ @Replicate
public String text;
+ @Replicate
public Color textColor = Color.WHITE;
+ @Replicate
public float scale = 1f;
}
