Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 137
    • Issues 137
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Wiki
    • Skills
    • Conditions
  • onblock

onblock · Changes

Page history
updated layout and informations authored 1 year ago by Lxlp's avatar Lxlp
Hide whitespace changes
Inline Side-by-side
Showing with 15 additions and 30 deletions
+15 -30
  • Skills/conditions/onblock.md Skills/conditions/onblock.md +15 -30
  • No files found.
Skills/conditions/onblock.md
View page @ 4f55a786
**Description:** Matches the block the target entity is standing on
## Description
Matches the block the target entity is standing on.
A list of available materials can be found on the [Spigot Javadoc].(https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html)
**Type:** Location
---
## Attributes
**Attributes:**
| Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------|
| material | m, type, block, b | A list of materials. The condition will match if one is found| STONE |
| Attribute | Alias | Description |
| --------- | ----- | ------------------- |
| material | m | A list of materials |
---
Valid for any Bukkit material type.
https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
---
**Examples:**
```
TargetConditions:
- onblock{m=BEDROCK,OAK_LEAVES,ACACIA_FENCE} false
## Examples
```yaml
TargetConditions:
- onblock{m=BEDROCK,OAK_LEAVES,ACACIA_FENCE} false
```
```
TargetConditions:
- onblock{m=DIRT,STONE,GRAVEL} true
```
---
**Extra Information:**
- [x] Type: Location
\ No newline at end of file
```yaml
TargetConditions:
- onblock{m=DIRT,STONE,GRAVEL} true
```
\ No newline at end of file
Clone repository
Home
Changelogs
Premium Features
Commands and Permissions
FAQ / Common Issues
Mythic Add-ons
Compatible Plugins
API Information
Packs
Mobs
  • Mob Options
  • Mob Levels
  • Mob Factions
  • Power Scaling
  • Damage Modifiers
  • Equipment
  • BossBar
  • Custom AI
  • Custom Kill Messages
  • Threat Tables
  • Immunity Tables
  • Templates
  • Extra: Disguises
  • Extra: ModelEngine
Skills
  • Mechanics
  • Effects
  • Targeters
    • Filters
  • Triggers
  • Conditions
    • In-line conditions
  • Metaskills
  • Placeholders
  • Variables
  • Math
Items
  • Options
  • Attributes
  • Enchantments
  • Potions
  • Banner Layers
  • Firework
Drops & DropTables
  • Drop Types
Spawning
  • Spawners
  • Random Spawns
Examples