1

Enchanted book texture based on enchantment

J0LLY_MINER 6/17/19 10:21 am
1k
6/19/2019 10:08 am
Can you please explain to me how to create unique textures for each type of enchanted book? eg. fortune I or unbreaking II.
If possible also the code needed in the .properties text document in the optifine/cit/enchanted_book folder?
Posted by
J0LLY_MINER
Level 2 : Apprentice Miner
2

  Have something to say?

JoinSign in

6

J0LLY_MINER
06/18/2019 12:06 am
Level 2 : Apprentice Miner
history
Thanks for the help. I got it to work. Here are two examples if someone else struggles with the same issue in the future.

eg1: Aqua Affinity enchanted book

type=item
items=enchanted_book
texture=aqua_affinity_book        <-- name of texture in cit folder
enchantmentIDs=aqua_affinity        <-- name of enchantment on book

eg2: Bane of Arthropods V

type=item
items=enchanted_book
texture=bane_of_arthropods5_book    <-- name of texture in cit folder
enchantmentIDs=bane_of_arthropods   <-- name of enchantment on book
enchantmentLevels=5          <--level of enchantment

I do not know why, but the next three enchantments have different enchantmentIDs:

enchantmentIDs=sweeping edge     <--no underscore between words
enchantmentIDs=binding_curse      <-- curse of binding enchantment
enchantmentIDs=vanishing_curse     <-- curse of vanishing enchantment
2
J0LLY_MINER
06/17/2019 3:08 pm
Level 2 : Apprentice Miner
Thank you for the reply. But I have seen this texture pack and it is not up to date with the new way in which items are labeled. I am struggling with the right pieces of code/text to put into the last .properties file in optifine's 'cit' folder.
1
oakar258
06/17/2019 4:34 pm
Level 69 : High Grandmaster Artist
2
J0LLY_MINER
06/19/2019 4:34 am
Level 2 : Apprentice Miner
Thank you. This helped a lot. I was able to give each enchantment and each level of enchantment its own texture.

Is it possible to make a standard texture for any book that has more than one enchantment, without just applying the texture of the first enchantment on the book?
1
oakar258
06/19/2019 10:08 am
Level 69 : High Grandmaster Artist
Not sure, just do some trial end error and see if it works : D
1

Welcome