Skip to content

Commit 4e94eb7

Browse files
committed
Trials/1.0.6: Minecraft 1.20.1, Forge 47.3.22.
Signed-off-by: 秋雨落 <i@rain.cx>
1 parent 1345853 commit 4e94eb7

File tree

2 files changed

+24
-36
lines changed

2 files changed

+24
-36
lines changed

README.md

Lines changed: 20 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,44 @@
11
# Arclight
22

3-
A Bukkit server implementation utilizing Mixin.
3+
A Bukkit server implementation on common mod loaders.
44

55
![Downloads](https://img.shields.io/github/downloads/IzzelAliz/Arclight/total?style=flat-square) ![GitHub](https://img.shields.io/github/license/IzzelAliz/Arclight?style=flat-square)
66

7-
| Release | Forge | Status | Build |
8-
|:--------------------:|:-------:|:------:|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|
9-
| Trials (1.20-1.20.1) | 47.2.0 | ACTIVE | [![1.19.4 Status](https://img.shields.io/github/actions/workflow/status/IzzelAliz/Arclight/gradle.yml?branch=Trials&style=flat-square)](https://github.com/IzzelAliz/Arclight/actions?query=branch%3ATrials) |
10-
| Executions (1.19.4) | 45.1.0 | LTS | [![1.19.4 Status](https://img.shields.io/github/actions/workflow/status/IzzelAliz/Arclight/gradle.yml?branch=Executions&style=flat-square)](https://github.com/IzzelAliz/Arclight/actions?query=branch%3AExecutions) |
11-
| 1.18.x | 40.1.80 | LTS | [![1.18 Status](https://img.shields.io/github/actions/workflow/status/IzzelAliz/Arclight/gradle.yml?branch=1.18&style=flat-square)](https://ci.appveyor.com/project/IzzelAliz/arclight-18) |
12-
| 1.16.x | 36.2.39 | LTS | [![1.16 Status](https://img.shields.io/github/actions/workflow/status/IzzelAliz/Arclight/gradle.yml?branch=1.16&style=flat-square)](https://ci.appveyor.com/project/IzzelAliz/arclight-16) |
13-
14-
**Legacy versions**:
15-
16-
<details>
17-
18-
| Release | Forge | Status | Build |
19-
|:-------:|:-------:|:----------------------------------------------------------------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------:|
20-
| Great Horn (1.19.3) | 44.1.22 | [LEGACY](https://github.com/IzzelAliz/Arclight/releases/tag/GreatHorn/1.0.3) | [![1.19 Status](https://img.shields.io/github/actions/workflow/status/IzzelAliz/Arclight/gradle.yml?branch=GreatHorn&style=flat-square)](https://ci.appveyor.com/project/IzzelAliz/arclight-19) |
21-
| Horn (1.19-1.19.2) | 43.2.11 | [LEGACY](https://github.com/IzzelAliz/Arclight/releases/tag/horn/1.0.2) | [![Horn Status](https://img.shields.io/appveyor/build/IzzelAliz/arclight-19?style=flat-square)](https://ci.appveyor.com/project/IzzelAliz/arclight-19) |
22-
| 1.17.x | 37.1.0 | [LEGACY](https://github.com/IzzelAliz/Arclight/releases/tag/1.17/1.0.2) | [![1.17 Status](https://img.shields.io/appveyor/build/IzzelAliz/arclight-17?style=flat-square)](https://ci.appveyor.com/project/IzzelAliz/arclight-17) |
23-
| 1.15.x | 31.2.48 | [LEGACY](https://github.com/IzzelAliz/Arclight/releases/tag/1.15/1.0.19) | [![1.15 Status](https://img.shields.io/appveyor/build/IzzelAliz/arclight-15?style=flat-square)](https://ci.appveyor.com/project/IzzelAliz/arclight-15) |
24-
| 1.14.x | 28.2.0 | [LEGACY](https://github.com/IzzelAliz/Arclight/releases/tag/1.0.6) | [![1.14 Status](https://img.shields.io/appveyor/build/IzzelAliz/arclight?style=flat-square)](https://ci.appveyor.com/project/IzzelAliz/arclight) |
25-
26-
* Legacy version still accepts pull requests.
27-
28-
</details>
29-
307
![](.github/arclightlogo.jpg)
318

32-
## Installing
9+
## Download
10+
Versions list and support status: [Discussions thread](https://wiki.izzel.io/s/arclight-docs/doc/versions-and-its-supporting-status-NCKYxXI3mt)
3311

34-
* Download the jar from [release page](https://github.com/IzzelAliz/Arclight/releases) or build server. (see the table
35-
above)
36-
* Launch with command `java -jar arclight-forge-<mc>-<version>.jar nogui`. The `nogui` argument will disable the server
37-
control panel.
12+
- [Stable releases](https://github.com/IzzelAliz/Arclight/releases)
13+
- [Nightly build (GitHub login required)](https://github.com/IzzelAliz/Arclight/actions/workflows/gradle.yml?query=branch%3ATrials)
3814

39-
## Support
15+
## Installing
4016

41-
Read [FAQ](https://github.com/IzzelAliz/Arclight/wiki/FAQ) before reporting issue.
17+
* Download the jar.
18+
* Launch with command `java -jar arclight.jar nogui`.
19+
* The `nogui` argument will disable the server control panel.
4220

43-
Discord server https://discord.gg/ZvTY5SC
21+
Read our document for more information.
4422

45-
QQ Group chat 3556966
23+
## Support
4624

47-
## Contributing
25+
Read the [document](https://wiki.izzel.io/s/arclight-docs).
26+
Something is not working? Report any problems [here](https://github.com/IzzelAliz/Arclight/issues/new/choose)!.
27+
Questions and discussions [here](https://github.com/IzzelAliz/Arclight/discussions).
4828

49-
Please read this [wiki section](https://github.com/IzzelAliz/Arclight/wiki/Contributing).
29+
Discord Server: https://discord.gg/ZvTY5SC
30+
QQ Group Chat: 3556966
5031

5132
## License
5233

5334
This project is licensed under [GPL v3](LICENSE).
5435

5536
## Sponsor
5637

38+
[![](.github/bisecthosting.webp)](https://bisecthosting.com/arclight)
39+
40+
Get 25% off hosting server with promocode **arclight** at [BisectHosting](https://bisecthosting.com/arclight).
41+
5742
[![](https://www.yourkit.com/images/yklogo.png)](https://www.yourkit.com)
5843

5944
YourKit supports open source projects with innovative and intelligent tools for monitoring and profiling Java and .NET

arclight-common/src/main/java/io/izzel/arclight/common/mixin/core/world/ExplosionMixin.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import io.izzel.arclight.common.bridge.core.world.ExplosionBridge;
88
import io.izzel.arclight.common.bridge.core.world.WorldBridge;
99
import it.unimi.dsi.fastutil.objects.ObjectArrayList;
10+
import it.unimi.dsi.fastutil.objects.ObjectListIterator;
1011
import net.minecraft.Util;
1112
import net.minecraft.core.BlockPos;
1213
import net.minecraft.core.particles.ParticleTypes;
@@ -259,6 +260,7 @@ public void finalizeExplosion(boolean spawnParticles) {
259260
ObjectArrayList<Pair<ItemStack, BlockPos>> objectarraylist = new ObjectArrayList<>();
260261
boolean flag2 = this.getIndirectSourceEntity() instanceof Player;
261262
Util.shuffle(this.toBlow, this.level.random);
263+
var iterator = this.toBlow.iterator();
262264

263265
float yield = this.callBlockExplodeEvent();
264266

@@ -267,7 +269,8 @@ public void finalizeExplosion(boolean spawnParticles) {
267269
return;
268270
}
269271

270-
for (BlockPos blockpos : this.toBlow) {
272+
while (iterator.hasNext()) {
273+
BlockPos blockpos = iterator.next();
271274
BlockState blockstate = this.level.getBlockState(blockpos);
272275
Block block = blockstate.getBlock();
273276
// CraftBukkit start - TNTPrimeEvent

0 commit comments

Comments
 (0)