Hbm-s-Nuclear-Tech-GIT/src/main/java/com/hbm/items/IKeybindReceiver.java
Boblet 6bfca4e1fe 🅱️alls
2025-06-10 15:32:47 +02:00

14 lines
513 B
Java

package com.hbm.items;
import com.hbm.handler.HbmKeybinds.EnumKeybind;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
public interface IKeybindReceiver {
public boolean canHandleKeybind(EntityPlayer player, ItemStack stack, EnumKeybind keybind);
public void handleKeybind(EntityPlayer player, ItemStack stack, EnumKeybind keybind, boolean state);
public default void handleKeybindClient(EntityPlayer player, ItemStack stack, EnumKeybind keybind, boolean state) { }
}