25w11c Add texturepack support

This commit is contained in:
catfoolyou 2025-03-14 13:27:52 -04:00
parent 727487892b
commit c93899931e
38 changed files with 55308 additions and 55327 deletions

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

View File

@ -255,28 +255,11 @@ chat.link.confirm=Are you sure you want to open the following website?
chat.link.warning=Never open links from people that you don't trust!
chat.copy=Copy to Clipboard
menu.playdemo=Play Demo World
menu.resetdemo=Reset Demo World
demo.day.1=This demo will last five game days, do your best!
demo.day.2=Day Two
demo.day.3=Day Three
demo.day.4=Day Four
demo.day.5=This is your last day!
demo.day.warning=Your time is almost up!
demo.day.6=You have passed your fifth day, use F2 to save a screenshot of your creation
demo.reminder=The demo time has expired, buy the game to continue or start a new world!
demo.remainingTime=Remaining time: %s
demo.demoExpired=Demo time's up!
demo.help.movement=Use %1$s, %2$s, %3$s, %4$s and the mouse to move around
demo.help.movementShort=Move by pressing %1$s, %2$s, %3$s, %4$s
demo.help.movementMouse=Look around using the mouse
demo.help.jump=Jump by pressing %1$s
demo.help.inventory=Use %1$s to open your inventory
demo.help.title=Minecraft Demo Mode
demo.help.fullWrapped=This demo will last 5 ingame days (about 1 hour and 40 minutes of real time). Check the achievements for hints! Have fun!
demo.help.buy=Purchase Now!
demo.help.later=Continue Playing!
texturePack.openFolder=Open texture pack folder
texturePack.title=Select Texture Pack
texturePack.folderInfo=(Place texture pack files here)
texturePack.incompatible=Incompatible
texturePack.wannaDelete=Do you want to delete this texture pack?
connect.connecting=Connecting to the server...
connect.authorizing=Logging in...

View File

