mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2026-01-06 15:52:03 +00:00
浅浅添加一个之前资源包记录
This commit is contained in:
@@ -82,4 +82,6 @@ public abstract class Player extends Entity implements NetWorkUser {
|
||||
public abstract void closeInventory();
|
||||
|
||||
public abstract void clearView();
|
||||
|
||||
public abstract void unloadCurrentResourcePack();
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@ import io.netty.channel.Channel;
|
||||
import net.momirealms.craftengine.core.plugin.Plugin;
|
||||
import net.momirealms.craftengine.core.util.Key;
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
@@ -50,5 +51,8 @@ public interface NetWorkUser {
|
||||
|
||||
void setClientModState(boolean enable);
|
||||
|
||||
|
||||
void setCurrentResourcePackUUID(UUID uuid);
|
||||
|
||||
@Nullable
|
||||
UUID currentResourcePackUUID();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user