RRandomStuff
- RRandomStuff
- JIRAUSER780586
- Europe/Stockholm
- Yes
- No
{ }
Steps to Reproduce:
Create Advancementusing the following and right-click on dirt with a Hoe.Steps to Reproduce :
Create Advancement using the following and right-click on dirt with a Hoe.
{ "display": { "icon": { "id": "minecraft:iron_hoe" }, "title": "Tilled Dirt", "description": "" }, "criteria": { "a": { "trigger": "minecraft:item_used_on_block", "conditions": { "location": [ { "condition": "minecraft:location_check", "predicate": { "block": { "blocks": "minecraft:dirt" } } }, { "condition": "minecraft:match_tool", "predicate": { "items": "#minecraft:hoes" } } ] } } } }{ } Expected Results :
{ }The Advancement should trigger
Steps to Reproduce:
Create Advancement using the following and right-click on dirt with a Hoe.
{ "display": { "icon": { "id": "minecraft:iron_hoe" }, "title": "Tilled Dirt", "description": "" }, "criteria": { "a": { "trigger": "minecraft:item_used_on_block", "conditions": { "location": [ { "condition": "minecraft:location_check", "predicate": { "block": { "blocks": "minecraft:dirt" } } }, { "condition": "minecraft:match_tool", "predicate": { "items": "#minecraft:hoes" } } ] } } } }
{}Expected Results:{}The Advancement should triggerSteps to Reproduce:
Create Advancement using the following and right-click on dirt with a Hoe.
{{{}}
"display": {
"icon": {
"id": "minecraft:iron_hoe"
},
"title": "Tilled Dirt",
"description": ""
},
"criteria": {
"a": {
"trigger": "minecraft:item_used_on_block",
"conditions": {
"location": [
{
"condition": "minecraft:location_check",
"predicate": {
"block": {
"blocks": "minecraft:dirt"
{{ }}}
{{ }}}
},
{
"condition": "minecraft:match_tool",
"predicate": {
"items": "#minecraft:hoes"
{{ }}}
{{ }}}
]
{{ }}}
{{ }}}
{{ }}}
}
Expected Results:
The Advancement should trigger
Steps to Reproduce:
Create Advancement using the following and right-click on dirt with a Hoe.
{{{}}
"display": {
"icon": {
"id": "minecraft:iron_hoe"
},
"title": "Tilled Dirt",
"description": ""
},
"criteria": {
"a": {
"trigger": "minecraft:item_used_on_block",
"conditions": {
"location": [
{
"condition": "minecraft:location_check",
"predicate": {
"block": {
"blocks": "minecraft:dirt"
{{ }}}
{{ }}}
},
{
"condition": "minecraft:match_tool",
"predicate": {
"items": "#minecraft:hoes"
{{ }}}
{{ }}}
]
{{ }}}
{{ }}}
{{ }}}}
Expected Results:
The Advancement should triggerSteps to Reproduce :
{ "blocks": "minecraft:dirt" }
Create Advancement using the following and right-click on dirt with a Hoe.
"criteria": {
"a": {
"trigger": "minecraft:item_used_on_block",
"conditions": {
"location": [
{
"condition": "minecraft:location_check",
"predicate": {
"block":}
{ "items": "#minecraft:hoes" }
},
{
"condition": "minecraft:match_tool",
"predicate":}
]
}
}
}Observed Results:
Nothing occurs.
Expected Results:
The Advancement should trigger, like when you do the same setup but swap `minecraft:dirt` in blocks to `minecraft:oak_log` and `#minecraft:hoes` to `#minecraft:axes`.
Steps to Reproduce:
{
Create Advancement using the following and right-click on dirt with a Hoe.
"criteria": {
"a": {
"trigger": "minecraft:item_used_on_block",
"conditions": {
"location": [
{
"condition": "minecraft:location_check",
"predicate": {
"block":"blocks": "minecraft:dirt"}}
{
},
{
"condition": "minecraft:match_tool",
"predicate":"items": "#minecraft:hoes"}}
]
}
}
}Observed Results:
Nothing occurs.
Expected Results:
The Advancement should trigger,like when you do the same setup but swap `minecraft:dirt` in blocksto `minecraft:oak_log` and`#minecraft:hoes`to `#minecraft:axes`.Steps to Reproduce:
{ "blocks": "minecraft:dirt" }
Create Advancement using the following and right-click on dirt with a Hoe.
"criteria": {
"a": {
"trigger": "minecraft:item_used_on_block",
"conditions": {
"location": [
{
"condition": "minecraft:location_check",
"predicate": {
"block":}
{ "items": "#minecraft:hoes" }
},
{
"condition": "minecraft:match_tool",
"predicate":}
]
}
}
}Observed Results:
Nothing occurs.
Expected Results:
The Advancement should trigger, similar to when the blocks location_check is set to `minecraft:oak_log` and match_tool is set to `#minecraft:axes`.
Steps to Reproduce:
{ "blocks": "minecraft:dirt" }
Create Advancement using the following and right-click on dirt with a Hoe.
"criteria": {
"a": {
"trigger": "minecraft:item_used_on_block",
"conditions": {
"location": [
{
"condition": "minecraft:location_check",
"predicate": {
"block":}
{ "items": "#minecraft:hoes" }
},
{
"condition": "minecraft:match_tool",
"predicate":}
]
}
}
}Observed Results:
Nothing occurs.
Expected Results:
The Advancement should trigger, similar to when the blockslocation_check is set to `minecraft:oak_log` and match_tool is set to `#minecraft:axes`.Steps to Reproduce:
{ "blocks": "minecraft:dirt" }
Create Advancement using the following and right-click on dirt with a Hoe.
"criteria": {
"a": {
"trigger": "minecraft:item_used_on_block",
"conditions": {
"location": [
{
"condition": "minecraft:location_check",
"predicate": {
"block":}
{ "items": "#minecraft:hoes" }
},
{
"condition": "minecraft:match_tool",
"predicate":}
]
}
}
}Observed Results:
Nothing occurs.
Expected Results:
The Advancement should trigger, similar to when the blocks location_check is set to minecraft:oak_log and match_tool is set to #minecraft:axes.
Removing the requirement for Silk Touch on the BeeNest orHive loottablebut keeping thecopy componentfunctions allows you to mine the blocks and get a block entity with the bees inside, except the bees will immediately spawn outside of the block and become hostile.Attached the loot tables and a video example.
Using a Data-pack (example included in the attachments), you can remove the Silk Touch requirement from a bee nest or beehives loot-table, allowing you to copy the components of the blocks state—including the bees inside—without a tool with Silk Touch. However, the block will drop with the bee data components saved, but still spawn the bees when the block breaks, resulting in angry bees and a block with extra bees inside.
Steps to Reproduce:
1. Apply the datapack supplied into a world.
2. Mine a beehive or bee nest without any tool.Observed Results
The bees inside the block will spawn, but the block will still drop containing the bee component data.Expected Results
The block would drop with the bee component data, and no bees should spawn.
The 'copy_components' function for bee nests/hives without SilkTouchmakes Bees hostileBee nests and hives spawn bees despite removing the silk touch requirement in loot-tables
Updated bug report with a better explanation and more accurate title