Package net.neoforged.neoforge.common
Class DataMapHooks
java.lang.Object
net.neoforged.neoforge.common.DataMapHooks
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic boolean
Used in a gametestThe inverse map of the oxidizables data map, used in vanilla when scraping oxidization off of a blockThe inverse map of the waxables data map, used in vanilla when scraping wax off of a block -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable Block
getBlockUnwaxed
(Block block) static @Nullable Block
getBlockWaxed
(Block block) static @Nullable Block
getNextOxidizedStage
(Block block) static @Nullable Block
getPreviousOxidizedStage
(Block block) (package private) static void
-
Field Details
-
didHaveToFallbackToVanillaMaps
@Internal public static boolean didHaveToFallbackToVanillaMapsUsed in a gametest -
INVERSE_OXIDIZABLES_DATAMAP_INTERNAL
-
INVERSE_WAXABLES_DATAMAP_INTERNAL
-
INVERSE_OXIDIZABLES_DATAMAP
The inverse map of the oxidizables data map, used in vanilla when scraping oxidization off of a block -
INVERSE_WAXABLES_DATAMAP
The inverse map of the waxables data map, used in vanilla when scraping wax off of a block
-
-
Constructor Details
-
DataMapHooks
public DataMapHooks()
-
-
Method Details
-
getNextOxidizedStage
-
getPreviousOxidizedStage
-
getBlockWaxed
-
getBlockUnwaxed
-
onDataMapsUpdated
-