question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[1.14+] Big 'Ol Feature Request List

See original GitHub issue

These requests are mostly QoL features, I know there are ways of doing the same, but those ways are less elegant.

  • MCTag.IsValidItemTag() Returns true if the Tag exists and is an itemTag, otherwise false.
  • loadedMods["modname"] A way of checking if a mod exists in the instance, the main purpose for this would be to disable mod specific scripts if a mod is removed by the user.
  • craftingTable.getByName(string) - Returns recipe or null if no such recipe exists. Useful for automatic name generation functions. Returning true or false, or 0 or 1 would be just fine too.
  • MCTag.first - A method that returns the first element or null from a tag.
  • MCTag.removeItem(VarArg) - Alias for removeItems, which is a bit more intuitive for removing single items.
  • IItemStack.owner - A method that returns the name of the mod that owns the IItemStack.
  • Global/static variables, accessible anywhere without having to import them.
  • If the above is not possible (or wanted), ability to import variables between scripts.
  • /ct tag(s) - Copies first or all tags from the held item to the clipboard.
  • /ct inventory - Like /ct hand for the entire inventory.
  • /ct inventory tag(s) - Like /ct hand fo the entire inventory. Copies first or all tags from items in the inventory to the clipboard
  • /ct recipe - Prints the CrT syntax for the recipes of the held item, and copies it to the clipboard
  • IItemStack.transformDamage(int) - Uses int amount of durability on item, or breaks the item if it does not have enough durability

I’m sure I can come up with more things, so… Please leave this open unless it’s annoying 😛

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:18 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
jaredlll08commented, Apr 12, 2020
MCTag.first

This isn’t the same every single time, on one load <tag:minecraft:wool> produced orange wool, the next load it was white wool.

Saying this, if mods are using the first item specifically, like thermal expansion used to do, then it should be fine

0reactions
friendlyhjcommented, May 27, 2021

Can be closed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Java Edition 1.14 - Minecraft Wiki - Fandom
1.14, the first release of Village & Pillage, is a major update to Java Edition released on ... A feature originally planned for...
Read more >
Minecraft - YouTube
Carpet Mod for Minecraft 1.14 /1.15 - Complete Guide ... /log command to display per player extra information Scarpet features that replaced ...
Read more >
Releases · openlayers/openlayers - GitHub
The 7.0 release includes an impressive batch of features and fixes from over 90 pull requests. We're excited about a new foundation for...
Read more >
Koji 1.14 Release Notes - Pagure.io
PR: https://pagure.io/koji/pull-request/526. The command line now has a list-builds command that has similar functionality to the builds tab of the web ...
Read more >
Apache Subversion 1.14 LTS Release Notes
For a complete list of changes, see the 1.14 section of the CHANGES file. ... However, some of the new 1.14 features may...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found