Skip to content

Commit

Permalink
feat: Data map datagen field
Browse files Browse the repository at this point in the history
  • Loading branch information
Zepalesque committed May 24, 2024
1 parent 5d3035d commit 91a28bf
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
import net.neoforged.neoforge.client.model.generators.BlockStateProvider;
import net.neoforged.neoforge.client.model.generators.ItemModelProvider;
import net.neoforged.neoforge.common.data.BlockTagsProvider;
import net.neoforged.neoforge.common.data.DataMapProvider;
import net.neoforged.neoforge.common.data.LanguageProvider;

// TODO (so I don't forget): Add missing datagen stuff, such as data maps (furnace fuel and stuff)
/**
* A set of auto-datagenned blocks. Not to be confused with {@link net.minecraft.world.level.block.state.properties.BlockSetType}!
*/
Expand Down Expand Up @@ -49,4 +49,10 @@ public interface BlockSet {
*/
void lootData(BlockLootSubProvider data);

/**
* Generate datamap data for this BlockSet
* @param data the {@link DataMapProvider} used
*/
void mapData(DataMapProvider data);

}

0 comments on commit 91a28bf

Please sign in to comment.