DirtPathRenameFix -> JigsawBlockNameFix (#2155)

Closes #2024

Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
This commit is contained in:
liach 2021-03-16 15:33:03 -05:00 committed by GitHub
parent 98e634fe95
commit 2c9f118c21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +0,0 @@
CLASS net/minecraft/class_5527 net/minecraft/datafixer/fix/DirtPathRenameFix
FIELD field_26991 nameCopy Ljava/lang/String;
METHOD method_31446 createDirtPathRenameFix (Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/util/function/Function;)Lcom/mojang/datafixers/DataFix;

View File

@ -0,0 +1,8 @@
CLASS net/minecraft/class_5527 net/minecraft/datafixer/fix/JigsawBlockNameFix
COMMENT A block (re)name fix that updates the block references within Jigsaw
COMMENT block entities. Used by blocks that are generated by jigsaws.
FIELD field_26991 name Ljava/lang/String;
METHOD method_31446 create (Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/util/function/Function;)Lcom/mojang/datafixers/DataFix;
ARG 0 oldSchema
ARG 1 name
ARG 2 rename