File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6868 "modifiers" : {
6969 "attackDamage" : {
7070 "uuid" : " 648D7064-6A60-4F59-8ABE-C2C23A6DD7A9" ,
71- "modifier" : 0 ,
71+ "modifier" : 3 ,
7272 "operation" : " ADDITION"
7373 }
7474 },
191191 "modifiers" : {
192192 "attackDamage" : {
193193 "uuid" : " 22653B89-116E-49DC-9B6B-9971489B5BE5" ,
194- "modifier" : 0 ,
194+ "modifier" : -4 ,
195195 "operation" : " ADDITION"
196196 }
197197 },
236236 "displayName" : " Absorption" ,
237237 "type" : " good" ,
238238 "protocolName" : " absorption" ,
239- "modifiers" : {},
239+ "modifiers" : {
240+ "maxAbsorption" : {
241+ "uuid" : " EAE29CF0-701E-4ED6-883A-96F798F3DAB5" ,
242+ "modifier" : 4 ,
243+ "operation" : " ADDITION"
244+ }
245+ },
240246 "color" : 2445989
241247 },
242248 {
330336 "type" : " neutral" ,
331337 "protocolName" : " bad_omen" ,
332338 "modifiers" : {},
333- "color" : 7455580
339+ "color" : 745784
334340 },
335341 {
336342 "id" : 31 ,
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ const context = {
6666 }
6767}
6868
69- if ( versionGreaterOrEqual ( '1.20' ) ) {
69+ if ( versionGreaterOrEqual ( '1.20.2 ' ) ) {
7070 context . register = function ( name , effect ) {
7171 const id = context . effects . length - 1
7272 const prismarineName = toTitleCaseFromSnakeCase ( name )
@@ -138,6 +138,9 @@ for (let i = 0; i < context.effects.length; i++) {
138138 if ( manualData [ fail ] ) {
139139 console . log ( 'Using manual data for' , fail )
140140 generatedEffects [ i ] = manualData [ fail ]
141+ if ( versionGreaterOrEqual ( '1.20.2' ) ) {
142+ generatedEffects [ i ] . id = i
143+ }
141144 } else {
142145 throw new Error ( 'Missing manual data for ' + fail )
143146 }
You can’t perform that action at this time.
0 commit comments