Skip to content

World Block Importer does not break blocks when item drops do not match block #347

@LuminaSapphira

Description

@LuminaSapphira

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.

Image

Steps to reproduce the problem:

  1. Set up a World Block Importer facing Grass, and an Item Interface facing a container on the same logic network.
  2. Use the Logic Programmer to create a variable card containing constant Block of value Grass Block
  3. Insert the variable card into the World Block Importer on the Pick Up Block aspect.
  4. Observe that grass blocks are not broken.
  5. Turn on Silk touch in the aspect config
  6. The Grass Block should now be broken.
  7. Change the variable card value to Dirt, and turn off Silk touch in the aspect config
  8. Replace the grass block
  9. 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Options

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions