From b126889a0e18d4fe71e7c456a316c7df324bee82 Mon Sep 17 00:00:00 2001 From: CrazyPants Date: Tue, 25 Nov 2014 16:50:22 +0800 Subject: [PATCH] Added white/black lists for paint sources for the Painter --- ReleaseNotes.txt | 2 + .../config/PainterPaintSources_Core.xml | 42 +++++ .../config/PainterPaintSources_User.xml | 14 ++ .../enderio/config/SAGMillRecipes_Core.xml | 2 +- src/main/java/crazypants/enderio/EnderIO.java | 8 +- .../block/BlockDarkSteelPressurePlate.java | 15 +- .../enderio/conduit/BlockConduitBundle.java | 1 - .../conduit/facade/ItemConduitFacade.java | 8 +- .../machine/painter/BasicPainterTemplate.java | 23 +-- .../machine/painter/PaintSourceParser.java | 144 ++++++++++++++++++ .../machine/painter/PaintSourceValidator.java | 109 +++++++++++++ .../machine/painter/TileEntityPainter.java | 2 +- .../enderio/machine/recipe/RecipeConfig.java | 2 +- 13 files changed, 339 insertions(+), 33 deletions(-) create mode 100644 resources/assets/enderio/config/PainterPaintSources_Core.xml create mode 100644 resources/assets/enderio/config/PainterPaintSources_User.xml create mode 100644 src/main/java/crazypants/enderio/machine/painter/PaintSourceParser.java create mode 100644 src/main/java/crazypants/enderio/machine/painter/PaintSourceValidator.java diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt index d159e0f4..856a8159 100644 --- a/ReleaseNotes.txt +++ b/ReleaseNotes.txt @@ -11,6 +11,8 @@ Changes - Translucent facades are now possible - #1257 Add per-level absorption rations on dark steel items - Reduced amount of powered stored in wireless charger from 1 mil to 200k +- Added white/black lists for paint sources for the Painter. Thaumcraft silverwood/great wood planks + whitelisted by default Bugs - Fix outer corners on connected texture blocks not being metadata sensitive when they should be diff --git a/resources/assets/enderio/config/PainterPaintSources_Core.xml b/resources/assets/enderio/config/PainterPaintSources_Core.xml new file mode 100644 index 00000000..ef50548f --- /dev/null +++ b/resources/assets/enderio/config/PainterPaintSources_Core.xml @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/resources/assets/enderio/config/PainterPaintSources_User.xml b/resources/assets/enderio/config/PainterPaintSources_User.xml new file mode 100644 index 00000000..fb46e182 --- /dev/null +++ b/resources/assets/enderio/config/PainterPaintSources_User.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/resources/assets/enderio/config/SAGMillRecipes_Core.xml b/resources/assets/enderio/config/SAGMillRecipes_Core.xml index f0b02f5e..bf3836ec 100644 --- a/resources/assets/enderio/config/SAGMillRecipes_Core.xml +++ b/resources/assets/enderio/config/SAGMillRecipes_Core.xml @@ -1,7 +1,7 @@