Quark Oddities

Quark Oddities

22M Downloads

Bug on Auto-refilling Tools

ali-p-q opened this issue · 9 comments

commented

I was mining with a stone pickaxe, which was allocated to the slot 3 of the hotbar.

As soon as the stone pickaxe broke, it got moved to the slot 1 of the hotbar, where my iron pickaxe was previously located. The stone pickaxe appeared to have 0 durability left (I did not check).

When I tried to mine using the stone pickaxe, it immediately turned back into my iron pickaxe.

commented

Sorry, I forgot to mention that.

1.12 single player. Quark + Psi + JEI + OptiFine.

commented
commented
commented

Sorry, dude. I was AFK and just answered real quick. There you go:

Quark-r1.2-103
Psi-r1.1-52
OptiFine_1.12_HD_U_C4 (compatible with new Forge stuff)
JEI_1.12-4.7.2.77

A bit of info from the latest log:

[20:39:36] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[20:39:36] [main/INFO]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[20:39:36] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[20:39:36] [main/INFO]: Forge Mod Loader version 14.21.1.2387 for Minecraft 1.12 loading
[20:39:36] [main/INFO]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_25, running on Windows 8.1:amd64:6.3, installed at D:\Games\Curse\Minecraft\Install\runtime\jre-x64\1.8.0_25
[20:39:36] [main/INFO]: Loading tweaker optifine.OptiFineForgeTweaker from OptiFine_1.12_HD_U_C4.jar
[20:39:36] [main/WARN]: The coremod vazkii.quark.base.asm.LoadingPlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
[20:39:36] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[20:39:36] [main/INFO]: Loading tweak class name optifine.OptiFineForgeTweaker
[20:39:36] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[20:39:36] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[20:39:36] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[20:39:36] [main/INFO]: Calling tweak class optifine.OptiFineForgeTweaker
[20:39:36] [main/INFO]: [optifine.OptiFineForgeTweaker:dbg:56]: OptiFineForgeTweaker: acceptOptions
[20:39:36] [main/INFO]: [optifine.OptiFineForgeTweaker:dbg:56]: OptiFineForgeTweaker: injectIntoClassLoader
[20:39:36] [main/INFO]: [optifine.OptiFineClassTransformer:dbg:266]: OptiFine ClassTransformer
[20:39:36] [main/INFO]: [optifine.OptiFineClassTransformer:dbg:266]: OptiFine URL: file:/D:/Games/Curse/Minecraft/Instances/Quark/mods/OptiFine_1.12_HD_U_C4.jar

[.....]

[20:39:52] [main/INFO]: [OptiFine] LWJGL: 2.9.4
[20:39:52] [main/INFO]: [OptiFine] OpenGL: Intel(R) HD Graphics 4400, version 4.3.0 - Build 10.18.14.4578, Intel
[20:39:52] [main/INFO]: [OptiFine] OpenGL Version: 4.3.0
[20:39:52] [main/INFO]: [OptiFine] OpenGL Fancy fog: Not available (GL_NV_fog_distance)
[20:39:52] [main/INFO]: [OptiFine] Maximum texture size: 8192x8192
[20:39:52] [main/INFO]: [Shaders] ShadersMod version: 2.4.12
[20:39:52] [main/INFO]: [Shaders] OpenGL Version: 4.3.0 - Build 10.18.14.4578
[20:39:52] [main/INFO]: [Shaders] Vendor:  Intel
[20:39:52] [main/INFO]: [Shaders] Renderer: Intel(R) HD Graphics 4400
[20:39:52] [main/INFO]: [Shaders] Capabilities:  2.0  2.1  3.0  3.2  4.0 
[20:39:52] [main/INFO]: [Shaders] GL_MAX_DRAW_BUFFERS: 8
[20:39:52] [main/INFO]: [Shaders] GL_MAX_COLOR_ATTACHMENTS_EXT: 8
[20:39:52] [main/INFO]: [Shaders] GL_MAX_TEXTURE_IMAGE_UNITS: 32
[20:39:52] [main/INFO]: [Shaders] Load ShadersMod configuration.
[20:39:52] [main/INFO]: [Shaders] Save ShadersMod configuration.
[20:39:52] [main/INFO]: [Shaders] No shaderpack loaded.
[20:39:52] [Thread-3/INFO]: [OptiFine] Checking for new version
[20:39:53] [main/INFO]: Forge Mod Loader has detected optifine OptiFine_1.12_HD_U_C4, enabling compatibility features
[20:39:53] [main/INFO]: -- System Details --
Details:
	Minecraft Version: 1.12
	Operating System: Windows 8.1 (amd64) version 6.3
	Java Version: 1.8.0_25, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 611052672 bytes (582 MB) / 837812224 bytes (799 MB) up to 3817865216 bytes (3641 MB)
	JVM Flags: 4 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx4096m -Xms256m -XX:PermSize=256m
	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
	FML: 
	Loaded coremods (and transformers): 
