Block Injection API
Injection utilities related to blocks.
Setup
repositories {
mavenCentral()
}
dependencies {
modImplementation 'dev.creoii.creoapi:creo-block-injection-api:<VERSION>'
}repositories {
mavenCentral()
}
dependencies {
modImplementation("dev.creoii.creoapi:creo-block-injection-api:<VERSION>")
}Block Entity Type Injection
public static void inject(BlockEntityType<?> blockEntityType, Block block);
public static void inject(BlockEntityType<?> blockEntityType, Block... blocks);Point of Interest Type Injection
public static void inject(RegistryKey<PointOfInterestType> poi, BlockState state);
public static void inject(RegistryKey<PointOfInterestType> poi, Block block);
public static void inject(RegistryKey<PointOfInterestType> poi, BlockState... states);
public static void inject(RegistryKey<PointOfInterestType> poi, Block... blocks);Block State Property Injection
Last updated