Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yancey2023/commandfallingblock
A fabric mod to summon falling block
https://github.com/yancey2023/commandfallingblock
fabricmc minecraft minecraft-mod
Last synced: 7 days ago
JSON representation
A fabric mod to summon falling block
- Host: GitHub
- URL: https://github.com/yancey2023/commandfallingblock
- Owner: Yancey2023
- License: gpl-3.0
- Created: 2023-07-28T13:39:33.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-05T04:43:33.000Z (11 days ago)
- Last Synced: 2024-11-05T05:27:06.939Z (10 days ago)
- Topics: fabricmc, minecraft, minecraft-mod
- Language: Java
- Homepage:
- Size: 210 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
English | [简体中文](README_CN.md)
# CommandFallingBlock
## Description
CommandFallingBlock, a fabric mod in minecraft, adds `fallingblock` command to summon falling block conveniently.
supported minecraft versions: `1.16.5`, `1.18.2`, `1.20.*`, `1.21`, `1.21.1`, `1.21.2`, `1.21.3`
## How to use
#### commands
- `fallingblock moveFromPos [age]`
`fallingblock moveFromBlockPos [age]`
like the vanilla, move from a position- `fallingblock moveFromPosByTick [age]`
`fallingblock moveFromBlockPosByTick [age]`
move from a position, you can control how many ticks it becomes a block- `fallingblock moveToPosByTick [age]`
`fallingblock moveToBlockPosByTick [age]`
move to a position, you can control how many ticks it becomes a block- `fallingblock moveToPosByYMove [age]`
`fallingblock moveToBlockPosByYMove [age]`
move to a position, you can control the y-axis movement distance, which is biased when it has gravity- `fallingblock moveFromPosToPosByMotionY [age]`
`fallingblock moveFromBlockPosToBlockPosByMotionY [age]`
move from a position, you can control the y-axis initial speed, it must have gravity, the initial position is biased- `fallingblock moveFromPosToPosByTick [age]`
`fallingblock moveFromBlockPosToBlockPosByTick [age]`
move from a position to another position, you can control how many ticks it becomes a block, it must have gravity, the
initial position is biased#### param
- `posStart` - start position
- `posEnd` - target position
- `motion` - initial speed
- `motionY` - the y-axis initial speed
- `yMove` - the y-axis movement distance
- `hasGravity` - if it has gravity
- `tickMove` - how many ticks it becomes a block
- `block` - block
- `age` - max tick it can live
## About
Author:Yancey
QQ:1709185482
Github: https://github.com/Yancey2023/CommandFallingBlock## FAQ
- **What about if it crashes an obstacle?**
It will pass through obstacles directly. You don't need to worry about it.- **What about if the destination is not on the ground?**
It will also become block.- **Will the falling block of this mod conflict with the vanilla or other mods?**
To avoid it, I add an entity type for the falling block of this mod- **Will the performance become worse?**
If the input is the destination, the starting position needs to be obtained by simulating the path. Theoretically, the
performance will be worse than using the summon command directly, but after testing, it will not cause stuttering