ActuallyAdditions/src/main/java/de/ellpeck/actuallyadditions/mod/proxy/IProxy.java
2019-05-02 03:10:29 -04: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) {
};
}