java minecraftmodexample.example000_009.e000_basic_block.BlockBasicBlock.java

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了java minecraftmodexample.example000_009.e000_basic_block.BlockBasicBlock.java相关的知识,希望对你有一定的参考价值。

package net.nyagosu.minecraftmodexample.example000_009.e000_basic_block;

import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.nyagosu.minecraftmodexample.MinecraftModExample;

public class BlockBasicBlock extends Block { //Blockクラスを継承

	public BlockBasicBlock()
	{
		super(Material.GROUND); //素材の指定
		this.setCreativeTab(CreativeTabs.BUILDING_BLOCKS); //どのクリエイティブタブに追加するか。
	}
}

以上是关于java minecraftmodexample.example000_009.e000_basic_block.BlockBasicBlock.java的主要内容,如果未能解决你的问题,请参考以下文章

java minecraftmodexample.example000_009.e004_damage_block.BlockDamageBlock.java

java minecraftmodexample.example000_009.e000_basic_block.InitClient.java

java minecraftmodexample.example000_009.e000_basic_block.InitCommon.java

java minecraftmodexample.example000_009.e000_basic_block.BlockBasicBlock.java

java net.nyagosu.minecraftmodexample.example000-009.e003_fragile_block.BlockFragileBlock.java

java net.nyagosu.minecraftmodexample.example000-009.e001_hardest_block.BlockGlowBlock.java