Spaces to tabs
Clean up some warnings
Line endings -> Unix
Commented out BigBrother support (will revert this later)
Remove deprecated methods from the PlayerWrapper
Temporarily removed Essentials Economy support
Some minor cleanup stuff
Organize some classes into subpackages
Remove some unused imports
First step in centralizing the drop classes. Code currently does not compile.
- All data in the drop classes is now private.
- Created a Tool class to express a valid "tool"
- Added a generic Range class to express ranges of values which are used for several options
- Added skeletons for Time, Weather, and DropEvent
Some renaming, and added more events to the DropEvent enum.
More rearranging of the drops classes and skeletal options classes.
Put all options in the correct drop class; constructors for OccurredDrop taking events as arguments; other related utility stuff
More progress on refactoring drops, including but not necessarily limited to:
- Add getProjectileType to CommonEntity
- Add sheep shearedness and pig zombie anger as creature data in CommonEntity
- Add most of the CustomDrop accessors
- Constructors and stuff for DropType
- Add cases for projectiles and lightning strikes in relevant places
- Weather.STORM should now work as intended
The last of the condition accessors for CustomDrop, and implementation of matches and willDrop.
- Renamed the Height class since it now is more generic
- Drop groups as a DropType; these are simple drop groups only (item/amount/chance%)
- Expansion of the Time option class
Split CustomDrop into two classes so that DropGroup can extend half of it
Simple drops are almost completely finished.
- Drop conditions that were lists are now maps; exceptions, then, are an entry mapped to false
- Delay moved into CustomDrop even though it's not really a condition
- BlockFromToEvent constructor addedin OccurredDrop
- All the SimpleDrop accessors and mutators added
- Deny, contents, and default DropType added
- Support for non-embedded quantity added to DropType
- New special Tool added for BlockFromToEvent
Moved the more complicated options into their own namespace; changed PlayerWrapper to only implement CommandSender rather than Player; minor fixes in SimpleDrop
Split drop type and target type classes into several subclasses as appropriate; removed numerous unneeded imports; implemented replacementblock and began implementing tooldamage; renamed Tool to Agent
Almost finished with drop checking and execution, apart from events.
- Agent subclasses that involve an entity now privately keep track of the entity so that the entity or its tool may later be damaged through it