generated from FabricMC/fabric-example-mod
-
Notifications
You must be signed in to change notification settings - Fork 176
Space
apace100 edited this page Mar 11, 2021
·
1 revision
A space is a string which defines which coordinate system is used for directions, currently it's only used in Add Velocity. This means a space defines what "y" and "z" mean.
-
world
: The axes are global, "y" is always the up-down axis. -
local
: The axes are recalculated such that "z" is always the direction the entity is facing. Keep in mind that there are several orientations in which this is the case, thus "y" and "x" might not behave the way you'd expect. -
velocity
: The axes are recalculated such that "z" points towards the direction of the current velocity of the entity. They are also scaled to match the velocity. -
velocity_normalized
: Same asvelocity
, however the axes are normalized. -
velocity_horizontal
: Same asvelocity
, however the upwards velocity is set to 0. -
velocity_horizontal_normalized
: Same asvelocity_horizontal
, however the axes are normalized.
Tutorials (Data packs)
Video Tutorial by CandyCaneCazoo
Tutorials (Add-ons)
Working with more unique powers
Lists
List of vanilla damage source names
Data Types