Initial 1.11-pre1 update

This commit is contained in:
cpw committed 2016-11-13 17:09:55 -05:00
1 parent c177219ff3
commit 4e6a774075
294 files changed
+3099 -2846

No files matched your search

@@ -17,6 +17,7 @@ import org.junit.BeforeClass;
import org.junit.Test;
import org.junit.runner.RunWith;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import static org.junit.Assert.assertEquals;
@@ -32,10 +33,10 @@ public class ItemBlockSubstitutionRemoveRestoreTest
private static class ItemMyDirt extends ItemMultiTexture
{
public ItemMyDirt() {
super(Blocks.DIRT, Blocks.DIRT, new Function<ItemStack, String>()
super(Blocks.DIRT, Blocks.DIRT, new Mapper()
{
@Nullable
public String apply(@Nullable ItemStack p_apply_1_)
public String apply(@Nonnull ItemStack p_apply_1_)
{
return BlockDirt.DirtType.byMetadata(p_apply_1_.getMetadata()).getUnlocalizedName();
}