Example usage for net.minecraftforge.registries IForgeRegistryEntry.Impl subclass-usage

List of usage examples for net.minecraftforge.registries IForgeRegistryEntry.Impl subclass-usage

Introduction

In this page you can find the example usage for net.minecraftforge.registries IForgeRegistryEntry.Impl subclass-usage.

Usage

From source file com.buuz135.industrial.api.conveyor.ConveyorUpgradeFactory.java

public abstract class ConveyorUpgradeFactory extends IForgeRegistryEntry.Impl<ConveyorUpgradeFactory> {
    public static final ImmutableSet<EnumFacing> HORIZONTAL = ImmutableSet
            .copyOf(EnumFacing.Plane.HORIZONTAL.facings());
    public static final ImmutableSet<EnumFacing> DOWN = ImmutableSet.of(EnumFacing.DOWN);

    public abstract ConveyorUpgrade create(IConveyorContainer container, EnumFacing face);

From source file com.buuz135.industrial.api.plant.PlantRecollectable.java

public abstract class PlantRecollectable extends IForgeRegistryEntry.Impl<PlantRecollectable> {

    public PlantRecollectable(String name) {
        setRegistryName(name);
    }

From source file com.buuz135.industrial.api.straw.StrawHandler.java

@ParametersAreNonnullByDefault
@MethodsReturnNonnullByDefault
public abstract class StrawHandler extends IForgeRegistryEntry.Impl<StrawHandler> {
    public abstract boolean validFluid(FluidStack stack);

    public abstract void onDrink(World world, BlockPos pos, FluidStack stack, EntityPlayer player,

From source file com.lothrazar.cyclicmagic.block.dehydrator.RecipeDeHydrate.java

public class RecipeDeHydrate extends IForgeRegistryEntry.Impl<IRecipe> implements IRecipe {

    public static ArrayList<RecipeDeHydrate> recipes = new ArrayList<RecipeDeHydrate>();
    private ItemStack recipeInput = ItemStack.EMPTY;
    private ItemStack resultItem = ItemStack.EMPTY;
    private int time;

From source file com.lothrazar.cyclicmagic.block.hydrator.RecipeHydrate.java

public class RecipeHydrate extends IForgeRegistryEntry.Impl<IRecipe> implements IRecipe {

    private static final int FLUID_DEFAULT = 25;
    public static ArrayList<RecipeHydrate> recipes = new ArrayList<RecipeHydrate>();
    private NonNullList<ItemStack> recipeInput = NonNullList.withSize(TileEntityHydrator.RECIPE_SIZE,
            ItemStack.EMPTY);// new ItemStack[4];

From source file com.lothrazar.cyclicmagic.block.melter.RecipeMelter.java

public class RecipeMelter extends IForgeRegistryEntry.Impl<IRecipe> implements IRecipe {

    public static ArrayList<RecipeMelter> recipes = new ArrayList<RecipeMelter>();
    private NonNullList<ItemStack> recipeInput = NonNullList.withSize(TileMelter.RECIPE_SIZE, ItemStack.EMPTY);// new ItemStack[4];
    private Fluid fluidResult = null;
    private int fluidSize;

From source file com.lothrazar.cyclicmagic.block.solidifier.RecipeSolidifier.java

public class RecipeSolidifier extends IForgeRegistryEntry.Impl<IRecipe> implements IRecipe {

    private static final int FLUID_DEFAULT = 25;
    public static ArrayList<RecipeSolidifier> recipes = new ArrayList<RecipeSolidifier>();
    private NonNullList<ItemStack> recipeInput = NonNullList.withSize(TileSolidifier.RECIPE_SIZE, ItemStack.EMPTY);// new ItemStack[4];
    private ItemStack resultItem = ItemStack.EMPTY;

From source file de.ellpeck.actuallyadditions.mod.crafting.RecipeBioMash.java

public class RecipeBioMash extends IForgeRegistryEntry.Impl<IRecipe> implements IRecipe {

    public RecipeBioMash(ResourceLocation location) {
        RecipeHelper.addRecipe(location.getPath(), this);
    }

From source file de.kitsunealex.projectx.api.recipe.EngineeringRecipe.java

/**
 * Recipe class for the Engineering Table.
 * The slot-order of ingredients is as following:
 *          ____  ____
 *         /    \/    \
 *         *  1 **  2 *

From source file pl.asie.ponysocks.recipe.RecipeBase.java

public abstract class RecipeBase extends IForgeRegistryEntry.Impl<IRecipe> implements IRecipe {
    protected final NonNullList<Ingredient> ingredients = NonNullList.create();
    private final String group;
    private final boolean shaped;
    private final int width, height;