public interface IShiftScrollable
| Modifier and Type | Method and Description |
|---|---|
void |
onShiftScrolled(net.minecraft.entity.player.PlayerEntity player,
boolean forward,
net.minecraft.util.Hand hand)
Called both client- and server-side when a player shift-scrolls the mouse wheel, while holding an item
(in main hand) which implements this interface.
|
void onShiftScrolled(net.minecraft.entity.player.PlayerEntity player,
boolean forward,
net.minecraft.util.Hand hand)
player - player doing the shift-scrollingforward - true if the mouse wheel was rotated up, false if rotated downhand -