Hide BQu Loot Boxes from JEI (#960)

[FEATURE]
This commit is contained in:
Integer Limit 2024-08-26 19:53:59 +10:00 committed by GitHub
parent 947d853c3e
commit 31090f7005
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 27 additions and 0 deletions

12
overrides/config/betterquesting.cfg Normal file → Executable file
View File

@ -8,6 +8,9 @@ client {
general {
# If true, then when you click on Claim all, a warning dialog will be displayed [default: true]
B:"Claim all requires confirmation"=false
# The default visibility value used when creating quests [default: NORMAL]
S:"Default Quest Visibility"=ALWAYS
B:"Experimental Dirty Mode"=true
B:"Hide Updates"=false
@ -27,12 +30,21 @@ general {
# Increases or decreases the scrolling speed [range: 0.0 ~ 10.0, default: 1.0]
S:"Scroll Speed Multiplier"=1.0
# If true, skip the home GUI and open quests at startup. This property will be changed by the mod itself. [default: false]
B:"Skip Home"=true
# If true, then the player will spawn with a Quest Book when they first join the world [default: true]
B:"Spawn with Quest Book"=true
# The current questing theme [default: betterquesting:light]
S:Theme=bq_standard:dark
# Jumps the user to the last opened quest [default: true]
B:"Use Quest Bookmark"=true
# If view mode enabled, User can view all quests [default: false]
B:"View mode"=true
# Zoom in on cursor. If false, zooms in on center of screen. [default: true]
B:"Zoom In on Cursor"=true

View File

@ -1,4 +1,5 @@
import com.nomiceu.nomilabs.util.LabsModeHelper
import net.minecraft.item.ItemStack
import static com.nomiceu.nomilabs.groovy.GroovyHelpers.JEIHelpers.*
@ -20,6 +21,20 @@ if (LabsModeHelper.expert) {
mods.jei.ingredient.removeAndHide(item('nomilabs:impossiblerealmdata'))
}
// Better Questing
List<ItemStack> lootBoxes = [
item('bq_standard:loot_chest'),
item('bq_standard:loot_chest', 25),
item('bq_standard:loot_chest', 50),
item('bq_standard:loot_chest', 75),
item('bq_standard:loot_chest', 100),
item('bq_standard:loot_chest', 101),
item('bq_standard:loot_chest', 102),
item('bq_standard:loot_chest', 103),
item('bq_standard:loot_chest', 104),
]
lootBoxes.forEach { removeAndHideItemIgnoreNBT(it) }
// Modded Buckets
hideItemIgnoreNBT(item('forge:bucketfilled'))