• R/O
  • HTTP
  • SSH
  • HTTPS

ChemiCraftNext: Commit


Commit MetaInfo

Revisión90d790d835d78e6e9f1eda45d30c8a5fb06ea6c3 (tree)
Tiempo2013-08-20 20:09:18
Autorinaka <inaka@tcrs...>
Commiterinaka

Log Message

コメント追加

Cambiar Resumen

Diferencia incremental

--- a/src/asia/tcrs/ccnp/ccnn/ChemiCraftNext.java
+++ b/src/asia/tcrs/ccnp/ccnn/ChemiCraftNext.java
@@ -13,6 +13,16 @@ import cpw.mods.fml.common.Mod.Instance;
1313 import cpw.mods.fml.common.event.FMLInitializationEvent;
1414 import cpw.mods.fml.common.network.NetworkMod;
1515
16+/**
17+ * 根幹のクラス<br>
18+ * <br>
19+ * Copyright (c) 2012~2013, ChemiCraftNextProject<br>
20+ * All rights reserved.<br>
21+ * New BSD license<br>
22+ * <br>
23+ * @author CCNP
24+ *
25+ */
1626 @Mod(modid = "ChemiCraftNext", name = "ChemiCraftNext", version = "Alpha0.001")
1727 @NetworkMod(clientSideRequired = true, serverSideRequired = true, versionBounds = "1.5", packetHandler = PacketHandler.class)
1828 public class ChemiCraftNext {
@@ -23,7 +33,18 @@ public class ChemiCraftNext {
2333 public static ChemiCraftNext instance;
2434
2535 public static Item itemAtoms;
26-
36+
37+
38+ public static final String[] ATOMSNAME = {
39+ "Hydrogen", "Helium", "Lithium", "Beryllium", "Boron", "Carbon", "Nitrogen", "Oxygen", "Fluorine", "Neon", "Sodium", "Magnesium", "Aluminium", "Silicon",
40+ "Phosphorus", "Sulfur", "Chlorine", "Argon", "Potassium", "Calcium", "Scandium", "Titanium", "Vanadium", "Chromium", "Manganese", "Iron", "Cobalt", "Nickel", "Copper", "Zinc", "Gallium",
41+ "Germanium", "Arsenic", "Selenium", "Bromine", "Krypton", "Rubidium", "Strontium", "Yttorium", "Zirconium", "Niobium", "Molybdenum", "Technetium", "Ruthenium", "Rhodium", "Palladium",
42+ "Silver", "Cadmium", "Indium", "Tin", "Antimony", "Tellurium", "Iodine", "Xenon", "Caesium", "Barium", "Lanthanum", "Cerium", "Praseodymium", "Neodymium", "Promethium", "Samarium",
43+ "Europium", "Gadolinium", "Terbium", "Dysprosium", "Holmium", "Erbium", "Thulium", "Ytterbium", "Lutetium", "Hafnium", "Tantalum", "Tungsten", "Rhenium", "Osmium", "Iridium", "Platinum",
44+ "Gold", "Mercury", "Thallium", "Lead", "Bismuth", "Polonium", "Astatine", "Radon", "Francium", "Radium", "Actinium", "Thorium", "Protactinium", "Uranium", "Neptunium", "Plutonium",
45+ "Americium", "Curium", "Berkelium", "Californium", "Einsteinium", "Fermium", "Mendelevium", "Nobelium", "Lawrencium", "Rutherfordium", "Dubnium", "Seaborgium", "Bohrium", "Hassium",
46+ "Meitnerium", "Darmstadtium", "Roentgenium", "Copernicium", "Ununtrium", "Flerovium", "Ununpentium", "Livermorium", "Ununseptium", "Ununoctium" };
47+
2748 public void StaticBlackList()
2849 {
2950 UserNameOnKick.kick("sanboru");
--- a/src/asia/tcrs/ccnp/ccnn/Item/ItemAtoms.java
+++ b/src/asia/tcrs/ccnp/ccnn/Item/ItemAtoms.java
@@ -8,6 +8,14 @@ import asia.tcrs.ccnp.ccnn.ChemiCraftNext;
88 import cpw.mods.fml.relauncher.Side;
99 import cpw.mods.fml.relauncher.SideOnly;
1010
11+/**
12+ * Copyright (c) 2012~2013, ChemiCraftNextProject<br>
13+ * All rights reserved.<br>
14+ * New BSD license<br>
15+ * <br>
16+ * @author CCNP
17+ *
18+ */
1119 public class ItemAtoms extends Item{
1220
1321 @SideOnly(Side.CLIENT)
--- a/src/asia/tcrs/ccnp/ccnn/creativetab/CreativeTabChemiCraftNext.java
+++ b/src/asia/tcrs/ccnp/ccnn/creativetab/CreativeTabChemiCraftNext.java
@@ -4,6 +4,14 @@ import net.minecraft.creativetab.CreativeTabs;
44 import cpw.mods.fml.relauncher.Side;
55 import cpw.mods.fml.relauncher.SideOnly;
66
7+/**
8+ * Copyright (c) 2012~2013, ChemiCraftNextProject<br>
9+ * All rights reserved.<br>
10+ * New BSD license<br>
11+ * <br>
12+ * @author CCNP
13+ *
14+ */
715 public class CreativeTabChemiCraftNext extends CreativeTabs {
816
917 public CreativeTabChemiCraftNext(String label) {
--- a/src/asia/tcrs/ccnp/ccnn/system/PacketHandler.java
+++ b/src/asia/tcrs/ccnp/ccnn/system/PacketHandler.java
@@ -6,8 +6,13 @@ import cpw.mods.fml.common.network.IPacketHandler;
66 import cpw.mods.fml.common.network.Player;
77
88 /**
9- * サーバーとクライアントのデータの同期に必要なクラス
10- * @author Lilly
9+ * サーバーとクライアントのデータの同期に必要なクラス<br>
10+ * <br>
11+ * Copyright (c) 2012~2013, ChemiCraftNextProject<br>
12+ * All rights reserved.<br>
13+ * New BSD license<br>
14+ * <br>
15+ * @author CCNP
1116 */
1217 public class PacketHandler implements IPacketHandler {
1318
--- a/src/asia/tcrs/ccnp/ccnn/util/Auxiliary.java
+++ b/src/asia/tcrs/ccnp/ccnn/util/Auxiliary.java
@@ -10,7 +10,12 @@ import net.minecraft.world.World;
1010 import cpw.mods.fml.common.registry.LanguageRegistry;
1111
1212 /**
13- * 補助クラス
13+ * 補助クラス<br>
14+ * <br>
15+ * Copyright (c) 2012~2013, ChemiCraftNextProject<br>
16+ * All rights reserved.<br>
17+ * New BSD license<br>
18+ * <br>
1419 * @author mozipi,ponkotate
1520 */
1621 public class Auxiliary {
--- a/src/asia/tcrs/ccnp/ccnn/util/UserNameOnKick.java
+++ b/src/asia/tcrs/ccnp/ccnn/util/UserNameOnKick.java
@@ -2,8 +2,20 @@ package asia.tcrs.ccnp.ccnn.util;
22
33 import net.minecraft.client.Minecraft;
44
5+/**
6+ * Copyright (c) 2012~2013, ChemiCraftNextProject<br>
7+ * All rights reserved.<br>
8+ * New BSD license<br>
9+ * <br>
10+ * @author 無銘七誌,inaka
11+ *
12+ */
513 public final class UserNameOnKick {
614
15+ /**
16+ * ユーザー名を直接string型で指定
17+ * @param username 蹴りたいユーザ名
18+ */
719 public static void kick(String username) {
820 try {
921 if (Minecraft.getMinecraft().session.username.equals(username))
@@ -12,6 +24,11 @@ public final class UserNameOnKick {
1224 return;
1325 }
1426 }
27+
28+ /**
29+ * ユーザー名をコード見ただけではわからないよ隠蔽
30+ * @param asciiCodes 隠ぺいしたID
31+ */
1532 public static void kick(byte[] asciiCodes) {
1633 String resultString;
1734 try {
Show on old repository browser