@ -1,333 +0,0 @@
{
"pack": {
"pack_format": 1,
"description": "The default look of Minecraft"
},
"language": {
"af_ZA": {
"name": "Afrikaans",
"region": "ZA",
"bidirectional": false
},
"ar_SA": {
"name": "\u0627\u0644\u0639\u0631\u0628\u064A\u0629",
"region": "\u0627\u0644\u0639\u0627\u0644\u0645 \u0627\u0644\u0639\u0631\u0628\u064A",
"bidirectional": true
},
"bg_BG": {
"name": "\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438",
"region": "BG",
"bidirectional": false
},
"ca_ES": {
"name": "Catal\u00E0",
"region": "CAT",
"bidirectional": false
},
"cs_CZ": {
"name": "\u010Ce\u0161tina",
"region": "CZ",
"bidirectional": false
},
"cy_GB": {
"name": "Cymraeg",
"region": "Cymru",
"bidirectional": false
},
"da_DK": {
"name": "Dansk",
"region": "DK",
"bidirectional": false
},
"de_DE": {
"name": "Deutsch",
"region": "Deutschland",
"bidirectional": false
},
"el_GR": {
"name": "\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",
"region": "El",
"bidirectional": false
},
"en_AU": {
"name": "Australian English",
"region": "Australia",
"bidirectional": false
},
"en_CA": {
"name": "Canadian English",
"region": "CA",
"bidirectional": false
},
"en_GB": {
"name": "English",
"region": "UK",
"bidirectional": false
},
"en_PT": {
"name": "Pirate Speak",
"region": "PIRATE",
"bidirectional": false
},
"en_US": {
"name": "English",
"region": "US",
"bidirectional": false
},
"eo_UY": {
"name": "Esperanto",
"region": "Mondo",
"bidirectional": false
},
"es_AR": {
"name": "Espa\u00F1ol",
"region": "Argentina",
"bidirectional": false
},
"es_ES": {
"name": "Espa\u00F1ol",
"region": "Espa\u00F1a",
"bidirectional": false
},
"es_MX": {
"name": "Espa\u00F1ol",
"region": "M\u00E9xico",
"bidirectional": false
},
"es_UY": {
"name": "Espa\u00F1ol",
"region": "Uruguay",
"bidirectional": false
},
"es_VE": {
"name": "Espa\u00F1ol",
"region": "Venezuela",
"bidirectional": false
},
"et_EE": {
"name": "Eesti",
"region": "ET",
"bidirectional": false
},
"eu_ES": {
"name": "Euskara",
"region": "EH",
"bidirectional": false
},
"fi_FI": {
"name": "suomi",
"region": "FI",
"bidirectional": false
},
"fr_CA": {
"name": "Fran\u00E7ais",
"region": "CA",
"bidirectional": false
},
"fr_FR": {
"name": "Fran\u00E7ais",
"region": "France",
"bidirectional": false
},
"ga_IE": {
"name": "Gaeilge",
"region": "\u00C9ire",
"bidirectional": false
},
"gl_ES": {
"name": "Galego",
"region": "Galicia",
"bidirectional": false
},
"he_IL": {
"name": "\u05D0\u05E0\u05D2\u05DC\u05D9\u05EA",
"region": "IL",
"bidirectional": true
},
"hi_IN": {
"name": "\u0905\u0902\u0917\u094D\u0930\u0947\u095B\u0940",
"region": "\u092D\u093E\u0930\u0924",
"bidirectional": false
},
"hr_HR": {
"name": "Hrvatski",
"region": "HR",
"bidirectional": false
},
"hu_HU": {
"name": "Magyar",
"region": "HU",
"bidirectional": false
},
"id_ID": {
"name": "Bahasa Indonesia",
"region": "ID",
"bidirectional": false
},
"is_IS": {
"name": "\u00CDslenska",
"region": "IS",
"bidirectional": false
},
"it_IT": {
"name": "Italiano",
"region": "Italia",
"bidirectional": false
},
"ja_JP": {
"name": "\u65E5\u672C\u8A9E",
"region": "\u65E5\u672C",
"bidirectional": false
},
"ka_GE": {
"name": "\u10E5\u10D0\u10E0\u10D7\u10E3\u10DA\u10D8",
"region": "\u10E1\u10D0\u10E5\u10D0\u10E0\u10D7\u10D5\u10D4\u10DA\u10DD",
"bidirectional": false
},
"ko_KR": {
"name": "\uD55C\uAD6D\uC5B4",
"region": "KR",
"bidirectional": false
},
"kw_GB": {
"name": "Kernowek",
"region": "Cornwall",
"bidirectional": false
},
"ky_KG": {
"name": "\u0905\u0902\u0917\u094D\u0930\u0947\u095B\u0940",
"region": "\u092D\u093E\u0930\u0924",
"bidirectional": false
},
"lt_LT": {
"name": "Lietuvi\u0173",
"region": "Lietuva",
"bidirectional": false
},
"lv_LV": {
"name": "Latvie\u0161u",
"region": "Latvija",
"bidirectional": false
},
"mi_NZ": {
"name": "Bahasa Melayu",
"region": "MS",
"bidirectional": false
},
"ms_MY": {
"name": "Bahasa Melayu",
"region": "MS",
"bidirectional": false
},
"mt_MT": {
"name": "Malti",
"region": "MT",
"bidirectional": false
},
"nb_NO": {
"name": "Norsk",
"region": "NO",
"bidirectional": false
},
"nl_NL": {
"name": "Nederlands",
"region": "Nederland",
"bidirectional": false
},
"nn_NO": {
"name": "Norsk nynorsk",
"region": "Noreg",
"bidirectional": false
},
"no_NO": {
"name": "Norsk",
"region": "NO",
"bidirectional": false
},
"pl_PL": {
"name": "Polski",
"region": "Polska",
"bidirectional": false
},
"pt_BR": {
"name": "Portugu\u00EAs",
"region": "BR",
"bidirectional": false
},
"pt_PT": {
"name": "Portugu\u00EAs",
"region": "Portugal",
"bidirectional": false
},
"qya_AA": {
"name": "Quenya",
"region": "Arda",
"bidirectional": false
},
"ro_RO": {
"name": "Rom\u00E2n\u0103",
"region": "RO",
"bidirectional": false
},
"ru_RU": {
"name": "\u0420\u0443\u0441\u0441\u043A\u0438\u0439",
"region": "\u0420\u043E\u0441\u0441\u0438\u044F",
"bidirectional": false
},
"sk_SK": {
"name": "Sloven\u010Dina",
"region": "SK",
"bidirectional": false
},
"sl_SI": {
"name": "Sloven\u0161\u010Dina",
"region": "SLO",
"bidirectional": false
},
"sr_SP": {
"name": "\u0421\u0440\u043F\u0441\u043A\u0438",
"region": "\u0421\u0440\u0431\u0438\u0458\u0430",
"bidirectional": false
},
"sv_SE": {
"name": "Svenska",
"region": "Sverige",
"bidirectional": false
},
"th_TH": {
"name": "\u0E20\u0E32\u0E29\u0E32\u0E44\u0E17\u0E22",
"region": "TH",
"bidirectional": false
},
"tlh_AA": {
"name": "tlhIngan Hol",
"region": "US",
"bidirectional": false
},
"tr_TR": {
"name": "T\u00FCrk\u00E7e",
"region": "TR",
"bidirectional": false
},
"uk_UA": {
"name": "\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",
"region": "\u0423\u043A\u0440\u0430\u0457\u043D\u0430",
"bidirectional": false
},
"vi_VN": {
"name": "Ti\u1EBFng Vi\u1EC7t",
"region": "VN",
"bidirectional": false
},
"zh_CN": {
"name": "\u7B80\u4F53\u4E2D\u6587",
"region": "\u4E2D\u56FD",
"bidirectional": false
},
"zh_TW": {
"name": "\u7E41\u9AD4\u4E2D\u6587",
"region": "\u53F0\u7063",
"bidirectional": false
}
}
}

