#(L3Technosm) How Do You Place Beef On Campfire?

37 messages · Page 1 of 1 (latest)

fallen crater
#

When I have a nearby campfire and run this command:

/ex adjust <player.location.find_blocks[campfire].within[15].get[1]> campfire_items:<list[<item[beef]>|<item[beef]>|<item[beef]>|<item[beef]>]>

The beef pops off the campfire immediately taking no time to cook. Is there a better way?

gritty joltBOT
#

(L3Technosm) How Do You Place Beef On Campfire?

gritty joltBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>

worthy vigil
#

!guide constructor

worthy vigil
#

you can just do campfire_items:beef|beef|beef|beef

#

or even better, campfire_items:<item[beef].repeat_as_list[4]>

fallen crater
#

Results in the same insta-cooking. I will try the repeat.

#

Same with the repeat:
/ex adjust <player.location.find_blocks[campfire].within[15].get[1]> campfire_items:<item[beef].repeat_as_list[4]>

fallen crater
#

(I appreciate the help...however I must head to bed for the night. I am not sure the etiquette regarding going AFK during an outstanding thread/post.)

worthy vigil
#

!mech campfire_items

sour sundialBOT
# worthy vigil !mech campfire_items

Sets the items in this campfire, as a list of items, where the index in the list directly corresponds to index in the campfire slots.

Object

LocationTag

Input

ListTag(ItemTag)

Tags

<LocationTag.campfire_items> Returns a list of items currently in this campfire. This list has air...

worthy vigil
#

hmm

fallen crater
#

When I searched Discord prior to posting, I saw the commit post and release notes about being able to set campfire_items, but I didnt see an example there...and it reinforced my assumption that I could set items to be cooked...If I was mistaken, I can switch over to cooking via Furnace or Smoker I suppose.

sage tulip
#

Your forum can stay open however long ya need

#

Just when you have all your answers satisfied use /resolved to show that all the related questions were answered and have the bot close it

fallen crater
#

Ok. Thank you.

dusk hareBOT
fallen crater
#

For those helping, are you able to reproduce the problem? If not, it could be my environment or something else.

acoustic kettle
#

Yeah, when adding items while the campfire is switched, items are instacooked

#

Also when you add items while the campfire is out and you turn it own, these items insta cook

eternal yoke
#

thiiiss I think is most properly considered a Spigot bug

#

the Spigot API method for campfire items is using the wrong NMS method

#

CampfireBlockEntity#placeFood is the proper NMS method, but Spigot's CraftCampfire#setItem is just violently shoving the item in the raw underlying list, and it doesn't expose any access to the underlying NMS method

opaque basinBOT
#
Changed to Bug

Thread is now a Bug thread. This indicates a core code bug that a developer must resolved, not an error message or other support topic. Please do not misuse the Bug label. Use </helpthread:1028674284870180883> to switch the thread back to a normal help thread if you are not 100% confident it is a code bug.

eternal yoke
#

actually I can workaround this from Denizen side by yoinking the vanilla logic

#

@fallen crater ref #commit-log new build of Denizen has a workaround to fix the instacooking

opaque basinBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please type </resolved:1028673926114594866> to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@fallen crater