mojira.dev

Alann Jhovani Navarro Pintor

Assigned

No issues.

Reported

MCPE-178921 The structure blocks do not display custom blocks. Incomplete MCPE-177944 Unbreaking doesn't work on custom tools. Incomplete MCPE-172439 Custom armor duplication in the creative inventory Duplicate MCPE-171097 Error in custom block shadows. Awaiting Response MCPE-142046 World generation point at 0 Incomplete MCPE-135038 The Wither is not invoked under Y 0 Duplicate MCPE-126902 Player's head wrong in emotes Fixed MCPE-126799 Trident clips through blocks when thrown at a pointed dripstone Confirmed MCPE-126797 Lava and water error under coordinate 0 Duplicate MCPE-125266 No sound when walking in negative layers Duplicate MCPE-118333 Not being able to place the lightning rod after doing the next Duplicate MCPE-116256 Leaf blocks surrounded by full blocks lose transparency when a lightning rod is placed on top Fixed MCPE-116106 Lightning error in beta Incomplete

Comments

To create a custom block, we have certain codes that can be used. One of them is "minecraft:unit_cube": {}, which sets the block as a cubic block without a custom 3D model. This means that the block will be represented as a simple cube in the game, without any additional details or custom geometry. This code is useful when an elaborate 3D model is not required for the block.

When this code is removed and the "minecraft:geometry" code is not present either, the block will be displayed in the same way as a glass block. This makes the block become invisible if it is covered by blocks of the same type. This is particularly useful for creating custom glass blocks, as the faces covered by other blocks of the same type will not be visible. However, the problem arises when configuring a block in this way: the "minecraft:block_light_absorption" code, set to 0, stops working, and the block generates shadows despite being transparent.

However, if the "minecraft:geometry" or "minecraft:unit_cube" codes are added, the block will no longer cast shadows. This indicates that the "minecraft:block_light_absorption" code, set to 0, is functioning perfectly. The bug lies in its inability to work independently of both codes, resulting in these peculiar shadows for connected transparent blocks, as shown in the image.

Could you please attach an example add-on that can be used to reproduce the issue to your report? This will help us investigate and address the problem more effectively.

{
  "format_version": "1.16.100",
  "minecraft:block": {
    "description": {
      "identifier": "daz:example1"
    },    "components": {
      "tag:glass": {},
      "minecraft:block_light_absorption": 0,  // It doesn't work.       "minecraft:loot": "loot_tables/empy",
      "minecraft:destroy_time": 0.3,
      "minecraft:friction": 0.6,
      "minecraft:creative_category": {
        "category": "construction",
        "group": "itemGroup.name.glass"
      },
      "minecraft:flammable": {
        "flame_odds": 0,
        "burn_odds": 0
      },
      "minecraft:block_light_emission": 0.0,
      "minecraft:material_instances" : {
        "*": {
          "texture": "glass",
          "render_method": "blend"
        }
      }
    }
  }
}
{
  "format_version": "1.16.100",
  "minecraft:block": {
    "description": {
      "identifier": "daz:example2"
    },    "components": {
      "tag:glass": {},
      "minecraft:block_light_absorption": 0, // It works
      "minecraft:loot": "loot_tables/empy",
      "minecraft:destroy_time": 0.3,
      "minecraft:friction": 0.6,
      "minecraft:creative_category": {
        "category": "construction",
        "group": "itemGroup.name.glass"
      },
      "minecraft:flammable": {
        "flame_odds": 0,
        "burn_odds": 0
      },
      "minecraft:block_light_emission": 0.0,
      "minecraft:unit_cube": {}, //  This code is what prevents the faces from becoming invisible. When it is removed, the error occurs.
      "minecraft:material_instances" : {
        "*": {
          "texture": "soul_glass",
          "render_method": "blend"
        }
      }
    }
  }
}

 

It's very likely to be your device's fault or some app, I doubt Mojang will consider this a bug 

I have a texture to remove the letters above the beta

It's one of the worst bugs and the most annoying