[1.21 patchouli-snapshot] Modes.json won't build a usable patchouli book in 1.21
Wolf1098 opened this issue ยท 2 comments
LaserIO version
1.9.1
Minecraft Version
1.21
(Neo)Forge Version
21.0.24-beta
Modpack & Version
ATM10
Do you have optifine installed?
No
Describe the issue
modes.json causes empty book
Steps to reproduce
with patchouli from @Mrbysco 's 1.21 fork, targeting neoforge 21.0.24 instead of 21.0.42, might be the issue there????
Expected behaviour
Patchouli should be able to load
Screenshots
Bugged screenshot
bugged partial fix
Expected state
Log files
latest.log
debug.log
excerpt gist
Additional information
adding #1 to the modes.json item: field gets the book to generate, but the modes page for the cards show the wrong mode in the nbt data... modes.json I used
{
"name": "Modes",
"sortnum": 1,
"category": "laserio:mechanics",
"icon": "laserio:textures/gui/buttons/modestocker.png",
"pages": [
{
"type": "patchouli:text",
"text": "Modes determine what a card fundamentally does. The following pages define each mode type currently available.$(br2)Each type of card (Item/Fluid/Energy) supports the the following three modes. Item cards are used as an example.$(br2)Redstone cards will support a different set of modes."
},
{
"type": "patchouli:spotlight",
"item": "laserio:card_item{channel:0b,exact:0b,inv:{Items:[],Size:2},itemextractamt:1b,itemextractspeed:20,mode:0b,priority:0s,regulate:0b,roundRobin:0,sneaky:-1b}",
"text": "Insert Mode cards are a validate destination for objects being extracted by Extract Mode cards.$(br2)Stock mode cards will attempt to pull from Insert Mode cards."
},
{
"type": "patchouli:spotlight",
"item": "laserio:card_item#1{channel:0b,exact:0b,inv:{Items:[],Size:2},itemextractamt:1b,itemextractspeed:20,mode:1b,priority:0s,regulate:0b,roundRobin:0,sneaky:-1b}",
"text": "Extract Mode cards attempt to remove objects from their adjacent block. Items, for example, will be removed from an adjacent chest and sent to an insert card."
},
{
"type": "patchouli:spotlight",
"item": "laserio:card_item#1{channel:0b,exact:0b,inv:{Items:[],Size:2},itemextractamt:1b,itemextractspeed:20,mode:2b,priority:0s,regulate:0b,roundRobin:0,sneaky:-1b}",
"text": "Stock Mode cards attempt to find the designated items in their filter, and pull them from other Insert Nodes in the same network.$(br2)Stock mode cards require a filter set to Allow."
},
{
"type": "patchouli:spotlight",
"item": "laserio:card_item#1{channel:0b,exact:0b,inv:{Items:[],Size:2},itemextractamt:1b,itemextractspeed:20,mode:3b,priority:0s,regulate:0b,roundRobin:0,sneaky:-1b}",
"text": "Sensor cards do not move objects around, but instead look at an adjacent inventory, and will emit a redstone signal on the redstone channel if the inventory matches the filter.$(br2)Sensor mode cards require a filter."
}
]
}
I have personally have forked a copy of patchouli that has a prerelease 1.21-snapshot jar that is a copy of what i was using to test the book