Bug Open

You can get furniture from any item by renaming it

#5352 opened by Unknown 1 year ago

Unknownreported this bug
Unknowncommented

[Legacy attachment omitted]

paper_2:
  Type: FURNITURE
  Id: PAPER
  Lore:
    - '&9Декорация'
  Furniture:
    Type: DISPLAY
    Material: PAPER
    Health: 1
    DropSelf: true
    Placement: ANY
    Diagonalable: true
    CanRotate: false

plushie:
  Template: paper_2
  Exclude:
  - Lore
  Lore:
    - '&9Игрушка'
  Furniture:
    Hitbox:
      Height: 0.7
      Width: 0.6
  FurnitureSkills:
  - skill{s=[
    - sound{s=block.wool.place} @self
    - playanimation{a=0;audience=World} @trigger
    ]} ~onBlockPlace
  - sound{s=block.wool.break} @self ~onBlockBreak
  - sound{s=block.wool.break} @self ~onDamaged

rei_plushie:
  Template: plushie
  Display: Плюшевая Рей
  Model: 383
  Furniture:
    Model: 383
Unknowncommented

Current Purpur Version: 1.21.1-2296-568a028 (MC: 1.21.1)*
MythicCrucible version 2.1.0-SNAPSHOT
MythicMobs version 5.7.2-SNAPSHOT-8072fa10

Unknowncommented

Works with anvil rename too

Unknowncommented

Closing due to age and inactivity. Re-open with modern server log, example config and steps to reproduce if this issue is still present on modern versions.

Unknowncommented

You probably should fix bug first, then close it eh? Bug still persists.

This server is running Leaf version 1.21.4-498-ver/1.21.4@65fe23b
MythicMobs version 5.9.1-SNAPSHOT-b41c47e6
MythicCrucible version 2.2.0-SNAPSHOT

Steps to reproduce

  1. Create any furniture item
  2. Give it display and any material
  3. Rename said material to item's display
  4. Place it
    Wow! You got furniture out of nowhere!

Example config

plushie:
  Template: paper_2
  Exclude:
  - Lore
  Lore:
    - '&9Игрушка'
  Furniture:
    Hitbox:
      Height: 0.7
      Width: 0.6
  FurnitureSkills:
  - skill{s=[
    - sound{s=block.wool.place} @self
    - playanimation{a=0;audience=World} @trigger
    ]} ~onBlockPlace
  - sound{s=block.wool.break} @self ~onBlockBreak
  - sound{s=block.wool.break} @self ~onDamaged

szarkan_plushie:
  Template: plushie
  Display: Плюшевый Szarkan
  Options:
    ItemModel: "plushies:szarkan_plushie"
  Furniture:
    Model: "plushies:szarkan_plushie"
Sign in to join the discussion.