You don't actually have to detect when enter is pressed in this case, you can simply check for a change in the chat box.
lastChatLine = Main.chatLine.text;
//do stuff with the command
Is that recipe meant to be using the slime block from your mod or the one from vanilla terraria?
To add items from your mod as ingredients use:
recipe.AddIngredient(null, "SlimeBlock", 5);
As ItemID.SlimeBlock refers to the vanilla slime block.
For anybody who needs them, here's a couple of common use examples for the shoot function.
The first fires each shot in a random spread:
public override bool Shoot(Player player, ref Microsoft.Xna.Framework.Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref...
After some testing, here's an example of what you can do.
public override bool Shoot(Player player, ref Microsoft.Xna.Framework.Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack)
In that case, try this:
public override void Update(ref float gravity, ref float maxFallSpeed)
Lighting.AddLight(item.position, 2, 3, 7);
The color there is more blue than Color.AliceBlue, but it also shouldn't be too bright to discern the color.
I'm not sure how you could remove a vanilla recipe. All my attempts ended in crashes.
I was able to alter the vanilla recipe though. The result does reduce the cost of the celestial sigil.
public override void AddRecipes()
Main.recipe.requiredItem.stack = 4...