Class ValueTypeListProxyPositionedRecipes
java.lang.Object
org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeListProxyBase<T,V>
org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeListProxyPositioned<ValueObjectTypeRecipe,ValueObjectTypeRecipe.ValueRecipe>
org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeListProxyPositionedRecipes
- All Implemented Interfaces:
Iterable<ValueObjectTypeRecipe.ValueRecipe>,org.cyclops.cyclopscore.persist.nbt.INBTProvider,IValueTypeListProxy<ValueObjectTypeRecipe,ValueObjectTypeRecipe.ValueRecipe>
public class ValueTypeListProxyPositionedRecipes
extends ValueTypeListProxyPositioned<ValueObjectTypeRecipe,ValueObjectTypeRecipe.ValueRecipe>
implements org.cyclops.cyclopscore.persist.nbt.INBTProvider
A list proxy for the recipes of a recipe handler at a certain position.
-
Constructor Summary
ConstructorsConstructorDescriptionValueTypeListProxyPositionedRecipes(org.cyclops.cyclopscore.datastructure.DimPos pos, net.minecraft.core.Direction side) -
Method Summary
Modifier and TypeMethodDescriptionget(int index) Get the element at the given index.intprotected net.minecraftforge.common.util.LazyOptional<org.cyclops.commoncapabilities.api.capability.recipehandler.IRecipeHandler>Methods inherited from class org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeListProxyPositioned
getPos, getSide, readGeneratedFieldsFromNBT, setPos, setSide, writeGeneratedFieldsToNBTMethods inherited from class org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeListProxyBase
equals, getName, getValueType, hashCode, isInfinite, iterator, toCompactStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cyclops.cyclopscore.persist.nbt.INBTProvider
readGeneratedFieldsFromNBT, writeGeneratedFieldsToNBTMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
ValueTypeListProxyPositionedRecipes
public ValueTypeListProxyPositionedRecipes(org.cyclops.cyclopscore.datastructure.DimPos pos, net.minecraft.core.Direction side) -
ValueTypeListProxyPositionedRecipes
public ValueTypeListProxyPositionedRecipes()
-
-
Method Details
-
getRecipeHandler
protected net.minecraftforge.common.util.LazyOptional<org.cyclops.commoncapabilities.api.capability.recipehandler.IRecipeHandler> getRecipeHandler() -
getLength
public int getLength()- Specified by:
getLengthin interfaceIValueTypeListProxy<ValueObjectTypeRecipe,ValueObjectTypeRecipe.ValueRecipe> - Returns:
- The list length
-
get
Description copied from interface:IValueTypeListProxyGet the element at the given index.- Specified by:
getin interfaceIValueTypeListProxy<ValueObjectTypeRecipe,ValueObjectTypeRecipe.ValueRecipe> - Parameters:
index- The index.- Returns:
- The element at the given index.
-