Addons

Create your own ItemsCore addon plugin or make it support another plugin

You can your own methods to ItemsCore or make it support another plugin's methods.

The subpages got more info on each subject, this page only shows a code version of each thing so make sure to check out the subpages for more info!

If you want ItemsCore to show the methods argument names you have to change the maven-compiler-plugin to this (Please not that your project should already have this plugin, you have to replace it, not add it.)

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-compiler-plugin</artifactId>
    <executions>
        <execution>
            <id>default-compile</id>
            <phase>none</phase>
        </execution>
        <execution>
            <id>default-testCompile</id>
            <phase>none</phase>
        </execution>
        <execution>
            <id>java-compile</id>
            <phase>compile</phase>
            <goals> <goal>compile</goal> </goals>
        </execution>
        <execution>
            <id>java-test-compile</id>
            <phase>test-compile</phase>
            <goals> <goal>testCompile</goal> </goals>
        </execution>
    </executions>
    <configuration>
        <source>8</source>
        <target>8</target>
        <compilerArgs>
            <arg>-parameters</arg>
        </compilerArgs>
    </configuration>
</plugin>

Last updated