ActuallyAdditions/src/main/java/de/ellpeck/actuallyadditions/mod/proxy/IProxy.java

43 lines
1.2 KiB
Java
Raw Normal View History

2015-08-29 14:33:25 +02:00
/*
2016-05-16 22:52:27 +02:00
* This file ("IProxy.java") is part of the Actually Additions mod for Minecraft.
2015-08-29 14:33:25 +02:00
* It is created and owned by Ellpeck and distributed
* under the Actually Additions License to be found at
2016-05-16 22:52:27 +02:00
* http://ellpeck.de/actaddlicense
2015-08-29 14:33:25 +02:00
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
*
2017-01-01 16:23:26 +01:00
* © 2015-2017 Ellpeck
2015-08-29 14:33:25 +02:00
*/
2016-01-05 04:47:35 +01:00
package de.ellpeck.actuallyadditions.mod.proxy;
2017-02-13 23:17:08 +01:00
import net.minecraft.block.Block;
import net.minecraft.entity.player.EntityPlayer;
2016-01-08 20:51:03 +01:00
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.math.BlockPos;
2016-01-07 18:20:59 +01:00
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
2019-05-02 09:10:29 +02:00
public interface IProxy {
void preInit(FMLPreInitializationEvent event);
void init(FMLInitializationEvent event);
void postInit(FMLPostInitializationEvent event);
2016-01-08 20:51:03 +01:00
void addRenderRegister(ItemStack stack, ResourceLocation location, String variant);
2016-01-08 20:51:03 +01:00
2016-03-19 15:10:20 +01:00
void addColoredItem(Item item);
2017-02-13 23:17:08 +01:00
void addColoredBlock(Block block);
EntityPlayer getCurrentPlayer();
2019-02-27 19:53:05 +01:00
2019-05-02 09:10:29 +02:00
default void sendBreakPacket(BlockPos pos) {
};
2017-02-13 23:17:08 +01:00
}