Enchantments

Enchantments added by AVM Staffs mod.

Types

Link copied to clipboard
public class Tags extends RegistryKeyUtil<Enchantment>

Enchantment tags added by AVM Staffs mod.

Properties

Link copied to clipboard
private final static RegistryKey<Enchantment> cohesion

Cohesion enchantment. Increases the number of scraps when a staff breaks into pieces.

Link copied to clipboard

Distant detonation enchantment. Allows detonating thrown impact TNT with the TNT staff.

Link copied to clipboard
public final static Enchantments INSTANCE
Link copied to clipboard
private final static RegistryKey<Enchantment> powerCharge

Power charge enchantment. Makes certain explosive projectiles fired from the staff stronger.

Link copied to clipboard
private final static RegistryKey<Enchantment> quickDraw

Quick draw enchantment. Reduces certain staff cooldowns.

Link copied to clipboard
private final static RegistryKey<Enchantment> rapidFire

Rapid fire enchantment. Allows rapid firing of projectiles from certain staffs.

Inherited properties

Link copied to clipboard
private final String modId
Link copied to clipboard
Link copied to clipboard

Creates a RegistryKey from the registry and namespace specified in the constructor and a given path. The path is derived from the property name (converted to camel_case).

Link copied to clipboard

Creates a TagKey from the registry and namespace specified in the constructor and a given path. The path is derived from the property name (converted to camel_case).

Functions

Link copied to clipboard
public final static RegistryKey<Enchantment> getCohesion()

Cohesion enchantment. Increases the number of scraps when a staff breaks into pieces.

Link copied to clipboard

Distant detonation enchantment. Allows detonating thrown impact TNT with the TNT staff.

Link copied to clipboard
public final static RegistryKey<Enchantment> getPowerCharge()

Power charge enchantment. Makes certain explosive projectiles fired from the staff stronger.

Link copied to clipboard
public final static RegistryKey<Enchantment> getQuickDraw()

Quick draw enchantment. Reduces certain staff cooldowns.

Link copied to clipboard
public final static RegistryKey<Enchantment> getRapidFire()

Rapid fire enchantment. Allows rapid firing of projectiles from certain staffs.

Inherited functions

Link copied to clipboard

Gets the registry entry of the given registry key from the given registry manager or null, if it's not found.

Link copied to clipboard
protected final String getModId()
Link copied to clipboard
Link copied to clipboard

Creates a RegistryKey from the registry and namespace specified in the constructor and a given path. The path is derived from the property name (converted to camel_case).

Link copied to clipboard

Creates a TagKey from the registry and namespace specified in the constructor and a given path. The path is derived from the property name (converted to camel_case).

Link copied to clipboard
public final Identifier id(String path)

Creates an Identifier from the namespace specified in the constructor and a given path.

Link copied to clipboard

Creates a RegistryKey from the registry and namespace specified in the constructor and a given path.

Link copied to clipboard
public final TagKey<Enchantment> tagKey(String path)

Creates a TagKey from the registry and namespace specified in the constructor and a given path.