Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 29 additions & 21 deletions config-specs/paper/paper-world-defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -373,32 +373,40 @@ entities:
The rate, in ticks, at which arrows shot from players in creative mode
are despawned
despawn-ranges:
monster:
soft:
default: "32"
description: >-
The number of blocks away from a player in which each monster type
(set individually) will be randomly selected to be despawned. This
range takes effect both horizontally and vertically
<mob_category>:
hard:
default: "128"
default: "default"
description: >-
The number of blocks away from a player in which each monster type
(set individually) will be forcibly despawned. This range takes
effect both horizontally and vertically
<mob_category>:
The horizontal and vertical number of blocks away from a player in which each monster
type (set individually) will be forcibly despawned.
soft:
default: ""
default: "default"
description: >-
The number of blocks away from a player in which each entity type
(set individually) will be randomly selected to be despawned. Takes
effect both horizontally and vertically
The horizontal and vertical number of blocks away from a player in which each monster
type (set individually) will be randomly selected to be despawned.
<mob_category>_:
hard:
default: ""
description: >-
The number of blocks away from a player in which each entity type
(set individually) will be forcibly despawned. Takes effect both
horizontally and vertically
horizontal:
default: "default"
description: >-
The horizontal number of blocks away from a player in which each entity type
(set individually) will be forcibly despawned.
vertical:
default: "default"
description: >-
The vertical number of blocks away from a player in which each entity type
(set individually) will be forcibly despawned.
soft:
horizontal:
default: "default"
description: >-
The horizontal number of blocks away from a player in which each entity type
(set individually) will be randomly selected to be despawned.
vertical:
default: "default"
description: >-
The vertical number of blocks away from a player in which each entity type
(set individually) will be randomly selected to be despawned.
disable-mob-spawner-spawn-egg-transformation:
default: "false"
description: >-
Expand Down
3 changes: 2 additions & 1 deletion src/components/config/ConfigDocBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,8 @@ const YamlTreeNode = ({
id={hash}
>
<div className={"config-auxiliary-node notranslate"} translate={"no"}>
{parseItalics(name)}
{/* regex to remove trailing underscores */}
{parseItalics(name.replace(/_+$/, ""))}
{removeTrailingSpaces(separator)}
</div>
<Link
Expand Down