mirror of
https://github.com/GTNewHorizons/Electro-Magic-Tools.git
synced 2026-11-20 03:59:36 +00:00
Change optional decorator modid from gregtech to gregtech_nh for gt6 compat (#92)
Co-authored-by: __felix__ <134875831+48a3efa65c881ef567345b17f3910e06@users.noreply.github.com>
This commit is contained in:
1 parent
d48233f266
commit
0650072b85
5 files changed
+10
-10
No files matched your search
@@ -12,7 +12,7 @@ import emt.util.EMTConfigHandler;
|
||||
import gregtech.api.hazards.Hazard;
|
||||
import gregtech.api.hazards.IHazardProtector;
|
||||
|
||||
@Optional.Interface(iface = "gregtech.api.hazards.IHazardProtector", modid = "gregtech")
|
||||
@Optional.Interface(iface = "gregtech.api.hazards.IHazardProtector", modid = "gregtech_nh")
|
||||
public class ItemNanoBootsTraveller extends ItemElectricBootsTraveller implements IHazardProtector {
|
||||
|
||||
public ItemNanoBootsTraveller(ArmorMaterial material, int par3, int par4) {
|
||||
@@ -57,7 +57,7 @@ public class ItemNanoBootsTraveller extends ItemElectricBootsTraveller implement
|
||||
}
|
||||
|
||||
@Override
|
||||
@Optional.Method(modid = "gregtech")
|
||||
@Optional.Method(modid = "gregtech_nh")
|
||||
public boolean protectsAgainst(ItemStack itemStack, Hazard hazard) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ import emt.util.EMTConfigHandler;
|
||||
import gregtech.api.hazards.Hazard;
|
||||
import gregtech.api.hazards.IHazardProtector;
|
||||
|
||||
@Optional.Interface(iface = "gregtech.api.hazards.IHazardProtector", modid = "gregtech")
|
||||
@Optional.Interface(iface = "gregtech.api.hazards.IHazardProtector", modid = "gregtech_nh")
|
||||
public class ItemQuantumBootsTraveller extends ItemElectricBootsTraveller implements IHazardProtector {
|
||||
|
||||
public ItemQuantumBootsTraveller(ArmorMaterial material, int par3, int par4) {
|
||||
@@ -57,7 +57,7 @@ public class ItemQuantumBootsTraveller extends ItemElectricBootsTraveller implem
|
||||
}
|
||||
|
||||
@Override
|
||||
@Optional.Method(modid = "gregtech")
|
||||
@Optional.Method(modid = "gregtech_nh")
|
||||
public boolean protectsAgainst(ItemStack itemStack, Hazard hazard) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@ import ic2.core.item.armor.ItemArmorElectric;
|
||||
import ic2.core.util.StackUtil;
|
||||
import thaumcraft.api.IRunicArmor;
|
||||
|
||||
@Optional.Interface(iface = "gregtech.api.hazards.IHazardProtector", modid = "gregtech")
|
||||
@Optional.Interface(iface = "gregtech.api.hazards.IHazardProtector", modid = "gregtech_nh")
|
||||
public class ItemInfusedQuantumChestplate extends ItemArmorElectric implements IRunicArmor, IHazardProtector {
|
||||
|
||||
public static AudioSource audioSource;
|
||||
@@ -570,7 +570,7 @@ public class ItemInfusedQuantumChestplate extends ItemArmorElectric implements I
|
||||
}
|
||||
|
||||
@Override
|
||||
@Optional.Method(modid = "gregtech")
|
||||
@Optional.Method(modid = "gregtech_nh")
|
||||
public boolean protectsAgainst(ItemStack itemStack, Hazard hazard) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ import gregtech.api.hazards.Hazard;
|
||||
import gregtech.api.hazards.IHazardProtector;
|
||||
import ic2.api.item.IC2Items;
|
||||
|
||||
@Optional.Interface(iface = "gregtech.api.hazards.IHazardProtector", modid = "gregtech")
|
||||
@Optional.Interface(iface = "gregtech.api.hazards.IHazardProtector", modid = "gregtech_nh")
|
||||
public class ItemNanoGoggles extends ItemElectricGoggles implements IHazardProtector {
|
||||
|
||||
public ItemNanoGoggles(ArmorMaterial material, int renderIndex, int armorType) {
|
||||
@@ -56,7 +56,7 @@ public class ItemNanoGoggles extends ItemElectricGoggles implements IHazardProte
|
||||
}
|
||||
|
||||
@Override
|
||||
@Optional.Method(modid = "gregtech")
|
||||
@Optional.Method(modid = "gregtech_nh")
|
||||
public boolean protectsAgainst(ItemStack itemStack, Hazard hazard) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@ import ic2.api.item.ElectricItem;
|
||||
import ic2.api.item.IElectricItem;
|
||||
import ic2.api.item.IMetalArmor;
|
||||
|
||||
@Optional.Interface(iface = "gregtech.api.hazards.IHazardProtector", modid = "gregtech")
|
||||
@Optional.Interface(iface = "gregtech.api.hazards.IHazardProtector", modid = "gregtech_nh")
|
||||
public class ItemNanoWing extends ItemThaumiumReinforcedWing
|
||||
implements IElectricItem, ISpecialArmor, IMetalArmor, IHazardProtector {
|
||||
|
||||
@@ -183,7 +183,7 @@ public class ItemNanoWing extends ItemThaumiumReinforcedWing
|
||||
}
|
||||
|
||||
@Override
|
||||
@Optional.Method(modid = "gregtech")
|
||||
@Optional.Method(modid = "gregtech_nh")
|
||||
public boolean protectsAgainst(ItemStack itemStack, Hazard hazard) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user