Update to 1.20-pre1

This commit is contained in:
shedaniel
2023-05-11 17:45:13 +08:00
parent 863ba5ced9
commit 8c7bd3248d
2 changed files with 4 additions and 4 deletions

View File

@@ -56,7 +56,7 @@ public abstract class MixinPhantomSpawner {
locals = LocalCapture.CAPTURE_FAILSOFT // SOFT, because this will break in 2 seconds
)
private void checkPhantomSpawn(ServerLevel level, boolean bl, boolean bl2, CallbackInfoReturnable<Integer> cir,
RandomSource random, int i, Iterator<ServerPlayer> it, Player player, BlockPos pos, DifficultyInstance diff,
RandomSource random, int i, Iterator<ServerPlayer> it, ServerPlayer player, BlockPos pos, DifficultyInstance diff,
ServerStatsCounter serverStatsCounter, int j, int k, BlockPos pos2,
BlockState blockState, FluidState fluidState, SpawnGroupData sgd, int l, int m, Phantom entity) {
if (EntityEvent.LIVING_CHECK_SPAWN.invoker().canSpawn(entity, level, pos.getX(), pos.getY(), pos.getZ(), MobSpawnType.NATURAL, null).value() == Boolean.FALSE) {

View File

@@ -3,8 +3,8 @@ org.gradle.daemon=false
platforms=fabric
minecraft_version=23w18a
supported_version=23w18a
minecraft_version=1.20-pre1
supported_version=1.20-pre1
artifact_type=beta
@@ -14,7 +14,7 @@ base_version=9.0
maven_group=dev.architectury
fabric_loader_version=0.14.19
fabric_api_version=0.80.1+1.20
fabric_api_version=0.80.3+1.20
mod_menu_version=5.0.2
forge_version=45.0.24