Fixed Ritual Tinkerer & added range reset (#1636)
* Add getMinimumOffset() and getMaximumOffset to AreaDescriptor Add the ability to reset BlockRanges to the Ritual Tinkerer * Added copy-constructors and functions to AreaDescriptor Added the ability to reset BlockRanges to the Ritual Tinkerer - Mode: Define Area, with BloodOrb in offhand & sneaking, right click on MRS Changed "addBlockRange" and "addBlockRanges" to use .putIfAbsent Added "setBlockRange" and "setBlockRanges" to IMasterRitualStone - reference implementation in TileMasterRitualStone is identical to old "addBlockRange" and "addBlockRanges" Fixed range setting for good. Tested behavior with RitualWater. * Minor cleanup * Remove TODO
This commit is contained in:
parent
a23cd35556
commit
1155be6d6b
4 changed files with 75 additions and 9 deletions
|
@ -71,5 +71,9 @@ public interface IMasterRitualStone {
|
|||
|
||||
void addBlockRange(String range, AreaDescriptor defaultRange);
|
||||
|
||||
void setBlockRanges(Map<String, AreaDescriptor> blockRanges);
|
||||
|
||||
void setBlockRange(String range, AreaDescriptor defaultRange);
|
||||
|
||||
Ritual getCurrentRitual();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue