Package vazkii.botania.api.recipe
Interface StateIngredient
- All Superinterfaces:
Predicate<net.minecraft.world.level.block.state.BlockState>
- All Known Implementing Classes:
AllOfExcludingStateIngredient,AnyOfStateIngredient,BlockStateIngredient,BlockTagIngredient,BlockTypeIngredient
public interface StateIngredient
extends Predicate<net.minecraft.world.level.block.state.BlockState>
A basic interface for inputs and outputs for in-world blocks.
-
Method Summary
Modifier and TypeMethodDescriptiondefault List<net.minecraft.network.chat.Component> A description tooltip to display in areas like JEI recipes.List<net.minecraft.world.level.block.state.BlockState> List<net.minecraft.world.item.ItemStack> getType()net.minecraft.world.level.block.state.BlockStatepick(net.minecraft.util.RandomSource random) Stream<net.minecraft.world.level.block.state.BlockState> booleantest(net.minecraft.world.level.block.state.BlockState state)
-
Method Details
-
test
boolean test(net.minecraft.world.level.block.state.BlockState state) -
pick
net.minecraft.world.level.block.state.BlockState pick(net.minecraft.util.RandomSource random) -
getType
StateIngredientType<?> getType() -
getDisplayedStacks
List<net.minecraft.world.item.ItemStack> getDisplayedStacks() -
descriptionTooltip
A description tooltip to display in areas like JEI recipes. -
getDisplayed
List<net.minecraft.world.level.block.state.BlockState> getDisplayed() -
streamBlockStates
Stream<net.minecraft.world.level.block.state.BlockState> streamBlockStates()
-