Add since tags to new methods

This commit is contained in:
dordsor21 2024-06-02 09:27:56 +01:00 committed by Jordan
parent a82ba31185
commit 47b0ece377

View File

@ -1351,6 +1351,7 @@ public class LocalSession implements TextureHolder {
* @param item the item type * @param item the item type
* @param tool the tool to set, which can be {@code null} * @param tool the tool to set, which can be {@code null}
* @throws InvalidToolBindException if the item can't be bound to that item * @throws InvalidToolBindException if the item can't be bound to that item
* @since TODO
*/ */
public void setTool(BaseItem item, @Nullable Tool tool) throws InvalidToolBindException { public void setTool(BaseItem item, @Nullable Tool tool) throws InvalidToolBindException {
if (item.getType().hasBlockType()) { if (item.getType().hasBlockType()) {
@ -1917,6 +1918,7 @@ public class LocalSession implements TextureHolder {
* Get the preferred wand item for this user, or {@code null} to use the default * Get the preferred wand item for this user, or {@code null} to use the default
* *
* @return item id of wand item, or {@code null} * @return item id of wand item, or {@code null}
* @since TODO
*/ */
public BaseItem getWandBaseItem() { public BaseItem getWandBaseItem() {
return wandItem == null ? null : new BaseItem(wandItem.getType(), wandItem.getNbtReference()); return wandItem == null ? null : new BaseItem(wandItem.getType(), wandItem.getNbtReference());
@ -1926,6 +1928,7 @@ public class LocalSession implements TextureHolder {
* Get the preferred navigation wand item for this user, or {@code null} to use the default * Get the preferred navigation wand item for this user, or {@code null} to use the default
* *
* @return item id of nav wand item, or {@code null} * @return item id of nav wand item, or {@code null}
* @since TODO
*/ */
public BaseItem getNavWandBaseItem() { public BaseItem getNavWandBaseItem() {
return navWandItem == null ? null : new BaseItem(navWandItem.getType(), navWandItem.getNbtReference()); return navWandItem == null ? null : new BaseItem(navWandItem.getType(), navWandItem.getNbtReference());