CoreNetwork / Mantle

The main plugin powering majority of features on Flatcore
1 stars 1 forks source link

Add custom armor stand recipe #336

Closed riddle closed 9 years ago

riddle commented 9 years ago

Re #334

Allow to craft an advanced armor stand like this:

recipes

Placing those armor stand flavors would add arms, which can then be used to place items in them, for aesthetic purposes. Sticks in those recipes can be mixed – we’re looking at 3 left arm options mixed with 3 right arm options. No idea how many recipes.

Stick placement in recipes will adjust how those arms are added to the entity. This can be done via LeftArm and RightArm rotations (more). Please allow players to rotate Armor Stands by placing them askew just like they can in vanilla game (as in, don’t overwrite all NBT tags, just set those additional ones).

This armor stand would have a golden name (&6)

Fake Nanobot template:

display:
  compound:
    Name: "&6<OriginalName>"
    Lore:
    - '&7Left arm <LeftArmPose>, right arm <RightArmPose>'
    - '&7Can be placed only by subscribers'
    - '&7in land they claimed by them.'
    - '&8Will disappear when unclaimed.'

Poses: up, raised, sideways, lowered, down

An armor stand with a gold colored name can be placed only by a player with mantle.perks.advarmorstand permission and only in their claim (not a claim they have build trust, a claim they made).

When a claim is removed, those custom armor stands should be removed as well. This particular functionality could be added to Core, as it already handles unclaiming and resizing for liquids. Your choice.

riddle commented 9 years ago

Same as for banners, please display messages when unauthorized players try to place them or when subscribers try to place them outside of their claims.

Armor Stands cannot be copied, ofc.

matejdro commented 9 years ago

Done (except for removing from claim). Also added additional recipes like that: 2015-01-17_17 16 47

riddle commented 9 years ago

Bug reports:

  1. Name isn’t golden (&6)
  2. Places with arms pointing in the wrong direction. Arm should point at me placing it.
riddle commented 9 years ago

And there is no indication of arms on the item.

    - '&7Left arm <LeftArmPose>, right arm <RightArmPose>'

Poses: up, raised, side, lowered, down

How do you even know which item is which? Players can’t know, that’s for sure.

riddle commented 9 years ago

screen shot 2015-01-17 at 21 07 53

This sword should be in the right arm, pointing up. Wrong directions for those arms :D

riddle commented 9 years ago

So arms cannot be mixed. Is this intentional? I asked for combinations :)

matejdro commented 9 years ago

All issues you mentioned should be fixed now.

riddle commented 9 years ago

Everything works! Awesome.