Class Constants

java.lang.Object
de.ellpeck.rockbottom.api.Constants

public final class Constants extends Object
This class houses a list of constant values that are used by the game to do different things. It might be useful to have access to these values for modders.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    The permission level that the server admin (the host of the local server) should have by default.
    static final int
    The amount of chunks in each direction (the radius) that any given player should load in the world
    static final int
    The amount of time that a chunk should stay loaded at minimum.
    static final int
    The amount of tiles that there are, horizontally and vertically, in a chunk
    static final String
    This is a link to the website of the author of the game, Ellpeck
    static final byte
    The maximum light value that any given position in the world can have
    static final int
    The amount of chunks in each direction (the radius) that should be persistent surrounding the chunk at 0, 0.
    static final float
    The percentage of random tile rendering updates that should take place per tick
    static final int
    The amount of random tile updates that should take place per tick
    static final String
    The separator for any resources, game or mod based.
    static final int
    The amount of ticks that a second should have
    static final int
    The amount of ticks that a full day in the world should have
    static final String
    This is a link to the changelog file that the update gui gets its data from on startup
    static final String
    This is a link to the website of the game
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait