Blocks

public class Blocks extends RegistryUtil<Block>(source)

Blocks added by AVM Staffs mod.

Properties

Link copied to clipboard
public final static RegistrySupplier<CrownBlock> CROWN_OF_KING_ORANGE

Block registered as avm_staff:crown_of_king_orange.

Link copied to clipboard
Link copied to clipboard
public final static Blocks INSTANCE
Link copied to clipboard
public final static RegistrySupplier<WallCrownBlock> WALL_CROWN_OF_KING_ORANGE

Block registered as avm_staff:wall_crown_of_king_orange.

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

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
protected final RegistryKey<Registry<Block>> getRegistry()
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 Block>(String path, Function1<RegistryKey<Block>, T> factory)

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

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

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