MagicPlugin icon indicating copy to clipboard operation
MagicPlugin copied to clipboard

All lores are italic

Open Jazzkuh opened this issue 10 months ago • 6 comments

When using magic on Paper 1.20.4 all lores are italic by default and there is no way to turn it off.

Jazzkuh avatar Mar 30 '24 18:03 Jazzkuh

That is how Minecraft shows item lore. It's generally purple and italic unless specified otherwise.

Unless I'm mis-remembering? I believe this change was made a long while back, like around 1.16

So I think we'd need some global prefix that wand/spell lore uses if you wanted to un-italicize it.

NathanWolf avatar Mar 31 '24 20:03 NathanWolf

That is how Minecraft shows item lore. It's generally purple and italic unless specified otherwise.

Unless I'm mis-remembering? I believe this change was made a long while back, like around 1.16

So I think we'd need some global prefix that wand/spell lore uses if you wanted to un-italicize it.

Well the lores are the right color they are just always italic.

Jazzkuh avatar Apr 01 '24 20:04 Jazzkuh

you can fix them by putting &r infront of the name first It resets all colour/makeup codes

Remodactyl avatar Apr 03 '24 20:04 Remodactyl

you can fix them by putting &r infront of the name first It resets all colour/makeup codes

Tried it, doesnt work

Jazzkuh avatar Apr 04 '24 18:04 Jazzkuh

That was going to be my suggestion, too. Can you please share the config that's not working?

NathanWolf avatar Apr 04 '24 18:04 NathanWolf

That was going to be my suggestion, too. Can you please share the config that's not working?

Sure:

second_hand_broom:
  inherit: base_bound
  name: '&r&#808080Second Hand Broom'
  mode: cast
  active_spell: broom
  icon: golden_hoe{CustomModelData:18003}
  indestructible: true
  bound: true
  world_border_restricted: true
  cast_on_no_target: false
  cancellable: false
  show_undoable: false
  undoable: false
  reactivate: true
  instructions: false
  effect_color: '808080'
  overrides: "broom.mount_boost 0.5, broom.mount_boost_ticks 120, broom.mount_health 8, broom.steer_speed 0.2, broom.slow_ticks 5, broom.slow_steer_speed 0.1, broom.max_speed 1.25, broom.max_acceleration: 0.015"
  spells:
  - broom
  description: "A second hand broomstick used for flying."
  lore:
  - "&r$description"
  - ""
  - "&r$owner"
  - "&r&8Category: Brooms"

Jazzkuh avatar Apr 05 '24 12:04 Jazzkuh