Mining Master

Mining Master

190k Downloads

GAME BREAKING BUG [1.18.2] [MINING MASTER 3.0.5]

Camawama opened this issue Β· 14 comments

commented

Describe the Bug

I will start off by saying that I am a Modpack Developer and currently developing the 1.18.2 update for my Modpack Vanilla Plus by Cama.

Our team agreed that the mod Mining Master is a really good mod to have installed on our pack since Apotheosis makes End Game Enchanting a thing and to balance that out, we re-work Start Game Enchanting (your mod).

We are currently in the Server Testing portion of our mod and found out that, when a player applies an ability to an item (Frost on Sword or Smelting on a Pickaxe), that effect is applied for every single player Globally and it works if they use their fist.

This is extremely game-breaking, and causes a lot of issues as you can probably tell. Every single player has access to the abilities that are only supposed to be specific to one item.

Not only does this affect players, but any sort of mod that adds things that interact with the world as though players do. CREATE MOD for example will drop smelted items instead of the normal drop if just one player has a smelting thing on their pickaxe.

I have no clue how to reproduce this bug, I am providing a link to download my MODPACK in the form of a ZIP file used on CurseForge and a link to download the SERVER FILES for my MODPACK. I will include LOGS (Debug and Normal). There is no crash report so I cannot send that. In order to find this bug, you will have to actually open a server.

I apologize that I cannot help or provide any further information. This is all I got. I don't know if there are any mod conflicts either.

Also, I wanted to point out that you have not updated the drop-down for version selection on GitHub. I put the current version in the TITLE of this BUG REPORT.

Reproduction Steps

  1. Join a multiplayer server on my modpack

Expected Result

  1. Special Enchanted Abilities on Items should be specific to the ITEM and NOT GLOBAL FOR EVERY PLAYER

Screenshots and Videos

No screenshots or Videos.

Operating System

Windows 10

Mod Version

2.1.0

Minecraft Version

1.16.5

Forge Version

40.1.73

Other Mods

