-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added player_consume, projectile_hit, and some new 1.5 abstraction.
- Loading branch information
Jim Bilbrey
committed
Mar 21, 2013
1 parent
ce1d63a
commit 23ae407
Showing
21 changed files
with
389 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
src/main/java/com/laytonsmith/abstraction/enums/MCWeatherType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package com.laytonsmith.abstraction.enums; | ||
|
||
public enum MCWeatherType { | ||
CLEAR, | ||
DOWNFALL | ||
} |
14 changes: 14 additions & 0 deletions
14
src/main/java/com/laytonsmith/abstraction/events/MCPlayerItemConsumeEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package com.laytonsmith.abstraction.events; | ||
|
||
import com.laytonsmith.abstraction.MCItemStack; | ||
import com.laytonsmith.abstraction.MCPlayer; | ||
import com.laytonsmith.core.events.BindableEvent; | ||
|
||
/** | ||
* | ||
* @author jb_aero | ||
*/ | ||
public interface MCPlayerItemConsumeEvent extends BindableEvent { | ||
public MCItemStack getItem(); | ||
public void setItem(MCItemStack item); | ||
} |
15 changes: 15 additions & 0 deletions
15
src/main/java/com/laytonsmith/abstraction/events/MCPotionSplashEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package com.laytonsmith.abstraction.events; | ||
|
||
import java.util.Set; | ||
|
||
import com.laytonsmith.abstraction.MCLivingEntity; | ||
|
||
/** | ||
* | ||
* @author jb_aero | ||
*/ | ||
public interface MCPotionSplashEvent extends MCProjectileHitEvent { | ||
public Set<MCLivingEntity> getAffectedEntities(); | ||
public double getIntensity(MCLivingEntity le); | ||
public void setIntensity(MCLivingEntity le, double intensity); | ||
} |
Oops, something went wrong.