Package-level declarations
Types
Represents the blocks that a tool made of some material is allowed to break.
A set containing elements with associated weights. You can retrieve either a specified subset or a single element randomly, with the probability of each element being chosen proportional to its weight.
Properties
Same as IMMEDIATE_FACES but includes diagonal faces, not including the vertical directions.
Functions
Finds a Pylon item in an inventory. Use this to find Pylon items instead of traditional find methods, because this will compare Pylon IDs.
Small helper function to convert a minimessage string (eg: '
(Heuristically) checks whether an event is 'fake' (by checking if it has 'Fake' in its name)
Checks whether a NamespacedKey is from addon
Compares two Pylon items to check if they have the same Pylon ID. If neither item is a Pylon item, the material will be compared instead.
Same as persistentData but with a default value that is constant
Acts as a property delegate for stuff contained inside a PersistentDataContainer For example:
Rotates vector to face a direction
Wrapper around PersistentDataContainer.set that allows nullable values to be passed
Converts an orthogonal vector to a BlockFace
Attaches arguments to a component and all its children.