AnfCore

This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

Description

What is it?

AnfCore is the foundation of all my plugins, containing several essential libraries for them, and possibly for interested developers. Why do you make us install yet... another plugin library? What is the point, and doesn't it just put more work on us? Well, the great thing about containing all essential libraries inside of a singular package is that it allows me to update every plugin in just one file, and thus saving you the time of having to download updates for every induvidial plugin.

How to install

Simply place the AnfCore.jar into your plugins folder exactly like you would any other plugin or library.

Developer Section

Included libraries (0.1.1):

  • Structure checker (In rows of same type, returns boolean)
  • Structure setter (In rows of same type)
  • Full hunger controller (can also remove items from inventory)

Included libraries (1.1.0):

  • Structure setter (Rows of blocks > Of the same type > world, blocks to go, and direction are no longe needed)
  • Structure checker (Rows of blocks > Of the same type > Returns boolean > world, blocks to go, and direction are no longe needed)
  • Full hunger controller (Remove (x) of (y) item type (from itemInHand) > Add (x) hunger and (y) saturation to current > No longer includes double eat chance)
  • Exception Thrower & Enum (Not likely usefull to most people)
  • Cuboid region checker (checks and returns a list of all entities inside of a region > requires two block locations, one for each corner of the cuboid)
  • Multiple math utilities
  • Message/Error/Permission Libraries (Again, probably not usefull to most people)
  • More comming soon...

Changelog (From 0.1.1 to 1.1.0):

  • Completely revised the creation and detection of block rows; they are now far more efficient, and only require two separate blocks, as well as a material type, of course. There are now two types: single and multiple blow rows, with single: only one pair of coordinates can be differing (either x1 & x2, y1 & y2...etc. but not x1/x2 & y1/y2..etc), or else, an exception will be thrown to console.
  • Also, obviously the hunger controller has also changed quite a bit.
  • Exception thrower and enum were added, only contains error coded for AnfCore, but the names might be usefull for someone, who knows...
  • Added the cuboid region checker wich has gone through several revisions to improve efficiency, I would recommend putting this on a one second tick per player join thats stops on player leave, this way it isnt being ran 20 times a player moves a block...
  • Added many (again; efficient) math utilities, such as a fibonacci sequence, and a random number utility.
  • Added multiple message/error/permission libraries that all of my plugins use, so if you ever feel the need to change it, I guess you could do that, just make sure you don't infringe on any liscences. (Yes, I know, I'm bad with liscences).
  • More comming soon obviously...

Pages (For Developers):


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files

Bukkit