Map LeavesFix (#1127)

* LeavesFix%field_5686 -> logBlocks

* LeavesFix%field_5688 -> leafMap

* LeavesFix$ListFixer#method_5082(3) -> computeFlags

* LeavesFix$class_1192%field_5690 -> leafStates

* LeavesFix$ListFixer#computeFlags(3)[1 = ] -> leafBlockName

* LeavesFix$ListFixer#computeFlags(3)[2 = ] -> persistent

* LeavesFix$ListFixer%data -> properties

* LeavesFix$ListFixer%field_5696 -> leafStateMap

* LeavesFix$class_1192#method_5072(4) -> createLeafProperties

* LeavesFix$class_1192%field_5689 -> leafIndices

* LeavesFix$class_1192%field_5691 -> logIndices

* LeavesFix$class_1192#method_5068(1) -> isLog

* LeavesFix$class_1192#method_5071(1) -> isLeaf

* LeavesFix$class_1192#method_5065(1) -> getDistanceToLog

* LeavesFix$class_1192#method_5070(3) -> computeLeafStates

* LeavesFix$ListFixer%leafStateMap -> blockStateMap

* LeavesFix$ListFixer#method_5074(1) -> getFixableBlockStates

* LeavesFix$ListFixer#getFixableBlockStates(1) -> computeFixableBlockStates

* LeavesFix$ListFixer#method_5079(0) -> isFixed

* LeavesFix$ListFixer#method_5075(1) -> needsFix

* Update LeavesFix.mapping

* Make requested changes
This commit is contained in:
martmists 2020-02-23 00:05:59 +01:00 committed by GitHub
parent b9aaf4b959
commit 9d48cbcbd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 19 additions and 1 deletions

View File

@ -1,4 +1,22 @@
CLASS net/minecraft/class_1191 net/minecraft/datafixer/fix/LeavesFix
FIELD field_5686 LOGS_MAP Ljava/util/Set;
FIELD field_5688 LEAVES_MAP Lit/unimi/dsi/fastutil/objects/Object2IntMap;
CLASS class_1192 LeavesLogFixer
FIELD field_5689 leafIndices Lit/unimi/dsi/fastutil/ints/IntSet;
FIELD field_5690 leafStates Lit/unimi/dsi/fastutil/ints/Int2IntMap;
FIELD field_5691 logIndices Lit/unimi/dsi/fastutil/ints/IntSet;
METHOD method_5065 getDistanceToLog (I)I
METHOD method_5068 isLog (I)Z
METHOD method_5070 computeLeafStates (III)V
METHOD method_5071 isLeaf (I)Z
METHOD method_5072 createLeafProperties (Lcom/mojang/datafixers/Dynamic;Ljava/lang/String;ZI)Lcom/mojang/datafixers/Dynamic;
CLASS class_1193 ListFixer
FIELD field_5692 data Ljava/util/List;
FIELD field_5692 properties Ljava/util/List;
FIELD field_5696 blockStateMap Lnet/minecraft/class_3508;
METHOD method_5074 computeFixableBlockStates (Lcom/mojang/datafixers/Dynamic;)V
METHOD method_5075 needsFix (I)I
METHOD method_5076 needsFix ()Z
METHOD method_5079 isFixed ()Z
METHOD method_5082 computeFlags (Ljava/lang/String;ZI)I
ARG 1 leafBlockName
ARG 2 persistent