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
apply plugin: 'com.android.application' | |
android { | |
compileSdkVersion 20 | |
buildToolsVersion "20.0.0" | |
defaultConfig { | |
applicationId "com.example.dalvir.find" | |
minSdkVersion 15 | |
targetSdkVersion 20 |
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
# Minecraft to Spout inventory slot conversion (inclusive) | |
Inventory: | |
held items: 0-9 | |
main inventory: 9-35 | |
boots: 36 | |
pants: 37 | |
lower left crafting: 38 | |
lower right crafting: 39 | |
output: 40 |
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
class ComponentEvent<T extends Component> { | |
final T component; | |
ComponentEvent(T component) { | |
this.component = component; | |
} | |
T getComponent() { | |
return component; | |
} |
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 is part of Vanilla. | |
* | |
* Copyright (c) 2011-2012, VanillaDev <http://www.spout.org/> | |
* Vanilla is licensed under the SpoutDev License Version 1. | |
* | |
* Vanilla is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU Lesser General Public License as published by | |
* the Free Software Foundation, either version 3 of the License, or | |
* (at your option) any later version. |
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 is part of Vanilla. | |
* | |
* Copyright (c) 2011-2012, VanillaDev <http://www.spout.org/> | |
* Vanilla is licensed under the SpoutDev License Version 1. | |
* | |
* Vanilla is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU Lesser General Public License as published by | |
* the Free Software Foundation, either version 3 of the License, or | |
* (at your option) any later version. |
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 is part of Vanilla. | |
* | |
* Copyright (c) 2011-2012, VanillaDev <http://www.spout.org/> | |
* Vanilla is licensed under the SpoutDev License Version 1. | |
* | |
* Vanilla is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU Lesser General Public License as published by | |
* the Free Software Foundation, either version 3 of the License, or | |
* (at your option) any later version. |
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 is part of Vanilla. | |
* | |
* Copyright (c) 2011-2012, VanillaDev <http://www.spout.org/> | |
* Vanilla is licensed under the SpoutDev License Version 1. | |
* | |
* Vanilla is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU Lesser General Public License as published by | |
* the Free Software Foundation, either version 3 of the License, or | |
* (at your option) any later version. |
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
class WindowHolder extends EntityComponent { | |
final DefaultWindow defaultWindow = new DefaultWindow(); | |
Window activeWindow = defaultWindow; | |
Window getActiveWindow() { | |
return activeWindow; | |
} | |
DefaultWindow getDefaultWindow() { | |
return defaultWindow; |
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 is part of Vanilla. | |
* | |
* Copyright (c) 2011-2012, VanillaDev <http://www.spout.org/> | |
* Vanilla is licensed under the SpoutDev License Version 1. | |
* | |
* Vanilla is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU Lesser General Public License as published by | |
* the Free Software Foundation, either version 3 of the License, or | |
* (at your option) any later version. |
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
class EntityDeathEvent extends EntityEvent { | |
@Getter | |
@Setter | |
List<ItemStack> droppedItems; | |
@Getter | |
@Setter | |
int droppedExp; | |
@Getter | |
@Setter | |
String message; |
OlderNewer