public abstract class BiomeAPI<B> extends AbstractWrapped<B> implements RegistryEntryAPI<B>
| Modifier and Type | Field and Description |
|---|---|
protected ResourceLocationAPI<?> |
registryName |
wrappedBOOLEAN_VALUES, FABRIC, FORGE, FORGE_OR_NEOFORGE, GAME_VERSION, JAVA_17, JAVA_21, JAVA_8, JAVA_MODULES, JAVA_VERSION, JAVA_VERSION_ASM, LEGACY, MOD_LOADER, NAMED_ENV, NEOFORGE, SRG_ENV, V12, V16, V16_OR_EARLIER, V16_OR_LATER, V18, V18_OR_EARLIER, V18_OR_LATER, V19, V19_2_OR_EARLIER, V19_4_OR_LATER, V19_OR_EARLIER, V19_OR_LATER, V20, V20_4_OR_EARLIER, V20_6_OR_LATER, V20_OR_EARLIER, V20_OR_LATER, V21, V21_OR_LATER| Modifier | Constructor and Description |
|---|---|
protected |
BiomeAPI(java.lang.Object biome) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRain(WorldAPI<?> world,
BlockPosAPI<?> pos) |
boolean |
canSnow(WorldAPI<?> world,
BlockPosAPI<?> pos) |
abstract float |
getRainfall() |
ResourceLocationAPI<?> |
getRegistryName() |
abstract ResourceLocationAPI<?> |
getRegistryName(WorldAPI<?> world) |
java.util.Set<java.lang.String> |
getTagNames(WorldAPI<?> world) |
abstract float |
getTemperatureAt(BlockPosAPI<?> pos) |
protected void |
setLocalRegistryName(ResourceLocationAPI<?> registryName) |
equals, getWrapped, getWrappedClass, toStringclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetName, getName, getRegistry, setForgeRegistryName, setRegistryNamegetIfNotNull, getIfNotNullOrDefault, getIfNotNullOrDefault, getWrapped, getWrappedClass, isNull, isNullGetter, notNull, notNullGetter, supplyIfNull, unwrap, wrapIfNotNull, wrapIfNotNullOrDefault, wrapIfNotNullOrDefaultprotected ResourceLocationAPI<?> registryName
public boolean canRain(WorldAPI<?> world, BlockPosAPI<?> pos)
public boolean canSnow(WorldAPI<?> world, BlockPosAPI<?> pos)
public abstract float getRainfall()
public ResourceLocationAPI<?> getRegistryName()
getRegistryName in interface RegistryEntryAPI<B>public abstract ResourceLocationAPI<?> getRegistryName(WorldAPI<?> world)
getRegistryName in interface RegistryEntryAPI<B>public java.util.Set<java.lang.String> getTagNames(WorldAPI<?> world)
public abstract float getTemperatureAt(BlockPosAPI<?> pos)
protected void setLocalRegistryName(ResourceLocationAPI<?> registryName)