Posted January 7, 20214 yr How do I make my sword deal more damage at night? I don't really care, if it's a strength buff, or a stat change, i just want it to be stronger. I tried doing this, but it didn't really help: @Override public void onUsingTick(ItemStack stack, LivingEntity player, int count) { if(player.getEntityWorld().getDayTime() >= 13000 && player.getEntityWorld().getDayTime() <= 18000) { player.addPotionEffect(new EffectInstance(Effects.STRENGTH, 5, 2)); } }
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.