TBlazeWarriorT

optifine custom potions

Dec 10th, 2019
1,785
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. speed.properties:
  2.  
  3. type=item
  4. items=minecraft:potion
  5. model=speed.json
  6. nbt.display.Name=ipattern:*swiftness*
  7. //the potion must be literally renamed to "swiftness", this is just an example anyways
  8.  
  9.  
  10. speed.json:
  11.  
  12. {
  13. "parent": "builtin/generated",
  14. "textures": {
  15. "layer0": "mcpatcher/cit/blank",
  16. "layer1": "mcpatcher/cit/speed_potion"
  17. },
  18. "display": {
  19. "thirdperson": {
  20. "rotation": [ -90, 0, 0 ],
  21. "translation": [ 0, 1, -3 ],
  22. "scale": [ 0.55, 0.55, 0.55 ]
  23. },
  24. "firstperson": {
  25. "rotation": [ 0, -135, 25 ],
  26. "translation": [ 0, 4, 2 ],
  27. "scale": [ 1.7, 1.7, 1.7 ]
  28. }
  29. }
  30. }
  31. (mcpatcher/cit/blank is literally an empty 16x16 image to get rid of layer 0, since it will be tinted. layer 1 is the full, already-colored potion texture, same way as it'll look like in-game)
Advertisement
Add Comment
Please, Sign In to add comment