Class BrainsweepeeIngredient
java.lang.Object
at.petrak.hexcasting.common.recipe.ingredient.brainsweep.BrainsweepeeIngredient
- Direct Known Subclasses:
EntityTagIngredient,EntityTypeIngredient,VillagerIngredient
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BrainsweepeeIngredientdeserialize(com.google.gson.JsonObject json) abstract @Nullable net.minecraft.world.entity.EntityexampleEntity(net.minecraft.world.level.Level level) For the benefit of showing to the client, return an example of the entity.static net.minecraft.network.chat.ComponentgetModNameComponent(String namespace) abstract net.minecraft.network.chat.ComponentgetName()abstract Stringabstract List<net.minecraft.network.chat.Component>getTooltip(boolean advanced) abstract BrainsweepeeIngredient.TypeingrType()static BrainsweepeeIngredientread(net.minecraft.network.FriendlyByteBuf buf) abstract com.google.gson.JsonObjectabstract booleantest(net.minecraft.world.entity.Entity entity, net.minecraft.server.level.ServerLevel level) voidwrapWrite(net.minecraft.network.FriendlyByteBuf buf) abstract voidwrite(net.minecraft.network.FriendlyByteBuf buf)
-
Constructor Details
-
BrainsweepeeIngredient
public BrainsweepeeIngredient()
-
-
Method Details
-
test
public abstract boolean test(net.minecraft.world.entity.Entity entity, net.minecraft.server.level.ServerLevel level) -
getName
public abstract net.minecraft.network.chat.Component getName() -
getTooltip
-
serialize
public abstract com.google.gson.JsonObject serialize() -
wrapWrite
public void wrapWrite(net.minecraft.network.FriendlyByteBuf buf) -
write
public abstract void write(net.minecraft.network.FriendlyByteBuf buf) -
exampleEntity
@Nullable public abstract @Nullable net.minecraft.world.entity.Entity exampleEntity(net.minecraft.world.level.Level level) For the benefit of showing to the client, return an example of the entity.Can return null in case someone did something stupid with a recipe
-
ingrType
-
getSomeKindOfReasonableIDForEmi
-
read
-
deserialize
-
getModNameComponent
-