Added some comments to api

and removed setupGolemInventory
This commit is contained in:
makeo committed 2015-10-20 16:25:35 +02:00
1 parent c1b6b36460
commit c7330d3124
5 files changed
+35 -7

No files matched your search

@@ -26,6 +26,9 @@ public abstract class ClickBehavior {
this(false);
}
/**
* This method is called by me to init all variables
*/
@Deprecated
public void init(World world, Block block, int x, int y, int z, int metadata) {
this.world = world;
@@ -36,6 +39,9 @@ public abstract class ClickBehavior {
this.metadata = metadata;
}
/**
* @return if this class needs to handle the given block
*/
public abstract boolean isValidForBlock();
public boolean hasVisCost() {