EntityTypes

public class EntityTypes extends RegistryUtil<EntityType<?>>(source)

Entity types added by AVM Staffs mod.

Properties

Link copied to clipboard
public final static RegistrySupplier<EntityType<CakeEntity>> CAKE

Entity registered as avm_staff:cake

Link copied to clipboard
private final EntityType<CakeEntity> cake
Link copied to clipboard
public final static RegistrySupplier<EntityType<CampfireFlameEntity>> CAMPFIRE_FLAME

Technical entity registered as avm_staff:campfire_flame

Link copied to clipboard
Link copied to clipboard
public final static RegistrySupplier<EntityType<ImpactTntEntity>> IMPACT_TNT

Entity registered as avm_staff:impact_tnt.

Link copied to clipboard
Link copied to clipboard
public final static EntityTypes INSTANCE

Inherited properties

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

Functions

Link copied to clipboard
public final EntityType<CakeEntity> cake()
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<EntityType<?>>> 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 EntityType<?>>(String path, Function1<RegistryKey<EntityType<?>>, T> factory)

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

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

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