mirror of
https://github.com/JamesPeters98/ChestsPlusPlus.git
synced 2024-11-29 06:06:07 +01:00
Code Clean up
This commit is contained in:
parent
9e32f8a6d5
commit
67eac5c881
@ -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){
|
||||
|
@ -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){
|
||||
|
Loading…
Reference in New Issue
Block a user