本文整理匯總了Java中net.minecraft.block.material.MapColor.AIR屬性的典型用法代碼示例。如果您正苦於以下問題:Java MapColor.AIR屬性的具體用法?Java MapColor.AIR怎麽用?Java MapColor.AIR使用的例子?那麽, 這裏精選的屬性代碼示例或許可以為您提供幫助。您也可以進一步了解該屬性所在類net.minecraft.block.material.MapColor
的用法示例。
在下文中一共展示了MapColor.AIR屬性的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: BlockCarpet
public BlockCarpet(Material material, ContentBlockCarpet content)
{
super(material, MapColor.AIR);
this.content = content;
setTickRandomly(true);
}
示例2: BlockSlab
public BlockSlab(Material material, ContentBlockSlab content)
{
super(material, MapColor.AIR); // that map color is being overridden
this.content = content;
mapper = StateMetaMapper.create(Collections.singleton(HALF));
useNeighborBrightness = true;
}
示例3: BlockShulkerBox
public BlockShulkerBox(EnumDyeColor p_i47248_1_)
{
super(Material.ROCK, MapColor.AIR);
this.field_190958_b = p_i47248_1_;
this.setCreativeTab(CreativeTabs.DECORATIONS);
this.setDefaultState(this.blockState.getBaseState().withProperty(field_190957_a, EnumFacing.UP));
}
示例4: BlockFence
public BlockFence(Material material, ContentBlockFence content)
{
super(material, MapColor.AIR); // that map color is being overridden
this.content = content;
}