-
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.
- Loading branch information
1 parent
2de6573
commit 62e47f3
Showing
41 changed files
with
723 additions
and
348 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
76 changes: 76 additions & 0 deletions
76
src/main/java/com/laytonsmith/abstraction/MCParticleData.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,76 @@ | ||
package com.laytonsmith.abstraction; | ||
|
||
public class MCParticleData { | ||
|
||
public static class DustTransition { | ||
MCColor from; | ||
MCColor to; | ||
|
||
public DustTransition(MCColor from, MCColor to) { | ||
this.from = from; | ||
this.to = to; | ||
} | ||
|
||
public MCColor from() { | ||
return this.from; | ||
} | ||
|
||
public MCColor to() { | ||
return this.to; | ||
} | ||
} | ||
|
||
public static class TargetColor { | ||
MCLocation location; | ||
MCColor color; | ||
|
||
public TargetColor(MCLocation location, MCColor color) { | ||
this.location = location; | ||
this.color = color; | ||
} | ||
|
||
public MCLocation location() { | ||
return this.location; | ||
} | ||
|
||
public MCColor color() { | ||
return this.color; | ||
} | ||
} | ||
|
||
public static class VibrationBlockDestination { | ||
MCLocation location; | ||
int arrivalTime; | ||
|
||
public VibrationBlockDestination(MCLocation location, int arrivalTime) { | ||
this.location = location; | ||
this.arrivalTime = arrivalTime; | ||
} | ||
|
||
public MCLocation location() { | ||
return this.location; | ||
} | ||
|
||
public int arrivalTime() { | ||
return this.arrivalTime; | ||
} | ||
} | ||
|
||
public static class VibrationEntityDestination { | ||
MCEntity entity; | ||
int arrivalTime; | ||
|
||
public VibrationEntityDestination(MCEntity entity, int arrivalTime) { | ||
this.entity = entity; | ||
this.arrivalTime = arrivalTime; | ||
} | ||
|
||
public MCEntity entity() { | ||
return this.entity; | ||
} | ||
|
||
public int arrivalTime() { | ||
return this.arrivalTime; | ||
} | ||
} | ||
} |
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
Oops, something went wrong.