本文整理汇总了Java中net.minecraft.init.Blocks.field_190979_dn方法的典型用法代码示例。如果您正苦于以下问题:Java Blocks.field_190979_dn方法的具体用法?Java Blocks.field_190979_dn怎么用?Java Blocks.field_190979_dn使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类net.minecraft.init.Blocks
的用法示例。
在下文中一共展示了Blocks.field_190979_dn方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: func_190952_a
import net.minecraft.init.Blocks; //导入方法依赖的package包/类
public static Block func_190952_a(EnumDyeColor p_190952_0_)
{
switch (p_190952_0_)
{
case WHITE:
return Blocks.field_190977_dl;
case ORANGE:
return Blocks.field_190978_dm;
case MAGENTA:
return Blocks.field_190979_dn;
case LIGHT_BLUE:
return Blocks.field_190980_do;
case YELLOW:
return Blocks.field_190981_dp;
case LIME:
return Blocks.field_190982_dq;
case PINK:
return Blocks.field_190983_dr;
case GRAY:
return Blocks.field_190984_ds;
case SILVER:
return Blocks.field_190985_dt;
case CYAN:
return Blocks.field_190986_du;
case PURPLE:
default:
return Blocks.field_190987_dv;
case BLUE:
return Blocks.field_190988_dw;
case BROWN:
return Blocks.field_190989_dx;
case GREEN:
return Blocks.field_190990_dy;
case RED:
return Blocks.field_190991_dz;
case BLACK:
return Blocks.field_190975_dA;
}
}