-
-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Issue type:
- 🐛 Bug
Short description:
When using the World Block Importer, even when using the block typed aspects (incl predicate), the block is only broken/imported when the expected item matches the block.
This is noticeable in cases such as Grass Block, which will break when the block aspect is set to constant Dirt.
Steps to reproduce the problem:
- Set up a World Block Importer facing Grass, and an Item Interface facing a container on the same logic network.
- Use the Logic Programmer to create a variable card containing constant Block of value Grass Block
- Insert the variable card into the World Block Importer on the Pick Up Block aspect.
- Observe that grass blocks are not broken.
- Turn on Silk touch in the aspect config
- The Grass Block should now be broken.
- Change the variable card value to Dirt, and turn off Silk touch in the aspect config
- Replace the grass block
- Observe that the grass block is still broken.
Using more complex logic, such as keeping a string block ID constant and some operator application with it in the predicate aspect will also fail.
Expected behaviour:
The Block-typed aspects on the World Block Importer would reference the placed block in the world with no regard to any related items when determining if the block should be imported.
Versions:
- This mod: 1.8.44
- Minecraft: 1.21.1
- Mod loader version: NeoForge 21.1.206