mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 15:18:34 +01:00
fix: rings
This commit is contained in:
parent
3980b8dc46
commit
b3a00f8d4e
1 changed files with 82 additions and 92 deletions
|
@ -21,7 +21,6 @@ import net.minecraft.potion.Effects;
|
|||
public enum ThePotionRings {
|
||||
|
||||
SPEED(
|
||||
Effects.MOVEMENT_SPEED.getDescriptionId(),
|
||||
8171462,
|
||||
Effects.MOVEMENT_SPEED,
|
||||
0,
|
||||
|
@ -33,9 +32,8 @@ public enum ThePotionRings {
|
|||
),
|
||||
//Slowness
|
||||
HASTE(
|
||||
Effects.HASTE.getName(),
|
||||
14270531,
|
||||
MobEffects.HASTE,
|
||||
Effects.DIG_SPEED, // todo: wrong
|
||||
0,
|
||||
1,
|
||||
10,
|
||||
|
@ -45,9 +43,8 @@ public enum ThePotionRings {
|
|||
),
|
||||
//Mining Fatigue
|
||||
STRENGTH(
|
||||
MobEffects.STRENGTH.getName(),
|
||||
9643043,
|
||||
MobEffects.STRENGTH,
|
||||
Effects.DAMAGE_BOOST, // TODO: wrong?
|
||||
0,
|
||||
1,
|
||||
10,
|
||||
|
@ -58,9 +55,8 @@ public enum ThePotionRings {
|
|||
//Health (Not Happening)
|
||||
//Damage
|
||||
JUMP_BOOST(
|
||||
MobEffects.JUMP_BOOST.getName(),
|
||||
7889559,
|
||||
MobEffects.JUMP_BOOST,
|
||||
Effects.JUMP,
|
||||
0,
|
||||
1,
|
||||
10,
|
||||
|
@ -70,9 +66,8 @@ public enum ThePotionRings {
|
|||
),
|
||||
//Nausea
|
||||
REGEN(
|
||||
MobEffects.REGENERATION.getName(),
|
||||
13458603,
|
||||
MobEffects.REGENERATION,
|
||||
Effects.REGENERATION,
|
||||
0,
|
||||
1,
|
||||
50,
|
||||
|
@ -81,9 +76,8 @@ public enum ThePotionRings {
|
|||
new ItemStack(Items.GHAST_TEAR)
|
||||
),
|
||||
RESISTANCE(
|
||||
MobEffects.RESISTANCE.getName(),
|
||||
10044730,
|
||||
MobEffects.RESISTANCE,
|
||||
Effects.DAMAGE_RESISTANCE,
|
||||
0,
|
||||
1,
|
||||
10,
|
||||
|
@ -92,9 +86,8 @@ public enum ThePotionRings {
|
|||
new ItemStack(Items.SLIME_BALL)
|
||||
),
|
||||
FIRE_RESISTANCE(
|
||||
MobEffects.FIRE_RESISTANCE.getName(),
|
||||
14981690,
|
||||
MobEffects.FIRE_RESISTANCE,
|
||||
Effects.FIRE_RESISTANCE,
|
||||
0,
|
||||
0,
|
||||
10,
|
||||
|
@ -103,20 +96,18 @@ public enum ThePotionRings {
|
|||
new ItemStack(Items.MAGMA_CREAM)
|
||||
),
|
||||
WATER_BREATHING(
|
||||
MobEffects.WATER_BREATHING.getName(),
|
||||
3035801,
|
||||
MobEffects.WATER_BREATHING,
|
||||
Effects.WATER_BREATHING,
|
||||
0,
|
||||
0,
|
||||
10,
|
||||
false,
|
||||
Rarity.RARE,
|
||||
new ItemStack(Items.FISH, 1, 3)
|
||||
new ItemStack(Items.TROPICAL_FISH)
|
||||
),
|
||||
INVISIBILITY(
|
||||
MobEffects.INVISIBILITY.getName(),
|
||||
8356754,
|
||||
MobEffects.INVISIBILITY,
|
||||
Effects.INVISIBILITY,
|
||||
0,
|
||||
0,
|
||||
10,
|
||||
|
@ -126,9 +117,8 @@ public enum ThePotionRings {
|
|||
),
|
||||
//Blindness
|
||||
NIGHT_VISION(
|
||||
MobEffects.NIGHT_VISION.getName(),
|
||||
2039713,
|
||||
MobEffects.NIGHT_VISION,
|
||||
Effects.NIGHT_VISION,
|
||||
0,
|
||||
0,
|
||||
300,
|
||||
|
@ -153,8 +143,8 @@ public enum ThePotionRings {
|
|||
public final boolean needsWaitBeforeActivating;
|
||||
public final ItemStack craftingItem;
|
||||
|
||||
ThePotionRings(String name, int color, Effect effect, int normalAmplifier, int advancedAmplifier, int activeTime, boolean needsWaitBeforeActivating, Rarity rarity, ItemStack craftingItem) {
|
||||
this.name = name;
|
||||
ThePotionRings(int color, Effect effect, int normalAmplifier, int advancedAmplifier, int activeTime, boolean needsWaitBeforeActivating, Rarity rarity, ItemStack craftingItem) {
|
||||
this.name = effect.getDisplayName().getString();
|
||||
this.color = color;
|
||||
this.rarity = rarity;
|
||||
this.effect = effect;
|
||||
|
|
Loading…
Reference in a new issue