Merge branch 'master' of git@gitlab.com:Timfa/containerpipes.git
# Conflicts: # src/README-1.7.1.md
@@ -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 @@1
plugins { java }1
plugins { java }2
group = "nl.timfalken"2
group = "nl.timfalken"3
version = "1.7.1"3
version = "1.7.2"4
repositories {4
repositories {5
maven {5
maven {6
name = "papermc"6
name = "papermc"@@ -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.22
3
Builds on 1.7.0 (Crafter destinations + liquid cauldron pipes).4
5
## Powder snow liquids6
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 interval10
- empty `CAULDRON` ↔ powder snow levels work like water11
- 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 identity16
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.041
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.@@ -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
@@ -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 @@1
name: ContainerPipes1
name: ContainerPipes2
version: '1.7.1'2
version: '1.7.2'3
main: nl.timfalken.containerpipes.ContainerPipesPlugin3
main: nl.timfalken.containerpipes.ContainerPipesPlugin4
api-version: '26.2'4
api-version: '26.2'5
author: Tim Falken5
author: Tim Falken