HomeJavaModsMore Datapack Features
More Datapack Features

Logo

Items:

Dummy Item (mdpf:dummy_item)

Increases scoreboard value on right click

Attributes:

mdpf:generic.detection_range_multiplier

Affects the maximum distance that players can be seen by other mobs.

mdpf:player.eating_time_multiplier

Affects the time it takes to eat food.

mdpf:player.nutrition_multiplier

Affects the amount of nutrition given after eating food.

mdpf:player.saturation_multiplier

Affects the saturation level given after eating food.

commands:

/food

/food get base (Returns the hunger level of player)

/food get saturation (Returns the saturation level of player)

/food get exhaustion (Returns the exhaustion level of player)

/food set base (Sets the hunger level of player to a specified value)

/food set saturation (Sets the saturation level of player to a specified value)

/food set exhaustion (Sets the exhaustion level of player to a specified value)

food add base (Increases the hunger level of player by a specified value)

/food add saturation (Increases the saturation level of player by a specified value)

/food add exhaustion ) (Increases the exhaustion level of player by a specified value)

/food remove base (Decreases the hunger level of player by a specified value)

/food remove saturation (Decreases the saturation level of player by a specified value)

/food remove exhaustion (Decreases the exhaustion level of player by a specified value)

/ignite

/ignite [] (Sets targets on fire for a specified duration. (duration shouldn't be lower than target's burning time, but, if ignoreCurrentStatus is set to true, this condition is ignored))

/extinguish

/extinguish 0 (Extinguishes targets)

Item components:

mdpf:craft_requirement

Accepts any string value. Doesn't affect the item

Recipes:

The recipe's ingredients now accept component changes.

Example:

New crafting recipe format

Now crafting recipe ingredients will compare the value of the components with the components of the input item. If the value of the mdpf:craft_requirement component is the same for both items, the recipe will output the result (items that don't contain this component will be counted as items with empty string as the craft requirement)

Example:

Crafting recipe result

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more