mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-19 19:25:48 +00:00
Add Old Methods as Deprecated
This commit is contained in:
parent
a7605a64b4
commit
2b4681ea7b
@ -46,6 +46,16 @@ public class ElectricGoldPan extends AContainer implements RecipeDisplayItem {
|
||||
addItemSetting(overrideOutputLimit);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
*
|
||||
* @see ElectricGoldPan#isOutputLimitOverridden()
|
||||
*/
|
||||
@Deprecated
|
||||
public boolean isOutputLimitOverriden() {
|
||||
return isOutputLimitOverridden();
|
||||
}
|
||||
|
||||
/**
|
||||
* This returns whether the {@link ElectricGoldPan} will stop processing inputs
|
||||
* if both output slots contain items or if that default behavior should be
|
||||
|
@ -62,6 +62,18 @@ public class GoldPan extends SimpleSlimefunItem<ItemUseHandler> implements Recip
|
||||
addItemHandler(onEntityInteract());
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
*
|
||||
* This method returns the old {@link Material} that this {@link GoldPan} accepted
|
||||
*
|
||||
* @return The old {@link Material} this {@link GoldPan} could be used on
|
||||
*/
|
||||
@Deprecated
|
||||
public Material getInputMaterial() {
|
||||
return Material.GRAVEL;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method returns the target {@link Material Materials} for this {@link GoldPan}.
|
||||
*
|
||||
|
@ -32,6 +32,12 @@ public class NetherGoldPan extends GoldPan {
|
||||
super(itemGroup, item, recipeType, recipe);
|
||||
}
|
||||
|
||||
@Override
|
||||
@Deprecated
|
||||
public Material getInputMaterial() {
|
||||
return Material.SOUL_SAND;
|
||||
}
|
||||
|
||||
@Override
|
||||
public @Nonnull Set<Material> getInputMaterials() {
|
||||
return inputMaterials;
|
||||
|
Loading…
Reference in New Issue
Block a user