BlueGit

timfa containerpipes

Merge branch 'master' of git@gitlab.com:Timfa/containerpipes.git

# Conflicts:
#    src/README-1.7.1.md

timfa Tim Falken · pushed by timfa

Authored 2026-08-11 · 3 months ago

Hash
8bab4729c86901f23259bc863b259ac06219921d
4 files changed +47 −3
build.gradle.kts +1 −1
@@ -1,6 +1,6 @@
1 1 plugins { java }
2 2 group = "nl.timfalken"
3 version = "1.7.1"
3 version = "1.7.2"
4 4 repositories {
5 5 maven {
6 6 name = "papermc"
@@ -1,6 +1,6 @@
1plugins { java }
1plugins { java }
2group = "nl.timfalken"
2group = "nl.timfalken"
3version = "1.7.1"
3version = "1.7.2"
4repositories {
4repositories {
5 maven {
5 maven {
6 name = "papermc"
6 name = "papermc"
src/README-1.7.2.md added +44 −0
@@ -0,0 +1,44 @@
1 # ContainerPipes 1.7.2
2
3 Builds on 1.7.0 (Crafter destinations + liquid cauldron pipes).
4
5 ## Powder snow liquids
6
7 `POWDER_SNOW_CAULDRON` is a third transferable liquid, with the same 3-level `Levelled` behaviour as water:
8
9 - one cauldron level moves per transfer interval
10 - empty `CAULDRON` ↔ powder snow levels work like water
11 - water, lava and powder snow never mix (incompatible destination → no transfer)
12
13 Particle: `SNOWFLAKE` (water/lava still use `DRIPPING_WATER` / `DRIPPING_LAVA`).
14
15 ## Cauldron endpoint identity
16
17 A liquid endpoint is the **cauldron position**, not the current block material. The same pipe stays valid across:
18
19 `CAULDRON` ↔ `WATER_CAULDRON` ↔ `LAVA_CAULDRON` ↔ `POWDER_SNOW_CAULDRON`
20
21 ## Hopper-style containers (face-independent)
22
23 Pipes support the same container interactions hoppers do, but **slot choice does not depend on which face the pipe attaches to**. Incoming vs outgoing pipes plus Paper slot rules decide the behaviour.
24
25 | Endpoint | Behaviour |
26 |---|---|
27 | Chest / barrel / copper chest / hopper / dispenser / dropper / shelf / shulker | Normal storage (shulker-in-shulker blocked via `Tag.SHULKER_BOXES`) |
28 | Furnace / blast furnace / smoker | Insert: `canSmelt` then `isFuel`. Extract: result slot only |
29 | Crafter | Destination-only; live disabled slots |
30 | Brewing stand | Insert: ingredient → fuel (`Tag.ITEMS_BREWING_FUEL`) → bottles, each gated by Paper/NMS `canPlaceItem`. Extract: bottle slots only |
31 | Composter | Insert: `Material.isCompostable()` + `getCompostChance()`. Extract: bone meal at max level. Level cache only (no slot cache) |
32 | Chiseled bookshelf | Normal slot cache; insert gated by `Tag.ITEMS_BOOKSHELF_BOOKS` |
33 | Decorated pot | Single-item stack via `DecoratedPotInventory` |
34 | Jukebox | Insert if `DataComponentTypes.JUKEBOX_PLAYABLE`; extract when not playing |
35
36 Not supported (hoppers cannot either): ender chest, lectern. Minecarts/entities and redstone locking are ignored.
37
38 Item legality always comes from Paper APIs / datapack tags — not hardcoded item lists — so datapack changes stay compatible.
39
40 ## Still from 1.7.0
41
42 Liquid pipes: liquid → liquid only; no filter UI; shift + shears removes. Wakeups via `CauldronLevelChangeEvent` + cache + emergency probe.
43
44 Existing `connections.tsv` and `config.yml` remain compatible.
@@ -0,0 +1,44 @@
1# ContainerPipes 1.7.2
2
3Builds on 1.7.0 (Crafter destinations + liquid cauldron pipes).
4
5## Powder snow liquids
6
7`POWDER_SNOW_CAULDRON` is a third transferable liquid, with the same 3-level `Levelled` behaviour as water:
8
9- one cauldron level moves per transfer interval
10- empty `CAULDRON` ↔ powder snow levels work like water
11- water, lava and powder snow never mix (incompatible destination → no transfer)
12
13Particle: `SNOWFLAKE` (water/lava still use `DRIPPING_WATER` / `DRIPPING_LAVA`).
14
15## Cauldron endpoint identity
16
17A liquid endpoint is the **cauldron position**, not the current block material. The same pipe stays valid across:
18
19`CAULDRON` ↔ `WATER_CAULDRON` ↔ `LAVA_CAULDRON` ↔ `POWDER_SNOW_CAULDRON`
20
21## Hopper-style containers (face-independent)
22
23Pipes support the same container interactions hoppers do, but **slot choice does not depend on which face the pipe attaches to**. Incoming vs outgoing pipes plus Paper slot rules decide the behaviour.
24
25| Endpoint | Behaviour |
26|---|---|
27| Chest / barrel / copper chest / hopper / dispenser / dropper / shelf / shulker | Normal storage (shulker-in-shulker blocked via `Tag.SHULKER_BOXES`) |
28| Furnace / blast furnace / smoker | Insert: `canSmelt` then `isFuel`. Extract: result slot only |
29| Crafter | Destination-only; live disabled slots |
30| Brewing stand | Insert: ingredient → fuel (`Tag.ITEMS_BREWING_FUEL`) → bottles, each gated by Paper/NMS `canPlaceItem`. Extract: bottle slots only |
31| Composter | Insert: `Material.isCompostable()` + `getCompostChance()`. Extract: bone meal at max level. Level cache only (no slot cache) |
32| Chiseled bookshelf | Normal slot cache; insert gated by `Tag.ITEMS_BOOKSHELF_BOOKS` |
33| Decorated pot | Single-item stack via `DecoratedPotInventory` |
34| Jukebox | Insert if `DataComponentTypes.JUKEBOX_PLAYABLE`; extract when not playing |
35
36Not supported (hoppers cannot either): ender chest, lectern. Minecarts/entities and redstone locking are ignored.
37
38Item legality always comes from Paper APIs / datapack tags — not hardcoded item lists — so datapack changes stay compatible.
39
40## Still from 1.7.0
41
42Liquid pipes: liquid → liquid only; no filter UI; shift + shears removes. Wakeups via `CauldronLevelChangeEvent` + cache + emergency probe.
43
44Existing `connections.tsv` and `config.yml` remain compatible.
src/main/java/nl/timfalken/containerpipes/ContainerPipesPlugin.java +1 −1
@@ -57,7 +57,7 @@ public final class ContainerPipesPlugin extends JavaPlugin implements Listener,
57 57 loadConnections();
58 58 startTasks();
59 59 Bukkit.getScheduler().runTask(this, this::refreshLoadedDisplays);
60 getLogger().info("ContainerPipes 1.7.1 enabled with " + connections.size() + " connection(s).");
60 getLogger().info("ContainerPipes 1.7.2 enabled with " + connections.size() + " connection(s).");
61 61 AdvancedEndpointsPatch.enable(this);
62 62 }
63 63
@@ -57,7 +57,7 @@ public final class ContainerPipesPlugin extends JavaPlugin implements Listener,
57 loadConnections();
57 loadConnections();
58 startTasks();
58 startTasks();
59 Bukkit.getScheduler().runTask(this, this::refreshLoadedDisplays);
59 Bukkit.getScheduler().runTask(this, this::refreshLoadedDisplays);
60 getLogger().info("ContainerPipes 1.7.1 enabled with " + connections.size() + " connection(s).");
60 getLogger().info("ContainerPipes 1.7.2 enabled with " + connections.size() + " connection(s).");
61 AdvancedEndpointsPatch.enable(this);
61 AdvancedEndpointsPatch.enable(this);
62 }
62 }
63
63
src/main/resources/plugin.yml +1 −1
@@ -1,5 +1,5 @@
1 1 name: ContainerPipes
2 version: '1.7.1'
2 version: '1.7.2'
3 3 main: nl.timfalken.containerpipes.ContainerPipesPlugin
4 4 api-version: '26.2'
5 5 author: Tim Falken
@@ -1,5 +1,5 @@
1name: ContainerPipes
1name: ContainerPipes
2version: '1.7.1'
2version: '1.7.2'
3main: nl.timfalken.containerpipes.ContainerPipesPlugin
3main: nl.timfalken.containerpipes.ContainerPipesPlugin
4api-version: '26.2'
4api-version: '26.2'
5author: Tim Falken
5author: Tim Falken