optimized raw items, remove unused refs
parent
4cb7b821a6
commit
fd29e51a7c
|
|
@ -73,6 +73,10 @@ public abstract class Item {
|
|||
return recipe;
|
||||
}
|
||||
|
||||
protected void setIsRaw() {
|
||||
isRaw = true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Item{" +
|
||||
|
|
|
|||
|
|
@ -3,8 +3,6 @@ package items.type;
|
|||
import items.Item;
|
||||
import items.Recipe;
|
||||
|
||||
import java.util.Set;
|
||||
|
||||
public abstract class Fluid extends Item {
|
||||
|
||||
public Fluid(String name, Recipe... recipes) {
|
||||
|
|
|
|||
|
|
@ -3,8 +3,6 @@ package items.type;
|
|||
import items.Item;
|
||||
import items.Recipe;
|
||||
|
||||
import java.util.Set;
|
||||
|
||||
public class Ingot extends Item {
|
||||
|
||||
public Ingot(String name, Recipe... recipes) {
|
||||
|
|
|
|||
|
|
@ -3,8 +3,6 @@ package items.type;
|
|||
import items.Item;
|
||||
import items.Recipe;
|
||||
|
||||
import java.util.Set;
|
||||
|
||||
public class Ore extends Item {
|
||||
|
||||
public Ore(String name, Recipe... recipes) {
|
||||
|
|
@ -17,7 +15,4 @@ public class Ore extends Item {
|
|||
setIsRaw();
|
||||
}
|
||||
|
||||
private void setIsRaw() {
|
||||
isRaw = true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,8 +3,6 @@ package items.type;
|
|||
import items.Item;
|
||||
import items.Recipe;
|
||||
|
||||
import java.util.Set;
|
||||
|
||||
public class Part extends Item {
|
||||
|
||||
public Part(String name, Recipe... recipes) {
|
||||
|
|
|
|||
|
|
@ -3,15 +3,15 @@ package items.type;
|
|||
import items.Item;
|
||||
import items.Recipe;
|
||||
|
||||
import java.util.Set;
|
||||
|
||||
public class Pickup extends Item {
|
||||
|
||||
public Pickup(String name, Recipe... recipes) {
|
||||
super(name, recipes);
|
||||
setIsRaw();
|
||||
}
|
||||
|
||||
public Pickup(String name) {
|
||||
super(name);
|
||||
setIsRaw();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,8 +2,6 @@ package items.type;
|
|||
|
||||
import items.Recipe;
|
||||
|
||||
import java.util.Set;
|
||||
|
||||
public class ProcessedFluid extends Fluid {
|
||||
|
||||
public ProcessedFluid(String name, Recipe... recipes) {
|
||||
|
|
|
|||
|
|
@ -2,8 +2,6 @@ package items.type;
|
|||
|
||||
import items.Recipe;
|
||||
|
||||
import java.util.Set;
|
||||
|
||||
public class RawFluid extends Fluid {
|
||||
|
||||
public RawFluid(String name, Recipe... recipes) {
|
||||
|
|
@ -15,8 +13,4 @@ public class RawFluid extends Fluid {
|
|||
super(name);
|
||||
setIsRaw();
|
||||
}
|
||||
|
||||
private void setIsRaw() {
|
||||
isRaw = true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,8 +3,6 @@ package items.type;
|
|||
import items.Item;
|
||||
import items.Recipe;
|
||||
|
||||
import java.util.Set;
|
||||
|
||||
public class Tool extends Item {
|
||||
|
||||
public Tool(String name, Recipe... recipes) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue