Ritual Reader Quality of Life (#1528)
* Groundwork for Reader part 1 * More Ritual Reader information & more intuitive to use. * Added `getCurrentRitual()` to `IMasterRitualStone` RitualReader can now only be used on MRS with a set Ritual (this prevents a (caught) NPE). * Refactored * Added Enum
This commit is contained in:
parent
95d99c0a01
commit
e8eb44632d
7 changed files with 74 additions and 29 deletions
|
@ -55,7 +55,7 @@ public interface IMasterRitualStone {
|
|||
|
||||
void setActiveWillConfig(EntityPlayer player, List<EnumDemonWillType> typeList);
|
||||
|
||||
boolean setBlockRangeByBounds(EntityPlayer player, String range, BlockPos offset1, BlockPos offset2);
|
||||
EnumReaderBoundaries setBlockRangeByBounds(EntityPlayer player, String range, BlockPos offset1, BlockPos offset2);
|
||||
|
||||
List<EnumDemonWillType> getActiveWillConfig();
|
||||
|
||||
|
@ -68,4 +68,6 @@ public interface IMasterRitualStone {
|
|||
void addBlockRanges(Map<String, AreaDescriptor> blockRanges);
|
||||
|
||||
void addBlockRange(String range, AreaDescriptor defaultRange);
|
||||
|
||||
Ritual getCurrentRitual();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue