Class CTEntityIngredient.CompoundEntityIngredient
java.lang.Object
com.blamejared.crafttweaker.api.entity.CTEntityIngredient
com.blamejared.crafttweaker.api.entity.CTEntityIngredient.CompoundEntityIngredient
- All Implemented Interfaces:
CommandStringDisplayable
- Enclosing class:
- CTEntityIngredient
-
Nested Class Summary
Nested classes/interfaces inherited from class com.blamejared.crafttweaker.api.entity.CTEntityIngredient
CTEntityIngredient.CompoundEntityIngredient, CTEntityIngredient.EntityTagWithAmountIngredient, CTEntityIngredient.EntityTypeIngredient -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the BEP to get this thingy<T> TmapTo(Function<net.minecraft.world.entity.EntityType<?>, T> typeMapper, BiFunction<net.minecraft.tags.TagKey<net.minecraft.world.entity.EntityType<?>>, Integer, T> tagMapper, Function<Stream<T>, T> compoundMapper) booleanmatches(net.minecraft.tags.TagKey<net.minecraft.world.entity.EntityType<?>> tag) booleanmatches(net.minecraft.tags.TagKey<net.minecraft.world.entity.EntityType<?>> tag, int amount) booleanmatches(net.minecraft.world.entity.EntityType<?> type) booleanmatches(net.minecraft.world.entity.EntityType<?> type, int amount) Methods inherited from class com.blamejared.crafttweaker.api.entity.CTEntityIngredient
asCompound
-
Constructor Details
-
CompoundEntityIngredient
-
-
Method Details
-
getCommandString
Description copied from interface:CommandStringDisplayableReturns the BEP to get this thingy- Specified by:
getCommandStringin interfaceCommandStringDisplayable- Specified by:
getCommandStringin classCTEntityIngredient
-
matches
public boolean matches(net.minecraft.world.entity.EntityType<?> type) - Specified by:
matchesin classCTEntityIngredient
-
matches
public boolean matches(net.minecraft.world.entity.EntityType<?> type, int amount) - Specified by:
matchesin classCTEntityIngredient
-
matches
public boolean matches(net.minecraft.tags.TagKey<net.minecraft.world.entity.EntityType<?>> tag) - Specified by:
matchesin classCTEntityIngredient
-
matches
public boolean matches(net.minecraft.tags.TagKey<net.minecraft.world.entity.EntityType<?>> tag, int amount) - Specified by:
matchesin classCTEntityIngredient
-
mapTo
public <T> T mapTo(Function<net.minecraft.world.entity.EntityType<?>, T> typeMapper, BiFunction<net.minecraft.tags.TagKey<net.minecraft.world.entity.EntityType<?>>, Integer, T> tagMapper, Function<Stream<T>, T> compoundMapper) - Specified by:
mapToin classCTEntityIngredient
-