2025-11-24 22:52:51 +03:00

18 lines
315 B
Java

/*
* Decompiled with CFR 0.152.
*/
package net.minecraft.world;
import net.minecraft.world.entity.EquipmentSlot;
public enum InteractionHand {
MAIN_HAND,
OFF_HAND;
public EquipmentSlot asEquipmentSlot() {
return this == MAIN_HAND ? EquipmentSlot.MAINHAND : EquipmentSlot.OFFHAND;
}
}