Glowstone-Legacy icon indicating copy to clipboard operation
Glowstone-Legacy copied to clipboard

Block placement (stairs, etc.)

Open SpaceManiac opened this issue 10 years ago • 8 comments

BlockTypes representing stairs, slabs, logs, leaves, ladders, and other assorted blocks with facing need to be created to allow these to be placed correctly. The placeBlock function should be overridden to modify the passed BlockState to set data based on the player's facing or the face placed against as needed.

Blocks involved:

  • [x] Torches
  • [ ] Redstone torches
  • [x] Logs
  • [ ] Leaves
  • [x] Slabs
  • [ ] Tall flowers
  • [ ] Pistons
  • [x] Stairs
  • [X] Sign posts and wall signs
  • [x] Doors
  • [ ] Rails
  • [x] Ladders
  • [x] Furnaces
  • [x] Chests / Ender chests
  • [x] Dispensers
  • [x] Droppers
  • [x] Hoppers
  • [x] Levers
  • [x] Buttons
  • [ ] Pumpkins / Jack o'Lanterns
  • [ ] Redstone repeaters / comparators
  • [x] Trap doors
  • [x] Vines
  • [x] Fence gates
  • [ ] Cocoa beans
  • [ ] Tripwire hooks
  • [x] Heads
  • [x] Hay
  • [x] Quartz
  • [x] Beds
  • [ ] Anvils
  • [x] Banners

Edit (turt2live): Issue scope expanded to general placement problems including data not being set (leaves, etc) and not just facing directions.

SpaceManiac avatar Jun 15 '14 05:06 SpaceManiac

Torches are covered in #116 "Redstone support" (yes, both RS and non-RS)

iamgreaser avatar Sep 10 '14 00:09 iamgreaser

Note: Currently torches are client-side blocks. Not sure about other blocks.

turt2live avatar Sep 11 '14 05:09 turt2live

Added beds to main checklist.

turt2live avatar Sep 12 '14 00:09 turt2live

Currently working on a Skull implementation, just FYI.

ZephireNZ avatar Sep 12 '14 12:09 ZephireNZ

@ZephireNZ so are 2 other people, just a heads up.

turt2live avatar Sep 12 '14 12:09 turt2live

Oh, dang. Race to the finish line? :P

ZephireNZ avatar Sep 12 '14 12:09 ZephireNZ

Who are the other two?

ZephireNZ avatar Sep 12 '14 12:09 ZephireNZ

@ZephireNZ I would suggest joining the dev chat on IRC to get access to that board :P

turt2live avatar Sep 12 '14 12:09 turt2live