Compare commits
2 Commits
1.18.2-1.1
...
1.18.2-1.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6d37a1e3ff | ||
|
|
9b7b950f9a |
@@ -11,4 +11,8 @@
|
||||
- for all i care this shit looks stable to me
|
||||
|
||||
## 1.18.2-1.1.0-stable
|
||||
- ported gamer bow to 1.18.2
|
||||
- ported gamer bow to 1.18.2
|
||||
|
||||
## 1.18.2-1.1.1-unstable
|
||||
- fixed weem stacking to 85 (maybe)
|
||||
- nerfed high effect
|
||||
@@ -8,7 +8,7 @@ org.gradle.jvmargs=-Xmx6G
|
||||
loader_version=0.13.2
|
||||
|
||||
# Mod Properties
|
||||
mod_version = 1.18.2-1.1.0-stable
|
||||
mod_version = 1.18.2-1.1.1-unstable
|
||||
maven_group = ryantlg.GamerItems.mod
|
||||
archives_base_name = GamerItems
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ public class weemItems {
|
||||
.statusEffect(new StatusEffectInstance(StatusEffects.LEVITATION, 20*7), 1f)
|
||||
.statusEffect(new StatusEffectInstance(GamerEffects.HIGH, 20*8), 1f)
|
||||
.build()
|
||||
));
|
||||
).maxCount(64));
|
||||
|
||||
public static final Item WEEM_APPLE = new WeemItem(new FabricItemSettings().group(gameritems.CHING)
|
||||
.food(
|
||||
|
||||
@@ -11,12 +11,12 @@ public class GamerEffects {
|
||||
|
||||
public static final StatusEffect HIGH = new highStatusEffect();
|
||||
|
||||
public static final StatusEffect JEREMYD = new jeremydStatusEffect();
|
||||
//public static final StatusEffect JEREMYD = new jeremydStatusEffect();
|
||||
|
||||
public static void register() {
|
||||
Registry.register(Registry.STATUS_EFFECT, new Identifier("gameritems", "high"), HIGH);
|
||||
|
||||
Registry.register(Registry.STATUS_EFFECT, new Identifier("gameritems", "jeremyd"), JEREMYD);
|
||||
//Registry.register(Registry.STATUS_EFFECT, new Identifier("gameritems", "jeremyd"), JEREMYD);
|
||||
|
||||
gameritems.LOGGER.info("statusEffects Loaded");
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package net.arcmods.ryantlg.statusEffects.effectClasses;
|
||||
|
||||
import net.minecraft.entity.LivingEntity;
|
||||
import net.minecraft.entity.damage.DamageSource;
|
||||
//import net.minecraft.entity.damage.DamageSource;
|
||||
import net.minecraft.entity.effect.StatusEffect;
|
||||
import net.minecraft.entity.effect.StatusEffectCategory;
|
||||
import net.minecraft.entity.player.PlayerEntity;
|
||||
@@ -22,13 +22,9 @@ public class highStatusEffect extends StatusEffect{
|
||||
@Override
|
||||
public void applyUpdateEffect(LivingEntity entity, int amplifier) {
|
||||
if (entity instanceof PlayerEntity) {
|
||||
((PlayerEntity) entity).addExperience(0 << amplifier);
|
||||
((PlayerEntity) entity).getFallSounds();
|
||||
((PlayerEntity) entity).disableShield(true);
|
||||
((PlayerEntity) entity).dismountVehicle();
|
||||
((PlayerEntity) entity).damage(DamageSource.FALL, (float) 0.01);
|
||||
((PlayerEntity) entity).heal(3 << amplifier);
|
||||
((PlayerEntity) entity).getFallSounds();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user