package net.darkmorford.btweagles.block;

import net.darkmorford.btweagles.BetterThanWeagles;
import net.minecraft.block.Block;
import net.minecraft.block.SoundType;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;
import net.minecraftforge.client.model.ModelLoader;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;

public class BlockButter extends Block
{
	public BlockButter()
	{
		super(Material.ROCK);

		this.slipperiness = 0.98F;

		setRegistryName(BetterThanWeagles.MODID, "butter");
		setUnlocalizedName("butter");
		setCreativeTab(BetterThanWeagles.tabBTWeagles);
		setSoundType(SoundType.SLIME);
		setHarvestLevel("shovel", 2);
		setHardness(2.0F);
	}

	@SideOnly(Side.CLIENT)
	public void initModel()
	{
		ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(this), 0, new ModelResourceLocation(getRegistryName(), "inventory"));
	}
}

@@ -604,14 +604,52 @@
 %0A%0A%09%09
-this.s
+setSoundType(SoundType.SLIME);%0A%09%09setDefaultS
 lipp
@@ -659,16 +659,15 @@
 ness
- = 
+(
 0.98F
+)
 ;%0A%0A%09
@@ -805,40 +805,8 @@
 s);%0A
-%09%09setSoundType(SoundType.SLIME);
 %0A%09%09s

Fix use of deprecated field in BlockButter.