We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fc75a2 commit e02cd2fCopy full SHA for e02cd2f
src/resourcePackExporter.ts
@@ -121,6 +121,7 @@ export async function exportResources(
121
// Clean up content
122
content.animated_java ??= { rigs: {} }
123
content.animated_java.rigs ??= {}
124
+ content.overrides = content.overrides.filter(o => o.predicate.custom_model_data !== 1)
125
// Merge with existing predicate file
126
console.log('Merging with existing predicate file')
127
console.log(content)
@@ -137,8 +138,9 @@ export async function exportResources(
137
138
}
139
140
141
+ if (!usedIds.includes(1)) usedIds.push(1)
142
content.overrides.push({
- predicate: { custom_model_data: CustomModelData.get() },
143
+ predicate: { custom_model_data: 1 },
144
model: 'item/animated_java_empty',
145
})
146
0 commit comments