2 |
Localization (L10N) UI
3 |
Based on %%implementation%% version %%version%%
4 |
Portions of this software are protected by the copyright of the MethodScript team.
5 | This software is distributed under the MIT license.
6 |
This tool allows for simplified and correct editing of the translation files that power the localization
7 | framework of the website.
8 |
9 | <3
10 |
11 |
--------------------------------------------------------------------------------
/src/main/java/com/laytonsmith/PureUtilities/VirtualFS/PermissionException.java:
--------------------------------------------------------------------------------
1 | package com.laytonsmith.PureUtilities.VirtualFS;
2 |
3 | /**
4 | * Thrown if a function failed due to a permissions issue
5 | *
6 | */
7 | public class PermissionException extends SecurityException {
8 |
9 | public PermissionException(String s) {
10 | super(s);
11 | }
12 |
13 | public PermissionException(Throwable cause) {
14 | super(cause);
15 | }
16 |
17 | public PermissionException(String message, Throwable cause) {
18 | super(message, cause);
19 | }
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/src/main/java/com/laytonsmith/abstraction/MCSkullMeta.java:
--------------------------------------------------------------------------------
1 | package com.laytonsmith.abstraction;
2 |
3 | public interface MCSkullMeta extends MCItemMeta {
4 |
5 | boolean hasOwner();
6 |
7 | String getOwner();
8 |
9 | MCOfflinePlayer getOwningPlayer();
10 |
11 | boolean setOwner(String owner);
12 |
13 | void setOwningPlayer(MCOfflinePlayer player);
14 |
15 | MCPlayerProfile getProfile();
16 |
17 | void setProfile(MCPlayerProfile profile);
18 |
19 | String getNoteBlockSound();
20 |
21 | void setNoteBlockSound(String noteBlockSound);
22 |
23 | }
24 |
--------------------------------------------------------------------------------
/src/main/java/com/laytonsmith/abstraction/entities/MCBee.java:
--------------------------------------------------------------------------------
1 | package com.laytonsmith.abstraction.entities;
2 |
3 | import com.laytonsmith.abstraction.MCLocation;
4 |
5 | public interface MCBee extends MCAnimal {
6 | MCLocation getHiveLocation();
7 | void setHiveLocation(MCLocation loc);
8 | MCLocation getFlowerLocation();
9 | void setFlowerLocation(MCLocation loc);
10 | boolean hasNectar();
11 | void setHasNectar(boolean nectar);
12 | boolean hasStung();
13 | void setHasStung(boolean stung);
14 | int getAnger();
15 | void setAnger(int ticks);
16 | }
17 |
--------------------------------------------------------------------------------