DataComponentTypes

Component types added by AVM Staffs mod.

Properties

Link copied to clipboard
public final static RegistrySupplier<ComponentType<BlockPickupDataComponent>> BLOCK_PICKUP_DATA

Data component registered as avm_staff:block_pickup_data.

Link copied to clipboard
Link copied to clipboard
public final static RegistrySupplier<ComponentType<StaffFurnaceDataComponent>> FURNACE_DATA

Data component registered as avm_staff:furnace_data. If this is present, the furnace is lit.

Link copied to clipboard
Link copied to clipboard
public final static DataComponentTypes INSTANCE
Link copied to clipboard
public final static RegistrySupplier<ComponentType<Unit>> ROCKET_MODE

Data component registered as avm_staff:rocket_mode. Stores if a campfire staff should propel its user.

Link copied to clipboard
private final ComponentType<Unit> rocketMode
Link copied to clipboard
public final static RegistrySupplier<ComponentType<StaffItemComponent>> STAFF_ITEM

Data component registered as avm_staff:staff_item. Stores the item inserted into the staff.

Link copied to clipboard
public final static RegistrySupplier<ComponentType<StaffRendererPartComponent>> STAFF_RENDERER_PART

Data component registered as avm_staff:staff_renderer_part. Only used for rendering.

Link copied to clipboard
Link copied to clipboard
public final static RegistrySupplier<ComponentType<StaffTntDataComponent>> TNT_DATA

Data component registered as avm_staff:tnt_data.

Link copied to clipboard

Inherited properties

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

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final ComponentType<Unit> rocketMode()
Link copied to clipboard
Link copied to clipboard

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
public final Identifier id(String path)

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

Link copied to clipboard
protected final RegistrySupplier<T> register<T extends ComponentType<?>>(String path, Function1<RegistryKey<ComponentType<?>>, T> factory)

Adds a content to be registered in a Minecraft registry using Architectury API.

Link copied to clipboard
public final RegistryKey<ComponentType<?>> registryKey(String path)

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