View File

@ -1272,12 +1272,10 @@ public class EaglerAdapterImpl2 {
}
public static final byte[] getFileChooserResult() {
byte[] b = fileChooserFile;
fileChooserFile = null;
return b;
}
public static final String getFileChooserResultName() {
String s = fileChooserName;
fileChooserName = null;
return s;
}
public static final void clearFileChooserResult() {

View File

@ -5,7 +5,7 @@ import java.util.List;
public class ConfigConstants {
public static final String version = "25w11b";
public static final String version = "25w11c";
public static final String mainMenuString = "Eaglercraft " + version;
public static final String forkMe = "https://git.zelz.net/catfoolyou/Project164";

View File

@ -87,20 +87,6 @@ public class FontRenderer {
*/
protected boolean strikethroughStyle = false;
protected static char[] codepointLookup = new char[] { 192, 193, 194, 200, 202, 203, 205, 211, 212, 213, 218, 223,
227, 245, 287, 304, 305, 338, 339, 350, 351, 372, 373, 382, 519, 0, 0, 0, 0, 0, 0, 0, 32, 33, 34, 35, 36,
37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63,
64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90,
91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113,
114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 0, 199, 252, 233, 226, 228, 224, 229, 231,
234, 235, 232, 239, 238, 236, 196, 197, 201, 230, 198, 244, 246, 242, 251, 249, 255, 214, 220, 248, 163,
216, 215, 402, 225, 237, 243, 250, 241, 209, 170, 186, 191, 174, 172, 189, 188, 161, 171, 187, 9617, 9618,
9619, 9474, 9508, 9569, 9570, 9558, 9557, 9571, 9553, 9559, 9565, 9564, 9563, 9488, 9492, 9524, 9516, 9500,
9472, 9532, 9566, 9567, 9562, 9556, 9577, 9574, 9568, 9552, 9580, 9575, 9576, 9572, 9573, 9561, 9560, 9554,
9555, 9579, 9578, 9496, 9484, 9608, 9604, 9612, 9616, 9600, 945, 946, 915, 960, 931, 963, 956, 964, 934,
920, 937, 948, 8734, 8709, 8712, 8745, 8801, 177, 8805, 8804, 8992, 8993, 247, 8776, 176, 8729, 183, 8730,
8319, 178, 9632, 0 };
public FontRenderer(GameSettings par1GameSettings, String par2Str, RenderEngine par3RenderEngine, boolean par4) {
this.fontTexture = new TextureLocation(par2Str);
this.fontTextureName = par2Str;

View File

@ -112,7 +112,7 @@ public class GuiOptions extends GuiScreen
if (par1GuiButton.id == 105)
{
this.mc.gameSettings.saveOptions();
//this.mc.displayGuiScreen(new GuiScreenTemporaryResourcePackSelect(this, this.options));
this.mc.displayGuiScreen(new GuiTexturePacks(this, this.options));
}
}
}

View File

@ -27,7 +27,7 @@ public class MathHelper
public static final float sqrt_float(float par0)
{
return (float)Math.sqrt((double)par0);
return (float)Math.sqrt(par0);
}
public static final float sqrt_double(double par0)

View File

@ -1244,17 +1244,6 @@ public class NetClientHandler extends NetHandler {
this.mc.displayGuiScreen(new GuiWinGame());
} else if (var3 == 5) {
GameSettings var5 = this.mc.gameSettings;
if (var4 == 0) {
return;
} else if (var4 == 101) {
this.mc.ingameGUI.getChatGUI().addTranslatedMessage("demo.help.movement",
new Object[] { EaglerAdapter.getKeyName(var5.keyBindForward.keyCode), EaglerAdapter.getKeyName(var5.keyBindLeft.keyCode), EaglerAdapter.getKeyName(var5.keyBindBack.keyCode), EaglerAdapter.getKeyName(var5.keyBindRight.keyCode) });
} else if (var4 == 102) {
this.mc.ingameGUI.getChatGUI().addTranslatedMessage("demo.help.jump", new Object[] { EaglerAdapter.getKeyName(var5.keyBindJump.keyCode) });
} else if (var4 == 103) {
this.mc.ingameGUI.getChatGUI().addTranslatedMessage("demo.help.inventory", new Object[] { EaglerAdapter.getKeyName(var5.keyBindInventory.keyCode) });
}
} else if (var3 == 6) {
this.worldClient.playSound(var2.posX, var2.posY + (double) var2.getEyeHeight(), var2.posZ, "random.successful_hit", 0.18F, 0.45F, false);
}