[HELP] [SOLVED] Different size between item and ghost form

Hello everyone,

Sorry for my english, i’m french guy

I need some help! I try to make a very simple tree mod, but a strange thing happen, (F11 is activated)
At the left, it’s the ghost form of the tree, and at he right, its the SAME placed item

as you can see, when the tree is placed by my worker, it’s 2 time smaller than the ghost form. I never saw that before, i dont know where is the problem and how is it even possible

I post my small_tree.json and small_tree_ghost.json if someone have a idea

**small_tree.json**

        {
            "mixins": "file(small_tree_ghost.json)",
           "type" : "entity",
            "components": {
                 "stonehearth:entity_forms": {
                    "iconic_form": "file(small_tree_iconic.json)",
                    "ghost_form": "file(small_tree_ghost.json)",
                    "placeable_on_ground": true
                },
                 "region_collision_shape": {
                  "region_from_model": {
                    "model": "file(small_tree.qb)",
                    "matrices": [
                       "trunk"
                    ]
                  }
                }
            },
            "entity_data": {
                "stonehearth:net_worth": {
                    "value_in_gold": 5,
                    "rarity": "common",
                    "shop_info": {
                        "buyable": true,
                        "sellable": true,
                        "shopkeeper_level": 1,
                        "shopkeeper_type": "caravan"
                    }
                }
            }
        }

  
**small_tree_ghost.json**
    {
       "mixins": 
           "stonehearth:mixins:placed_object",
       "components": {
          "render_info": {
             "scale": 1
          },
          "model_variants": {
             "default": {
                "models": [
                   "file(small_tree.qb)"
                ]
             }
          },
          "stonehearth:material": {
             "tags": "wood furniture crafted"
          },
          "mob": {
             "model_origin": { "x": 0, "y": 0, "z": 0 },
             "region_origin": { "x": 0, "y": 0, "z": 0 },
             "allow_vertical_adjacent": true
          }
       },
       "entity_data": {
          "stonehearth:catalog": {
             "display_name": "i18n(furniture_expansion_plus:entities.furniture.small_tree.small_tree_ghost.display_name)",
             "description": "i18n(furniture_expansion_plus:entities.furniture.small_tree.small_tree_ghost.description)",
             "icon": "file(small_tree.png)",
             "category": "decoration"
          }
       }
    }

Someone had this problem before?
Thanks for your help!!

I don’t mod…but wouldn’t this be something to do with the scale?

Yes, for sure, but the scale:1 is for the model small_tree.qb, it’s works for the two “forms” (the entity and the ghost)

Specifying the scale twice will fix your issue.

small_tree.json should look like:

    {
       "mixins": "file(small_tree_ghost.json)",
       "type" : "entity",
        "components": {
           "render_info": {
             "scale": 1
           },

Problem solved! thanks for your help Froggy :slight_smile: