[BUG] Mob-Type: does not actually set the mod type for spawner hover tooltip
Closed this issue · 7 comments
Spark link
No response
Plugin Version
3.7.4
Server Version
1.21.1
Server Platform
Paper
Describe the bug
Prizes does not state the specified "Mob Type" as configured.
Example from CrazyCrates 3.5.8 Changelog.
'1':
# The name of the item to display in the gui.
DisplayName: "<green>Creeper Spawner"
# The enchants to display in the gui.
DisplayItem: "spawner"
# Prize settings
Settings:
# The custom model data of the item, -1 is disabled.
Custom-Model-Data: -1
# The type of mob for the spawner.
Mob-Type: creeper
# The amount to display in the gui.
DisplayAmount: 1
# The max range i.e. 15/100 = 15% chance to win.
MaxRange: 100
# The chance to win i.e. 15%
Chance: 23
Items:
- 'Item:spawner, Mob:creeper'
Crate Type
None
Steps to reproduce
-
Set Up the Environment:
- Use Crazy Crates plugin version 3.7.4 on Latest Paper server running 1.21.1
- Configure a crate using the provided demo example from the changelog where it introduced the feature
-
Observe Issues:
- Observe spawner displaying incorrect mob type "Pig"
Additional context
No response
Agreements
- I have searched for and ensured there isn't already an open issue regarding this.
- I ticked all the boxes without actually reading them
- My version of Minecraft is supported by CrazyCrew.
How very strange, not functional for me. Could it be due to it hooking into a spawner provider? We have WildStacker so it hooks into that on startup.
Crate:
CrateType: quickcrate
CrateName: '<dark_gray><b>Spawner Crate'
Preview-Name: '<black><b>Spawner Crate Preview'
StartingKeys: 0
InGUI: true
Slot: 25
OpeningBroadCast: false
BroadCast: '%Prefix%&6&l%Player% &7is opening a &8&lSpawner Crate.'
Item: ENDER_CHEST
Glowing: false
Name: '&8&lSpawner2 Crate'
Lore:
- '&7This crate contains strange objects.'
- '&7You have &6%Keys% keys &7to open this crate with.'
- '&7&l(&e&l!&7&l) Right click to view rewards.'
Preview:
Toggle: true
ChestLines: 3
PhysicalKey:
Name: '<dark_gray><b>SPAWNER CRATE KEY'
Lore:
- '<gray>Go <green><u>/Warp Crates</u><gray> to redeem this key!'
- '<gray>Purchase <dark_gray><b>SPAWNER KEY<white><gray> at <red><u>store.hotdogcraft.net'
Item: tripwire_hook
Glowing: true
Hologram:
Toggle: true
Height: 2.5
Range: 50
Message:
- '&8&lSPAWNER CRATE'
- '&a(Right Click to Open)'
- '&a(Left Click to Preview)'
- '&c&l/BUY'
Prizes:
'1':
# The name of the item to display in the gui.
DisplayName: "<green>Creeper Spawner"
# The enchants to display in the gui.
DisplayItem: "spawner"
# Prize settings
Settings:
# The custom model data of the item, -1 is disabled.
Custom-Model-Data: -1
# The type of mob for the spawner.
Mob-Type: creeper
# The amount to display in the gui.
DisplayAmount: 1
# The max range i.e. 15/100 = 15% chance to win.
MaxRange: 100
# The chance to win i.e. 15%
Chance: 23
Items:
- 'Item:spawner, Mob:creeper'
How very strange, not functional for me. Could it be due to it hooking into a spawner provider? We have WildStacker so it hooks into that on startup.
Crate: CrateType: quickcrate CrateName: '<dark_gray><b>Spawner Crate' Preview-Name: '<black><b>Spawner Crate Preview' StartingKeys: 0 InGUI: true Slot: 25 OpeningBroadCast: false BroadCast: '%Prefix%&6&l%Player% &7is opening a &8&lSpawner Crate.' Item: ENDER_CHEST Glowing: false Name: '&8&lSpawner2 Crate' Lore: - '&7This crate contains strange objects.' - '&7You have &6%Keys% keys &7to open this crate with.' - '&7&l(&e&l!&7&l) Right click to view rewards.' Preview: Toggle: true ChestLines: 3 PhysicalKey: Name: '<dark_gray><b>SPAWNER CRATE KEY' Lore: - '<gray>Go <green><u>/Warp Crates</u><gray> to redeem this key!' - '<gray>Purchase <dark_gray><b>SPAWNER KEY<white><gray> at <red><u>store.hotdogcraft.net' Item: tripwire_hook Glowing: true Hologram: Toggle: true Height: 2.5 Range: 50 Message: - '&8&lSPAWNER CRATE' - '&a(Right Click to Open)' - '&a(Left Click to Preview)' - '&c&l/BUY' Prizes: '1': # The name of the item to display in the gui. DisplayName: "<green>Creeper Spawner" # The enchants to display in the gui. DisplayItem: "spawner" # Prize settings Settings: # The custom model data of the item, -1 is disabled. Custom-Model-Data: -1 # The type of mob for the spawner. Mob-Type: creeper # The amount to display in the gui. DisplayAmount: 1 # The max range i.e. 15/100 = 15% chance to win. MaxRange: 100 # The chance to win i.e. 15% Chance: 23 Items: - 'Item:spawner, Mob:creeper'
Try without it
No idea then, worked above on the newest paper 1.21.1 with 3.7.4
Let me create a fresh new instance and test there in the event some sort of contamination persisted.
Okay, So I deleted the plugin, redownloaded, and deleted the config and various other things it regenerates on startup. It is now properly displaying the entity type.... Don't know what to mark this as lol, issue fixed I suppose.