mirror of
https://github.com/architectury/architectury-api.git
synced 2026-03-28 03:56:59 -05:00
Update to 22w12a
This commit is contained in:
@@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user