Update to 22w12a

This commit is contained in:
shedaniel
2022-03-25 21:39:04 +08:00
parent a116d4a33c
commit 4d8ddec994
3 changed files with 5 additions and 5 deletions

View File

@@ -58,7 +58,7 @@ public class ArchitecturySpawnEggItem extends SpawnEggItem {
}
stack.shrink(1);
source.getLevel().gameEvent(GameEvent.ENTITY_PLACE, source.getPos());
source.getLevel().gameEvent(null, GameEvent.ENTITY_PLACE, source.getPos());
return stack;
}
};

View File

@@ -53,7 +53,7 @@ public class MixinExplosion implements ExplosionHooksImpl.ExplosionExtensions {
@Unique
Vec3 position;
@Inject(method = "explode", at = @At(value = "INVOKE", target = "Lnet/minecraft/world/phys/Vec3;<init>(DDD)V", ordinal = 0),
@Inject(method = "explode", at = @At(value = "INVOKE", target = "Lnet/minecraft/world/phys/Vec3;<init>(DDD)V", ordinal = 1),
locals = LocalCapture.CAPTURE_FAILHARD)
private void explodePost(CallbackInfo ci, Set<BlockPos> set, int i, float q, int r, int s, int t, int u, int v, int w, List<Entity> list) {
ExplosionEvent.DETONATE.invoker().explode(level, (Explosion) (Object) this, list);

View File

@@ -3,8 +3,8 @@ org.gradle.daemon=false
forgeEnabled=false
minecraft_version=22w11a
supported_version=22w11a
minecraft_version=22w12a
supported_version=22w12a
cf_type=beta
@@ -14,7 +14,7 @@ base_version=5.1
maven_group=dev.architectury
fabric_loader_version=0.13.3
fabric_api_version=0.49.2+1.19
fabric_api_version=0.49.4+1.19
mod_menu_version=3.1.0
forge_version=40.0.1