mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-22 04:27:59 +01:00
Update to fg2
This commit is contained in:
parent
667ab41d24
commit
0734ac963d
9 changed files with 57 additions and 39 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -4,4 +4,5 @@ bin/
|
||||||
build/
|
build/
|
||||||
run/
|
run/
|
||||||
.classpath
|
.classpath
|
||||||
.project
|
.project
|
||||||
|
*.launch
|
||||||
|
|
42
build.gradle
42
build.gradle
|
@ -1,25 +1,7 @@
|
||||||
buildscript {
|
plugins {
|
||||||
repositories {
|
id 'net.minecraftforge.gradle.tweaker-client' version '2.0.1'
|
||||||
mavenCentral()
|
|
||||||
maven {
|
|
||||||
name = "forge"
|
|
||||||
url = "http://files.minecraftforge.net/maven"
|
|
||||||
}
|
|
||||||
maven {
|
|
||||||
name = "sonatype"
|
|
||||||
url = "https://oss.sonatype.org/content/repositories/snapshots/"
|
|
||||||
}
|
|
||||||
maven {
|
|
||||||
name = 'minecrell'
|
|
||||||
url = "http://repo.minecrell.net/snapshots"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
dependencies {
|
|
||||||
classpath 'net.minecrell:VanillaGradle:3.0-SNAPSHOT'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
evaluationDependsOnChildren()
|
evaluationDependsOnChildren()
|
||||||
apply plugin: 'net.minecrell.vanilla'
|
|
||||||
|
|
||||||
archivesBaseName = "mod_minelp"
|
archivesBaseName = "mod_minelp"
|
||||||
version = "1.8-UNOFFICIAL_mc1.8"
|
version = "1.8-UNOFFICIAL_mc1.8"
|
||||||
|
@ -27,22 +9,25 @@ version = "1.8-UNOFFICIAL_mc1.8"
|
||||||
minecraft {
|
minecraft {
|
||||||
version = "1.8"
|
version = "1.8"
|
||||||
mappings = 'snapshot_20150606'
|
mappings = 'snapshot_20150606'
|
||||||
clientTweaker = 'com.mumfrey.liteloader.launch.LiteLoaderTweaker'
|
tweakClass = 'com.mumfrey.liteloader.launch.LiteLoaderTweaker'
|
||||||
|
runDir = 'run'
|
||||||
// fix reobf issues
|
// fix reobf issues
|
||||||
srgExtra "FD: com/voxelmodpack/common/properties/gui/GuiVoxelBoxSettingsPanel/zLevel bub/e"
|
// srgExtra "FD: com/voxelmodpack/common/properties/gui/GuiVoxelBoxSettingsPanel/zLevel bub/e"
|
||||||
srgExtra "FD: com/voxelmodpack/common/gui/GuiControl/zLevel bub/e"
|
// srgExtra "FD: com/voxelmodpack/common/gui/GuiControl/zLevel bub/e"
|
||||||
srgExtra "FD: com/voxelmodpack/common/gui/GuiScreenEx/zLevel bub/e"
|
// srgExtra "FD: com/voxelmodpack/common/gui/GuiScreenEx/zLevel bub/e"
|
||||||
}
|
}
|
||||||
project(':voxellib').dependencies {
|
|
||||||
compile fileTree("libs")
|
repositories.flatDir {
|
||||||
|
dir 'voxellib/liteloader'
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':voxellib')
|
compile project(':voxellib')
|
||||||
}
|
}
|
||||||
jar {
|
jar {
|
||||||
extension 'litemod'
|
extension 'litemod'
|
||||||
|
manifest.attributes.remove 'TweakClass'
|
||||||
}
|
}
|
||||||
task standaloneJar(type:Jar, dependsOn: [reobf, project(':voxellib').reobf]) {
|
task standaloneJar(type:Jar, dependsOn: [reobfJar, project(':voxellib').reobfJar]) {
|
||||||
extension "litemod"
|
extension "litemod"
|
||||||
from zipTree(jar.archivePath)
|
from zipTree(jar.archivePath)
|
||||||
from project(':voxellib').jar.archivePath
|
from project(':voxellib').jar.archivePath
|
||||||
|
@ -51,6 +36,3 @@ task standaloneJar(type:Jar, dependsOn: [reobf, project(':voxellib').reobf]) {
|
||||||
artifacts {
|
artifacts {
|
||||||
archives standaloneJar
|
archives standaloneJar
|
||||||
}
|
}
|
||||||
reobf {
|
|
||||||
setSrgMcp()
|
|
||||||
}
|
|
||||||
|
|
Binary file not shown.
|
@ -168,7 +168,6 @@ public class MineLittlePony implements InitCompleteListener {
|
||||||
if (pressed || skins) {
|
if (pressed || skins) {
|
||||||
minecraft.displayGuiScreen(new GuiSkinsMineLP());
|
minecraft.displayGuiScreen(new GuiSkinsMineLP());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static ModConfig getConfig() {
|
public static ModConfig getConfig() {
|
||||||
|
|
|
@ -37,7 +37,6 @@ public abstract class RenderPony extends RendererLivingEntity implements IRender
|
||||||
throw new InstantiationError("Overlay classes must not be instantiated");
|
throw new InstantiationError("Overlay classes must not be instantiated");
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("unused")
|
|
||||||
@AppendInsns("<init>")
|
@AppendInsns("<init>")
|
||||||
private void init(RenderManager renderManager, boolean useSmallArms) {
|
private void init(RenderManager renderManager, boolean useSmallArms) {
|
||||||
this.playerModel = PMAPI.newPonyAdv;
|
this.playerModel = PMAPI.newPonyAdv;
|
||||||
|
@ -118,7 +117,6 @@ public abstract class RenderPony extends RendererLivingEntity implements IRender
|
||||||
this.playerModel.armor.modelArmorChestplate.heldItemRight = this.playerModel.armor.modelArmor.heldItemRight = this.playerModel.model.heldItemRight = 0;
|
this.playerModel.armor.modelArmorChestplate.heldItemRight = this.playerModel.armor.modelArmor.heldItemRight = this.playerModel.model.heldItemRight = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("unused")
|
|
||||||
@AppendInsns("renderLivingAt")
|
@AppendInsns("renderLivingAt")
|
||||||
@Obfuscated({ "a", "func_77039_a" })
|
@Obfuscated({ "a", "func_77039_a" })
|
||||||
public void setupPlayerScale(AbstractClientPlayer player, double xPosition, double yPosition, double zPosition) {
|
public void setupPlayerScale(AbstractClientPlayer player, double xPosition, double yPosition, double zPosition) {
|
||||||
|
|
16
src/main/resources/assets/hdskins/lang/ru_RU.lang
Normal file
16
src/main/resources/assets/hdskins/lang/ru_RU.lang
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
hdskins.choose=Выберите файл
|
||||||
|
hdskins.manager=Помошник по работе со скинами
|
||||||
|
hdskins.error.unreadable=Нечитаемый файл
|
||||||
|
hdskins.error.ext=Файл не в png формате
|
||||||
|
hdskins.error.open=Ошибка при открытии файла скина
|
||||||
|
hdskins.error.invalid=Неверный файл скина
|
||||||
|
hdskins.error.select=Пожалуйста сначала выберите скин
|
||||||
|
hdskins.error.mojang=Ошибка Mojang API
|
||||||
|
hdskins.error.mojang.wait=Пожалуйста подождите 1 минуту...
|
||||||
|
hdskins.open.title=Выберите ваш скин
|
||||||
|
hdskins.fetch=Извлечение скина...
|
||||||
|
hdskins.failed=Загрузка скина завершилась неудачей
|
||||||
|
hdskins.request=Отправка запроса на сервер, пожалуйста подождите.
|
||||||
|
hdskins.upload=Загрузка скина, пожалуйста подождите.
|
||||||
|
hdskins.local=Локальный скин
|
||||||
|
hdskins.server=Скин на сервере
|
18
src/main/resources/assets/minelittlepony/lang/ru_RU.lang
Normal file
18
src/main/resources/assets/minelittlepony/lang/ru_RU.lang
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
minelp.restart1=Если вы измените эти параметры,
|
||||||
|
minelp.restart2=то для их активации вы должны перезапустить игру!
|
||||||
|
minelp.options.title=Настроайки мода Mine Little Pony
|
||||||
|
minelp.options.ponylevel=Уровень понификации
|
||||||
|
minelp.options.ponylevel.pony=Только пони
|
||||||
|
minelp.options.ponylevel.human=Только люди
|
||||||
|
minelp.options.ponylevel.mix=Вперемешку
|
||||||
|
minelp.options.options=Опции
|
||||||
|
minelp.options.hd=Включить Mine Little Pony скин-сервер (требуется перезапуск)
|
||||||
|
minelp.options.sizes=Разрешить пони разных размеров и расс
|
||||||
|
minelp.options.ponyarmor=Использовать текстуры брони совместимые с модом
|
||||||
|
minelp.options.snuzzles=Показывать объёмные носы
|
||||||
|
minelp.options.showscale=Использовать более точное масштабирование
|
||||||
|
minelp.mobs.title=Пони-мобы
|
||||||
|
minelp.mobs.villagers=Пони-житель
|
||||||
|
minelp.mobs.zombies=Пони-зомби
|
||||||
|
minelp.mobs.zombiepigmen=Пони-свинозомби
|
||||||
|
minelp.mobs.skeletons=Пони-скелеты
|
|
@ -1,4 +1,4 @@
|
||||||
apply plugin: 'net.minecrell.vanilla'
|
apply plugin: 'net.minecraftforge.gradle.tweaker-client'
|
||||||
|
|
||||||
archivesBaseName = "lib_voxelcommon"
|
archivesBaseName = "lib_voxelcommon"
|
||||||
version = "4.4.0-mc1.8"
|
version = "4.4.0-mc1.8"
|
||||||
|
@ -6,12 +6,16 @@ version = "4.4.0-mc1.8"
|
||||||
minecraft {
|
minecraft {
|
||||||
version = "1.8"
|
version = "1.8"
|
||||||
mappings = 'snapshot_20150606'
|
mappings = 'snapshot_20150606'
|
||||||
clientTweaker = 'com.mumfrey.liteloader.launch.LiteLoaderTweaker'
|
tweakClass = 'com.mumfrey.liteloader.launch.LiteLoaderTweaker'
|
||||||
|
}
|
||||||
|
repositories.flatDir {
|
||||||
|
dir 'liteloader'
|
||||||
|
}
|
||||||
|
dependencies {
|
||||||
|
deobfCompile 'com.mumfrey:liteloader:1.8-SNAPSHOT:srg'
|
||||||
}
|
}
|
||||||
jar {
|
jar {
|
||||||
extension 'litemod'
|
extension 'litemod'
|
||||||
archiveName = 'voxelcommon-2.4.0.jar'
|
archiveName = 'voxelcommon-2.4.0.jar'
|
||||||
}
|
manifest.attributes.remove 'TweakClass'
|
||||||
reobf {
|
|
||||||
setSrgMcp()
|
|
||||||
}
|
}
|
||||||
|
|
BIN
voxellib/liteloader/liteloader-1.8-SNAPSHOT-srg.jar
Normal file
BIN
voxellib/liteloader/liteloader-1.8-SNAPSHOT-srg.jar
Normal file
Binary file not shown.
Loading…
Reference in a new issue