mirror of
https://github.com/dmulloy2/ProtocolLib.git
synced 2024-11-23 19:16:14 +01:00
Fixing documentation.
This commit is contained in:
parent
ad6fbae5d6
commit
cd9fa1cdf6
@ -131,7 +131,7 @@ public interface ProtocolManager {
|
||||
/**
|
||||
* Construct a packet using the special builtin Minecraft constructors.
|
||||
* @param id - the packet ID.
|
||||
* @param argumentTypes - arguments that will be passed to the constructor.
|
||||
* @param arguments - arguments that will be passed to the constructor.
|
||||
* @return The packet constructor.
|
||||
*/
|
||||
public PacketConstructor createPacketConstructor(int id, Object... arguments);
|
||||
|
@ -62,7 +62,7 @@ public class PacketConstructor {
|
||||
/**
|
||||
* Return a copy of the current constructor with a different list of unwrappers.
|
||||
* @param unwrappers - list of unwrappers that convert Bukkit wrappers into the equivalent NMS classes.
|
||||
* @return
|
||||
* @return A constructor with a different set of unwrappers.
|
||||
*/
|
||||
public PacketConstructor withUnwrappers(List<Unwrapper> unwrappers) {
|
||||
return new PacketConstructor(constructorMethod, unwrappers);
|
||||
|
@ -208,7 +208,7 @@ public class FuzzyReflection {
|
||||
* <li>net.comphenix.xp.ExperienceMod</li>
|
||||
* </ul>
|
||||
* @param typeRegex - regular expression that will match the field type.
|
||||
* @param ignoredTypes - types to ignore.
|
||||
* @param ignored - types to ignore.
|
||||
* @return The first field with a type that matches the given regular expression.
|
||||
*/
|
||||
@SuppressWarnings("rawtypes")
|
||||
|
@ -52,7 +52,7 @@ public class IntEnum {
|
||||
|
||||
/**
|
||||
* Determines whether or not the given member exists.
|
||||
* @param packetID - the ID of the member to find.
|
||||
* @param id - the ID of the member to find.
|
||||
* @return TRUE if a member with the given ID exists, FALSE otherwise.
|
||||
*/
|
||||
public boolean hasMember(int id) {
|
||||
|
@ -49,7 +49,6 @@ public class DefaultInstances {
|
||||
/**
|
||||
* Construct a default instance generator using the given instance providers.
|
||||
* @param registered - list of instance providers.
|
||||
* @param stringDefault - default string value.
|
||||
*/
|
||||
public DefaultInstances(ImmutableList<InstanceProvider> registered) {
|
||||
this.registered = registered;
|
||||
@ -58,7 +57,6 @@ public class DefaultInstances {
|
||||
/**
|
||||
* Construct a default instance generator using the given instance providers.
|
||||
* @param instaceProviders - array of instance providers.
|
||||
* @return An default instance generator.
|
||||
*/
|
||||
public DefaultInstances(InstanceProvider... instaceProviders) {
|
||||
this(ImmutableList.copyOf(instaceProviders));
|
||||
|
Loading…
Reference in New Issue
Block a user