You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CommandAPIBukkitConfiguseLatestNMSVersion(booleanvalue); // Whether the latest NMS implementation should be used or not
56
-
CommandAPIBukkitConfigbeLenientForMinorVersions(booleanvalue); // Whether the CommandAPI should be more lenient with minor Minecraft versions
55
+
CommandAPIBukkitConfigfallbackToLatestNMS(booleanfallbackToLatestNMS); // Whether the CommandAPI should fall back to the latest NMS version if no implementation for the current version was found
57
56
CommandAPIBukkitConfigmissingExecutorImplementationMessage(Stringvalue); // Set message to display when executor implementation is missing
58
57
<T>CommandAPIConfiginitializeNBTAPI(Class<T>nbtContainerClass, Function<Object, T>nbtContainerConstructor); // Initializes hooks with an NBT API. See NBT arguments documentation page for more info
Copy file name to clipboardExpand all lines: docs/en/upgrading-parts/10.1.2-to-11.0.0.md
+11-2Lines changed: 11 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,11 +43,20 @@ Further changes have been made to arguments that work with components. The class
43
43
removed. Instead, the `ChatArgument`, `ChatComponentArgument` and `ChatColorArgument` have been implemented platform specific and return different types on Paper and Spigot.
44
44
On Paper, Adventure components are used while Spigot uses BungeeCord components.
45
45
46
-
More argument changes have been made:
46
+
**More argument changes have been made:**
47
47
48
48
- The `FloatRangeArgument` has been renamed to `DoubleRangeArgument` and now returns a `DoubleRange` object
49
49
- The `PlayerArgument` and `OfflinePlayerArgument` have been replaced by the `PlayerProfileArgument` which returns a `List<PlayerProfile>`. The `PlayerProfile` class changes depending on if you are on Paper or on Spigot. Use the `EntitySelectorArgument.OnePlayer` if you want a `Player` object.
50
50
- The `AsyncOfflinePlayerArgument` has been replaced by the `AsyncPlayerProfileArgument`
51
51
- The `ChatArgument`, `ChatComponentArgument` and `ChatColorArgument` do no longer have any `Adventure` prefixes and return different types depending on the platform.
52
52
- The `ChatArgument` returns a `SignedMessage` object on Paper
53
-
- The `BlockStateArgument` now returns a `BlockState` object instead of a `BlockData` object
53
+
- The `BlockStateArgument` now returns a `BlockState` object instead of a `BlockData` object
54
+
55
+
#### Config changes
56
+
57
+
The `use-latest-nms-version` and `be-lenient-for-minor-versions` config options have been removed and have been replaced by the new `fallback-to-latest-nms` config option.
58
+
This config options combines the functionality of the former config options by first trying to load the correct version and if it can't find a matching implementation for the current version,
59
+
it, if set to `true`, will load the latest implementation.
60
+
On Paper it is set to `true` by default and on Spigot it is set to `false`.
61
+
62
+
Furthermore, any config options relating to reloading datapacks have been removed on Paper as they are not needed anymore.
0 commit comments