[1.20.1] LittleStructure#use method doesn't have hand or itemstack parameters
slava110 opened this issue · 1 comments
Hi. Trying to port my mod to 1.20.1. I want to add custom LittleStructure
representing slot (place) for another structure. Player should be able to click this structure with LittleTiles item in his hand to place tiles from his hand into this slot. However, as you see in
method
LittleStructure#use
doesn't have ItemStack
or EnumHand
as an argument. So I cannot get LittleTiles from player's hand to place into my slot structure :cShould I use something else to get item from player's hand in 1.20.1?