public abstract class BiomeAPI<B> extends AbstractWrapped<B> implements RegistryEntryAPI<B>
| Modifier and Type | Field and Description |
|---|---|
protected ResourceLocationAPI<?> |
registryName |
wrappedFORGE, FORGE_OR_NEOFORGE, NAMED_ENV, SRG_ENV| 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, setRegistryNamegetWrapped, getWrappedClass, unwrapprotected ResourceLocationAPI<?> registryName
protected BiomeAPI(B biome)
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)