Update README
This commit is contained in:
parent
20b21c4ce7
commit
37fdb9fa90
BIN
.github/jetbrains.png
vendored
Normal file
BIN
.github/jetbrains.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.5 KiB |
|
@ -8,7 +8,7 @@ A Bukkit server implementation utilizing Mixin.
|
||||||
| :----: |:-------:| :---: | :---: |
|
| :----: |:-------:| :---: | :---: |
|
||||||
| 1.18.x | 39.0.59 | ACTIVE | [![1.18 Status](https://img.shields.io/appveyor/build/IzzelAliz/arclight-18?style=flat-square)](https://ci.appveyor.com/project/IzzelAliz/arclight-18) |
|
| 1.18.x | 39.0.59 | ACTIVE | [![1.18 Status](https://img.shields.io/appveyor/build/IzzelAliz/arclight-18?style=flat-square)](https://ci.appveyor.com/project/IzzelAliz/arclight-18) |
|
||||||
| 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) |
|
| 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) |
|
||||||
| 1.16.x | 36.2.19 | ACTIVE | [![1.16 Status](https://img.shields.io/appveyor/build/IzzelAliz/arclight-16?style=flat-square)](https://ci.appveyor.com/project/IzzelAliz/arclight-16) |
|
| 1.16.x | 36.2.26 | ACTIVE | [![1.16 Status](https://img.shields.io/appveyor/build/IzzelAliz/arclight-16?style=flat-square)](https://ci.appveyor.com/project/IzzelAliz/arclight-16) |
|
||||||
| 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) |
|
| 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) |
|
||||||
| 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) |
|
| 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) |
|
||||||
|
|
||||||
|
@ -27,6 +27,8 @@ A Bukkit server implementation utilizing Mixin.
|
||||||
|
|
||||||
## Support
|
## Support
|
||||||
|
|
||||||
|
Read [FAQ](https://github.com/IzzelAliz/Arclight/wiki/FAQ) before reporting issue.
|
||||||
|
|
||||||
Discord server https://discord.gg/ZvTY5SC
|
Discord server https://discord.gg/ZvTY5SC
|
||||||
|
|
||||||
QQ Group chat 3556966
|
QQ Group chat 3556966
|
||||||
|
@ -48,6 +50,8 @@ applications. YourKit is the creator of <a href="https://www.yourkit.com/java/pr
|
||||||
<a href="https://www.yourkit.com/.net/profiler/">YourKit .NET Profiler</a>,
|
<a href="https://www.yourkit.com/.net/profiler/">YourKit .NET Profiler</a>,
|
||||||
and <a href="https://www.yourkit.com/youmonitor/">YourKit YouMonitor</a>.
|
and <a href="https://www.yourkit.com/youmonitor/">YourKit YouMonitor</a>.
|
||||||
|
|
||||||
|
[![](.github/jetbrains.png)](https://www.jetbrains.com/?from=Arclight)
|
||||||
|
|
||||||
[![](.github/nexusnode.gif)](https://nexusnode.com/minecraft.php)
|
[![](.github/nexusnode.gif)](https://nexusnode.com/minecraft.php)
|
||||||
|
|
||||||
Get 10% off hosting server with promocode **ARCLIGHT** at [NEXUSNODE](https://nexusnode.com/minecraft.php)
|
Get 10% off hosting server with promocode **ARCLIGHT** at [NEXUSNODE](https://nexusnode.com/minecraft.php)
|
||||||
|
|
|
@ -3,6 +3,7 @@ package io.izzel.arclight.common.mixin.optimization.general.activationrange;
|
||||||
import io.izzel.arclight.common.bridge.core.world.WorldBridge;
|
import io.izzel.arclight.common.bridge.core.world.WorldBridge;
|
||||||
import io.izzel.arclight.common.mod.ArclightConstants;
|
import io.izzel.arclight.common.mod.ArclightConstants;
|
||||||
import io.izzel.arclight.common.bridge.optimization.EntityBridge_ActivationRange;
|
import io.izzel.arclight.common.bridge.optimization.EntityBridge_ActivationRange;
|
||||||
|
import io.izzel.arclight.common.mod.util.DistValidate;
|
||||||
import net.minecraft.world.entity.Entity;
|
import net.minecraft.world.entity.Entity;
|
||||||
import net.minecraft.world.entity.EntityType;
|
import net.minecraft.world.entity.EntityType;
|
||||||
import net.minecraft.world.level.Level;
|
import net.minecraft.world.level.Level;
|
||||||
|
@ -32,7 +33,7 @@ public abstract class EntityMixin_ActivationRange implements EntityBridge_Activa
|
||||||
@Inject(method = "<init>", at = @At("RETURN"))
|
@Inject(method = "<init>", at = @At("RETURN"))
|
||||||
private void arclight$init(EntityType<?> entityTypeIn, Level worldIn, CallbackInfo ci) {
|
private void arclight$init(EntityType<?> entityTypeIn, Level worldIn, CallbackInfo ci) {
|
||||||
activationType = ActivationRange.initializeEntityActivationType((Entity) (Object) this);
|
activationType = ActivationRange.initializeEntityActivationType((Entity) (Object) this);
|
||||||
if (worldIn != null) {
|
if (DistValidate.isValid(worldIn)) {
|
||||||
this.defaultActivationState = ActivationRange.initializeEntityActivationState((Entity) (Object) this, ((WorldBridge) worldIn).bridge$spigotConfig());
|
this.defaultActivationState = ActivationRange.initializeEntityActivationState((Entity) (Object) this, ((WorldBridge) worldIn).bridge$spigotConfig());
|
||||||
} else {
|
} else {
|
||||||
this.defaultActivationState = false;
|
this.defaultActivationState = false;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user