Code Clean up

This commit is contained in:
jameslfc19 2020-07-04 22:07:50 +01:00
parent 9e32f8a6d5
commit 67eac5c881
2 changed files with 5 additions and 10 deletions

View File

@ -74,18 +74,16 @@ public class UserShapedRecipe {
return shape;
}
public UserShapedRecipe setShape(String[] shape) {
public void setShape(String[] shape) {
this.shape = shape;
return this;
}
public Map<Character, ItemStack> getIngredientMap() {
return ingredientMap;
}
public UserShapedRecipe setIngredientMap(Map<Character, ItemStack> ingredientMap) {
public void setIngredientMap(Map<Character, ItemStack> ingredientMap) {
this.ingredientMap = ingredientMap;
return this;
}
public boolean matchesRecipe(ShapedRecipe recipe){

View File

@ -48,19 +48,16 @@ public class LocationInfo implements ConfigurationSerializable {
return toolItemStand;
}
public LocationInfo setBlockStand(ArmorStand blockStand) {
public void setBlockStand(ArmorStand blockStand) {
this.blockStand = blockStand;
return this;
}
public LocationInfo setItemStand(ArmorStand itemStand) {
public void setItemStand(ArmorStand itemStand) {
this.itemStand = itemStand;
return this;
}
public LocationInfo setToolItemStand(ArmorStand toolItemStand) {
public void setToolItemStand(ArmorStand toolItemStand) {
this.toolItemStand = toolItemStand;
return this;
}
public static List<LocationInfo> convert(List<Location> locationList){