This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
ElvishJerricco's profile picture

What happened to the @API annotations?

Started by ElvishJerricco, 10 October 2014 - 09:18 PM
ElvishJerricco #1
Posted 10 October 2014 - 11:18 PM
In the beta discussion thread, Dan said he added API annotations. Those don't appear to be present.
theoriginalbit #2
Posted 11 October 2014 - 02:20 AM
what are you talking about, they're eel and truly present in 1.64 and 1.65!

@API annotations can only occur once in a package, and the annotation has to happen at the package level, as such people define a new file 'package-info.java', which Forge looks for.
ElvishJerricco #3
Posted 11 October 2014 - 04:26 AM
what are you talking about, they're eel and truly present in 1.64 and 1.65!

@API annotations can only occur once in a package, and the annotation has to happen at the package level, as such people define a new file 'package-info.java', which Forge looks for.

Ah! Sorry I misunderstood how the @API annotation worked. Haven't worked with 1.7 until now.
theoriginalbit #4
Posted 11 October 2014 - 04:41 AM
the @API annotation has been present since at least Minecraft 1.6… it's quite a powerful tool!
Edited on 11 October 2014 - 02:41 AM