Package net.minecraft.datafixer.fix
Class BlockStateFlattening
java.lang.Object
net.minecraft.datafixer.fix.BlockStateFlattening
- Mappings:
Namespace Name official are
intermediary net/minecraft/class_3580
named net/minecraft/datafixer/fix/BlockStateFlattening
-
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 official b
Lare;b:Lorg/slf4j/Logger;
intermediary field_15832
Lnet/minecraft/class_3580;field_15832:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/datafixer/fix/BlockStateFlattening;LOGGER:Lorg/slf4j/Logger;
-
OLD_STATE_TO_DYNAMIC
private static final com.mojang.serialization.Dynamic<?>[] OLD_STATE_TO_DYNAMIC- Mappings:
Namespace Name Mixin selector official c
Lare;c:[Lcom/mojang/serialization/Dynamic;
intermediary field_24645
Lnet/minecraft/class_3580;field_24645:[Lcom/mojang/serialization/Dynamic;
named OLD_STATE_TO_DYNAMIC
Lnet/minecraft/datafixer/fix/BlockStateFlattening;OLD_STATE_TO_DYNAMIC:[Lcom/mojang/serialization/Dynamic;
-
OLD_BLOCK_TO_DYNAMIC
private static final com.mojang.serialization.Dynamic<?>[] OLD_BLOCK_TO_DYNAMIC- Mappings:
Namespace Name Mixin selector official d
Lare;d:[Lcom/mojang/serialization/Dynamic;
intermediary field_24646
Lnet/minecraft/class_3580;field_24646:[Lcom/mojang/serialization/Dynamic;
named OLD_BLOCK_TO_DYNAMIC
Lnet/minecraft/datafixer/fix/BlockStateFlattening;OLD_BLOCK_TO_DYNAMIC:[Lcom/mojang/serialization/Dynamic;
-
OLD_STATE_TO_ID
- Mappings:
Namespace Name Mixin selector official e
Lare;e:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
intermediary field_15831
Lnet/minecraft/class_3580;field_15831:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
named OLD_STATE_TO_ID
Lnet/minecraft/datafixer/fix/BlockStateFlattening;OLD_STATE_TO_ID:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
-
OLD_BLOCK_TO_ID
- Mappings:
Namespace Name Mixin selector official f
Lare;f:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
intermediary field_15833
Lnet/minecraft/class_3580;field_15833:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
named OLD_BLOCK_TO_ID
Lnet/minecraft/datafixer/fix/BlockStateFlattening;OLD_BLOCK_TO_ID:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
-
FILTER_ME
- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lare;a:Ljava/lang/String;
intermediary field_29869
Lnet/minecraft/class_3580;field_29869:Ljava/lang/String;
named FILTER_ME
Lnet/minecraft/datafixer/fix/BlockStateFlattening;FILTER_ME:Ljava/lang/String;
-
-
Constructor Details
-
BlockStateFlattening
public BlockStateFlattening()
-
-
Method Details
-
putStates
- Mappings:
Namespace Name Mixin selector official a
Lare;a(ILjava/lang/String;[Ljava/lang/String;)V
intermediary method_15596
Lnet/minecraft/class_3580;method_15596(ILjava/lang/String;[Ljava/lang/String;)V
named putStates
Lnet/minecraft/datafixer/fix/BlockStateFlattening;putStates(ILjava/lang/String;[Ljava/lang/String;)V
-
fillEmptyStates
private static void fillEmptyStates()- Mappings:
Namespace Name Mixin selector official q
Lare;q()V
intermediary method_22426
Lnet/minecraft/class_3580;method_22426()V
named fillEmptyStates
Lnet/minecraft/datafixer/fix/BlockStateFlattening;fillEmptyStates()V
-
lookupState
public static com.mojang.serialization.Dynamic<?> lookupState(com.mojang.serialization.Dynamic<?> dynamic) - Mappings:
Namespace Name Mixin selector official a
Lare;a(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;
named lookupState
Lnet/minecraft/datafixer/fix/BlockStateFlattening;lookupState(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
-
lookupBlock
- Mappings:
Namespace Name Mixin selector official a
Lare;a(Ljava/lang/String;)Ljava/lang/String;
intermediary method_15600
Lnet/minecraft/class_3580;method_15600(Ljava/lang/String;)Ljava/lang/String;
named lookupBlock
Lnet/minecraft/datafixer/fix/BlockStateFlattening;lookupBlock(Ljava/lang/String;)Ljava/lang/String;
-
lookupStateBlock
- Mappings:
Namespace Name Mixin selector official a
Lare;a(I)Ljava/lang/String;
intermediary method_15599
Lnet/minecraft/class_3580;method_15599(I)Ljava/lang/String;
named lookupStateBlock
Lnet/minecraft/datafixer/fix/BlockStateFlattening;lookupStateBlock(I)Ljava/lang/String;
-
parseState
- Mappings:
Namespace Name Mixin selector official b
Lare;b(Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;
intermediary method_15598
Lnet/minecraft/class_3580;method_15598(Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;
named parseState
Lnet/minecraft/datafixer/fix/BlockStateFlattening;parseState(Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;
-
lookupState
public static com.mojang.serialization.Dynamic<?> lookupState(int stateId) - Mappings:
Namespace Name Mixin selector official b
Lare;b(I)Lcom/mojang/serialization/Dynamic;
intermediary method_15594
Lnet/minecraft/class_3580;method_15594(I)Lcom/mojang/serialization/Dynamic;
named lookupState
Lnet/minecraft/datafixer/fix/BlockStateFlattening;lookupState(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 official a
Lare;a()V
intermediary method_31448
Lnet/minecraft/class_3580;method_31448()V
named putStatesFromBlocks0To15
Lnet/minecraft/datafixer/fix/BlockStateFlattening;putStatesFromBlocks0To15()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 official b
Lare;b()V
intermediary method_31449
Lnet/minecraft/class_3580;method_31449()V
named putStatesFromBlocks16To31
Lnet/minecraft/datafixer/fix/BlockStateFlattening;putStatesFromBlocks16To31()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 official c
Lare;c()V
intermediary method_31450
Lnet/minecraft/class_3580;method_31450()V
named putStatesFromBlocks32To47
Lnet/minecraft/datafixer/fix/BlockStateFlattening;putStatesFromBlocks32To47()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 official d
Lare;d()V
intermediary method_31451
Lnet/minecraft/class_3580;method_31451()V
named putStatesFromBlocks48To63
Lnet/minecraft/datafixer/fix/BlockStateFlattening;putStatesFromBlocks48To63()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 official e
Lare;e()V
intermediary method_31452
Lnet/minecraft/class_3580;method_31452()V
named putStatesFromBlocks64To79
Lnet/minecraft/datafixer/fix/BlockStateFlattening;putStatesFromBlocks64To79()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 official f
Lare;f()V
intermediary method_31453
Lnet/minecraft/class_3580;method_31453()V
named putStatesFromBlocks80To95
Lnet/minecraft/datafixer/fix/BlockStateFlattening;putStatesFromBlocks80To95()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 official g
Lare;g()V
intermediary method_31454
Lnet/minecraft/class_3580;method_31454()V
named putStatesFromBlocks96To111
Lnet/minecraft/datafixer/fix/BlockStateFlattening;putStatesFromBlocks96To111()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 official h
Lare;h()V
intermediary method_31455
Lnet/minecraft/class_3580;method_31455()V
named putStatesFromBlocks112To127
Lnet/minecraft/datafixer/fix/BlockStateFlattening;putStatesFromBlocks112To127()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 official i
Lare;i()V
intermediary method_31456
Lnet/minecraft/class_3580;method_31456()V
named putStatesFromBlocks128To143
Lnet/minecraft/datafixer/fix/BlockStateFlattening;putStatesFromBlocks128To143()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 official j
Lare;j()V
intermediary method_31457
Lnet/minecraft/class_3580;method_31457()V
named putStatesFromBlocks144To159
Lnet/minecraft/datafixer/fix/BlockStateFlattening;putStatesFromBlocks144To159()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 official k
Lare;k()V
intermediary method_31458
Lnet/minecraft/class_3580;method_31458()V
named putStatesFromBlocks160To175
Lnet/minecraft/datafixer/fix/BlockStateFlattening;putStatesFromBlocks160To175()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 official l
Lare;l()V
intermediary method_31459
Lnet/minecraft/class_3580;method_31459()V
named putStatesFromBlocks176To191
Lnet/minecraft/datafixer/fix/BlockStateFlattening;putStatesFromBlocks176To191()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 official m
Lare;m()V
intermediary method_31460
Lnet/minecraft/class_3580;method_31460()V
named putStatesFromBlocks192To207
Lnet/minecraft/datafixer/fix/BlockStateFlattening;putStatesFromBlocks192To207()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 official n
Lare;n()V
intermediary method_31461
Lnet/minecraft/class_3580;method_31461()V
named putStatesFromBlocks208To223
Lnet/minecraft/datafixer/fix/BlockStateFlattening;putStatesFromBlocks208To223()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 official o
Lare;o()V
intermediary method_31462
Lnet/minecraft/class_3580;method_31462()V
named putStatesFromBlocks224To239
Lnet/minecraft/datafixer/fix/BlockStateFlattening;putStatesFromBlocks224To239()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 official p
Lare;p()V
intermediary method_31463
Lnet/minecraft/class_3580;method_31463()V
named putStatesFromBlocks240To255
Lnet/minecraft/datafixer/fix/BlockStateFlattening;putStatesFromBlocks240To255()V
-