1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-20 03:35:51 +00:00

We can use useable anyway

This commit is contained in:
poma123 2020-09-11 20:29:23 +02:00
parent be5f793695
commit acd26b68dd
3 changed files with 5 additions and 5 deletions

View File

@ -74,7 +74,7 @@ public class BlockDataService implements PersistentDataService, Keyed {
/** /**
* This method checks whether the given {@link Material} is a Tile Entity. * This method checks whether the given {@link Material} is a Tile Entity.
* This is used to determine whether the {@link Block} produced by this {@link Material} * This is used to determine whether the {@link Block} produced by this {@link Material}
* produces a {@link TileState}, making it usable as a {@link PersistentDataHolder}. * produces a {@link TileState}, making it useable as a {@link PersistentDataHolder}.
* *
* Due to {@link Block#getState()} being a very expensive call performance-wise though, * Due to {@link Block#getState()} being a very expensive call performance-wise though,
* this simple lookup method is used instead. * this simple lookup method is used instead.

View File

@ -17,7 +17,7 @@ import me.mrCookieSlime.Slimefun.Objects.SlimefunItem.SlimefunItem;
* automatically * automatically
* replace it in the recipes by its vanilla equivalent. * replace it in the recipes by its vanilla equivalent.
* *
* A {@link VanillaItem} is also automatically usable in workbenches. * A {@link VanillaItem} is also automatically useable in workbenches.
* *
* @author TheBusyBiscuit * @author TheBusyBiscuit
* *

View File

@ -564,14 +564,14 @@ public class SlimefunItem implements Placeable {
* This sets whether or not this {@link SlimefunItem} is allowed to be * This sets whether or not this {@link SlimefunItem} is allowed to be
* used in a normal Crafting Table. * used in a normal Crafting Table.
* *
* @param usable * @param useable
* Whether this {@link SlimefunItem} should be useable in a workbench * Whether this {@link SlimefunItem} should be useable in a workbench
* *
* @return This instance of {@link SlimefunItem} * @return This instance of {@link SlimefunItem}
*/ */
@Nonnull @Nonnull
public SlimefunItem setUseableInWorkbench(boolean usable) { public SlimefunItem setUseableInWorkbench(boolean useable) {
this.useableInWorkbench = usable; this.useableInWorkbench = useable;
return this; return this;
} }