
Multiple custom projectiles only use one of their textures.
Rad586 opened this issue ยท 8 comments
Report an issue or feature request
Mod Version:
0.2.4 (latest)
Minecraft Version:
1.19.2
Minecraft Modloader:
Fabric
Describe the Bug/Feature Request:
Multiple custom projectiles only use one of their textures.
Additional Information:
Environment:
Texture files are put in these locations, which should work as expected:
kubejs\assets\kubejs\textures\item
and kubejs\textures\entity\projectiles
script:
StartupEvents.registry('entity_type', e => {
e.create('dynamite', 'entityjs:projectile')
.item(item => item.canThrow(true))
.sized(0.4, 0.4)
.renderScale(0.4, 0.4, 0.4)
e.create('sticky_torch', 'entityjs:projectile')
.item(item => item.canThrow(true))
.sized(0.5, 0.5)
.renderScale(0.5, 0.5, 0.5)
e.create('sticky_ender_pearl', 'entityjs:projectile')
.item(item => item.canThrow(true))
.sized(0.5, 0.5)
.renderScale(0.5, 0.5, 0.5)
})
kubejs.zip
Here's a kubejs folder for reproducing this issue.
i believe its supposed to be textures/item folder the item textures go in which is what the projectile renderer renders from. you currently have your item textures in the textures/entity/item folder. It needs to be the same as base kubejs and where it reads item textures from
that all being said it still is defaulting to a random texture so this is definitely a bug
I accidentally messed up the file location in the file I upload, the textures are actually in the right location on my side.
Thanks for taking a further look into this issue!
Alright this should be fixed as of EntityJS 1.19.2-0.2.5