Wooden Slabs #35


  • New
  • Defect
Open
Assigned to _ForgeUser8345480
  • _ForgeUser9289611 created this issue Jul 28, 2012

    I want to make that wooden slabs will break if You will fall on them from enough distance.
    This is my code.

      SLAB:
        Types:
          '126':   <--- It's ID of wood slab
            BreakType:
              Hitting:
                Player:
                  Enabled: false
                  HitsTaken: 1
                  ItemsEnabled:
                  - STONE_TOOLS
              Falling:
                Player: true
                Mob: true
              Sprinting:
                Player: false
              Projectile:
                Arrow:
                  Player: false
                  Mob: false
                  Dispenser: false
                Guns+: false
            SetType:
              Material: AIR
              DataValue: 0
            Ranges:
              MinimumFallDistance: 15
              MaxBlocksBroken: 2
            Regeneration:
              Enabled: true
              Chance: 100
              TimeBeforeRegenStarts: 60
            AssociatedBlocks:
            - NONE
            DropsBlocks: false
    
  • _ForgeUser9289611 added the tags New Defect Jul 28, 2012
  • _ForgeUser8345480 posted a comment Jul 28, 2012

    Alright, so I tested everything out, and it doesn't work (as you know, lol). Although setting the item name and id all checks out and is working fine, there is something wrong with Slabs. I use a lot of code that calls for getting the location of a block, and I'm not sure how all that works for Slabs, since it only occupies half a block.

    I'll see if I can get this to work, but if it's going to call for a massive rewrite I'm just going to have to say that slabs aren't supported.

  • _ForgeUser9289611 posted a comment Jul 28, 2012

    Oh ok :( Thanks Anyway great plugin. I just wanted to make thin desks more realistic :P

  • _ForgeUser8345480 posted a comment Jul 28, 2012

    I mean, I'm gonna look into it, I'm just not sure it's possible with half blocks (again, without a major rewrite)

  • _ForgeUser9289611 posted a comment Jul 29, 2012

    I understood your previous post very good :p
    I just wanted to thanks You for that You will chec k if it's possible.


To post a comment, please login or register a new account.