Package net.neoforged.neoforge.common
Class DataMapHooks
java.lang.Object
net.neoforged.neoforge.common.DataMapHooks
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic boolean
Used in a gameteststatic final Map
<net.minecraft.world.level.block.Block, net.minecraft.world.level.block.Block> The inverse map of the oxidizables data map, used in vanilla when scraping oxidization off of a blockprivate static final Map
<net.minecraft.world.level.block.Block, net.minecraft.world.level.block.Block> static final Map
<net.minecraft.world.level.block.Block, net.minecraft.world.level.block.Block> The inverse map of the waxables data map, used in vanilla when scraping wax off of a blockprivate static final Map
<net.minecraft.world.level.block.Block, net.minecraft.world.level.block.Block> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable net.minecraft.world.level.block.Block
getBlockUnwaxed
(net.minecraft.world.level.block.Block block) static @Nullable net.minecraft.world.level.block.Block
getBlockWaxed
(net.minecraft.world.level.block.Block block) static @Nullable net.minecraft.world.level.block.Block
getNextOxidizedStage
(net.minecraft.world.level.block.Block block) static @Nullable net.minecraft.world.level.block.Block
getPreviousOxidizedStage
(net.minecraft.world.level.block.Block block) (package private) static void
static net.minecraft.world.level.block.entity.FuelValues
populateFuelValues
(net.minecraft.core.RegistryAccess lookupProvider, net.minecraft.world.flag.FeatureFlagSet features)
-
Field Details
-
didHaveToFallbackToVanillaMaps
@Internal public static boolean didHaveToFallbackToVanillaMapsUsed in a gametest -
INVERSE_OXIDIZABLES_DATAMAP_INTERNAL
private static final Map<net.minecraft.world.level.block.Block,net.minecraft.world.level.block.Block> INVERSE_OXIDIZABLES_DATAMAP_INTERNAL -
INVERSE_WAXABLES_DATAMAP_INTERNAL
private static final Map<net.minecraft.world.level.block.Block,net.minecraft.world.level.block.Block> INVERSE_WAXABLES_DATAMAP_INTERNAL -
INVERSE_OXIDIZABLES_DATAMAP
public static final Map<net.minecraft.world.level.block.Block,net.minecraft.world.level.block.Block> INVERSE_OXIDIZABLES_DATAMAPThe inverse map of the oxidizables data map, used in vanilla when scraping oxidization off of a block -
INVERSE_WAXABLES_DATAMAP
public static final Map<net.minecraft.world.level.block.Block,net.minecraft.world.level.block.Block> INVERSE_WAXABLES_DATAMAPThe 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
@Nullable public static @Nullable net.minecraft.world.level.block.Block getNextOxidizedStage(net.minecraft.world.level.block.Block block) -
getPreviousOxidizedStage
@Nullable public static @Nullable net.minecraft.world.level.block.Block getPreviousOxidizedStage(net.minecraft.world.level.block.Block block) -
getBlockWaxed
@Nullable public static @Nullable net.minecraft.world.level.block.Block getBlockWaxed(net.minecraft.world.level.block.Block block) -
getBlockUnwaxed
@Nullable public static @Nullable net.minecraft.world.level.block.Block getBlockUnwaxed(net.minecraft.world.level.block.Block block) -
populateFuelValues
@Internal public static net.minecraft.world.level.block.entity.FuelValues populateFuelValues(net.minecraft.core.RegistryAccess lookupProvider, net.minecraft.world.flag.FeatureFlagSet features) -
onDataMapsUpdated
-