LazoYoung / CraftGames

Minecraft Paper plugin that enables you to make custom minigame scripts.
MIT License
2 stars 1 forks source link

Enhanced inventory-lock feature. #85

Closed jupiter1390 closed 4 years ago

jupiter1390 commented 4 years ago

https://gamepedia.cursecdn.com/minecraft_gamepedia/thumb/b/b2/Items_slot_number.png/300px-Items_slot_number.png?version=4819ee83ebf47118c5831067141e7ec7

Additional data input to lock specific slots(in ranged value)?

jupiter1390 commented 4 years ago

addtion: if the locked slot is player's hotbar, item will not be dropped either by Q or dragging out of inventory

LazoYoung commented 4 years ago

So basically you wanna keep the items in locked slots, allowing random item to fill an empty locked slot in the meantime. Correct?

jupiter1390 commented 4 years ago

item can be still placed in empty locked slot, but they will not be removed from inventory / moved to other slot

LazoYoung commented 4 years ago

결론적으로 잠궈진 아이템 슬롯은 1) 비어 있다면, 채워지는 것이 가능하다. 2) 채워져 있다면, 다른 슬롯으로 옮기거나 인벤토리 바깥으로 빼낼 수 없다.