Skip to content

Commit

Permalink
Pipe warps sound
Browse files Browse the repository at this point in the history
  • Loading branch information
WenXin20 committed Sep 7, 2024
1 parent fefe917 commit 76b27be
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ public static void warp(Entity entity, BlockPos warpPos, Level world, BlockState
WarpPipeBlock.markEntityTeleported(entity);
}
world.gameEvent(GameEvent.TELEPORT, warpPos, GameEvent.Context.of(entity));
world.playSound(null, warpPos, SoundRegistry.PIPE_WARPS.get(), SoundSource.BLOCKS, 1.0F, 0.1F);
world.playSound(null, warpPos, SoundRegistry.PIPE_WARPS.get(), SoundSource.BLOCKS, 1.0F, 1.0F);
}

public static BlockPos findMatchingUUID(UUID uuid, Level world, BlockPos pos) {
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/assets/marioverse/sounds.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
{ "name": "block/iron_trapdoor/close3", "stream": false },
{ "name": "block/iron_trapdoor/close4", "stream": false }], "subtitle": "subtitles.marioverse.block.pipe_closes" },

"block.pipe_warps": {"category": "block", "sounds": [{ "name": "mob/endermen/portal", "stream": false },
{ "name": "mob/endermen/portal2", "stream": false }], "subtitle": "subtitles.marioverse.block.pipe_warps" },
"block.pipe_warps": {"category": "block", "sounds": [{ "name": "marioverse:block/pipe_warps", "stream": false },
{ "name": "mmarioverse:block/pipe_warps", "stream": false }], "subtitle": "subtitles.marioverse.block.pipe_warps" },

"block.power_up_spawns": {"category": "block", "sounds": [{ "name": "marioverse:block/power_up_spawns", "stream": false }],
"subtitle": "subtitles.marioverse.block.power_up_spawns" },
Expand Down
Binary file not shown.

0 comments on commit 76b27be

Please sign in to comment.