Update to Minecraft 1.21.1
By: md_5 <git@md-5.net>
This commit is contained in:
parent
59b86b9837
commit
921fbc5f60
10 changed files with 27 additions and 53 deletions
|
@ -1,6 +1,6 @@
|
|||
--- a/net/minecraft/commands/arguments/selector/ArgumentParserSelector.java
|
||||
+++ b/net/minecraft/commands/arguments/selector/ArgumentParserSelector.java
|
||||
@@ -147,7 +147,7 @@
|
||||
@@ -158,7 +158,7 @@
|
||||
axisalignedbb = this.createAabb(this.deltaX == null ? 0.0D : this.deltaX, this.deltaY == null ? 0.0D : this.deltaY, this.deltaZ == null ? 0.0D : this.deltaZ);
|
||||
}
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
|||
|
||||
if (this.x == null && this.y == null && this.z == null) {
|
||||
function = (vec3d) -> {
|
||||
@@ -204,8 +204,10 @@
|
||||
@@ -215,8 +215,10 @@
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
|||
this.suggestions = this::suggestSelector;
|
||||
if (!this.reader.canRead()) {
|
||||
throw ArgumentParserSelector.ERROR_MISSING_SELECTOR_TYPE.createWithContext(this.reader);
|
||||
@@ -494,6 +496,12 @@
|
||||
@@ -505,6 +507,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() == '@') {
|
||||
@@ -502,7 +510,7 @@
|
||||
@@ -513,7 +521,7 @@
|
||||
}
|
||||
|
||||
this.reader.skip();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue