generated from FabricMC/fabric-example-mod
-
Notifications
You must be signed in to change notification settings - Fork 176
Resource (Power Type)
apace100 edited this page Nov 23, 2020
·
1 revision
Power Type. Defines a resource/cooldown/timer for the player. Basically holds a persistent integer value which can be modified by the Change Resource action and checked with the Resource (Condition) player condition.
Type ID: origins:resource
Fields:
min
, int: The minimum value of the resource.
max
, int: The maximum value of the resource.
start_value
, int, optional (default = min
): The value of the resource when the player first chooses an origin with this power.
hud_render
, Hud Render: Specifies how and if the resource is displayed with a bar on the HUD.
Tutorials (Data packs)
Video Tutorial by CandyCaneCazoo
Tutorials (Add-ons)
Working with more unique powers
Lists
List of vanilla damage source names
Data Types