(DefaultMinecraftMapConverter newMine, SourceGame game, String[] addablesString)
| 55 | private Addable[] materialToAddable; |
| 56 | |
| 57 | public AddableManager(DefaultMinecraftMapConverter newMine, SourceGame game, String[] addablesString) { |
| 58 | this.map = newMine; |
| 59 | this.cuboidFinder = new ArrayCuboidFinder(newMine); |
| 60 | this.materialToAddable = new Addable[Material.__LENGTH]; |
| 61 | |
| 62 | this.setAddables(this.loadAddables(addablesString)); |
| 63 | } |
| 64 | |
| 65 | private Stack<Addable> loadAddables(String[] addablesString) { |
| 66 | Addable[] addablesPool = { new Block(), new Cactus(), new CssLamp(), new Fence(), new Fire(), new Liquid(), new Pane(), new Slab(), new SnowBlock(), |
nothing calls this directly
no test coverage detected