This plugin that I made over a few days adds the ability for you to throw bricks at glass, or even mobs, and people that might have beef with you ;D
It automatically hooks into Lands and WorldGuard, allowing administrators and land owners to prevent people from messing their protected areas up with bricks.
WorldGuard stuff:
Check the bricks-can-break-glass flag on all relevant regions, by default as of now it is set to true, if not defined by the user.
Lands stuff:
Bricks don't break glass in a land claim, if the block-break flag is disabled in the relevant lands.
Config stuff:
Several values can be customised under ThrowableBricks/config.yml
damageFromBrick: Damage when an entity is hit by a brick.
powerDamageMultiplier: The damage multiplier to apply with the Power enchantment.
defaultPickupDelay: How long in ticks until the brick can be picked up again.
minTicksLived: How many ticks need to pass before the brick can hurt entities.
checkDistance: The distance to check for any available entities to damage.
cooldown: How long until a brick can the thrown again.
damageMultipleEntitiesAtOnce: If bricks should hit multiple entities at once.
allowEnchantmentsOnThrowableItem: If bricks can be enchanted with Power, or Punch.
throwMaterial: The item material to use for the brick, by default of course, it's BRICK.
throwSound: The sound to play when the brick is thrown.
smashSound: The sound to play when the brick shatters.
breakableMaterials: A list of materials that the brick will break if they're hit with it.
Demonstrated on my YouTube channel:
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/rEwW0F-VKyk" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe> <iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/iTk7DX1PeXo" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe> <iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/K_31-XF8GE0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>No gallery available for this project.
| Version | Minecraft | Loader | Download |
|---|---|---|---|
|
Throwable Bricks 1.5-SNAPSHOT 1.5-SNAPSHOT |
1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 26.1, 26.1.1, 26.1.2, 26.2
|
paper, spigot
|
Download |
|
Throwable Bricks 1.4-SNAPSHOT 1.4-SNAPSHOT |
1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 26.1, 26.1.1, 26.1.2, 26.2
|
paper, spigot
|
Download |
|
Throwable Bricks 1.3-SNAPSHOT 1.3-SNAPSHOT |
1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 26.1, 26.1.1, 26.1.2
|
paper, spigot
|
Download |
|
Throwable Bricks 1.2-SNAPSHOT 1.2-SNAPSHOT |
1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 26.1, 26.1.1, 26.1.2
|
paper, spigot
|
Download |