More Datapack Features

More Datapack Features

Mod

Adds new commands, attributes and some other cool stuff

Server Game MechanicsUtility

72 downloads
1 follower
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

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.

  • values: base 1, max. 1, min. 0

mdpf:player.eating_time_multiplier

Affects the time it takes to eat food.

  • values: base 1, max. 100, min. 0

mdpf:player.nutrition_multiplier

Affects the amount of nutrition given after eating food.

  • values: base 1, max. 20, min. 0

mdpf:player.saturation_multiplier

Affects the saturation level given after eating food.

  • values: base 1, max. 100, min. 0

commands:

/food

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

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

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

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

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

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

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

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

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

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

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

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

/ignite

/ignite <targets> <duration> [<ignoreCurrentStatus>] (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 <targets> 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


Project members

shadowmanreal

Member

Details

Licensed ARR
Published 4 months ago
Updated 4 months ago