No description
e4e84644ac
1. Changed EventHookContainer to remove a check against BaseItemDoor.getDoorToPlace(). The checks performed there can be done in BaseItemDoor.tryToPlaceDoor(), which removes the need for callers to know more internal details about how doors are handled. I moved the checks inside. 2. Renamed vanillaDoorMapping to doorItemMapping. It now maps dim door items to themselves to remove the need for various checks we were performing. Updated BaseItemDoor's constructor to reflect this change. 3. Removed BaseItemDoor.getDoorToPlace() and integrated its functionality into BaseItemDoor.tryToPlaceDoor(). 4. Changed BaseItemDoor.tryToPlaceDoor() so that it simply returns false if a given item stack cannot be used to place any doors. We don't need to check if the item is an ItemDoor or anything like that now. |
||
---|---|---|
gradle/wrapper | ||
src/main | ||
build.gradle | ||
build.xml.old | ||
gradlew | ||
gradlew.bat |