Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ongoing Minor Issue List (SpongeAPI Edition) #1000

Open
Deamon5550 opened this issue Jan 1, 2016 · 14 comments
Open

Ongoing Minor Issue List (SpongeAPI Edition) #1000

Deamon5550 opened this issue Jan 1, 2016 · 14 comments

Comments

@Deamon5550
Copy link
Contributor

Deamon5550 commented Jan 1, 2016

SpongeAPI | Sponge

Checkstyle issues should not be reported here as those can be more accurately determined by simply running the checkstyle tool. Examples of good issues to report here are misnamed methods/fields, poorly worded javadocs, formatting issues.

As minor things are resolved, comments will be deleted.

@Deamon5550 Deamon5550 added this to the Revision 4.0 milestone Jan 1, 2016
@stephan-gh stephan-gh modified the milestones: Revision 4.0, Revision 5.0 Mar 13, 2016
liach referenced this issue Mar 17, 2016
Zidane added a commit that referenced this issue Oct 16, 2016
Fixes JavaDoc issues in #1000; removes implements DataSerializable from ItemStack
Zidane pushed a commit that referenced this issue Oct 16, 2016
…rom ItemStack

DataHolder already extends DataSerializable.
@Deamon5550 Deamon5550 removed this from the Revision 5.0 milestone Oct 18, 2016
@kashike kashike mentioned this issue Nov 17, 2016
kashike pushed a commit that referenced this issue Nov 29, 2016
Deamon5550 referenced this issue Feb 14, 2017
kashike pushed a commit that referenced this issue Oct 1, 2017
@SpongePowered SpongePowered deleted a comment from caseif Oct 1, 2017
@SpongePowered SpongePowered deleted a comment from JonathanBrouwer Oct 1, 2017
@SpongePowered SpongePowered deleted a comment from Faithcaio Oct 1, 2017
@SpongePowered SpongePowered deleted a comment from hsyyid Oct 1, 2017
@SpongePowered SpongePowered deleted a comment from Lignium Mar 14, 2020
@SpongePowered SpongePowered deleted a comment from Lignium Mar 14, 2020
@SpongePowered SpongePowered deleted a comment from Lignium Mar 14, 2020
@SpongePowered SpongePowered deleted a comment from Lignium Mar 14, 2020
@SpongePowered SpongePowered deleted a comment from Lignium Mar 14, 2020
@SpongePowered SpongePowered deleted a comment from IzzelAliz Mar 14, 2020
@SpongePowered SpongePowered deleted a comment from Lignium Mar 14, 2020
@SpongePowered SpongePowered deleted a comment from Lignium Mar 14, 2020
@SpongePowered SpongePowered deleted a comment from Lignium Mar 14, 2020
@SpongePowered SpongePowered deleted a comment from Lignium Mar 14, 2020
@SpongePowered SpongePowered deleted a comment from ItsDoot Mar 14, 2020
@tyhdefu
Copy link
Contributor

tyhdefu commented Apr 10, 2020

https://jd.spongepowered.org/7.2.0/org/spongepowered/api/item/inventory/Inventory.html#offer-org.spongepowered.api.item.inventory.ItemStack- has a very confusing javadoc. It says it returns true if one or more (up to the total number of items in the supplied stack) items were consumed. but the type returned is InventoryTransactionResult.
Not sure if this is intentional, but calling .getRejectedItems() only returns something if the whole stack was rejected, even if it was partially rejected. It seems like theres a mix of mutating the ItemStack and returning a result going on here. I think it should be one or the other.

@kashike kashike changed the title Ongoing Minor Issue List (OCD List) Beta Edition Ongoing Minor Issue List (OCD List) Jun 1, 2021
@Zidane Zidane changed the title Ongoing Minor Issue List (OCD List) Ongoing Minor Issue List (SpongeAPI Edition) Jun 18, 2021
@SpongePowered SpongePowered deleted a comment from TheGlitch76 Jun 18, 2021
@SpongePowered SpongePowered deleted a comment from tyhdefu Jun 18, 2021
@SpongePowered SpongePowered deleted a comment from ejm Jun 18, 2021
@SpongePowered SpongePowered deleted a comment from ejm Jun 18, 2021
@SpongePowered SpongePowered deleted a comment from ejm Jun 18, 2021
@SpongePowered SpongePowered deleted a comment from ImMorpheus Jun 18, 2021
@NxDs
Copy link

NxDs commented Jul 22, 2021

{@link Listener}d instead of {@link Listener}s or {@link Listener}

* Order that {@link Listener}d methods may be registered at.

@Lignium
Copy link
Contributor

Lignium commented Aug 7, 2021

Should be CommandCause commandCause or just cause

List<CommandCompletion> complete(CommandCause context, String currentInput);

* @param context The {@link CommandCause} that contains the parsed
* arguments

@Lignium
Copy link
Contributor

Lignium commented Nov 8, 2021

Returns a {@link WorldProperties}.

* <p>Returns a {@link WorldProperties}.</p>
*/
public static final DefaultedRegistryReference<ResourceKeyedValueParameter<ServerWorld>> WORLD = ResourceKeyedValueParameters.key(ResourceKey.sponge("world"));

@JonesiBlitz
Copy link

JonesiBlitz commented Nov 9, 2021

Link to docs should be: https://docs.spongepowered.org/stable/en/contributing/guidelines.html

Please check our [Contribution Guidelines in the Sponge Documentation](https://docs.spongepowered.org/en/contributing/guidelines.html) for more information.

@A248
Copy link
Contributor

A248 commented Aug 20, 2022

The minimum Java version for API 9 is 17, but the README on the api-9 branch states otherwise:
https://github.com/SpongePowered/SpongeAPI/blob/api-9/README.md#prerequisites

@DrZoddiak
Copy link
Contributor

This method doesn't need a generic. API 8+

default <V> Builder scale(Double scale) {
return this.option(ParticleOptions.SCALE, scale);
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests