Package net.minecraft.datafixer.fix
Class BlockStateFlattening
java.lang.Object
net.minecraft.datafixer.fix.BlockStateFlattening
- Mappings:
Namespace Name named net/minecraft/datafixer/fix/BlockStateFlattening
intermediary net/minecraft/class_3580
official bay
-
Field Summary
Modifier and TypeFieldDescription(package private) static final String
private static final Logger
private static final com.mojang.serialization.Dynamic<?>[]
private static final Object2IntMap
<String> private static final com.mojang.serialization.Dynamic<?>[]
private static final Object2IntMap
<com.mojang.serialization.Dynamic<?>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static void
static String
lookupBlock
(String oldBlockName) static com.mojang.serialization.Dynamic
<?> lookupState
(int stateId) static com.mojang.serialization.Dynamic
<?> lookupState
(com.mojang.serialization.Dynamic<?> dynamic) static String
lookupStateBlock
(int stateId) static com.mojang.serialization.Dynamic
<?> parseState
(String stateStr) private static void
(package private) static void
Adds states to flatten from the blocks which had numeric IDs between 0 and 15 before 1.13.(package private) static void
Adds states to flatten from the blocks which had numeric IDs between 112 and 127 before 1.13.(package private) static void
Adds states to flatten from the blocks which had numeric IDs between 128 and 143 before 1.13.(package private) static void
Adds states to flatten from the blocks which had numeric IDs between 144 and 159 before 1.13.(package private) static void
Adds states to flatten from the blocks which had numeric IDs between 160 and 175 before 1.13.(package private) static void
Adds states to flatten from the blocks which had numeric IDs between 16 and 31 before 1.13.(package private) static void
Adds states to flatten from the blocks which had numeric IDs between 176 and 191 before 1.13.(package private) static void
Adds states to flatten from the blocks which had numeric IDs between 192 and 207 before 1.13.(package private) static void
Adds states to flatten from the blocks which had numeric IDs between 208 and 223 before 1.13.(package private) static void
Adds states to flatten from the blocks which had numeric IDs between 224 and 239 before 1.13.(package private) static void
Adds states to flatten from the blocks which had numeric IDs between 240 and 255 before 1.13.(package private) static void
Adds states to flatten from the blocks which had numeric IDs between 32 and 47 before 1.13.(package private) static void
Adds states to flatten from the blocks which had numeric IDs between 48 and 63 before 1.13.(package private) static void
Adds states to flatten from the blocks which had numeric IDs between 64 and 79 before 1.13.(package private) static void
Adds states to flatten from the blocks which had numeric IDs between 80 and 95 before 1.13.(package private) static void
Adds states to flatten from the blocks which had numeric IDs between 96 and 111 before 1.13.
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/datafixer/fix/BlockStateFlattening;LOGGER:Lorg/slf4j/Logger;
intermediary field_15832
Lnet/minecraft/class_3580;field_15832:Lorg/slf4j/Logger;
official b
Lbay;b:Lorg/slf4j/Logger;
-
OLD_STATE_TO_DYNAMIC
private static final com.mojang.serialization.Dynamic<?>[] OLD_STATE_TO_DYNAMIC- Mappings:
Namespace Name Mixin selector named OLD_STATE_TO_DYNAMIC
Lnet/minecraft/datafixer/fix/BlockStateFlattening;OLD_STATE_TO_DYNAMIC:[Lcom/mojang/serialization/Dynamic;
intermediary field_24645
Lnet/minecraft/class_3580;field_24645:[Lcom/mojang/serialization/Dynamic;
official c
Lbay;c:[Lcom/mojang/serialization/Dynamic;
-
OLD_BLOCK_TO_DYNAMIC
private static final com.mojang.serialization.Dynamic<?>[] OLD_BLOCK_TO_DYNAMIC- Mappings:
Namespace Name Mixin selector named OLD_BLOCK_TO_DYNAMIC
Lnet/minecraft/datafixer/fix/BlockStateFlattening;OLD_BLOCK_TO_DYNAMIC:[Lcom/mojang/serialization/Dynamic;
intermediary field_24646
Lnet/minecraft/class_3580;field_24646:[Lcom/mojang/serialization/Dynamic;
official d
Lbay;d:[Lcom/mojang/serialization/Dynamic;
-
OLD_STATE_TO_ID
- Mappings:
Namespace Name Mixin selector named OLD_STATE_TO_ID
Lnet/minecraft/datafixer/fix/BlockStateFlattening;OLD_STATE_TO_ID:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
intermediary field_15831
Lnet/minecraft/class_3580;field_15831:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
official e
Lbay;e:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
-
OLD_BLOCK_TO_ID
- Mappings:
Namespace Name Mixin selector named OLD_BLOCK_TO_ID
Lnet/minecraft/datafixer/fix/BlockStateFlattening;OLD_BLOCK_TO_ID:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
intermediary field_15833
Lnet/minecraft/class_3580;field_15833:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
official f
Lbay;f:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
-
FILTER_ME
- See Also:
- Mappings:
Namespace Name Mixin selector named FILTER_ME
Lnet/minecraft/datafixer/fix/BlockStateFlattening;FILTER_ME:Ljava/lang/String;
intermediary field_29869
Lnet/minecraft/class_3580;field_29869:Ljava/lang/String;
official a
Lbay;a:Ljava/lang/String;
-
-
Constructor Details
-
BlockStateFlattening
public BlockStateFlattening()
-
-
Method Details
-
putStates
- Mappings:
Namespace Name Mixin selector named putStates
Lnet/minecraft/datafixer/fix/BlockStateFlattening;putStates(ILjava/lang/String;[Ljava/lang/String;)V
intermediary method_15596
Lnet/minecraft/class_3580;method_15596(ILjava/lang/String;[Ljava/lang/String;)V
official a
Lbay;a(ILjava/lang/String;[Ljava/lang/String;)V
-
fillEmptyStates
private static void fillEmptyStates()- Mappings:
Namespace Name Mixin selector named fillEmptyStates
Lnet/minecraft/datafixer/fix/BlockStateFlattening;fillEmptyStates()V
intermediary method_22426
Lnet/minecraft/class_3580;method_22426()V
official q
Lbay;q()V
-
lookupState
public static com.mojang.serialization.Dynamic<?> lookupState(com.mojang.serialization.Dynamic<?> dynamic) - Mappings:
Namespace Name Mixin selector named lookupState
Lnet/minecraft/datafixer/fix/BlockStateFlattening;lookupState(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
intermediary method_15597
Lnet/minecraft/class_3580;method_15597(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
official a
Lbay;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
-
lookupBlock
- Mappings:
Namespace Name Mixin selector named lookupBlock
Lnet/minecraft/datafixer/fix/BlockStateFlattening;lookupBlock(Ljava/lang/String;)Ljava/lang/String;
intermediary method_15600
Lnet/minecraft/class_3580;method_15600(Ljava/lang/String;)Ljava/lang/String;
official a
Lbay;a(Ljava/lang/String;)Ljava/lang/String;
-
lookupStateBlock
- Mappings:
Namespace Name Mixin selector named lookupStateBlock
Lnet/minecraft/datafixer/fix/BlockStateFlattening;lookupStateBlock(I)Ljava/lang/String;
intermediary method_15599
Lnet/minecraft/class_3580;method_15599(I)Ljava/lang/String;
official a
Lbay;a(I)Ljava/lang/String;
-
parseState
- Mappings:
Namespace Name Mixin selector named parseState
Lnet/minecraft/datafixer/fix/BlockStateFlattening;parseState(Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;
intermediary method_15598
Lnet/minecraft/class_3580;method_15598(Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;
official b
Lbay;b(Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;
-
lookupState
public static com.mojang.serialization.Dynamic<?> lookupState(int stateId) - Mappings:
Namespace Name Mixin selector named lookupState
Lnet/minecraft/datafixer/fix/BlockStateFlattening;lookupState(I)Lcom/mojang/serialization/Dynamic;
intermediary method_15594
Lnet/minecraft/class_3580;method_15594(I)Lcom/mojang/serialization/Dynamic;
official b
Lbay;b(I)Lcom/mojang/serialization/Dynamic;
-
putStatesFromBlocks0To15
static void putStatesFromBlocks0To15()Adds states to flatten from the blocks which had numeric IDs between 0 and 15 before 1.13.- Mappings:
Namespace Name Mixin selector named putStatesFromBlocks0To15
Lnet/minecraft/datafixer/fix/BlockStateFlattening;putStatesFromBlocks0To15()V
intermediary method_31448
Lnet/minecraft/class_3580;method_31448()V
official a
Lbay;a()V
-
putStatesFromBlocks16To31
static void putStatesFromBlocks16To31()Adds states to flatten from the blocks which had numeric IDs between 16 and 31 before 1.13.- Mappings:
Namespace Name Mixin selector named putStatesFromBlocks16To31
Lnet/minecraft/datafixer/fix/BlockStateFlattening;putStatesFromBlocks16To31()V
intermediary method_31449
Lnet/minecraft/class_3580;method_31449()V
official b
Lbay;b()V
-
putStatesFromBlocks32To47
static void putStatesFromBlocks32To47()Adds states to flatten from the blocks which had numeric IDs between 32 and 47 before 1.13.- Mappings:
Namespace Name Mixin selector named putStatesFromBlocks32To47
Lnet/minecraft/datafixer/fix/BlockStateFlattening;putStatesFromBlocks32To47()V
intermediary method_31450
Lnet/minecraft/class_3580;method_31450()V
official c
Lbay;c()V
-
putStatesFromBlocks48To63
static void putStatesFromBlocks48To63()Adds states to flatten from the blocks which had numeric IDs between 48 and 63 before 1.13.- Mappings:
Namespace Name Mixin selector named putStatesFromBlocks48To63
Lnet/minecraft/datafixer/fix/BlockStateFlattening;putStatesFromBlocks48To63()V
intermediary method_31451
Lnet/minecraft/class_3580;method_31451()V
official d
Lbay;d()V
-
putStatesFromBlocks64To79
static void putStatesFromBlocks64To79()Adds states to flatten from the blocks which had numeric IDs between 64 and 79 before 1.13.- Mappings:
Namespace Name Mixin selector named putStatesFromBlocks64To79
Lnet/minecraft/datafixer/fix/BlockStateFlattening;putStatesFromBlocks64To79()V
intermediary method_31452
Lnet/minecraft/class_3580;method_31452()V
official e
Lbay;e()V
-
putStatesFromBlocks80To95
static void putStatesFromBlocks80To95()Adds states to flatten from the blocks which had numeric IDs between 80 and 95 before 1.13.- Mappings:
Namespace Name Mixin selector named putStatesFromBlocks80To95
Lnet/minecraft/datafixer/fix/BlockStateFlattening;putStatesFromBlocks80To95()V
intermediary method_31453
Lnet/minecraft/class_3580;method_31453()V
official f
Lbay;f()V
-
putStatesFromBlocks96To111
static void putStatesFromBlocks96To111()Adds states to flatten from the blocks which had numeric IDs between 96 and 111 before 1.13.- Mappings:
Namespace Name Mixin selector named putStatesFromBlocks96To111
Lnet/minecraft/datafixer/fix/BlockStateFlattening;putStatesFromBlocks96To111()V
intermediary method_31454
Lnet/minecraft/class_3580;method_31454()V
official g
Lbay;g()V
-
putStatesFromBlocks112To127
static void putStatesFromBlocks112To127()Adds states to flatten from the blocks which had numeric IDs between 112 and 127 before 1.13.- Mappings:
Namespace Name Mixin selector named putStatesFromBlocks112To127
Lnet/minecraft/datafixer/fix/BlockStateFlattening;putStatesFromBlocks112To127()V
intermediary method_31455
Lnet/minecraft/class_3580;method_31455()V
official h
Lbay;h()V
-
putStatesFromBlocks128To143
static void putStatesFromBlocks128To143()Adds states to flatten from the blocks which had numeric IDs between 128 and 143 before 1.13.- Mappings:
Namespace Name Mixin selector named putStatesFromBlocks128To143
Lnet/minecraft/datafixer/fix/BlockStateFlattening;putStatesFromBlocks128To143()V
intermediary method_31456
Lnet/minecraft/class_3580;method_31456()V
official i
Lbay;i()V
-
putStatesFromBlocks144To159
static void putStatesFromBlocks144To159()Adds states to flatten from the blocks which had numeric IDs between 144 and 159 before 1.13.- Mappings:
Namespace Name Mixin selector named putStatesFromBlocks144To159
Lnet/minecraft/datafixer/fix/BlockStateFlattening;putStatesFromBlocks144To159()V
intermediary method_31457
Lnet/minecraft/class_3580;method_31457()V
official j
Lbay;j()V
-
putStatesFromBlocks160To175
static void putStatesFromBlocks160To175()Adds states to flatten from the blocks which had numeric IDs between 160 and 175 before 1.13.- Mappings:
Namespace Name Mixin selector named putStatesFromBlocks160To175
Lnet/minecraft/datafixer/fix/BlockStateFlattening;putStatesFromBlocks160To175()V
intermediary method_31458
Lnet/minecraft/class_3580;method_31458()V
official k
Lbay;k()V
-
putStatesFromBlocks176To191
static void putStatesFromBlocks176To191()Adds states to flatten from the blocks which had numeric IDs between 176 and 191 before 1.13.- Mappings:
Namespace Name Mixin selector named putStatesFromBlocks176To191
Lnet/minecraft/datafixer/fix/BlockStateFlattening;putStatesFromBlocks176To191()V
intermediary method_31459
Lnet/minecraft/class_3580;method_31459()V
official l
Lbay;l()V
-
putStatesFromBlocks192To207
static void putStatesFromBlocks192To207()Adds states to flatten from the blocks which had numeric IDs between 192 and 207 before 1.13.- Mappings:
Namespace Name Mixin selector named putStatesFromBlocks192To207
Lnet/minecraft/datafixer/fix/BlockStateFlattening;putStatesFromBlocks192To207()V
intermediary method_31460
Lnet/minecraft/class_3580;method_31460()V
official m
Lbay;m()V
-
putStatesFromBlocks208To223
static void putStatesFromBlocks208To223()Adds states to flatten from the blocks which had numeric IDs between 208 and 223 before 1.13.- Mappings:
Namespace Name Mixin selector named putStatesFromBlocks208To223
Lnet/minecraft/datafixer/fix/BlockStateFlattening;putStatesFromBlocks208To223()V
intermediary method_31461
Lnet/minecraft/class_3580;method_31461()V
official n
Lbay;n()V
-
putStatesFromBlocks224To239
static void putStatesFromBlocks224To239()Adds states to flatten from the blocks which had numeric IDs between 224 and 239 before 1.13.- Mappings:
Namespace Name Mixin selector named putStatesFromBlocks224To239
Lnet/minecraft/datafixer/fix/BlockStateFlattening;putStatesFromBlocks224To239()V
intermediary method_31462
Lnet/minecraft/class_3580;method_31462()V
official o
Lbay;o()V
-
putStatesFromBlocks240To255
static void putStatesFromBlocks240To255()Adds states to flatten from the blocks which had numeric IDs between 240 and 255 before 1.13.- Mappings:
Namespace Name Mixin selector named putStatesFromBlocks240To255
Lnet/minecraft/datafixer/fix/BlockStateFlattening;putStatesFromBlocks240To255()V
intermediary method_31463
Lnet/minecraft/class_3580;method_31463()V
official p
Lbay;p()V
-