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:
parent
be5f793695
commit
acd26b68dd
@ -74,7 +74,7 @@ public class BlockDataService implements PersistentDataService, Keyed {
|
||||
/**
|
||||
* 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}
|
||||
* 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,
|
||||
* this simple lookup method is used instead.
|
||||
|
@ -17,7 +17,7 @@ import me.mrCookieSlime.Slimefun.Objects.SlimefunItem.SlimefunItem;
|
||||
* automatically
|
||||
* 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
|
||||
*
|
||||
|
@ -564,14 +564,14 @@ public class SlimefunItem implements Placeable {
|
||||
* This sets whether or not this {@link SlimefunItem} is allowed to be
|
||||
* used in a normal Crafting Table.
|
||||
*
|
||||
* @param usable
|
||||
* @param useable
|
||||
* Whether this {@link SlimefunItem} should be useable in a workbench
|
||||
*
|
||||
* @return This instance of {@link SlimefunItem}
|
||||
*/
|
||||
@Nonnull
|
||||
public SlimefunItem setUseableInWorkbench(boolean usable) {
|
||||
this.useableInWorkbench = usable;
|
||||
public SlimefunItem setUseableInWorkbench(boolean useable) {
|
||||
this.useableInWorkbench = useable;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user