No Hostiles Around Campfire (Forge) (by Serilum)
Camera Mod (by henkelmax)
AtomicStryker's Infernal Mobs (by atomicstrykergrumpy)
Waystones (by BlayTheNinth)
Cloth Config API (Fabric/Forge) (by shedaniel)
Wandering Bag (by Furti_Two)
Multi Mine (by atomicstrykergrumpy)
Not Enough Crashes (Forge) (by NatanFudge)
Sully's Mod (by GoesBySully)
Scaling Health (by SilentChaos512)
Ding (by ohaiiChun)
The Undergarden (by Quek04)
Balm (Forge Edition) (by BlayTheNinth)
JEI Integration (by SnowShock35)
Diagonal Fences (by Fuzs_)
U Team Core (by HyCraftHD)
Client Tweaks (by BlayTheNinth)
Polymorph (Forge) (by TheIllusiveC4)
VanillaTweaks [Fabric & Forge] (by StrikerRocker)
Ellemes' Container Library (by 3llemes)
Apotheosis (by Shadows_of_Fire)
Better Compatibility Checker (by Gaz_)
Simple Shops (by wolforce)
Chipped (by terrariumearth)
MmmMmmMmmMmm (Target Dummy) (by MehVahdJukaar)
JEITweaker (by Jaredlll08)
Vanilla Excavators [Forge] (by MelanX)
Diet (Forge) (by TheIllusiveC4)
Towns and Towers - Structure Add-on (by Biban_Auriu)
Pehkui (by Virtuoel)
Enlightened End (by MuffinsQw)
Allurement (by TeamAbnormals)
Structure Gel API (by ModdingLegacy)
Create Confectionery (by Furti_Two)
AttributeFix (by DarkhaxDev)
AutoRegLib (by Vazkii)
Blue Skies (by ModdingLegacy)
CraftTweaker (by Jaredlll08)
Oreganized Mod (by gleepjepomeranc)
Responsive Shields (by Revvilo)
When Dungeons Arise - Forge! (by Aureljz)
Citadel (by sbom_xela)
Kobolds! (by Jusey1z)
Controlling (by Jaredlll08)
Simple Planes (Forge) (by przemykomo)
Explosion't (by Harmonised_)
Blueprint (by TeamAbnormals)
Enchantment Descriptions (by DarkhaxDev)
The Wild Update 1.19 [FORGE] (by ZainJx81)
Pretty Beaches (by BlayTheNinth)
Origins: Classes (Forge) (by LimonBlaze)
ShetiPhianCore (by ShetiPhian)
Open Loader (by DarkhaxDev)
Domestication Innovation (by sbom_xela)
Fruit Trees 🍊 (by Snownee_)
Creeper Confetti (by SR2610)
Biomes O' Plenty (by Forstride)
Biome Makeover (Forge) (by Lemonszz)
Consecration (by TheIllusiveC4)
Valhelsia Core (by ValhelsiaTeam)
YUNG's Better Witch Huts (Forge) (by YUNGNICKYOUNG)
Just Enough Items (JEI) (by mezz)
Entity Culling Fabric/Forge (by tr9zw)
Decorative Blocks Compat (by stohun)
VMH - Variable Mob Height (by Rikurobb)
Compat O' Plenty (by tdstress)
LibX (by noeppinoeppi)
TorchBowMod (by noriokun4649)
Not Enough Animations (by tr9zw)
ExpandAbility (by florensie)
Snowballs Freeze Mobs (Forge) (by Serilum)
Effective (Forge) (by BottomTextDanny)
CodeChicken Lib 1.8.+ (by covers1624)
Wall-Jump! [FORGE] (by genandnic)
FramedBlocks (by XFactHD)
Ceiling Torch (by bl4ckscor3)
Ars Creo (by baileyholl2)
Torch Slabs Mod (by EndlesNights)
Sound Physics Remastered (by henkelmax)
Forbidden and Arcanus (by cesar_zorak)
SecretRoomsMod (by AbrarSyed)
It's the little things (by Zlepper)
Mo's Grounded Origins [FORGE] (by mo_shark)
Off Hand Combat [Forge] (by Awekyuwusu)
Just Enough Resources (JER) (by way2muchnoise)
Spyglass Improvements: Zoom, Quick Access... [Fabric/Forge] (by Im_JC52)
Inventory Sorter (by cpw)
Elytra Slot (Forge) (by TheIllusiveC4)
Tips (by DarkhaxDev)
Flywheel (by jozufozu)
YUNG's Bridges (Forge) (by YUNGNICKYOUNG)
[Forge-Unused] Expanded Storage (by 3llemes)
CC: Tweaked (by SquidDev)
Curios API (Forge) (by TheIllusiveC4)
Just Enough Painting Previews (JEPP) (by MehVahdJukaar)
Ender Storage 1.8.+ (by covers1624)
Xaero's World Map (by xaero96)
Double Slabs (by CJMinecraft01)
ItemPhysic Full (by CreativeMD)
Simple Voice Chat (by henkelmax)
GeckoLib (by ThanosGecko)
Enhanced Celestials - Blood, Blue, & Harvest (Super) Moons (by Corgi_Taco)
The One Probe (by McJty)
Entity Collision FPS Fix (by Corgi_Taco)
Carry On (by Tschipp)
Better Flight [Forge] (by rejah_tavi)
Spice of Life: Carrot Edition (by lordcazsius)
Ores Above Diamonds (by Squidsword)
Silent Lib (silentlib) (by SilentChaos512)
Catalogue (by MrCrayfish)
Chat Heads (by dzwdz)
Decorative Blocks (by stohun)
OpenBlocks Elevator (by vsngarcia)
GraveStone Mod (by henkelmax)
Puzzles Lib (by Fuzs_)
Damage Tilt (by Charles445)
Oculus (by Asek3)
Bookshelf (by DarkhaxDev)
Majrusz Library (by Majrusz17)
Useful Backpacks (by HyCraftHD)
Moonlight Lib (by MehVahdJukaar)
Lucent (by ModdingLegacy)
Avaritia:Reforged (by cnlimiter)
GoProne (by Alpvax)
Forgiving Void (by BlayTheNinth)
Caelus API (Forge) (by TheIllusiveC4)
Cursery[Forge/Fabric] (by someaddon)
MrCrayfish's Furniture Mod (by MrCrayfish)
Feature NBT Deadlock Be Gone (by telepathicgrunt)
Create: Alloyed (by MythrilBagels)
Artifacts (by ochotonida)
Patchouli (by Vazkii)
Configured (by MrCrayfish)
Rubidium (by Asek3)
Guns Without Roses (by Lykrast)
AmbientSounds 5 (by CreativeMD)
Some Assembly Required (by ochotonida)
Health Overlay (Forge) (by Terrails)
Quark (by Vazkii)
YUNG's Better Dungeons (Forge) (by YUNGNICKYOUNG)
SwingThroughGrass (by exidex)
YUNG's API (Forge) (by YUNGNICKYOUNG)
Habitat (by schnappdragon)
Reap Mod (by henkelmax)
XP Tome (by bl4ckscor3)
Simple Discord RPC [Forge/Fabric/Quilt] (by hypherionsa)
Easier Sleeping (by GeheimagentNr1)
Useless Sword (by Furti_Two)
Farmer's Respite (by lumpazl)
Tan's Huge Trees (by TannyJung)
Chance Cubes (by TurkeyDev)
Collective (Forge) (by Serilum)
Every Compat (by MehVahdJukaar)
Vanilla Hammers [Forge] (by MelanX)
Construction Wand (by ThetaDev)
Repurposed Structures (Forge) (by telepathicgrunt)
Create (by simibubi)
YUNG's Extras (Forge) (by YUNGNICKYOUNG)
AppleSkin (by squeek502)
Potion Bundles (by IchHabeHunger54)
Better Title Screen (by Girafi)
Architectury API (Fabric/Forge) (by shedaniel)
Mod Name Tooltip (by mezz)
Aquaculture 2 (by Shadowclaimer)
Origins (Forge) (by EdwinMindcraft)
MC style paintings (by salvad0r666)
Cama's Music Discs (by justcama)
Savage & Ravage (by TeamAbnormals)
Better Fps - Render Distance[Forge] (by someaddon)
Dark Paintings (by DarkhaxDev)
Overloaded Armor Bar (Updated) (by Rikka_Kitani)
Iron Furnaces [FORGE] (by XenoMustache)
Alcocraft: Beer & Stuff (by hadrus91)
Farmer's Delight (by vectorwing)
Bygone Nether (by izofar)
SuperMartijn642's Core Lib (by SuperMartijn642)
Fast Leaf Decay (by olafskiii)
Give Me Hats! [FABRIC/FORGE] (by Acrogenous)
MoreVanillaLib (by MelanX)
CAS' Extra Potions (by CAS_ual_TY)
Mouse Tweaks (by YaLTeR)
The Twilight Forest (by Benimatic)
Creeper Overhaul (by joosh_7889)
Dragon Mounts: Legacy (by UnitKay9)
ReAuth (by TechnicianLP)
Illagers Wear Armor (by almightytallestred)
YUNG's Better Strongholds (Forge) (by YUNGNICKYOUNG)
Chunky (Forge) (by pop4959)
CreativeCore (by CreativeMD)
Cucumber Library (by BlakeBr0)
Create Crafts & Additions (by MRHminer)
Randomite Classic (by ModdingLegacy)
Ensorcellation (by TeamCoFH)
Bucolic Origins [FORGE/FABRIC] (by Tmanfoo)
End Remastered (by jack_bagel)
YUNG's Better Mineshafts (Forge) (by YUNGNICKYOUNG)
Kiwi πŸ₯ (Forge) (by Snownee_)
Ars Nouveau (by baileyholl2)
TerraBlender (Forge) (by TheAdubbz)
Extra Golems (by skyjay1)
CreateTweaker (by Jaredlll08)
Xaero's Minimap (Fair-play Edition) (by xaero96)
Cama's Library for Cama's Pack (by justcama)
Alex's Mobs (by sbom_xela)
Terralith (by Starmute)
Chisels & Bits - For Forge (by AlgorithmX2)
Create Stuff Additions (by Furti_Two)
Neko's Enchanted Books (by Nekomaster1000)
Beyond Earth (Forge) (by mrscauthd)
CoFH Core (by TeamCoFH)
True Darkness (by GrondagTheBarbarian)
Supplementaries (by MehVahdJukaar)
YUNG's Better Desert Temples (Forge) (by YUNGNICKYOUNG)
Mining Master (by InfernalStudios)
Open Parties and Claims (by xaero96)
Selectable Painting (by GeheimagentNr1)
Create Big Cannons (by rbasamoyai)
Placebo (by Shadows_of_Fire)
Dungeon Crawl (by xiroc_)
Create Deco (by talrey)
Comforts (Forge) (by TheIllusiveC4)
BiomeInfo (by bl4ckscor3)
Cherished Worlds (Forge) (by TheIllusiveC4)
Customizable Elytra (by Hidoni)
Optifine Capes (by γ­γ‚γ‚‰γŸ)
Integrated Dungeons and Structures (by CraisinLord)
Runelic (by DarkhaxDev)
Friends&Foes (Forge) (by faboslav)
Too Fast (by Noobanidus)

