列挙型定数と説明 |
---|
INSTANCE |
修飾子とタイプ | メソッドと説明 |
---|---|
static float |
getPartialTickTime()
Get current partialTickTime.
|
static float |
getWorldTime(World world)
Get the global world time for the current tick, in seconds.
|
static float |
getWorldTime(World world,
float tickProgress)
Get the global world time for the current tick + partial tick progress, in seconds.
|
static void |
setClientPartialTickTime(float clientPartialTickTime)
Internal hook, do not use.
|
static Animation |
valueOf(java.lang.String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static Animation[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final Animation INSTANCE
public static Animation[] values()
for(Animation c: Animation.values()) System.out.println(c);
public static Animation valueOf(java.lang.String name)
name
- 返される列挙型定数の名前。java.lang.IllegalArgumentException
- この列挙型に、指定した名前の定数がない場合java.lang.NullPointerException
- 引数がnullの場合public static float getWorldTime(World world)
public static float getWorldTime(World world, float tickProgress)
public static float getPartialTickTime()
public static void setClientPartialTickTime(float clientPartialTickTime)