fixed dumb shit

This commit is contained in:
RyanTLG
2022-05-07 17:15:16 +02:00
parent 555113e04e
commit 9b7b950f9a
5 changed files with 10 additions and 10 deletions

View File

@@ -11,4 +11,8 @@
- for all i care this shit looks stable to me - for all i care this shit looks stable to me
## 1.18.2-1.1.0-stable ## 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.0-stable
- fixed weem stacking to 85 (maybe)
- nerfed high effect

View File

@@ -8,7 +8,7 @@ org.gradle.jvmargs=-Xmx6G
loader_version=0.13.2 loader_version=0.13.2
# Mod Properties # 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 maven_group = ryantlg.GamerItems.mod
archives_base_name = GamerItems archives_base_name = GamerItems

View File

@@ -34,7 +34,7 @@ public class weemItems {
.statusEffect(new StatusEffectInstance(StatusEffects.LEVITATION, 20*7), 1f) .statusEffect(new StatusEffectInstance(StatusEffects.LEVITATION, 20*7), 1f)
.statusEffect(new StatusEffectInstance(GamerEffects.HIGH, 20*8), 1f) .statusEffect(new StatusEffectInstance(GamerEffects.HIGH, 20*8), 1f)
.build() .build()
)); ).maxCount(64));
public static final Item WEEM_APPLE = new WeemItem(new FabricItemSettings().group(gameritems.CHING) public static final Item WEEM_APPLE = new WeemItem(new FabricItemSettings().group(gameritems.CHING)
.food( .food(

View File

@@ -11,12 +11,12 @@ public class GamerEffects {
public static final StatusEffect HIGH = new highStatusEffect(); 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() { public static void register() {
Registry.register(Registry.STATUS_EFFECT, new Identifier("gameritems", "high"), HIGH); 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"); gameritems.LOGGER.info("statusEffects Loaded");
} }

View File

@@ -1,7 +1,7 @@
package net.arcmods.ryantlg.statusEffects.effectClasses; package net.arcmods.ryantlg.statusEffects.effectClasses;
import net.minecraft.entity.LivingEntity; 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.StatusEffect;
import net.minecraft.entity.effect.StatusEffectCategory; import net.minecraft.entity.effect.StatusEffectCategory;
import net.minecraft.entity.player.PlayerEntity; import net.minecraft.entity.player.PlayerEntity;
@@ -22,13 +22,9 @@ public class highStatusEffect extends StatusEffect{
@Override @Override
public void applyUpdateEffect(LivingEntity entity, int amplifier) { public void applyUpdateEffect(LivingEntity entity, int amplifier) {
if (entity instanceof PlayerEntity) { if (entity instanceof PlayerEntity) {
((PlayerEntity) entity).addExperience(0 << amplifier);
((PlayerEntity) entity).getFallSounds(); ((PlayerEntity) entity).getFallSounds();
((PlayerEntity) entity).disableShield(true); ((PlayerEntity) entity).disableShield(true);
((PlayerEntity) entity).dismountVehicle(); ((PlayerEntity) entity).dismountVehicle();
((PlayerEntity) entity).damage(DamageSource.FALL, (float) 0.01);
((PlayerEntity) entity).heal(3 << amplifier);
((PlayerEntity) entity).getFallSounds();
} }
} }