Additional Context

SERVER LOG FILES

latest.log
debug.log

MODPACK ZIP FOR CURSEFORGE:
VP DEV-2.09.1.zip

COMPLETE WORKING SERVER FILES: https://drive.google.com/file/d/1UAiLsCdOPLhP9SS_BMSaSYwFLjuwxyC0/view?usp=sharing

commented

Hey there, thanks for the comprehensive bug report!
If you wouldn't mind doing additional tests: Could you consider taking out every other enchanting-related mod in the modpack and seeing if this effect still happens? Narrowing down the issue/conflict to another mod would help a lot!

commented

I can definitely try that tomorrow. I have been working my a** off on this modpack and I hate testing a series of mods but it will help you and also help us. I can work on this tomorrow!

commented

I really appreciate it! My theory is that there’s something off with the loot modifier, but I have honestly no idea what should cause it. The loot modifier should only apply if the block is being mined with a tool with the enchantment, so no idea why it would check ALL players on the server for that enchantment. I probably won’t be able to take a look until end of this week or early next week, but I’ll do my best to get to it ASAP!

commented

I tried disabling Enchantment Mods but I wasn't getting any results. I'm sorry that I couldn't be more help. Hopefully, you guys can figure this one out!

commented

Of course! Thank you for testing that out!

commented

