ActuallyAdditions/src/main/java/de/ellpeck/actuallyadditions/mod/proxy/IProxy.java
Shadows_of_Fire 227c227ddd Fixes #1015
I think.  This is basically the entire method from TiC, with added
boolean returns to support that the drill wanted them.  Probably also
Fixes #996
2018-01-29 02:17:31 -05:00

42 lines
1.2 KiB
Java

/*
* This file ("IProxy.java") is part of the Actually Additions mod for Minecraft.
* It is created and owned by Ellpeck and distributed
* under the Actually Additions License to be found at
* http://ellpeck.de/actaddlicense
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
*
* © 2015-2017 Ellpeck
*/
package de.ellpeck.actuallyadditions.mod.proxy;
import net.minecraft.block.Block;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.math.BlockPos;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
public interface IProxy{
void preInit(FMLPreInitializationEvent event);
void init(FMLInitializationEvent event);
void postInit(FMLPostInitializationEvent event);
void addRenderRegister(ItemStack stack, ResourceLocation location, String variant);
void addColoredItem(Item item);
void addColoredBlock(Block block);
EntityPlayer getCurrentPlayer();
default void sendBreakPacket(BlockPos pos) {};
}