25 downloads


Description:
A compact in-world Pong minigame that teleports two players into a small darkened arena with temporary blindness and far smoother ball motion, precise time-of-impact collisions so the ball never tunnels, and a lightweight HUD for clear visuals. Shift-right-click your Pong item to open the menu and invite or accept a match; after both players join you'll be teleported into the box. Control your barrier by moving your mouse up and down (camera pitch) and right-click to deflect the ball — each deflection speeds the ball slightly — games score to 3 by default and the winner takes a random item from the loser (or kills them if the loser only has the Pong item).
Manage versions and create new iterations of this mod.
This will create a new mod based on "Play pong!" with your modifications. The original mod will remain unchanged and you'll be credited as the author of the remix.
25
Dec 4, 2025, 03:32 AM
User request: make a working pong game using right click to deflect the pong back to the other play two players can play against each other you can use a menu using shift right click to invite a player to play a pong game with you once invited and the player accepts the invite you will get teleported to each other and be able to play a game against each other using right click to deflect it you also control your barrier by moving your mouse up or down accordingly play till 10 points until the player wins and gets rewarded a random item from the losers inventory and if they have nothing else but the pong item they get killed Edit v2: Key Features: Pong GUI Display: The GUI will display two paddles (one for each player) and a bouncing ball in a dedicated section of the screen. The ball will move back and forth between the two paddles, following the rules of the Pong game. Include a scoreboard at the top or bottom of the GUI showing the points for each player. Mouse-Controlled Barriers: The paddles (barriers) should move up and down in response to the vertical movement of the mouse. The paddle’s position on the Y-axis should be bound to the mouse's Y-coordinate, keeping it within the vertical screen bounds of the GUI. As the player moves their mouse up or down, the paddle will follow the mouse movement smoothly, allowing for precise control. Game Mechanics: The ball should start in the middle of the screen and move back and forth based on its speed and direction. When the ball collides with a paddle, it should bounce back in the opposite direction (just like classic Pong). If the ball goes past a paddle (when a player misses), the opposing player scores a point. The ball should be controlled by physics, with a speed increment over time to increase difficulty as the game progresses. Paddle Interaction: If the ball collides with a paddle, the paddle will reflect the ball’s movement. You can add simple collision detection by checking if the ball is touching the paddle. The paddles should be rectangular (or a similar shape) and located on opposite sides of the screen, each controlled by a player. Score System: Each player will score a point when the ball passes their opponent’s paddle. The score should update in the GUI in real time, and you can set a winning score (e.g., 5 points) to end the game. Add a reset button or trigger to restart the game after one player wins. Detailed Implementation Steps: Create Pong GUI: Use Minecraft’s GUI system (Screen class) to create the game display. Design a bordered area where the Pong game will be played (like a rectangular box inside the screen). Inside this box, draw two paddles and a ball using Minecraft’s draw methods (e.g., drawRect for paddles and drawCircle for the ball). Draw the score at the top or bottom of the box, updating it as the game progresses. Mouse Input for Paddle Movement: Capture mouse movement using the Minecraft mouse events or the MouseEvent listener. Use Mouse.getX() and Mouse.getY() to track the mouse position. Map the Y-axis mouse position to the paddle’s Y-axis, ensuring the paddle stays within the GUI bounds. For smooth paddle control, you can use Math.min and Math.max to clamp the paddle's Y-position within the screen bounds. Ball Movement & Physics: Create a ball object with an initial position and velocity. The ball will move back and forth within the GUI. When updating the ball’s position, check for collisions with the top and bottom boundaries of the screen (for bouncing). Check if the ball is colliding with a paddle. If the ball hits a paddle, reverse its X-velocity and adjust its Y-velocity based on where it hits the paddle (this adds variation to the ball’s bounce). If the ball crosses the left or right boundary (past the paddles), update the score and reset the ball’s position to the center. Score System: Each time the ball passes a paddle, increment the score for the opposing player. When a player reaches the winning score (e.g., 5 points), display a victory message and reset the game. Add a game restart feature that allows the player to play again without closing the game. Edit v3: instead of it being in the game make it using a ui screen that pops up and you can control two white barriers using up and down mouse movement to deflect the ball Edit v4: when the ball touches either side it bounces off to touch the others players side. make it when you start a game your screen goes black so you can see the pong game more better make the ball when it touches the bottom or the top of your screen it bounces down or up whichever way it is. make this whole thing extremely absolutely the highest of all quality. when you want to invite a player use shift right click that opens a gui to invite whoever is on the world and when they get their invite it will make a ding noise and they can check their gui menu using shift right click. called invites and they click the person who invited them to game and presses accept they get into a pong game or if they decline the gui menu disappears Edit v5: instead of the game taking up my whole screen make the gui smaller and more compact and make both the barriers that players control on either side so both the players can see the movements of the players in game make the game run at at least 60 fps with the score kept in the middle top half of the screen Edit v6: make the gui look like the listed picture and make the collisions way better and revamp how the whole game looks. when i start a game with another player i want it to look as close as the real game as possible i want the ball to move smoother and when it hits the bottom or the top i want it to bounce back up to where i can see its super choppy and laggy so make it as smooth as possible while playing i want the gui to look clean and nice make the barriers blue and the ball red the opponents barrier color is green and make the game super highest of quality Edit v7: make the screen when playing a pong game smaller to fit 1920 x 1080 so i can see whats going on and make sure it works just like pong Edit v8: when a player scores make sure the ball is able to hit the barrier again and to see the game better make us have blindness during the duration of the game make sure the ball also doesn't disappear out of the screen when its going up or down make sure the game is even smoother Edit v9: now make the visibility better on the game. and make the ball go faster each time its deflected using a barrier, and make the barrier a little smaller, and make the game really smooth as you play. make it super high quality make the ball move at 30 frames per second. Edit v10: make the barrier even smaller. and make the ball go 1.1x speed each hit with no cap. on the score make the score only up to 3 points and then you win. make the ball move smooth during gameplay at 30 frames per second make the game visibility even more visible. Edit v11: make the ball movement graceful no more choppiness, more precise, well coordinated, flawless, slick, and eloquent. make the ball move at at least 120 frames per second and make the game even more beautiful looking and visible really bright. Edit v12: when you start a game you get blindness, and the two players go inside a black box when the invite gets accepted while playing the game so you can see the game better. also when the game is over they get teleported out of the box and go back to their original coordinates. and make the texture look like the listed photo Edit v13: while playing the game make both the players barriers visible to each player playing the game in real time. make sure the ball doesn't move to where you cant see it anymore on screen Edit v14: we need to make the ball movement less choppy and ensure that the whole game runs super smoothly from start to finish. By refining the animation timing and optimizing performance, we can make the ball travel back and forth very, very flawless and smoothly, creating a more immersive and visually satisfying motion that enhances the overall feel of the game. Edit v15: Create an extremely smooth and optimized Minecraft Pong game. The main priority is performance and animation quality. Make the ball movement less choppy, remove all lag, and make the whole game run super smoothly, with the ball traveling back and forth flawlessly. Use only efficient commands and avoid anything that causes 1-FPS behavior. Do not use high-frequency particle spam, teleport loops that overload tick calculations, or commands that run unnecessarily every tick. Optimize scoreboard logic and ball-movement math so the animation appears smooth and natural. Use the smallest possible number of repeating command blocks or functions, consolidate logic, and use proper tick-based interpolation so the ball glides smoothly. The final result must be a perfectly fluid, very smooth Minecraft Pong game with responsive paddles, non-choppy ball motion, and no stuttering.
1
Dec 4, 2025, 03:17 AM
User request: make a working pong game using right click to deflect the pong back to the other play two players can play against each other you can use a menu using shift right click to invite a player to play a pong game with you once invited and the player accepts the invite you will get teleported to each other and be able to play a game against each other using right click to deflect it you also control your barrier by moving your mouse up or down accordingly play till 10 points until the player wins and gets rewarded a random item from the losers inventory and if they have nothing else but the pong item they get killed Edit v2: Key Features: Pong GUI Display: The GUI will display two paddles (one for each player) and a bouncing ball in a dedicated section of the screen. The ball will move back and forth between the two paddles, following the rules of the Pong game. Include a scoreboard at the top or bottom of the GUI showing the points for each player. Mouse-Controlled Barriers: The paddles (barriers) should move up and down in response to the vertical movement of the mouse. The paddle’s position on the Y-axis should be bound to the mouse's Y-coordinate, keeping it within the vertical screen bounds of the GUI. As the player moves their mouse up or down, the paddle will follow the mouse movement smoothly, allowing for precise control. Game Mechanics: The ball should start in the middle of the screen and move back and forth based on its speed and direction. When the ball collides with a paddle, it should bounce back in the opposite direction (just like classic Pong). If the ball goes past a paddle (when a player misses), the opposing player scores a point. The ball should be controlled by physics, with a speed increment over time to increase difficulty as the game progresses. Paddle Interaction: If the ball collides with a paddle, the paddle will reflect the ball’s movement. You can add simple collision detection by checking if the ball is touching the paddle. The paddles should be rectangular (or a similar shape) and located on opposite sides of the screen, each controlled by a player. Score System: Each player will score a point when the ball passes their opponent’s paddle. The score should update in the GUI in real time, and you can set a winning score (e.g., 5 points) to end the game. Add a reset button or trigger to restart the game after one player wins. Detailed Implementation Steps: Create Pong GUI: Use Minecraft’s GUI system (Screen class) to create the game display. Design a bordered area where the Pong game will be played (like a rectangular box inside the screen). Inside this box, draw two paddles and a ball using Minecraft’s draw methods (e.g., drawRect for paddles and drawCircle for the ball). Draw the score at the top or bottom of the box, updating it as the game progresses. Mouse Input for Paddle Movement: Capture mouse movement using the Minecraft mouse events or the MouseEvent listener. Use Mouse.getX() and Mouse.getY() to track the mouse position. Map the Y-axis mouse position to the paddle’s Y-axis, ensuring the paddle stays within the GUI bounds. For smooth paddle control, you can use Math.min and Math.max to clamp the paddle's Y-position within the screen bounds. Ball Movement & Physics: Create a ball object with an initial position and velocity. The ball will move back and forth within the GUI. When updating the ball’s position, check for collisions with the top and bottom boundaries of the screen (for bouncing). Check if the ball is colliding with a paddle. If the ball hits a paddle, reverse its X-velocity and adjust its Y-velocity based on where it hits the paddle (this adds variation to the ball’s bounce). If the ball crosses the left or right boundary (past the paddles), update the score and reset the ball’s position to the center. Score System: Each time the ball passes a paddle, increment the score for the opposing player. When a player reaches the winning score (e.g., 5 points), display a victory message and reset the game. Add a game restart feature that allows the player to play again without closing the game. Edit v3: instead of it being in the game make it using a ui screen that pops up and you can control two white barriers using up and down mouse movement to deflect the ball Edit v4: when the ball touches either side it bounces off to touch the others players side. make it when you start a game your screen goes black so you can see the pong game more better make the ball when it touches the bottom or the top of your screen it bounces down or up whichever way it is. make this whole thing extremely absolutely the highest of all quality. when you want to invite a player use shift right click that opens a gui to invite whoever is on the world and when they get their invite it will make a ding noise and they can check their gui menu using shift right click. called invites and they click the person who invited them to game and presses accept they get into a pong game or if they decline the gui menu disappears Edit v5: instead of the game taking up my whole screen make the gui smaller and more compact and make both the barriers that players control on either side so both the players can see the movements of the players in game make the game run at at least 60 fps with the score kept in the middle top half of the screen Edit v6: make the gui look like the listed picture and make the collisions way better and revamp how the whole game looks. when i start a game with another player i want it to look as close as the real game as possible i want the ball to move smoother and when it hits the bottom or the top i want it to bounce back up to where i can see its super choppy and laggy so make it as smooth as possible while playing i want the gui to look clean and nice make the barriers blue and the ball red the opponents barrier color is green and make the game super highest of quality Edit v7: make the screen when playing a pong game smaller to fit 1920 x 1080 so i can see whats going on and make sure it works just like pong Edit v8: when a player scores make sure the ball is able to hit the barrier again and to see the game better make us have blindness during the duration of the game make sure the ball also doesn't disappear out of the screen when its going up or down make sure the game is even smoother Edit v9: now make the visibility better on the game. and make the ball go faster each time its deflected using a barrier, and make the barrier a little smaller, and make the game really smooth as you play. make it super high quality make the ball move at 30 frames per second. Edit v10: make the barrier even smaller. and make the ball go 1.1x speed each hit with no cap. on the score make the score only up to 3 points and then you win. make the ball move smooth during gameplay at 30 frames per second make the game visibility even more visible. Edit v11: make the ball movement graceful no more choppiness, more precise, well coordinated, flawless, slick, and eloquent. make the ball move at at least 120 frames per second and make the game even more beautiful looking and visible really bright. Edit v12: when you start a game you get blindness, and the two players go inside a black box when the invite gets accepted while playing the game so you can see the game better. also when the game is over they get teleported out of the box and go back to their original coordinates. and make the texture look like the listed photo Edit v13: while playing the game make both the players barriers visible to each player playing the game in real time. make sure the ball doesn't move to where you cant see it anymore on screen Edit v14: we need to make the ball movement less choppy and ensure that the whole game runs super smoothly from start to finish. By refining the animation timing and optimizing performance, we can make the ball travel back and forth very, very flawless and smoothly, creating a more immersive and visually satisfying motion that enhances the overall feel of the game.
2
Nov 27, 2025, 07:12 AM
User request: make a working pong game using right click to deflect the pong back to the other play two players can play against each other you can use a menu using shift right click to invite a player to play a pong game with you once invited and the player accepts the invite you will get teleported to each other and be able to play a game against each other using right click to deflect it you also control your barrier by moving your mouse up or down accordingly play till 10 points until the player wins and gets rewarded a random item from the losers inventory and if they have nothing else but the pong item they get killed Edit v2: Key Features: Pong GUI Display: The GUI will display two paddles (one for each player) and a bouncing ball in a dedicated section of the screen. The ball will move back and forth between the two paddles, following the rules of the Pong game. Include a scoreboard at the top or bottom of the GUI showing the points for each player. Mouse-Controlled Barriers: The paddles (barriers) should move up and down in response to the vertical movement of the mouse. The paddle’s position on the Y-axis should be bound to the mouse's Y-coordinate, keeping it within the vertical screen bounds of the GUI. As the player moves their mouse up or down, the paddle will follow the mouse movement smoothly, allowing for precise control. Game Mechanics: The ball should start in the middle of the screen and move back and forth based on its speed and direction. When the ball collides with a paddle, it should bounce back in the opposite direction (just like classic Pong). If the ball goes past a paddle (when a player misses), the opposing player scores a point. The ball should be controlled by physics, with a speed increment over time to increase difficulty as the game progresses. Paddle Interaction: If the ball collides with a paddle, the paddle will reflect the ball’s movement. You can add simple collision detection by checking if the ball is touching the paddle. The paddles should be rectangular (or a similar shape) and located on opposite sides of the screen, each controlled by a player. Score System: Each player will score a point when the ball passes their opponent’s paddle. The score should update in the GUI in real time, and you can set a winning score (e.g., 5 points) to end the game. Add a reset button or trigger to restart the game after one player wins. Detailed Implementation Steps: Create Pong GUI: Use Minecraft’s GUI system (Screen class) to create the game display. Design a bordered area where the Pong game will be played (like a rectangular box inside the screen). Inside this box, draw two paddles and a ball using Minecraft’s draw methods (e.g., drawRect for paddles and drawCircle for the ball). Draw the score at the top or bottom of the box, updating it as the game progresses. Mouse Input for Paddle Movement: Capture mouse movement using the Minecraft mouse events or the MouseEvent listener. Use Mouse.getX() and Mouse.getY() to track the mouse position. Map the Y-axis mouse position to the paddle’s Y-axis, ensuring the paddle stays within the GUI bounds. For smooth paddle control, you can use Math.min and Math.max to clamp the paddle's Y-position within the screen bounds. Ball Movement & Physics: Create a ball object with an initial position and velocity. The ball will move back and forth within the GUI. When updating the ball’s position, check for collisions with the top and bottom boundaries of the screen (for bouncing). Check if the ball is colliding with a paddle. If the ball hits a paddle, reverse its X-velocity and adjust its Y-velocity based on where it hits the paddle (this adds variation to the ball’s bounce). If the ball crosses the left or right boundary (past the paddles), update the score and reset the ball’s position to the center. Score System: Each time the ball passes a paddle, increment the score for the opposing player. When a player reaches the winning score (e.g., 5 points), display a victory message and reset the game. Add a game restart feature that allows the player to play again without closing the game. Edit v3: instead of it being in the game make it using a ui screen that pops up and you can control two white barriers using up and down mouse movement to deflect the ball Edit v4: when the ball touches either side it bounces off to touch the others players side. make it when you start a game your screen goes black so you can see the pong game more better make the ball when it touches the bottom or the top of your screen it bounces down or up whichever way it is. make this whole thing extremely absolutely the highest of all quality. when you want to invite a player use shift right click that opens a gui to invite whoever is on the world and when they get their invite it will make a ding noise and they can check their gui menu using shift right click. called invites and they click the person who invited them to game and presses accept they get into a pong game or if they decline the gui menu disappears Edit v5: instead of the game taking up my whole screen make the gui smaller and more compact and make both the barriers that players control on either side so both the players can see the movements of the players in game make the game run at at least 60 fps with the score kept in the middle top half of the screen Edit v6: make the gui look like the listed picture and make the collisions way better and revamp how the whole game looks. when i start a game with another player i want it to look as close as the real game as possible i want the ball to move smoother and when it hits the bottom or the top i want it to bounce back up to where i can see its super choppy and laggy so make it as smooth as possible while playing i want the gui to look clean and nice make the barriers blue and the ball red the opponents barrier color is green and make the game super highest of quality Edit v7: make the screen when playing a pong game smaller to fit 1920 x 1080 so i can see whats going on and make sure it works just like pong Edit v8: when a player scores make sure the ball is able to hit the barrier again and to see the game better make us have blindness during the duration of the game make sure the ball also doesn't disappear out of the screen when its going up or down make sure the game is even smoother Edit v9: now make the visibility better on the game. and make the ball go faster each time its deflected using a barrier, and make the barrier a little smaller, and make the game really smooth as you play. make it super high quality make the ball move at 30 frames per second. Edit v10: make the barrier even smaller. and make the ball go 1.1x speed each hit with no cap. on the score make the score only up to 3 points and then you win. make the ball move smooth during gameplay at 30 frames per second make the game visibility even more visible. Edit v11: make the ball movement graceful no more choppiness, more precise, well coordinated, flawless, slick, and eloquent. make the ball move at at least 120 frames per second and make the game even more beautiful looking and visible really bright. Edit v12: when you start a game you get blindness, and the two players go inside a black box when the invite gets accepted while playing the game so you can see the game better. also when the game is over they get teleported out of the box and go back to their original coordinates. and make the texture look like the listed photo Edit v13: while playing the game make both the players barriers visible to each player playing the game in real time. make sure the ball doesn't move to where you cant see it anymore on screen
Click here for installation instructions
This mod is licensed under the CreativeMode Mods License.