I'm curious, based on your initial report, I don't understand how this could happen in single-player. Could you elaborate on how this bug shows itself in single-player?

commented

Upon further testing, it seems that the bug is entirely random. There were times in a single-player world where the issue occurred and other times it didn't. This makes troubleshooting extremely difficult :\

Next time it happens, I will send logs.

commented

Apologies for the late response. I will do some more testing and see if I can re-produce this bug again. It's happening at random it seems.

commented

Very interesting. I'll also have to do some research into how Forge handles their loot table modifiers.

commented

I haven't noticed this issue in newer updates. It may have been a conflict with another mod.

commented

Experiencing this in 1.19.2. Applied Grace V to a chestplate and now any entity (including mobs) that touches water receives the Dolphin's grace effect for 30 seconds, even after the offending piece of armor has been destroyed.

Here's a spark readout from my testing which includes a full list of involved mods: https://spark.lucko.me/ruH0bM5ND8
Specifically, I'm running this modpack: https://www.curseforge.com/minecraft/modpacks/grindergard-revolution

I can't imagine why there would be even a player-level flag getting set for this, but I'll try to dig around with NBTExplorer in the world save and see if there's something in the world or player data related to this as that's the only other thing I can think to check.

commented

Update: Restarting the server ends the bug, but it crops up on an enchant-by-enchant basis. The first time silk touch was applied to a tool using spider kunzite, all blocks began dropping themselves when broken with a bare hand or with breakage like leaf decay. I haven't had a chance to test extensively yet, but it appears to be tied to the first time an enchant is applied rather than every time.

commented

I have pretty good reason to believe that this was actually tied to the same issue as #49. I've resolved that for the next version that will be released. I'm going to close this issue for now as resolved. If the issue persists in the next Mining Master release, please feel free to reopen this issue. Given that it's so hard to test this bug since it shows up so sporadically, it's hard to say. But your info about it happening when enchanting (I'm assuming using the gems in a smithing table, given the issue I discovered) seems to point to the bug I just resolved.

commented

Interesting... thank you for these updates! I'm in a bug-fixing grind for MM right now, so I'll look into this a bit!