Package net.minecraft.datafixer.fix
Class BlockStateFlattening
java.lang.Object
net.minecraft.datafixer.fix.BlockStateFlattening
- Mappings:
Namespace Name official anrintermediary net/minecraft/class_3580named net/minecraft/datafixer/fix/BlockStateFlattening
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final Stringprivate static final org.slf4j.Loggerprivate 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidstatic StringlookupBlock(String oldBlockName) static com.mojang.serialization.Dynamic<?>lookupState(int stateId) static com.mojang.serialization.Dynamic<?>lookupState(com.mojang.serialization.Dynamic<?> dynamic) static StringlookupStateBlock(int stateId) static com.mojang.serialization.Dynamic<?>parseState(String stateStr) private static void(package private) static voidAdds states to flatten from the blocks which had numeric IDs between 0 and 15 before 1.13.(package private) static voidAdds states to flatten from the blocks which had numeric IDs between 112 and 127 before 1.13.(package private) static voidAdds states to flatten from the blocks which had numeric IDs between 128 and 143 before 1.13.(package private) static voidAdds states to flatten from the blocks which had numeric IDs between 144 and 159 before 1.13.(package private) static voidAdds states to flatten from the blocks which had numeric IDs between 160 and 175 before 1.13.(package private) static voidAdds states to flatten from the blocks which had numeric IDs between 16 and 31 before 1.13.(package private) static voidAdds states to flatten from the blocks which had numeric IDs between 176 and 191 before 1.13.(package private) static voidAdds states to flatten from the blocks which had numeric IDs between 192 and 207 before 1.13.(package private) static voidAdds states to flatten from the blocks which had numeric IDs between 208 and 223 before 1.13.(package private) static voidAdds states to flatten from the blocks which had numeric IDs between 224 and 239 before 1.13.(package private) static voidAdds states to flatten from the blocks which had numeric IDs between 240 and 255 before 1.13.(package private) static voidAdds states to flatten from the blocks which had numeric IDs between 32 and 47 before 1.13.(package private) static voidAdds states to flatten from the blocks which had numeric IDs between 48 and 63 before 1.13.(package private) static voidAdds states to flatten from the blocks which had numeric IDs between 64 and 79 before 1.13.(package private) static voidAdds states to flatten from the blocks which had numeric IDs between 80 and 95 before 1.13.(package private) static voidAdds states to flatten from the blocks which had numeric IDs between 96 and 111 before 1.13.
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER- Mappings:
Namespace Name Mixin selector official bLanr;b:Lorg/slf4j/Logger;intermediary field_15832Lnet/minecraft/class_3580;field_15832:Lorg/slf4j/Logger;named LOGGERLnet/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 cLanr;c:[Lcom/mojang/serialization/Dynamic;intermediary field_24645Lnet/minecraft/class_3580;field_24645:[Lcom/mojang/serialization/Dynamic;named OLD_STATE_TO_DYNAMICLnet/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 dLanr;d:[Lcom/mojang/serialization/Dynamic;intermediary field_24646Lnet/minecraft/class_3580;field_24646:[Lcom/mojang/serialization/Dynamic;named OLD_BLOCK_TO_DYNAMICLnet/minecraft/datafixer/fix/BlockStateFlattening;OLD_BLOCK_TO_DYNAMIC:[Lcom/mojang/serialization/Dynamic;
-
OLD_STATE_TO_ID
- Mappings:
Namespace Name Mixin selector official eLanr;e:Lit/unimi/dsi/fastutil/objects/Object2IntMap;intermediary field_15831Lnet/minecraft/class_3580;field_15831:Lit/unimi/dsi/fastutil/objects/Object2IntMap;named OLD_STATE_TO_IDLnet/minecraft/datafixer/fix/BlockStateFlattening;OLD_STATE_TO_ID:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
-
OLD_BLOCK_TO_ID
- Mappings:
Namespace Name Mixin selector official fLanr;f:Lit/unimi/dsi/fastutil/objects/Object2IntMap;intermediary field_15833Lnet/minecraft/class_3580;field_15833:Lit/unimi/dsi/fastutil/objects/Object2IntMap;named OLD_BLOCK_TO_IDLnet/minecraft/datafixer/fix/BlockStateFlattening;OLD_BLOCK_TO_ID:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
-
FILTER_ME
- See Also:
- Mappings:
Namespace Name Mixin selector official aLanr;a:Ljava/lang/String;intermediary field_29869Lnet/minecraft/class_3580;field_29869:Ljava/lang/String;named FILTER_MELnet/minecraft/datafixer/fix/BlockStateFlattening;FILTER_ME:Ljava/lang/String;
-
-
Constructor Details
-
BlockStateFlattening
public BlockStateFlattening()
-
-
Method Details
-
putStates
- Mappings:
Namespace Name Mixin selector official aLanr;a(ILjava/lang/String;[Ljava/lang/String;)Vintermediary method_15596Lnet/minecraft/class_3580;method_15596(ILjava/lang/String;[Ljava/lang/String;)Vnamed putStatesLnet/minecraft/datafixer/fix/BlockStateFlattening;putStates(ILjava/lang/String;[Ljava/lang/String;)V
-
fillEmptyStates
private static void fillEmptyStates()- Mappings:
Namespace Name Mixin selector official qLanr;q()Vintermediary method_22426Lnet/minecraft/class_3580;method_22426()Vnamed fillEmptyStatesLnet/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 aLanr;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;intermediary method_15597Lnet/minecraft/class_3580;method_15597(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;named lookupStateLnet/minecraft/datafixer/fix/BlockStateFlattening;lookupState(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
-
lookupBlock
- Mappings:
Namespace Name Mixin selector official aLanr;a(Ljava/lang/String;)Ljava/lang/String;intermediary method_15600Lnet/minecraft/class_3580;method_15600(Ljava/lang/String;)Ljava/lang/String;named lookupBlockLnet/minecraft/datafixer/fix/BlockStateFlattening;lookupBlock(Ljava/lang/String;)Ljava/lang/String;
-
lookupStateBlock
- Mappings:
Namespace Name Mixin selector official aLanr;a(I)Ljava/lang/String;intermediary method_15599Lnet/minecraft/class_3580;method_15599(I)Ljava/lang/String;named lookupStateBlockLnet/minecraft/datafixer/fix/BlockStateFlattening;lookupStateBlock(I)Ljava/lang/String;
-
parseState
- Mappings:
Namespace Name Mixin selector official bLanr;b(Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;intermediary method_15598Lnet/minecraft/class_3580;method_15598(Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;named parseStateLnet/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 bLanr;b(I)Lcom/mojang/serialization/Dynamic;intermediary method_15594Lnet/minecraft/class_3580;method_15594(I)Lcom/mojang/serialization/Dynamic;named lookupStateLnet/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 aLanr;a()Vintermediary method_31448Lnet/minecraft/class_3580;method_31448()Vnamed putStatesFromBlocks0To15Lnet/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 bLanr;b()Vintermediary method_31449Lnet/minecraft/class_3580;method_31449()Vnamed putStatesFromBlocks16To31Lnet/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 cLanr;c()Vintermediary method_31450Lnet/minecraft/class_3580;method_31450()Vnamed putStatesFromBlocks32To47Lnet/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 dLanr;d()Vintermediary method_31451Lnet/minecraft/class_3580;method_31451()Vnamed putStatesFromBlocks48To63Lnet/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 eLanr;e()Vintermediary method_31452Lnet/minecraft/class_3580;method_31452()Vnamed putStatesFromBlocks64To79Lnet/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 fLanr;f()Vintermediary method_31453Lnet/minecraft/class_3580;method_31453()Vnamed putStatesFromBlocks80To95Lnet/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 gLanr;g()Vintermediary method_31454Lnet/minecraft/class_3580;method_31454()Vnamed putStatesFromBlocks96To111Lnet/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 hLanr;h()Vintermediary method_31455Lnet/minecraft/class_3580;method_31455()Vnamed putStatesFromBlocks112To127Lnet/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 iLanr;i()Vintermediary method_31456Lnet/minecraft/class_3580;method_31456()Vnamed putStatesFromBlocks128To143Lnet/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 jLanr;j()Vintermediary method_31457Lnet/minecraft/class_3580;method_31457()Vnamed putStatesFromBlocks144To159Lnet/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 kLanr;k()Vintermediary method_31458Lnet/minecraft/class_3580;method_31458()Vnamed putStatesFromBlocks160To175Lnet/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 lLanr;l()Vintermediary method_31459Lnet/minecraft/class_3580;method_31459()Vnamed putStatesFromBlocks176To191Lnet/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 mLanr;m()Vintermediary method_31460Lnet/minecraft/class_3580;method_31460()Vnamed putStatesFromBlocks192To207Lnet/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 nLanr;n()Vintermediary method_31461Lnet/minecraft/class_3580;method_31461()Vnamed putStatesFromBlocks208To223Lnet/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 oLanr;o()Vintermediary method_31462Lnet/minecraft/class_3580;method_31462()Vnamed putStatesFromBlocks224To239Lnet/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 pLanr;p()Vintermediary method_31463Lnet/minecraft/class_3580;method_31463()Vnamed putStatesFromBlocks240To255Lnet/minecraft/datafixer/fix/BlockStateFlattening;putStatesFromBlocks240To255()V
-