LoadingPlugin (Quark-r1.2-103.jar)
  vazkii.quark.base.asm.ClassTransformer
	GL info: ' Vendor: 'Intel' Version: '4.3.0 - Build 10.18.14.4578' Renderer: 'Intel(R) HD Graphics 4400'
[20:39:53] [main/INFO]: MinecraftForge v14.21.1.2387 Initialized
[20:39:53] [main/INFO]: Replaced 921 ore ingredients
[20:39:53] [main/INFO]: Found 0 mods from the command line. Injecting into mod discoverer
[20:39:53] [main/INFO]: Searching D:\Games\Curse\Minecraft\Instances\Quark\mods for mods
[20:39:54] [Thread-3/INFO]: [OptiFine] Version found: C4
[20:39:55] [main/INFO]: Forge Mod Loader has identified 8 mods to load
[20:39:55] [main/INFO]: Attempting connection with missing mods [minecraft, mcp, FML, forge, autoreglib, jei, psi, quark] at CLIENT
[20:39:55] [main/INFO]: Attempting connection with missing mods [minecraft, mcp, FML, forge, autoreglib, jei, psi, quark] at SERVER
[20:39:56] [Thread-4/INFO]: Using alternative sync timing : 200 frames of Display.update took 2141165287 nanos
[20:39:57] [main/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:AutoRegLib, FMLFileResourcePack:Just Enough Items, FMLFileResourcePack:Psi, FMLFileResourcePack:Quark, quark-texture-proxy
[20:39:57] [main/INFO]: Processing ObjectHolder annotations
[20:39:57] [main/INFO]: Found 1168 ObjectHolder annotations
[20:39:57] [main/INFO]: Identifying ItemStackHolder annotations
[20:39:57] [main/INFO]: Found 0 ItemStackHolder annotations
[20:39:57] [main/INFO]: Configured a dormant chunk cache size of 0
[20:39:57] [Forge Version Check/INFO]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[20:39:58] [main/INFO]: [Quark ASM] Transforming TileEntityPistonRenderer
[20:39:58] [main/INFO]: [Quark ASM] Applying Transformation to method (Names [renderStateModel, func_188186_a, a] Descriptor (Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/state/IBlockState;Lnet/minecraft/client/renderer/BufferBuilder;Lnet/minecraft/world/World;Z)Z / (Let;Lawr;Lbui;Lams;Z)Z)
[20:39:58] [main/INFO]: [Quark ASM] Located Method, patching...
[20:39:58] [main/INFO]: [Quark ASM] Patch result: true
[20:39:58] [Forge Version Check/INFO]: [forge] Found status: UP_TO_DATE Target: null
[20:39:58] [main/INFO]: [Quark] Module vanity is enabled
[20:39:58] [main/INFO]: [Quark] Module building is enabled
[20:39:58] [main/INFO]: [Quark] Module management is enabled
[20:39:58] [main/INFO]: [Quark] Module tweaks is enabled
[20:39:58] [main/INFO]: [Quark] Module decoration is enabled
[20:39:58] [main/INFO]: [Quark] Module misc is enabled
[20:39:58] [main/INFO]: [Quark] Module world is enabled
[20:39:58] [main/INFO]: [Quark] Module automation is enabled
[20:39:58] [main/INFO]: [Quark] Module experimental is enabled
[20:40:00] [main/INFO]: Applying holder lookups
[20:40:00] [main/INFO]: Holder lookups applied
[20:40:00] [main/INFO]: Applying holder lookups
[20:40:00] [main/INFO]: Holder lookups applied
[20:40:00] [main/INFO]: Applying holder lookups
[20:40:00] [main/INFO]: Holder lookups applied
[20:40:00] [main/INFO]: Applying holder lookups
[20:40:00] [main/INFO]: Holder lookups applied
[20:40:00] [main/INFO]: Injecting itemstacks
[20:40:00] [main/INFO]: Itemstack injection complete
[20:40:00] [main/INFO]: [OptiFine] *** Reloading textures ***
[20:40:00] [main/INFO]: [OptiFine] Resource packs: Default
[20:40:02] [Sound Library Loader/INFO]: Starting up SoundSystem...
[20:40:02] [Thread-7/INFO]: Initializing LWJGL OpenAL
[20:40:02] [Thread-7/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[20:40:06] [Thread-7/INFO]: OpenAL initialized.
[20:40:06] [Sound Library Loader/INFO]: Sound engine started
[20:40:07] [main/INFO]: [OptiFine] Mipmap levels: 4
[20:40:07] [main/INFO]: [OptiFine] Multitexture: false
[20:40:07] [main/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/0_glass_white/glass_pane_white.properties
[20:40:07] [main/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/0_glass_white/glass_white.properties
[20:40:07] [main/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/10_glass_purple/glass_pane_purple.properties
[20:40:07] [main/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/10_glass_purple/glass_purple.properties
[20:40:07] [main/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/11_glass_blue/glass_blue.properties
[20:40:07] [main/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/11_glass_blue/glass_pane_blue.properties
[20:40:07] [main/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/12_glass_brown/glass_brown.properties
[20:40:07] [main/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/12_glass_brown/glass_pane_brown.properties
[20:40:07] [main/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/13_glass_green/glass_green.properties
[20:40:07] [main/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/13_glass_green/glass_pane_green.properties
[20:40:07] [main/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/14_glass_red/glass_pane_red.properties
[20:40:07] [main/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/14_glass_red/glass_red.properties
[20:40:07] [main/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/15_glass_black/glass_black.properties
[20:40:07] [main/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/15_glass_black/glass_pane_black.properties
[20:40:07] [main/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/1_glass_orange/glass_orange.properties
[20:40:07] [main/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/1_glass_orange/glass_pane_orange.properties
[20:40:07] [main/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/2_glass_magenta/glass_magenta.properties
[20:40:07] [main/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/2_glass_magenta/glass_pane_magenta.properties
[20:40:07] [main/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/3_glass_light_blue/glass_light_blue.properties
[20:40:07] [main/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/3_glass_light_blue/glass_pane_light_blue.properties
[20:40:07] [main/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/4_glass_yellow/glass_pane_yellow.properties
[20:40:07] [main/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/4_glass_yellow/glass_yellow.properties
[20:40:07] [main/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/5_glass_lime/glass_lime.properties
[20:40:07] [main/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/5_glass_lime/glass_pane_lime.properties
[20:40:07] [main/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/6_glass_pink/glass_pane_pink.properties
[20:40:07] [main/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/6_glass_pink/glass_pink.properties
[20:40:07] [main/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/7_glass_gray/glass_gray.properties
[20:40:07] [main/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/7_glass_gray/glass_pane_gray.properties
[20:40:07] [main/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/8_glass_silver/glass_pane_silver.properties
[20:40:07] [main/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/8_glass_silver/glass_silver.properties
[20:40:07] [main/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/9_glass_cyan/glass_cyan.properties
[20:40:07] [main/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/9_glass_cyan/glass_pane_cyan.properties
[20:40:07] [main/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/bookshelf.properties
[20:40:07] [main/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/glass.properties
[20:40:07] [main/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/glasspane.properties
[20:40:07] [main/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/sandstone.properties
[20:40:07] [main/INFO]: [OptiFine] Multipass connected textures: false
[20:40:07] [main/INFO]: [OptiFine] BetterGrass: Parsing default configuration optifine/bettergrass.properties
[20:40:08] [main/INFO]: [OptiFine] Custom loader: TextureAtlasSprite{name='minecraft:white', frameCount=1, rotated=false, x=0, y=0, height=16, width=16, u0=0.0, u1=0.0, v0=0.0, v1=0.0}
[20:40:09] [main/INFO]: Created: 1024x1024 textures-atlas
[20:40:13] [main/INFO]: [Quark ASM] Transforming LayerArmorBase
[20:40:13] [main/INFO]: [Quark ASM] Applying Transformation to method (Names [renderArmorLayer, func_188361_a, a] Descriptor (Lnet/minecraft/entity/EntityLivingBase;FFFFFFFLnet/minecraft/inventory/EntityEquipmentSlot;)V / (Lvn;FFFFFFFLvj;)V)
[20:40:13] [main/INFO]: [Quark ASM] Located Method, patching...
[20:40:13] [main/INFO]: [Quark ASM] Patch result: true
[20:40:13] [main/INFO]: [Quark ASM] Optifine Detected. Disabling Patch for Names [renderEnchantedGlint, func_188364_a, a] Descriptor (Lnet/minecraft/client/renderer/entity/RenderLivingBase;Lnet/minecraft/entity/EntityLivingBase;Lnet/minecraft/client/model/ModelBase;FFFFFFF)V / (Lbzy;Lvn;Lbqd;FFFFFFF)V
[20:40:14] [main/INFO]: Injecting itemstacks
[20:40:14] [main/INFO]: Itemstack injection complete
[20:40:14] [main/INFO]: Starting JEI...
commented

I can't reproduce this. Was it a fluke or can you get it to happen consistently?

commented
commented

It happened again, this time with iron shovels. I had 3 shovels. I believe 2 had been used before and 1 was brand new. When the the one I was continuously mining with (pressing the button) broke I had it automatically replaced by the new one.

However, as soon as the replacement shovel got placed in the hotbar I opened my inventory and noticed that the one left there had 0 durability left. For an instant I thought the one that had just broken was returned to my inventory before it broke. But then I noticed that it wasn't the case, because there was only 1 shovel left in my inventory.

I just ignored it and started mining with the replacement one (the one now in the hotbar). When I opened my inventory later on, the shovel there had 100% durability, even though I believe it had been used before. In other words, there are odd things happening every once in a while.

I was suspecting it could be related to OptiFine, since I use custom Video settings. But now that apparently the durability of one of my shovels got altered I'm going to keep my eyes open and see if I can reproduce this bug.

commented

I managed to reproduce it, but not consistently. Screenshots show what happened when I reproduced it playing in a Survival world. Video settings in the screenshots as well.

For some weird reason, I could never reproduce it when I use the "give" command to give me a worn out pickaxe (either in Survival open to LAN, to allow cheats) or a superflat test world.

Also, after I reproduced it a few times using pickaxes I grabbed from the creative menu in the superflat world, it stopped happening.

Screenshots from Survival world

  1. I had 6 pickaxes. 2 had been used. https://ibb.co/iwYGHF
  2. I constantly mined until the pickaxe broke. As soon as it did it was not replaced. I opened my inventory and took another screeshot. Notice that the pickaxe that had not been used before (in the hotbar) is now shown as having 0 durability left. https://ibb.co/jC6gjv
  3. I selected this pickaxe and got ready to mine a block. https://ibb.co/ji5wHF
  4. As soon as I start mining, the correct durability is rendered. https://ibb.co/np7yWa

Video settings for both worlds:

  1. Main Settings https://ibb.co/hMSFBa
  2. Detail Settings https://ibb.co/hz5fcF
  3. Animation Settings https://ibb.co/k7RaBa
  4. Quality Settings https://ibb.co/hLzHPv
  5. Performance Settings https://ibb.co/ka18Wa
commented

Huh, have had this happen somewhat consistently with both tools and blocks. Not sure why this is happening, but it shouldn't, as Inventory Tweaks does a similar thing, but never seems to bug out like this.