移除杀戮弹匣附魔
This commit is contained in:
parent
e9c0695794
commit
e8d6c6fd38
4 changed files with 0 additions and 40 deletions
|
@ -1,35 +0,0 @@
|
||||||
package net.mcreator.superbwarfare.enchantment;
|
|
||||||
|
|
||||||
import net.mcreator.superbwarfare.init.ModTags;
|
|
||||||
import net.mcreator.superbwarfare.tools.EnchantmentCategoryTool;
|
|
||||||
import net.minecraft.world.entity.EquipmentSlot;
|
|
||||||
import net.minecraft.world.item.ItemStack;
|
|
||||||
import net.minecraft.world.item.enchantment.Enchantment;
|
|
||||||
|
|
||||||
public class KillClip extends Enchantment {
|
|
||||||
|
|
||||||
public KillClip() {
|
|
||||||
super(Rarity.UNCOMMON, EnchantmentCategoryTool.CAN_RELOAD, new EquipmentSlot[]{EquipmentSlot.MAINHAND});
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public int getMaxLevel() {
|
|
||||||
return 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public int getMinCost(int pLevel) {
|
|
||||||
return 20 + 3 * pLevel;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public int getMaxCost(int pLevel) {
|
|
||||||
return getMinCost(pLevel) + 10;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean canApplyAtEnchantingTable(ItemStack itemstack) {
|
|
||||||
return itemstack.is(ModTags.Items.CAN_RELOAD);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
|
@ -16,7 +16,6 @@ public class ModEnchantments {
|
||||||
public static final RegistryObject<Enchantment> LONGER_WIRE = REGISTRY.register("longer_wire", LongerWire::new);
|
public static final RegistryObject<Enchantment> LONGER_WIRE = REGISTRY.register("longer_wire", LongerWire::new);
|
||||||
public static final RegistryObject<Enchantment> MONSTER_HUNTER = REGISTRY.register("monster_hunter", MonsterHunter::new);
|
public static final RegistryObject<Enchantment> MONSTER_HUNTER = REGISTRY.register("monster_hunter", MonsterHunter::new);
|
||||||
public static final RegistryObject<Enchantment> HEAL_CLIP = REGISTRY.register("heal_clip", HealClip::new);
|
public static final RegistryObject<Enchantment> HEAL_CLIP = REGISTRY.register("heal_clip", HealClip::new);
|
||||||
public static final RegistryObject<Enchantment> KILL_CLIP = REGISTRY.register("kill_clip", KillClip::new);
|
|
||||||
public static final RegistryObject<Enchantment> GUTSHOT_STRAIGHT = REGISTRY.register("gutshot_straight", GutshotStraight::new);
|
public static final RegistryObject<Enchantment> GUTSHOT_STRAIGHT = REGISTRY.register("gutshot_straight", GutshotStraight::new);
|
||||||
public static final RegistryObject<Enchantment> KILLING_TALLY = REGISTRY.register("killing_tally", KillingTally::new);
|
public static final RegistryObject<Enchantment> KILLING_TALLY = REGISTRY.register("killing_tally", KillingTally::new);
|
||||||
public static final RegistryObject<Enchantment> FOURTH_TIMES_CHARM = REGISTRY.register("fourth_times_charm", FourthTimesCharm::new);
|
public static final RegistryObject<Enchantment> FOURTH_TIMES_CHARM = REGISTRY.register("fourth_times_charm", FourthTimesCharm::new);
|
||||||
|
|
|
@ -268,8 +268,6 @@
|
||||||
"enchantment.superbwarfare.monster_hunter.desc": "Increases bullet damage against monsters",
|
"enchantment.superbwarfare.monster_hunter.desc": "Increases bullet damage against monsters",
|
||||||
"enchantment.superbwarfare.heal_clip": "Heal Clip",
|
"enchantment.superbwarfare.heal_clip": "Heal Clip",
|
||||||
"enchantment.superbwarfare.heal_clip.desc": "Reloading after dealing a final blow will heal you and your nearby allies",
|
"enchantment.superbwarfare.heal_clip.desc": "Reloading after dealing a final blow will heal you and your nearby allies",
|
||||||
"enchantment.superbwarfare.kill_clip": "Kill Clip",
|
|
||||||
"enchantment.superbwarfare.kill_clip.desc": "Increases the damage of weapon after dealing a final blow",
|
|
||||||
"enchantment.superbwarfare.gutshot_straight": "Gutshot Straight",
|
"enchantment.superbwarfare.gutshot_straight": "Gutshot Straight",
|
||||||
"enchantment.superbwarfare.gutshot_straight.desc": "Aiming down sights increases body shot damage",
|
"enchantment.superbwarfare.gutshot_straight.desc": "Aiming down sights increases body shot damage",
|
||||||
"enchantment.superbwarfare.killing_tally": "Killing Tally",
|
"enchantment.superbwarfare.killing_tally": "Killing Tally",
|
||||||
|
|
|
@ -268,8 +268,6 @@
|
||||||
"enchantment.superbwarfare.monster_hunter.desc": "增加对怪物的子弹伤害",
|
"enchantment.superbwarfare.monster_hunter.desc": "增加对怪物的子弹伤害",
|
||||||
"enchantment.superbwarfare.heal_clip": "治疗弹匣",
|
"enchantment.superbwarfare.heal_clip": "治疗弹匣",
|
||||||
"enchantment.superbwarfare.heal_clip.desc": "最后一击后短时间内填装,可治疗自身和附近队友",
|
"enchantment.superbwarfare.heal_clip.desc": "最后一击后短时间内填装,可治疗自身和附近队友",
|
||||||
"enchantment.superbwarfare.kill_clip": "杀戮弹匣",
|
|
||||||
"enchantment.superbwarfare.kill_clip.desc": "完成击杀后填装可提升武器伤害",
|
|
||||||
"enchantment.superbwarfare.gutshot_straight": "直击要害",
|
"enchantment.superbwarfare.gutshot_straight": "直击要害",
|
||||||
"enchantment.superbwarfare.gutshot_straight.desc": "瞄准时增加身体射击伤害",
|
"enchantment.superbwarfare.gutshot_straight.desc": "瞄准时增加身体射击伤害",
|
||||||
"enchantment.superbwarfare.killing_tally": "击杀记录",
|
"enchantment.superbwarfare.killing_tally": "击杀记录",
|
||||||
|
|
Loading…
Add table
Reference in a new issue