コード例 #1
0
  public EABlockTorchNecrocite() {
    super();
    BlockHelper.setBlockName(this, "gem/necrocite/necrocite_torch");

    this.setDefaultState(this.blockState.getBaseState().withProperty(FACING, EnumFacing.UP));
    this.setTickRandomly(true);
    this.setLightLevel(0.9375F);
  }
コード例 #2
0
  public EABlockTrapDoor(String unlocalizedName) {
    super(Material.rock);

    BlockHelper.setBlockName(this, unlocalizedName);
    this.setHarvestLevel("pickaxe", 2);
    this.setHardness(5.0F);
    this.setStepSound(SoundType.STONE);
  }