Minecraft IF – Inventory Framework mod 2026 download
logo
minecraft mod IF – Inventory Framework

IF – Inventory Framework

Game Version: 1.19.3
Total Downloads: 1,280
Updated: Dec 19, 2022
Created: Sep 14, 2019
Download IF – Inventory FrameworkDownload Earlier Versions

Earlier Versions

Name Size Uploaded Game Version Downloads
V 0.10.8 release 1.02 MB Dec 19, 2022 1.19.3 17 download IF – Inventory Framework V 0.10.8 releaseDownload
V 0.10.7 release 938.51 KB Aug 11, 2022 1.19.1 37 download IF – Inventory Framework V 0.10.7 releaseDownload
V 0.10.6 release 845.34 KB Jun 13, 2022 1.19 39 download IF – Inventory Framework V 0.10.6 releaseDownload
V 0.10.5 release 797.69 KB Mar 2, 2022 1.18.2 36 download IF – Inventory Framework V 0.10.5 releaseDownload
V 0.10.4 release 752.38 KB Jan 3, 2022 1.18.1 41 download IF – Inventory Framework V 0.10.4 releaseDownload
V 0.10.3 release 663.09 KB Sep 16, 2021 1.17 41 download IF – Inventory Framework V 0.10.3 releaseDownload
V 0.10.2 release 663.21 KB Sep 4, 2021 1.17 22 download IF – Inventory Framework V 0.10.2 releaseDownload
V 0.10.1 release 661.43 KB Aug 17, 2021 1.17 26 download IF – Inventory Framework V 0.10.1 releaseDownload
V 0.10.0 release 644.54 KB Jul 9, 2021 1.17 31 download IF – Inventory Framework V 0.10.0 releaseDownload
V 0.9.9 release 570.21 KB Jun 22, 2021 1.17 26 download IF – Inventory Framework V 0.9.9 releaseDownload
V 0.9.8 release 527.75 KB Jun 6, 2021 1.16 26 download IF – Inventory Framework V 0.9.8 releaseDownload
V 0.9.7 release 518.66 KB May 25, 2021 1.16 24 download IF – Inventory Framework V 0.9.7 releaseDownload
V 0.9.6 release 518.61 KB May 19, 2021 1.16 26 download IF – Inventory Framework V 0.9.6 releaseDownload
V 0.9.5 release 518.58 KB Mar 9, 2021 1.16 29 download IF – Inventory Framework V 0.9.5 releaseDownload
V 0.9.4 release 518.83 KB Feb 2, 2021 1.16 35 download IF – Inventory Framework V 0.9.4 releaseDownload
V 0.9.3 release 518.87 KB Jan 31, 2021 1.16 22 download IF – Inventory Framework V 0.9.3 releaseDownload
V 0.9.2 release 519.89 KB Jan 21, 2021 1.16 30 download IF – Inventory Framework V 0.9.2 releaseDownload
V 0.9.1 release 519.64 KB Dec 26, 2020 1.16 32 download IF – Inventory Framework V 0.9.1 releaseDownload
V 0.9.0 release 518.16 KB Dec 12, 2020 1.16 27 download IF – Inventory Framework V 0.9.0 releaseDownload
V 0.8.1 release 518.18 KB Dec 1, 2020 1.16 24 download IF – Inventory Framework V 0.8.1 releaseDownload
V 0.8.0 release 517.11 KB Nov 17, 2020 1.16 38 download IF – Inventory Framework V 0.8.0 releaseDownload
V 0.7.2 release 248.68 KB Aug 18, 2020 1.16 31 download IF – Inventory Framework V 0.7.2 releaseDownload
V 0.7.1 release 248.48 KB Aug 14, 2020 1.16 19 download IF – Inventory Framework V 0.7.1 releaseDownload
V 0.7.0 release 248.14 KB Aug 10, 2020 1.16 28 download IF – Inventory Framework V 0.7.0 releaseDownload
V 0.6.2 release 248.08 KB Aug 3, 2020 1.16 25 download IF – Inventory Framework V 0.6.2 releaseDownload
V 0.6.1 release 244.24 KB Jun 30, 2020 1.16 37 download IF – Inventory Framework V 0.6.1 releaseDownload
V 0.6.0 release 242.43 KB Jun 2, 2020 1.15 41 download IF – Inventory Framework V 0.6.0 releaseDownload
V 0.5.19 release 315.40 KB Mar 15, 2020 1.15 34 download IF – Inventory Framework V 0.5.19 releaseDownload
V 0.5.18 release 331.12 KB Jan 11, 2020 1.15 44 download IF – Inventory Framework V 0.5.18 releaseDownload
V 0.5.17 release 331.21 KB Jan 1, 2020 1.15 54 download IF – Inventory Framework V 0.5.17 releaseDownload
V 0.5.16 release 331.15 KB Dec 30, 2019 1.15 34 download IF – Inventory Framework V 0.5.16 releaseDownload
V 0.5.15 release 328.79 KB Dec 18, 2019 1.15 42 download IF – Inventory Framework V 0.5.15 releaseDownload
V 0.5.14 release 328.69 KB Nov 23, 2019 1.14 37 download IF – Inventory Framework V 0.5.14 releaseDownload
V 0.5.13 release 328.93 KB Nov 16, 2019 1.14 37 download IF – Inventory Framework V 0.5.13 releaseDownload
V 0.5.12 release 315.81 KB Sep 23, 2019 1.14 48 download IF – Inventory Framework V 0.5.12 releaseDownload
V 0.5.11 release 314.98 KB Sep 22, 2019 1.14 34 download IF – Inventory Framework V 0.5.11 releaseDownload
V 0.5.10 release 235.85 KB Sep 16, 2019 1.14 55 download IF – Inventory Framework V 0.5.10 releaseDownload
V 0.5.9 release 235.85 KB Sep 14, 2019 1.14 47 download IF – Inventory Framework V 0.5.9 releaseDownload

