Update to Minecraft 1.21
By: md_5 <git@md-5.net>
This commit is contained in:
parent
7c6204e1a9
commit
eed041d629
255 changed files with 3585 additions and 3261 deletions
|
@ -7,7 +7,7 @@
|
|||
- private final Map<IBlockState<?>, Comparable<?>> properties = Maps.newHashMap();
|
||||
+ private final Map<IBlockState<?>, Comparable<?>> properties = Maps.newLinkedHashMap(); // CraftBukkit - stable
|
||||
private final Map<String, String> vagueProperties = Maps.newHashMap();
|
||||
private MinecraftKey id = new MinecraftKey("");
|
||||
private MinecraftKey id = MinecraftKey.withDefaultNamespace("");
|
||||
@Nullable
|
||||
@@ -275,7 +275,7 @@
|
||||
Iterator iterator = iblockstate.getPossibleValues().iterator();
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
this.suggestions = this::suggestSelector;
|
||||
if (!this.reader.canRead()) {
|
||||
throw ArgumentParserSelector.ERROR_MISSING_SELECTOR_TYPE.createWithContext(this.reader);
|
||||
@@ -463,6 +465,12 @@
|
||||
@@ -494,6 +496,12 @@
|
||||
}
|
||||
|
||||
public EntitySelector parse() throws CommandSyntaxException {
|
||||
|
@ -35,7 +35,7 @@
|
|||
this.startPosition = this.reader.getCursor();
|
||||
this.suggestions = this::suggestNameOrSelector;
|
||||
if (this.reader.canRead() && this.reader.peek() == '@') {
|
||||
@@ -471,7 +479,7 @@
|
||||
@@ -502,7 +510,7 @@
|
||||
}
|
||||
|
||||
this.reader.skip();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- a/net/minecraft/commands/arguments/selector/EntitySelector.java
|
||||
+++ b/net/minecraft/commands/arguments/selector/EntitySelector.java
|
||||
@@ -92,7 +92,7 @@
|
||||
@@ -93,7 +93,7 @@
|
||||
}
|
||||
|
||||
private void checkPermissions(CommandListenerWrapper commandlistenerwrapper) throws CommandSyntaxException {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue