MCTeamPotato / Locks-Unofficial

The source code for Locks, a small, but unique Minecraft mod that introduces flexible and universal locks, a fun new lock picking mechanic and lots of other useful tools.
Other
3 stars 2 forks source link

Add netherite and copper lock #6

Open Vladyslav1728 opened 2 weeks ago

Vladyslav1728 commented 2 weeks ago

In LocksUnoffical-1.20.1-1.1.1 I encountered a bug, if you find any chest with a lock in the world, then you can easily open it even without hacking. If there is a lock on the chest, then when you try to open it, it should say on the screen that the chest is locked, and the player will not be able to open it until he hacks it, but here the player can easily open it even without hacking

Vladyslav1728 commented 2 weeks ago

And I also wanted to suggest an idea, but I didn't understand where to write it, so I'll write it here:

So, in version 1.20.1, netherite and copper were added to minecraft, I suggest making a netherite and copper lock

Vladyslav1728 commented 2 weeks ago

I found the problem. The bug is caused by the mod !--Beans Backpacks--! (https://www.curseforge.com/minecraft/mc-mods/beans-backpacks) .Your mod conflicts with it, and chests can be opened even when they have a lock on them.

Yuqi154 commented 2 weeks ago

The bug is more likely caused by Beans Backpacks itself. As it break the PlayerInteractEvent.RightClickBlock and setUseBlock always true.

Yuqi154 commented 2 weeks ago

Your should issue the bug to Beans Backpacks too,but I will try to fix it although, but I cant promise.

Vladyslav1728 commented 2 weeks ago

Your should issue the bug to Beans Backpacks too,but I will try to fix it although, but I cant promise.

I thought about writing, but the mod has already been abandoned as far as I understand

Yuqi154 commented 2 weeks ago

I have made compact with it,the mod will update soon.

Yuqi154 commented 2 weeks ago

7