Posted October 27, 20178 yr Hi, I've got a tile entity with an inventory (using capabilities) and I'm wondering how I can limit my inventory to specific items only, for example a vanilla furnace takes only items in which can burn. Thx in advance. Bektor Edited October 27, 20178 yr by Bektor Developer of Primeval Forest.
October 27, 20178 yr Custom ItemHandler classes. 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.
October 27, 20178 yr Author 2 hours ago, Draco18s said: Custom ItemHandler classes. Ok, thx, guess I have to create a new class then, thought at first I'm either fixing the json problems or going with obj stuff. Developer of Primeval Forest.
October 27, 20178 yr Oh no. A custom class. The horror! https://github.com/Draco18s/ReasonableRealism/blob/1.12.1/src/main/java/com/draco18s/ores/entities/capabilities/MillableItemsHandler.java 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.
October 27, 20178 yr Author 2 hours ago, Draco18s said: A custom class. The horror! Well, with creating a new class I meant creating a new class which extends ItemStackHandler as I don't see a reason to implement the whole interface for one different method, so don't worry. ^^ Developer of Primeval Forest.
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.