Posted June 8, 20169 yr Hello, this is my first time posting on the forums so I hope you'll forgive me if my question is kind of vague. Anyway, I am having some trouble getting my custom bookshelves to give off particles when they are in range of an enchantment table if anyone can help that would be great.
June 8, 20169 yr You will need to do the particle effects yourself, as the enchantment table checks for block == Blocks.bookshelf explicitly. http://www.minecraftforge.net/forum/index.php/topic,38711.msg203713.html Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
June 8, 20169 yr For anyone else wondering what just happened: Bookshelves do not give off particles. Enchanting tables do (in the presence of shelves). The table's particles just happen to look like they're coming from the shelves because they spawn near shelves and arc toward the table. However, if you design your own block to mimic a shelf, then I suppose you could give it particles of its own to arc toward nearby enchant tables. The debugger is a powerful and necessary tool in any IDE, so learn how to use it. You'll be able to tell us more and get better help here if you investigate your runtime problems in the debugger before posting.
June 8, 20169 yr I "fixed" it by making my own enchanting table that does the same as the vanilla 1 with only 1 difference: i let it check instanceof BlockBookshelf. I also removed the enchanting table from the crafting recipes and created a new recipe for my enchanting table. Try out my new Modpack for MC 1.15.2 https://www.curseforge.com/minecraft/modpacks/terran-civilization
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.