litematica command works and added schematic selection if more than 1 schematic is loaded

bug: if schematic origin isnt minimum corner schematic is built in the wrong place
This commit is contained in:
rycbar0
2022-09-30 17:53:31 +02:00
parent 4ba3c883e6
commit 025f6235f9
5 changed files with 29 additions and 28 deletions

View File

@@ -23,7 +23,9 @@ import java.util.List;
public class SchematicPlacementManager {
private final List<SchematicPlacement> schematicPlacements = new ArrayList<>();
public List<SchematicPlacement> getAllSchematicPlacements() {
//in case of a java.lang.NoSuchMethodError try change the name of this method to getAllSchematicPlacements()
// there are inconsistencies in the litematica mod about the naming of this method
public List<SchematicPlacement> getAllSchematicsPlacements() {
return schematicPlacements;
}
}