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
    • Mechanics
  • PushBlock

PushBlock · Changes

Page history
reverted dante authored Oct 23, 2023 by Lxlp's avatar Lxlp
Show whitespace changes
Inline Side-by-side
Showing with 4 additions and 7 deletions
+4 -7
  • skills/mechanics/PushBlock.md skills/mechanics/PushBlock.md +4 -7
  • No files found.
skills/mechanics/PushBlock.md
View page @ c8bc37f2
==============
## Description:
## Description
Pushes the block at the target location in the given direction using piston logic.
Direction can be either cardinal direction or a location targeter. If given a targeter, the block will be pushed once towards that location.
Mechanic follows piston rules and will push other connected slime blocks as well, but only if they're adjacent or in front of the block - it cannot push connected blocks behind the pushed block.
## Attributes:
## Attributes
| Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------|
| direction | dir, d | The direction of the movement. Can also be a Targeter | NORTH |
| onPush | then | The metaskill to execute once the block has been successfully pushed | |
| onFail | | The metaskill to execute if the block failed to be pushed | |
## Direction Attribute:
### Direction Attribute
The direction attribute can either be a `named direction` or a `targeter`
### Named Direction
......@@ -37,7 +34,7 @@ You can also use a targeter in as the attribute value's, like the following
```
## Examples:
## Examples
```yaml
Skills:
- pushblock{dir=@Forward{f=1}} @ForwardWall{f=5;y=1;h=2;w=2}
......
Clone repository
Home
Changelogs
Premium Features
Commands and Permissions
FAQ / Common Issues
Mythic Add-ons
Compatible Plugins
API Information
Packs
Mobs
  • Mob Options
    • Display Options
  • Mob Levels
  • Mob Factions
  • Power Scaling
  • Damage Modifiers
  • Equipment
  • BossBar
  • Custom AI
  • Custom Kill Messages
  • Threat Tables
  • Immunity Tables
  • Templates
  • Vanilla Overrides
  • 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
Stats
  • Custom Stat Options
  • Modifiers
  • Built in Stats
Examples
Useful Tips