/
Belyash5
/
Flu
Обзор
Документация
Войти
/
Belyash5
/
Flu
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/main/java/com/hbm/interfaces/IControlReceiver.java
17 строк
539 B
Bob
and now for something completely different
30 июл 2023, 20:00
30 июл 2023, 20:00
647c837
Код
Авторство
О чём код?
package com.hbm.interfaces; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.nbt.NBTTagCompound; /** * For receiving (sort of) complex control data via NBT from clients * @author hbm */ public interface IControlReceiver { public boolean hasPermission(EntityPlayer player); public void receiveControl(NBTTagCompound data); /* this was the easiest way of doing this without needing to change all 7 quadrillion implementors */ public default void receiveControl(EntityPlayer player, NBTTagCompound data) { } }