SoundEvents

public class SoundEvents extends Registrar<SoundEvent>(source)

Sound events added by AVM Staffs mod.

Properties

Link copied to clipboard
private final static SoundEvent cakeSplash

Cake splashing sound event.

Link copied to clipboard
private final static SoundEvent cakeThrow

Cake thrown sound event.

Link copied to clipboard
private final static SoundEvent celebratePrank

Player celebrates prank sound event.

Link copied to clipboard
private final static SoundEvent flamethrowerFire

Flamethrower fire sound event.

Link copied to clipboard
public final static SoundEvents INSTANCE

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 SoundEvent getCakeSplash()

Cake splashing sound event.

Link copied to clipboard
public final static SoundEvent getCakeThrow()

Cake thrown sound event.

Link copied to clipboard
public final static SoundEvent getCelebratePrank()

Player celebrates prank sound event.

Link copied to clipboard
public final static SoundEvent getFlamethrowerFire()

Flamethrower fire sound event.

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
protected final RegistrySupplier<T> register<T extends SoundEvent>(String path, Supplier<T> factory)
protected final RegistrySupplier<T> register<T extends SoundEvent>(String path, Function1<RegistryKey<SoundEvent>, T> factory)

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

Link copied to clipboard
protected final PropertyDelegateProvider<Registrar<SoundEvent>, Lazy<T>> registering<T extends SoundEvent>(Function1<RegistryKey<SoundEvent>, T> factory)

Adds a content to be registered in a Minecraft registry using Architectury API. The path is derived from the property name (converted to camel_case).

protected final Lazy<T> registering<T extends SoundEvent>(String path, Function1<RegistryKey<SoundEvent>, T> factory)

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

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<SoundEvent> tagKey(String path)

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