#block not appearing in game

1 messages · Page 1 of 1 (latest)

wanton shadow
#
{
  "format_version": "1.19.20",
  "minecraft:block": {
    "description": {
      "identifier": "do:kportal"
    },
    "components": {
      "minecraft:material_instances": {
        "*": {
          "texture": "portal.png",
          "render_method": "blend"
        }
      },
      "minecraft:collision_box": false,
      "minecraft:block_light_filter": 0,
      "minecraft:light_emission": 1,
      "minecraft:loot": "loot_tables/empty.json",
      "minecraft:destructible_by_mining": false,
      "minecraft:destructible_by_explosion": false
    },
    "events": {}
  }
}
#

the block id is not in game

#

i cant give it to player

#

whats wrong

sage rockBOT
#
Critical error:

Unsupported language: json

simple meteor
#

texture should not include .png (unless specified in terrain_textures.json)

And I don't think the collision box supports boolean, try removing that

wanton shadow
#

the problem was because the coding app

#

The codes was not saving

#

I fixed it

#

And thx for ur support

simple meteor
#

👍

wanton shadow
#

@simple meteor

#

When I created more blockes

#

The texture isn’t loading

simple meteor
#

Have you made the texture shortname in terrain_textures.json yet?

wanton shadow
#

Yes I removed .png

simple meteor
#

let me see the inside then

wanton shadow
#

Oh wait

#

The terrain_texture

#

has the wrong texture name

#

Because I changed it manually

#

only portall2 texture loaded

simple meteor
#

so did you manage to fix the problem?

wanton shadow
#

yes

#

because i need 3 different blocks

#

@simple meteor
do u have any idea?

simple meteor
#

what idea

wanton shadow
#

about the problem

#

whats wrong

simple meteor
#

Did you change the block texture yet

#

and is the block animated?

wanton shadow
wanton shadow
simple meteor
#

Before, it was portal.png

#

is it changed to do_portal1 yet?

wanton shadow
#

in terrain_texture

#

?

#
{
    "num_mip_levels": 4,
    "padding": 8,
    "resource_pack_name": "Drop Others",
    "texture_name": "atlas.terrain",
    "texture_data": {
        "do_bomb": {
            "textures": "textures/blocks/dragon_fireball"
        },
        "do_portall1": {
            "textures": "textures/blocks/portal1"
        },
        "do_portall2": {
            "textures": "textures/blocks/portal2"
        },
        "do_portall3": {
            "textures": "textures/blocks/portal3"
        }
    }
}
#

this is terrain_texture.json