Class NeoForgeDataMaps
data maps provided by NeoForge.
 These data maps are usually replacements for vanilla in-code maps, and are optionally synced so that mods can use them on the client side.
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DataMapType<Item,Compostable> The Item data map that replacesComposterBlock.COMPOSTABLES.static final DataMapType<Item,FurnaceFuel> The Item data map that replacesAbstractFurnaceBlockEntity.getFuel().static final DataMapType<EntityType<?>,ParrotImitation> The EntityType data map that replacesParrot.MOB_SOUND_MAP.static final DataMapType<VillagerProfession,RaidHeroGift> The VillagerProfession data map that replacesGiveGiftToHero.GIFTS.static final DataMapType<GameEvent,VibrationFrequency> The GameEvent data map that replacesVibrationSystem.VIBRATION_FREQUENCY_FOR_EVENT. - 
Constructor Summary
Constructors - 
Method Summary
 
- 
Field Details
- 
COMPOSTABLES
The Item data map that replacesComposterBlock.COMPOSTABLES.The location of this data map is
neoforge/data_maps/item/compostables.json, and the values are objects with 1 field:chance, a float between 0 and 1 (inclusive) - the chance that the item will add levels to the composter when composted
 - 
FURNACE_FUELS
The Item data map that replacesAbstractFurnaceBlockEntity.getFuel().The location of this data map is
neoforge/data_maps/item/furnace_fuels.json, and the values are objects with 1 field:burn_time, a positive integer - how long the item will burn, in ticks
- API Note:
 - Use 
IItemExtension.getBurnTime(ItemStack, RecipeType)for NBT-sensitive burn times. That method takes precedence over the data map. - Implementation Note:
 - This data map will be empty when connected to a Vanilla server.
 
 - 
PARROT_IMITATIONS
The EntityType data map that replacesParrot.MOB_SOUND_MAP.The location of this data map is
neoforge/data_maps/entity_type/parrot_imitations.json, and the values are objects with 1 field:sound, sound event ID - the sound that the parrot will emit when imitating the mob
 - 
RAID_HERO_GIFTS
The VillagerProfession data map that replacesGiveGiftToHero.GIFTS.The location of this data map is
neoforge/data_maps/villager_profession/raid_hero_gifts.json, and the values are objects with 1 field:loot_table, the path to the loot table that the villager gives to the player after a raid finishes
 - 
VIBRATION_FREQUENCIES
The GameEvent data map that replacesVibrationSystem.VIBRATION_FREQUENCY_FOR_EVENT.The location of this data map is
neoforge/data_maps/game_event/vibration_frequencies.json, and the values are objects with 1 field:frequency, an integer between1and15(inclusive) - the vibration frequency of the game event
 
 - 
 - 
Constructor Details
- 
NeoForgeDataMaps
public NeoForgeDataMaps() 
 - 
 - 
Method Details
- 
id
 - 
register
 
 -