Minecraft Username: spidawg Brief Description: the /feed command feeds your hunger level up to level 100 , whereas you can only eat up to level 20 with food items. The hunger level is not capped upon warping to the pvp world. This puts players with /feed command at an advantage over other players because they are not required to stop and eat for a very long time. (20 minutes versus 4 minutes) Instructions: 1.a. Eat as much food as you can normally without using the /feed command. 1.b. Go into pvp with no food to eat and do not eat anything while you are there. 1.c. Run around in the PVP world for as long as you can before starving. 1.d. When you start to starve, record that time as "item food", leave pvp arena. 2.a. From outside the PVP world , use the /feed command 2.b. Go into pvp with no food to eat and do not eat anything while you are there. 2.c. Run around in the PVP arena for as long as you can before starving. 2.d. When you start to starve, record that time as "command feed", leave pvp arena. 3. Compare values of "item food" and "command feed" How many times did you recreate this bug?: 1 Result: Your hunger level remains at 100 even when you cross the pvp gate. item food: ~4 minutes until starvation command feed: ~20 minutes until starvation Expected Result: - Your hunger level should be set to a maximum of 20 points when you cross the pvp gate. - Regardless of method of being fed prior to entering PVP world, you should start to starve within 4 minutes of constant running around Evidence: none
I'm not sure if this is any help, but I think it depends on what food you're eating, because /feed fills your saturation to 20, whereas if you're eating cookies they don't give as much saturation points which makes your hunger go down faster.
that's not what he's saying. Your hungerbar itself has 20 slots, while the server can in reality make it a lot higher. In this case the /feed command fills your hungerbar 5 times past the limit.
This is not true. Please read the minecraft documentation for more details on how this works. In minecraft there are 3 health bars: Health Food Saturation Saturation is invisible, this bar works like the food bar, but is drawn from first, before food. Different foods heal different amounts of food and saturation, for example: Apple: heals 4 food (2 icons) and 2.4 saturation Baked Potato: heals 6 food (3 icons) but a massive 7.2 saturation. This means, a Baked Potato actually heals double the food visible on your bar, as your food level wont fall, while you have some saturation. The /feed command, sets you to 20 food, and 10 saturation. This should work out similar to the same effect as eating 2 baked potatoes in a row (at 4 food).
Code: final int amount = 100; final FoodLevelChangeEvent flce = new FoodLevelChangeEvent(player, amount); ess.getServer().getPluginManager().callEvent(flce); if (flce.isCancelled()) { throw new QuietAbortException(); } player.setFoodLevel(flce.getFoodLevel()); player.setSaturation(10); sender.sendMessage(sender.equals(player) ? _("feed") : _("feedOther", player.getDisplayName())); Doesn't this set the foodlevel to 100? If not, what is that 100 for?
This is just so the event throws a non standard value, so it can be told apart from standard food events.
I knew about the saturation but it's not really relevant dealing with factors of 5x But as of a while back it has been fixed. My "Food level indicator" no longer says 100 when i type /feed, it now says 20 (Marco mod shows this value, I can't say where it was coming from but it was called %HUNGER%....)
So could you set the Code: player.setSaturation(); higher. You could have a donation that sets your feed to more saturation. Like feed+. Maybe saturation to 20 or so. Im thinking of donation for feed and may have a few dollars around left so maybe feed+ could be a extra $10 - $20
Because: of the OP'ness that would offer if they set your saturation abnormally high, again, this would not be recommended unless they specifically programmed for an exception to occur when you are changed into the PVP world, in order to address the issue as specified by the initial bug report, maybe in a slightly different form if it's the saturation rather than plain hunger. If you do feel strongly about this; i would suggest you submit this as an enhancement request rather than as a comment to my bug report -- certain people may have 'unfollowed' this and you might get more attention if you formalize your request using this process.