mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-14 19:55:52 -07:00
Removing 14 deprecated methods per http://bit.ly/mO2f4d
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
@@ -42,17 +42,6 @@ public class Coal extends MaterialData {
|
||||
return CoalType.getByData(getData());
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the type of this coal
|
||||
*
|
||||
* @param type New type of this coal
|
||||
* @deprecated use {@link #setType(CoalType)} instead
|
||||
*/
|
||||
@Deprecated
|
||||
public void setSpecies(CoalType type) {
|
||||
setType(type);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the type of this coal
|
||||
*
|
||||
|
@@ -33,17 +33,6 @@ public class Crops extends MaterialData {
|
||||
super(type, data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the current growth state of this crop
|
||||
*
|
||||
* @return CropState of this leave
|
||||
* @deprecated use {@link #getState()} instead
|
||||
*/
|
||||
@Deprecated
|
||||
public CropState getSpecies() {
|
||||
return getState();
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the current growth state of this crop
|
||||
*
|
||||
@@ -53,17 +42,6 @@ public class Crops extends MaterialData {
|
||||
return CropState.getByData(getData());
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the growth state of this crop
|
||||
*
|
||||
* @param state New growth state of this crop
|
||||
* @deprecated use {@link #setState(CropState)} instead
|
||||
*/
|
||||
@Deprecated
|
||||
public void setSpecies(CropState state) {
|
||||
setState(state);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the growth state of this crop
|
||||
*
|
||||
|
Reference in New Issue
Block a user