net.minecraft.commands.arguments(.{blocks|item})

This commit is contained in:
Noah van der Aa 2024-12-14 20:30:29 +01:00
parent a890e322f1
commit f1ee7a0262
No known key found for this signature in database
GPG key ID: 547D90BC6FF753CF
6 changed files with 59 additions and 116 deletions

View file

@ -0,0 +1,11 @@
--- a/net/minecraft/commands/arguments/blocks/BlockStateParser.java
+++ b/net/minecraft/commands/arguments/blocks/BlockStateParser.java
@@ -69,7 +_,7 @@
private final StringReader reader;
private final boolean forTesting;
private final boolean allowNbt;
- private final Map<Property<?>, Comparable<?>> properties = Maps.newHashMap();
+ private final Map<Property<?>, Comparable<?>> properties = Maps.newLinkedHashMap(); // CraftBukkit - stable
private final Map<String, String> vagueProperties = Maps.newHashMap();
private ResourceLocation id = ResourceLocation.withDefaultNamespace("");
@Nullable