Pop Up Mod (1.21.1, 1.20.1) – เพิ่มเหตุการณ์เนื้อเรื่องบนหน้าจอ
🌐 You are reading the ไทย translation of this article
Available languages for this article:
Pop Up Mod ช่วยให้คนทำ Modpack สามารถแสดงข้อความแบบกำหนดเองบนหน้าจอได้ คุณสามารถใช้คำสั่งง่ายๆ หรือสคริปต์ KubeJS เพื่อสร้างข้อความป๊อปอัพ มอดนี้ช่วยให้คุณวางข้อความในตำแหน่งต่างๆ บนหน้าจอและรองรับหลายภาษา เหมาะอย่างยิ่งสำหรับการแสดงสิ่งต่างๆ เช่น การอัปเดตเควส หรือการแจ้งเตือนพิเศษในเกมของคุณ
![]()
ฟีเจอร์เด่น:
- แสดงข้อมูลที่กำหนดเองบนหน้าจอโดยใช้คำสั่งง่ายๆ
- รองรับการแปลภาษา (Translations) เพื่อให้ข้อความแสดงผลได้หลายภาษา
- เลือกตำแหน่งบนหน้าจอเพื่อวางข้อความได้หลากหลาย
- ใช้งานร่วมกับ KubeJS สำหรับการทำป๊อปอัพขั้นสูงผ่านสคริปต์
คำสั่ง (Commands):
คุณสามารถสร้างข้อความป๊อปอัพได้ด้วยคำสั่ง /pop ตัวอย่างเช่น:
/pop create @s MIDDLE_LEFT "Hello World!"
สำหรับการใช้งานขั้นสูง มอดนี้สามารถควบคุมผ่าน KubeJS ได้ ด้านล่างนี้คือตัวอย่างสคริปต์:
// server.js
const PopBuilder = java.load('pro.mikey.mods.pop.PopBuilder');
const Placement = java.load('pro.mikey.mods.pop.data.Placement'); // Optional
const pop = PopBuilder.create()
.duration(5)
.content({ text: "Hello World!" })
.placement("middle_left") // Or .placement(Placement.MIDDLE_LEFT)
// You can now either build it and get a PopData object or directly send it to the player
// If you're on the server
pop.sendToPlayer(player);
// If you're on the client
pop.display()
วิธีใช้งาน:
- รันเกมพร้อมติดตั้งมอด
- ใช้คำสั่ง
/popในเกมเพื่อสร้างข้อความป๊อปอัพใหม่ - หรือจะใช้ KubeJS เพื่อเข้าถึงและจัดการระบบป๊อปอัพก็ได้
ภาพตัวอย่าง:








Pop Up Mod Download Links
For Minecraft 1.21.1, 1.21
Forge version: Download from Server 1 – Download from Server 2
For Minecraft 1.20.1, 1.20
Forge version: Download from Server 1 – Download from Server 2
Click to rate this post!
[Total: 2 Average: 5]
0
September 16, 2025
This post has no comments yet. Be the first — your comment will appear here.