mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-10-30 05:12:58 +00:00
A whole bunch of refomatting
- Remove redundant constructors and super calls - Standardise naming of texture fields - Always use postfix notations for loops - Cleanup several peripheral classes
This commit is contained in:
@@ -77,7 +77,7 @@ public class ColourableRecipe extends IForgeRegistryEntry.Impl<IRecipe> implemen
|
||||
return ItemStack.EMPTY;
|
||||
}
|
||||
|
||||
return ((IColouredItem) colourable.getItem()).setColour( colourable, tracker.getColour() );
|
||||
return ((IColouredItem) colourable.getItem()).withColour( colourable, tracker.getColour() );
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -16,10 +16,6 @@ import javax.annotation.Nonnull;
|
||||
|
||||
public class DefaultBundledRedstoneProvider implements IBundledRedstoneProvider
|
||||
{
|
||||
public DefaultBundledRedstoneProvider()
|
||||
{
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getBundledRedstoneOutput( @Nonnull World world, @Nonnull BlockPos pos, @Nonnull EnumFacing side )
|
||||
{
|
||||
|
||||
@@ -6,5 +6,5 @@ public interface IColouredItem
|
||||
{
|
||||
int getColour( ItemStack stack );
|
||||
|
||||
ItemStack setColour( ItemStack stack, int colour );
|
||||
ItemStack withColour( ItemStack stack, int colour );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user