Cleanup: removed IEEP, removed redundant casts, fixed imports, fixed typos.

This commit is contained in:
RainWarrior committed 2016-03-24 22:22:20 +03:00
1 parent 7e4d7077a5
commit a9d23f5e78
133 files changed
+489 -623

No files matched your search

@@ -390,7 +390,6 @@ public class ModelLoaderRegistryDebug
public static final PropertyDirection FACING = PropertyDirection.create("facing");
public static final OBJDirectionEye instance = new OBJDirectionEye();
public static final String name = "OBJDirectionEye";
private ExtendedBlockState state = new ExtendedBlockState(this, new IProperty[] {FACING}, new IUnlistedProperty[]{OBJModel.OBJProperty.INSTANCE});
private OBJDirectionEye()
{
@@ -499,6 +498,7 @@ public class ModelLoaderRegistryDebug
}
}
@SuppressWarnings("unused")
public static class OBJVertexColoring2TileEntity extends TileEntity
{
private int index = 0;
@@ -86,7 +86,7 @@ public class NoBedSleepingTest
@Override
public <T> T getCapability(Capability<T> capability, EnumFacing facing) {
return capability == SLEEP_CAP ? SLEEP_CAP.cast(inst) : null;
return capability == SLEEP_CAP ? SLEEP_CAP.<T>cast(inst) : null;
}
@Override