<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sat Jan 11 08:26:17 UTC 2025

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Mojang Studios Jira</title>
    <link>https://bugs.mojang.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en</language>    <build-info>
        <version>9.12.2</version>
        <build-number>9120002</build-number>
        <build-date>10-01-2024</build-date>
    </build-info>


<item>
            <title>[BDS-19626] Await Script API not functioning as expected</title>
                <link>https://bugs.mojang.com/browse/BDS-19626</link>
                <project id="11700" key="BDS">Bedrock Dedicated Server</project>
                    <description>&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
await player.runCommandAsync(`clear @s[hasitem={item=bedrock,quantity=64..}] bedrock 0 64`)&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Command above works when typed in game yet using it within my behaviour pack it does not? nor does it even return in chat or console.&lt;br/&gt;
I&apos;d found similar code from another script as I went digging after I couldn&apos;t get my own to work and same issue arises?&lt;br/&gt;
&#160;&lt;br/&gt;
Bigger snippet here&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
form.show(player).then(async r =&amp;gt; {
&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (r.selection == 0) {
&lt;span class=&quot;code-keyword&quot;&gt;try&lt;/span&gt; {
await player.runCommandAsync(`clear @s[hasitem={item=brick_block,quantity=1..}] brick_block 0 1`)
world.sendMessage(&lt;span class=&quot;code-quote&quot;&gt;&quot;Removed 1 brick_block from your inventory&quot;&lt;/span&gt;)
}
&lt;span class=&quot;code-keyword&quot;&gt;catch&lt;/span&gt; (error)
{
world.sendMessage(&lt;span class=&quot;code-quote&quot;&gt;&quot;You have no more brick_block to remove from your inventory&quot;&lt;/span&gt;)
}&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;br/&gt;
&#160;&lt;br/&gt;
&#160;&lt;br/&gt;
&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="566745">BDS-19626</key>
            <summary>Await Script API not functioning as expected</summary>
                <type id="1" iconUrl="https://bugs.mojang.com/secure/viewavatar?size=xsmall&amp;avatarId=18903&amp;avatarType=issuetype">Bug</type>
                                    <status id="5" iconUrl="https://bugs.mojang.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="10001">Awaiting Response</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="LittleRAT">LittleRAT</reporter>
                        <labels>
                    </labels>
                <created>Sun, 18 Aug 2024 05:49:00 +0200</created>
                <updated>Mon, 19 Aug 2024 10:16:27 +0200</updated>
                            <resolved>Mon, 19 Aug 2024 10:16:27 +0200</resolved>
                                    <version>1.21.21</version>
                                                            <votes>0</votes>
                                    <watches>0</watches>
                                                                            <comments>
                            <comment id="1348966" author="JIRAUSER788919" created="Mon, 19 Aug 2024 10:16:27 +0200"  >&lt;p&gt;Hi,&lt;br/&gt;
&lt;em&gt;We do not have enough information to reproduce this issue.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Please include the following information to help us understand your problem:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;b&gt;Steps to Reproduce:&lt;/b&gt;&lt;br/&gt;
1. &lt;em&gt;(Explain what needs to be done for the issue to happen)&lt;/em&gt;&lt;br/&gt;
2.&lt;br/&gt;
3.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Observed Results:&lt;/b&gt;&lt;br/&gt;
&lt;em&gt;(Briefly describe what happens)&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Expected Results:&lt;/b&gt;&lt;br/&gt;
&lt;em&gt;(Briefly describe what should happen)&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Please also attach any needed commands, datapacks, resourcepacks, screenshots, videos, or worlds needed to help reproduce this issue.&lt;/p&gt;

&lt;p&gt;Refer to the &lt;a href=&quot;https://aka.ms/MCBugTrackerHelp&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;b&gt;Bug Tracker Guidelines&lt;/b&gt;&lt;/a&gt; for more information about how to write helpful bug reports. Bug reports with insufficient information may be closed as &lt;b&gt;Incomplete&lt;/b&gt;.&lt;/p&gt;

&lt;p&gt;&lt;sub&gt;This issue is being temporarily resolved as &lt;font color=&quot;#d04437&quot;&gt;&lt;b&gt;Awaiting Response&lt;/b&gt;&lt;/font&gt;. Once the requested information has been delivered, the report will be reopened automatically.&lt;/sub&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Quick Links&lt;/b&gt;:&lt;br/&gt;
&#128211; &lt;a href=&quot;https://aka.ms/MCBugTrackerHelp&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Bug Tracker Guidelines&lt;/a&gt; &amp;#8211; &#128231; &lt;a href=&quot;https://aka.ms/Minecraft-Support&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Mojang Support (Technical Issues)&lt;/a&gt; &amp;#8211; &#128231; &lt;a href=&quot;https://support.xbox.com/contact-us/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Microsoft Support (Account Issues)&lt;/a&gt;&lt;br/&gt;
&#128211; &lt;a href=&quot;https://bugs.mojang.com/projects/BDS/summary&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;Project Summary&lt;/a&gt; &amp;#8211; &#9997;&#65039; &lt;a href=&quot;https://aka.ms/MinecraftFeedbackDiscord&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Feedback and Suggestions&lt;/a&gt; &amp;#8211; &#128214; &lt;a href=&quot;https://minecraft.wiki/w/Bedrock_Dedicated_Server&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;BDS Wiki&lt;/a&gt; &amp;#8211; &#128214; &lt;a href=&quot;https://help.minecraft.net/hc/en-us/articles/360035131651-Dedicated-Servers-for-Minecraft-on-Bedrock-&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;FAQs&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1348479" author="jarl-penguin" created="Sun, 18 Aug 2024 08:52:35 +0200"  >&lt;div class=&quot;panel&quot; style=&quot;border-color: orange;border-width: 1px;&quot;&gt;&lt;div class=&quot;panelContent&quot;&gt;
&lt;p&gt;&lt;img class=&quot;emoticon&quot; src=&quot;https://bugs.mojang.com/images/icons/emoticons/warning.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt; Please do not mark issues as &lt;em&gt;private&lt;/em&gt;, unless your bug report is an exploit or contains personal information/information about your username or server.&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10500" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Confirmation Status</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Unconfirmed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12700" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Description</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>[Briefly describe the bug here]&lt;br/&gt;
&lt;br/&gt;
*Steps to Reproduce:*&lt;br/&gt;
# [Step 1]&lt;br/&gt;
# [Step 2]&lt;br/&gt;
# [Step 3]&lt;br/&gt;
&lt;br/&gt;
*Observed Results:*&lt;br/&gt;
[Describe what happens]&lt;br/&gt;
&lt;br/&gt;
*Expected Results:*&lt;br/&gt;
[Describe what should happen]&lt;br/&gt;
&lt;br/&gt;
*Screenshots/Videos attached:* [please attach an image or short video]&lt;br/&gt;
&lt;br/&gt;
*Notes:*</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11700" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_11100" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Linked</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i2j0gv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>