This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
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
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.
Oh ok :( Thanks Anyway great plugin. I just wanted to make thin desks more realistic :P
I mean, I'm gonna look into it, I'm just not sure it's possible with half blocks (again, without a major rewrite)
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.