quick fix : Unnecessary interface modifier

This commit is contained in:
Alexdoru authored and Jason Mitchell committed 2023-01-28 18:02:41 -08:00
1 parent b84b6e58bf
commit f9c44ee3e5
11 files changed
+45 -45

No files matched your search

@@ -4,7 +4,7 @@ import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.IInventory;
public interface IPlayerExtendedInventoryWrapper {
public IInventory getKnapsackInventory(EntityPlayer player);
IInventory getKnapsackInventory(EntityPlayer player);
public IInventory getAccessoryInventory(EntityPlayer player);
IInventory getAccessoryInventory(EntityPlayer player);
}
@@ -9,5 +9,5 @@ public interface IAccessory {
* @param slot Accessory slot
* @return Whether the accessory can be inserted into the slot
*/
public boolean canEquipAccessory(ItemStack item, int slot);
boolean canEquipAccessory(ItemStack item, int slot);
}
@@ -14,5 +14,5 @@ public interface IAccessoryModel {
* @return Resource location of the texture. Return null for none
*/
@SideOnly(Side.CLIENT)
public ResourceLocation getWearbleTexture(Entity entity, ItemStack stack, int slot);
ResourceLocation getWearbleTexture(Entity entity, ItemStack stack, int slot);
}
@@ -3,5 +3,5 @@ package tconstruct.library.accessory;
import net.minecraft.item.ItemStack;
public interface IHealthAccessory extends IAccessory {
public int getHealthBoost(ItemStack item);
int getHealthBoost(ItemStack item);
}
@@ -3,5 +3,5 @@ package tconstruct.library.component;
import java.util.List;
public interface IComponentHolder {
public List<LogicComponent> getComponents();
List<LogicComponent> getComponents();
}
@@ -4,9 +4,9 @@ public interface IModifyable {
/**
* @return The base tag to modify. Ex: InfiTool
*/
public String getBaseTagName();
String getBaseTagName();
public String getModifyType();
String getModifyType();
public String[] getTraits();
String[] getTraits();
}
@@ -4,7 +4,7 @@ import net.minecraft.item.ItemStack;
import tconstruct.library.crafting.PatternBuilder.MaterialSet;
public interface IPattern {
public int getPatternCost(ItemStack pattern);
int getPatternCost(ItemStack pattern);
public ItemStack getPatternOutput(ItemStack pattern, ItemStack input, MaterialSet set);
ItemStack getPatternOutput(ItemStack pattern, ItemStack input, MaterialSet set);
}
@@ -10,5 +10,5 @@ public interface IToolPart {
* This item
* @return Proper material ID. -1 for invalid
*/
public int getMaterialID(ItemStack stack);
int getMaterialID(ItemStack stack);
}
@@ -3,9 +3,9 @@ package tconstruct.library.weaponry;
import net.minecraft.item.ItemStack;
public interface IAccuracy {
public float minAccuracy(ItemStack itemStack);
float minAccuracy(ItemStack itemStack);
public float maxAccuracy(ItemStack itemStack);
float maxAccuracy(ItemStack itemStack);
public float getAccuracy(ItemStack itemStack, int time);
float getAccuracy(ItemStack itemStack, int time);
}
@@ -9,15 +9,15 @@ import tconstruct.weaponry.client.CrosshairType;
* Windup progress is visualized with a special crosshair.
*/
public interface IWindup {
public int getWindupTime(ItemStack itemStack); // how long it takes to fully wind up
int getWindupTime(ItemStack itemStack); // how long it takes to fully wind up
public float getWindupProgress(ItemStack itemStack, EntityPlayer player); // how far we've winded up, 0.0-1.0
float getWindupProgress(ItemStack itemStack, EntityPlayer player); // how far we've winded up, 0.0-1.0
public float getMinWindupProgress(ItemStack itemStack); // how long it has been winded up at least to fire (0.0-1.0)
float getMinWindupProgress(ItemStack itemStack); // how long it has been winded up at least to fire (0.0-1.0)
public CrosshairType getCrosshairType();
CrosshairType getCrosshairType();
public boolean zoomOnWindup(ItemStack itemStack);
boolean zoomOnWindup(ItemStack itemStack);
public float getZoom(ItemStack itemStack);
float getZoom(ItemStack itemStack);
}