Description

Share this:
Languages: Nederlands (Dutch)
 
This resource is for developers only, if you're a server owner then this isn't intended for you.

This framework requires Java 8 or higher.

IF

IF – Inventory Framework is a lightweight, but powerful GUI framework, intended to help you create, alter and manage GUIs more easy. Here are a few things why I think IF stands out from other similar frameworks:

Pane based: IF relies fully on the usage of panes which allow you to separate your GUI in smaller parts which can be changed individually, without altering any other parts of your GUI.

XML reading: IF can read XML files and create entire GUIs from those. No more long methods creating your GUIs, just load them from an XML file. (Don't worry, XML is fully optional, just ignore it if you don't want to use it.)

Extensible: You can create your own panes with their own features to behave exactly how you want them to, without having to redesign a new GUI framework yourself from the ground up.

No more event handlers: No need to create listeners, listen to events and use a dozen if-statements to determine which item was clicked. IF will handle this all for you, so you can focus on creating your plugin.

Rotations: Easily apply linear two dimensional rotations on your panes to rotate your panes in different ways.

IF has an in-depth wiki detailing the workings of the framework and how to use it. You can find the wiki here.

Usage

IF works standalone. You have to shade it into your plugin, rather than add it to the server.

If you're not using a build system, you can download the resource from the download link here and add it as a dependency in your IDE.

If you're using Maven, add the following as dependency to your pom.xml:

<dependency>
  <groupId>com.github.stefvanschie.inventoryframework</groupId>
  <artifactId>IF</artifactId>
  <version>0.9.9</version>
</dependency>

IF is in the Central Repository, so you don't have to specify a repository.

Then add this to shade IF into your plugin:

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-shade-plugin</artifactId>
  <version>3.1.0</version>
  <configuration>
    <dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml</dependencyReducedPomLocation>
    <relocations>
      <relocation>
        <pattern>com.github.stefvanschie.inventoryframework</pattern>
        <shadedPattern>[YOUR PACKAGE].inventoryframework</shadedPattern>
      </relocation>
    </relocations>
  </configuration>
  <executions>
    <execution>
      <phase>package</phase>
      <goals>
        <goal>shade</goal>
      </goals>
    </execution>
  </executions>
</plugin>

Replace [YOUR PACKAGE] with your main package.

There are extensive tutorials and examples on the wiki, so I highly recommend checking it out to see how it works. If you're uncertain how XML works, there's also a small tutorial on that on the wiki as well.

Here's a small snippet on how to create a base GUI with one item in it.

//create a gui with 5 rows and the title My GUI
ChestGui gui = new ChestGui(5, "My GUI");
//create a new pane occupying the entire gui
OutlinePane pane = new OutlinePane(0, 0, 9, 5);
ItemStack item = new ItemStack(Material.ICE);
//create an item which will send a message when clicked
GuiItem guiItem = new GuiItem(item, event -> event.getWhoClicked().sendMessage("You clicked on ice!"));
//add the item to the pane
pane.addItem(guiItem);
//add the pane to the item
gui.addPane(pane);

Suggestions and feedback are highly appreciated!

Links:

  • Source
  • Wiki
  • Central Repository Location
  • Issues
  • Discord

Comments

Add a comment