Discuss Minecraft Add-Ons and how they change or expand gameplay, worlds, mobs, items, and more. If you'd like to see an existing mod come to Bedrock, please contact its creator and encourage them to explore the Add-On API (http://aka.ms/minecraftaddons). Requests for specific mods, feature lists, bugs, and support issues will be removed. Marketplace Category is best for mashup and copyrighted content requests.

1

Allow custom block entities to have own tile entity ids (Bedrock)

1 Comments

Post a new comment:

Please sign in to leave a comment.

Sorted by oldest
  • 1
    Registered User commented
    Comment actions Permalink

    There could also be another field called runtime_identifer where the data driven block entity takes the hardcoded properties of a vanilla block entity.

    For example, this gives a data driven block entity hardcoded block entity properties of a chest, but the block entity id remains as DataDriven:

    "minecraft:block_entity": {
    "dynamic_properties": true,
    "runtime_identifer:": "Chest"
    }

    There could be another field called use_runtime_id_as_savegame_id, where if true, the block entity id is set to the hardcoded identifier. In this example, that id would be set to Chest instead of DataDriven. Note that field should only usable if runtime_identifier is present and the savegame_id field is not also present at the same time.

    "minecraft:block_entity": {
    "dynamic_properties": true,
    "runtime_identifer:": "Chest"
    "use_runtime_id_as_savegame_id": true
    }

    Example:

    This would give a data driven block entity the hardcoded properties of the vanilla block entity Cauldron, while setting its block entity savegame id to CustomCauldron:

    "minecraft:block_entity": {
    "dynamic_properties": true,
    "runtime_identifer:": "Cauldron"
    "savegame_id": "CustomCauldron"
    }