17 lines
420 B
Java
17 lines
420 B
Java
package dev.galliard.amodgus.init.custom;
|
|
|
|
import net.minecraft.world.InteractionResult;
|
|
import net.minecraft.world.item.Item;
|
|
import net.minecraft.world.item.context.UseOnContext;
|
|
|
|
public class EggHatItem extends Item{
|
|
public EggHatItem(Properties pProperties) {
|
|
super(pProperties);
|
|
}
|
|
|
|
@Override
|
|
public InteractionResult useOn(UseOnContext pContext) {
|
|
return super.useOn(pContext);
|
|
}
|
|
}
|