Some Ideas for CraftBooks Custom Drops Mechanic
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 12/100
Hướng nghiên cứu
This is a broad wishlist of several features with no named files, tests or entry points, so there is no clear starting point in the payload. Before writing code, a newcomer would need to find where CraftBook currently defines custom drops and read the existing configuration, then ask a maintainer which items to take on. Done would mean one scoped piece, agreed on in the thread, rather than the whole list.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The Problem
Currently, CraftBook's custom drops and block/mob handling are relatively basic and lack support for advanced conditional logic, dynamic item modifications, and event-driven mechanics.
Specifically, server owners cannot implement many common survival and RPG features through CraftBook alone, such as:
- Entity State Conditions: Checking environmental or biological states (e.g., whether a mob is burning when it dies, or checking if a goat still has its horns).
- Tag-Based & Dynamic Drops: Pulling random items dynamically from Minecraft item/block tags (e.g., loot pools based on
#minecraft:fishesor#minecraft:ice). - Dynamic Item Properties & NBT: Setting custom durability/damage values on dropped weapons (like an Illusioner dropping a bow with a random durability loss), custom model data, or dynamic lore (e.g., player skulls displaying the killer's name and timestamp).
- Tool-Tier Restrictions & Event Cancellation: Preventing players from breaking blocks if their tool tier is too low (e.g., requiring a diamond pickaxe) and canceling the break event.
- Tool-Break Triggers: Handling drops when a tool or weapon actually breaks (
on tool break), allowing players to salvage materials (like getting a stick or nuggets from a broken tool). - Player-Specific Event Rewards: Creating custom PvP trophies like player heads with dynamic killer and date information.
A Solution
Expand CraftBook's configuration system to support more advanced gameplay hooks:
- Conditional Drop Rules: Add options for entity states (e.g.,
is-burning: true) and tag-based drop pools. - Item Customization in Config: Support for Custom Model Data, dynamic durability, and placeholder-based lore (e.g.,
%attacker%,%date%) within drop definitions. - Tool & Break Control: Optional block-protection rules based on tool tiers directly within CraftBook configurations.
- Tool-Break Mechanics: A configuration section for item breakage drops (rewarding players with crafting components when tools break).
Alternatives
Currently, server admins are forced to use separate heavy scripting plugins (like Skript) alongside CraftBook just to handle basic customized survival mechanics, tool-tier progression, and conditional mob drops, which leads to fragmented configurations and plugin bloat.
Anything Else?
General use cases where these features would be extremely valuable:
- RPG & Hardcore Survival Servers: Enforcing tool progression (e.g., restricting ore mining based on pickaxe tiers) and introducing environmental risks (e.g., taking damage when breaking glass with bare hands).
- Immersion & Economy (Salvaging): Rewarding players with scrap materials when their tools or weapons break (e.g., iron/gold nuggets from metal tools, string from bows) to create a more integrated recycling loop.
- Environmental Interactivity: Rewarding players with cooked meat if a mob dies while burning, or rare drops only under specific conditions.
- PvP Trophies: Customizing player head drops to act as memorial items or bounties with dynamic killer tags and timestamps.
- Ngôn ngữ chính
- Java
- Star
- 323
- Fork
- 164
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của EngineHub/CraftBook
-
status:pending type:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
status:pending type:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
status:pending type:bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 58/100
-
status:pending type:bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 62/100
-
status:pending type:bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
Tất cả issue của EngineHub/CraftBook
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
-
A CSV row that removes a language with #CLEAR and fills another name of it keeps one of themĐang mởbug level:trivial
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
exoego/keycloak-fuhito#666 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ant-media/Ant-Media-Server#8185 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
desktop grp:about type:graphics-bug ui-public
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
Maintainer thường phản hồi trong vòng 1 ngày