fix inconsistent api docu

This commit is contained in:
Darkere
2021-09-27 15:42:23 +02:00
parent e050f0e90a
commit faf24640bd
4 changed files with 5 additions and 5 deletions

View File

@@ -18,7 +18,7 @@ public interface IGridFactory {
* *
* @param player the player * @param player the player
* @param stack the stack * @param stack the stack
* @param slot the slot, if applicable, otherwise -1 * @param slot the slot in the players inventory,or curio slot, otherwise -1
* @return the grid, or null if a problem occurred * @return the grid, or null if a problem occurred
*/ */
@Nullable @Nullable

View File

@@ -36,7 +36,7 @@ public interface IGridManager {
* @param id the grid factory id * @param id the grid factory id
* @param player the player * @param player the player
* @param stack the stack * @param stack the stack
* @param slot the slot * @param slot the slot in the players inventory,or curio slot, otherwise -1
*/ */
void openGrid(ResourceLocation id, ServerPlayerEntity player, ItemStack stack, PlayerSlot slot); void openGrid(ResourceLocation id, ServerPlayerEntity player, ItemStack stack, PlayerSlot slot);
@@ -47,7 +47,7 @@ public interface IGridManager {
* @param player the player * @param player the player
* @param stack the stack, if there is one * @param stack the stack, if there is one
* @param pos the block position, if there is one * @param pos the block position, if there is one
* @param slot the slot, if applicable, otherwise -1 * @param slot the slot in the players inventory,or curio slot, otherwise -1
* @return a grid, or null if an error has occurred * @return a grid, or null if an error has occurred
*/ */
@Nullable @Nullable

View File

@@ -16,7 +16,7 @@ public interface INetworkItemManager {
* *
* @param player the player that opened the network item * @param player the player that opened the network item
* @param stack the stack that has been opened * @param stack the stack that has been opened
* @param slot the slot in the players inventory, otherwise -1 * @param slot the slot in the players inventory,or curio slot, otherwise -1
*/ */
void open(PlayerEntity player, ItemStack stack, PlayerSlot slot); void open(PlayerEntity player, ItemStack stack, PlayerSlot slot);

View File

@@ -16,7 +16,7 @@ public interface INetworkItemProvider {
* @param handler the network item handler * @param handler the network item handler
* @param player the player * @param player the player
* @param stack the stack * @param stack the stack
* @param slot the slot in the players inventory or -1 * @param slot the slot in the players inventory,or curio slot, otherwise -1
* @return the network item * @return the network item
*/ */
@Nonnull @Nonnull