mirror of
https://github.com/GTNewHorizons/Gadomancy.git
synced 2026-11-21 12:32:09 +00:00
Added some comments to api
and removed setupGolemInventory
This commit is contained in:
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() {
|
||||
|
||||
Reference in new issue
Block a user