[Fix] Wrong visibility for DebugDataItem Interfaces
This commit is contained in:
parent
3a25f4a726
commit
671fea6c2e
1 changed files with 2 additions and 2 deletions
|
@ -46,11 +46,11 @@ public class DebugDataItem extends Item implements ItemModelProvider {
|
|||
|
||||
public static final ResourceLocation DEFAULT_ICON = new ResourceLocation("stick");
|
||||
|
||||
interface DebugInteraction {
|
||||
public interface DebugInteraction {
|
||||
InteractionResult use(UseOnContext useOnContext);
|
||||
}
|
||||
|
||||
interface DebugEntityInteraction extends DebugInteraction {
|
||||
public interface DebugEntityInteraction extends DebugInteraction {
|
||||
@Override
|
||||
default InteractionResult use(UseOnContext useOnContext) {
|
||||
var entity = useOnContext.getLevel().getBlockEntity(useOnContext.getClickedPos());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue