did stuff

This commit is contained in:
RyanTLG
2022-05-07 17:34:49 +02:00
parent 126f41617f
commit 7b02c2733d
5 changed files with 11 additions and 11 deletions

View File

@@ -13,4 +13,8 @@
- renamed strong bow to Gamer Bow
- added textures for Gamer Bow
- added crafting recipe for Gamer Bow
- fully implemented Gamer Bow
- fully implemented Gamer Bow
## 1.18.1-1.1.1-unstable
- fixed weem stacking to 85 (maybe)
- nerfed high effect

View File

@@ -8,7 +8,7 @@ org.gradle.jvmargs=-Xmx4G
loader_version=0.12.12
# Mod Properties
mod_version = 1.18.1-1.1.0-stable
mod_version = 1.18.1-1.1.1-unstable
maven_group = ryantlg.GamerItems.mod
archives_base_name = GamerItems

View File

@@ -18,7 +18,7 @@ public class weemItems {
//main items
//================================================================================================================
public static final Item WEEM = new Item(new Item.Settings().group(gameritems.CHING).maxCount(128));
public static final Item WEEM = new Item(new Item.Settings().group(gameritems.CHING).maxCount(64));
// foods
//================================================================================================================

View File

@@ -2,7 +2,7 @@ package net.arcmods.ryantlg.statusEffects;
import net.arcmods.ryantlg.gameritems;
import net.arcmods.ryantlg.statusEffects.effectClasses.highStatusEffect;
import net.arcmods.ryantlg.statusEffects.effectClasses.jeremydStatusEffect;
//import net.arcmods.ryantlg.statusEffects.effectClasses.jeremydStatusEffect;
import net.minecraft.entity.effect.StatusEffect;
import net.minecraft.util.Identifier;
import net.minecraft.util.registry.Registry;
@@ -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");
}

View File

@@ -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();
}
}