mirror of
https://github.com/filoghost/HolographicDisplays.git
synced 2025-01-14 03:41:23 +01:00
Create class for common method
This commit is contained in:
parent
899ade7ce2
commit
a942c1725a
@ -8,11 +8,6 @@ package me.filoghost.holographicdisplays.api.placeholder;
|
||||
/**
|
||||
* @since 1
|
||||
*/
|
||||
public interface GlobalPlaceholder extends GlobalPlaceholderReplacer {
|
||||
|
||||
/**
|
||||
* @since 1
|
||||
*/
|
||||
int getRefreshIntervalTicks();
|
||||
public interface GlobalPlaceholder extends GlobalPlaceholderReplacer, Placeholder {
|
||||
|
||||
}
|
||||
|
@ -8,11 +8,6 @@ package me.filoghost.holographicdisplays.api.placeholder;
|
||||
/**
|
||||
* @since 1
|
||||
*/
|
||||
public interface IndividualPlaceholder extends IndividualPlaceholderReplacer {
|
||||
|
||||
/**
|
||||
* @since 1
|
||||
*/
|
||||
int getRefreshIntervalTicks();
|
||||
public interface IndividualPlaceholder extends IndividualPlaceholderReplacer, Placeholder {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Copyright (C) filoghost and contributors
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*/
|
||||
package me.filoghost.holographicdisplays.api.placeholder;
|
||||
|
||||
public interface Placeholder {
|
||||
|
||||
/**
|
||||
* @since 1
|
||||
*/
|
||||
int getRefreshIntervalTicks();
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user