mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-17 02:55:17 +00:00
Cleanup: removed IEEP, removed redundant casts, fixed imports, fixed typos.
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user