In the beta discussion thread, Dan said he added API annotations. Those don't appear to be present.
What happened to the @API annotations?
Started by ElvishJerricco, Oct 10 2014 10:18 PM
3 replies to this topic
#1
Posted 10 October 2014 - 10:18 PM
#2
Posted 11 October 2014 - 01: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.
@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.
#3
Posted 11 October 2014 - 03:26 AM
theoriginalbit, on 11 October 2014 - 01:20 AM, said:
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.
@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.
#4
Posted 11 October 2014 - 03:41 AM
the @API annotation has been present since at least Minecraft 1.6... it's quite a powerful tool!
Edited by theoriginalbit, 11 October 2014 - 03:41 AM.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











