blob: d340366e034d05497c65df4f8972f7b4019d616c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
/*
* Dungeons Guide - The most intelligent Hypixel Skyblock Dungeons Mod
* Copyright (C) 2021 cyoung06
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package kr.syeyoung.dungeonsguide.roomprocessor;
import kr.syeyoung.dungeonsguide.events.BlockUpdateEvent;
import kr.syeyoung.dungeonsguide.events.KeyBindPressedEvent;
import kr.syeyoung.dungeonsguide.events.PlayerInteractEntityEvent;
import net.minecraft.util.IChatComponent;
import net.minecraftforge.client.event.GuiScreenEvent;
import net.minecraftforge.event.entity.living.LivingDeathEvent;
import net.minecraftforge.event.entity.living.LivingEvent;
import net.minecraftforge.event.entity.player.PlayerInteractEvent;
public interface RoomProcessor {
void tick();
void drawScreen(float partialTicks);
void drawWorld(float partialTicks);
void chatReceived(IChatComponent chat);
void actionbarReceived(IChatComponent chat);
boolean readGlobalChat();
void onPostGuiRender(GuiScreenEvent.DrawScreenEvent.Post event);
void onEntityUpdate(LivingEvent.LivingUpdateEvent updateEvent);
void onEntityDeath(LivingDeathEvent deathEvent);
void onKeybindPress(KeyBindPressedEvent keyInputEvent);
void onInteract(PlayerInteractEntityEvent event);
void onInteractBlock(PlayerInteractEvent event);
void onBlockUpdate(BlockUpdateEvent blockUpdateEvent);
}
|