Skip to content

Commit

Permalink
Remove beamline mask repairing (#3798)
Browse files Browse the repository at this point in the history
  • Loading branch information
serenibyss authored Jan 13, 2025
1 parent 6fd5d64 commit 5fc14dc
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,20 @@

public class ItemPhotolithographicMask extends Item implements ICanFocus {

private final String name;
private final String descSpectrum;

public ItemPhotolithographicMask(String name, int maxDamage, String descSpectrum) {
super();
this.name = name;
this.descSpectrum = descSpectrum;
this.setUnlocalizedName("photomask." + name);
this.setMaxStackSize(1);
this.setMaxDamage(maxDamage);
this.setNoRepair();
this.setTextureName(Tags.MODID + ":photomask/" + name);
}

@SuppressWarnings({ "rawtypes", "unchecked" })
@Override
public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean bool) {
public void addInformation(ItemStack stack, EntityPlayer player, List<String> list, boolean bool) {

if (!this.descSpectrum.isEmpty())
list.add("Suitable for the " + this.descSpectrum + " segment of the electromagnetic spectrum and lower");
Expand Down

0 comments on commit 5fc14dc

Please sign in to comment.