mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-21 20:52:34 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e4caf46cb9 | ||
|
|
7b866e7e43 | ||
|
|
c2b79dd6ad | ||
|
|
b290cc6477 | ||
|
|
16127a61c7 | ||
|
|
0965ebae09 | ||
|
|
b06fb810ca | ||
|
|
261313a682 | ||
|
|
da96dd3514 | ||
|
|
201be84b9c | ||
|
|
03d7eaae23 | ||
|
|
1be1bb59c5 | ||
|
|
fb44ba2e6d | ||
|
|
b16994717f | ||
|
|
b2964a1ae7 | ||
|
|
6f361dafa8 | ||
|
|
376f172990 | ||
|
|
9fe6385e1f | ||
|
|
b0ae0be80e | ||
|
|
b109baf7d6 | ||
|
|
7065cb36bf | ||
|
|
a6b9fdf8c4 | ||
|
|
6e8dd77bbe | ||
|
|
a4983be979 | ||
|
|
62cc9f2e63 | ||
|
|
49ec3d1b93 | ||
|
|
cf26f4acbe | ||
|
|
882e0e3bf2 | ||
|
|
2cb99f0e74 | ||
|
|
be73ec3d5e | ||
|
|
0348760a77 | ||
|
|
2f802b6d71 | ||
|
|
6b52023a5c | ||
|
|
5bea8218d2 | ||
|
|
b24eb9af3c | ||
|
|
d48985fafa | ||
|
|
c416f38461 | ||
|
|
0a5ef64d6e | ||
|
|
c177219ff3 | ||
|
|
9ab96fbda6 | ||
|
|
7a4aa5a1c4 | ||
|
|
998a78c3c1 | ||
|
|
42e0fbbb02 | ||
|
|
27ebd0e9b9 | ||
|
|
9a9c02fa25 | ||
|
|
5802a3b0b6 | ||
|
|
dc871ea273 | ||
|
|
5c78361b27 | ||
|
|
56e347d05a | ||
|
|
5f9034d95b | ||
|
|
858056c089 | ||
|
|
bd62cf81fd | ||
|
|
a1bbcf8a0b | ||
|
|
1eee6cd382 | ||
|
|
129f58c02f | ||
|
|
159ca09c54 | ||
|
|
9ecb005e98 | ||
|
|
b0558c63de | ||
|
|
80f0e0bb93 | ||
|
|
bea5d44273 | ||
|
|
7bbd3954f5 | ||
|
|
cfa63792bc | ||
|
|
490573a71f | ||
|
|
9c7d20b3a1 | ||
|
|
d7b241c224 | ||
|
|
d7dda9e960 | ||
|
|
5f06c95cfa | ||
|
|
6e8c05343c | ||
|
|
d3da111c08 | ||
|
|
7a63e67e9d | ||
|
|
d159f5f4e2 | ||
|
|
92eb71ae9c | ||
|
|
bc303074f6 | ||
|
|
c0db34796b | ||
|
|
ad1324d478 | ||
|
|
3a3c436e3f | ||
|
|
4feb1dff50 | ||
|
|
d3ad8aed76 | ||
|
|
7a84376044 | ||
|
|
1107088acb | ||
|
|
c58a66a816 | ||
|
|
2aaa4f424d | ||
|
|
89eb8f067d | ||
|
|
f08f3c1105 | ||
|
|
3b5ada083e | ||
|
|
8dca9f2694 | ||
|
|
4e3b6b0f15 | ||
|
|
cac55abec2 | ||
|
|
bf6437c12a | ||
|
|
853667c084 | ||
|
|
b879cc9b73 | ||
|
|
45097fed0c | ||
|
|
5964bf8cb2 | ||
|
|
24cccab718 | ||
|
|
ca1f704e2f | ||
|
|
f9c7caaf0c | ||
|
|
a05d4234f0 | ||
|
|
c3fe6ecf7c | ||
|
|
0c8f51bc95 | ||
|
|
12769dbaae | ||
|
|
ec2977afc9 | ||
|
|
a01bfc260a | ||
|
|
d6d9a45100 | ||
|
|
3222a9a771 | ||
|
|
8dbfe1baad | ||
|
|
7f40d90b75 | ||
|
|
b25a9256d3 | ||
|
|
f3d0d99404 | ||
|
|
dd41990db4 | ||
|
|
0e286f880e | ||
|
|
bfddcfb4fc | ||
|
|
b5db198f8b | ||
|
|
d17c025557 | ||
|
|
03c8852961 | ||
|
|
3a48a9cd73 | ||
|
|
20c662c1d0 | ||
|
|
8195c36434 | ||
|
|
180692ae5d | ||
|
|
7643be8cdc | ||
|
|
4cd0f88a69 | ||
|
|
1c8f22ed43 | ||
|
|
f20d728ed7 | ||
|
|
704b683e27 | ||
|
|
1c11a3622e | ||
|
|
fe2243df9f | ||
|
|
fdea60f89a | ||
|
|
62ec59103a | ||
|
|
69af6a9b8c | ||
|
|
ef28edb526 | ||
|
|
bc6b008364 | ||
|
|
7c4ffde39c | ||
|
|
f4e8804c8a | ||
|
|
f088e3df6b | ||
|
|
0f6b16cada | ||
|
|
4694152124 | ||
|
|
0cba2ed4eb | ||
|
|
4dcee246d5 | ||
|
|
53b43a6e1f | ||
|
|
1473334f61 | ||
|
|
7e15ab7da1 | ||
|
|
40f335ba66 | ||
|
|
de80d4c4af | ||
|
|
2aa7260bbb | ||
|
|
2eb3b72618 | ||
|
|
36d7148c5f | ||
|
|
579f028294 | ||
|
|
a3d8664028 | ||
|
|
b380ba717f | ||
|
|
9f9554f7e2 | ||
|
|
46cfaae3db | ||
|
|
5d9169db0f | ||
|
|
bc82f2ae5a | ||
|
|
b0fd97557e | ||
|
|
543156a008 | ||
|
|
056ff67a81 | ||
|
|
ab64d1a166 | ||
|
|
0cf2cdfdb3 | ||
|
|
f8ec3602f2 | ||
|
|
5a3047fbc2 | ||
|
|
fe96792506 | ||
|
|
cfba330459 | ||
|
|
31b3825069 | ||
|
|
cace1f00b2 | ||
|
|
f96a31c945 | ||
|
|
bc27f0e204 | ||
|
|
fc43ebbd7e | ||
|
|
5ebf77bfd9 | ||
|
|
b95d443f22 | ||
|
|
d7245c5ffe | ||
|
|
45b299ce06 | ||
|
|
7ed5fc7e00 | ||
|
|
94a41e1fcc | ||
|
|
a963c9854d | ||
|
|
cc0e6a1825 | ||
|
|
b7739ffc71 | ||
|
|
8f74d05d02 | ||
|
|
80621de9ea | ||
|
|
a156d5e0fe | ||
|
|
7d4bf619fe | ||
|
|
22394f87d5 | ||
|
|
93a7ac3d89 | ||
|
|
5f234fdcf8 | ||
|
|
db2f5ab416 | ||
|
|
ae0c02159f | ||
|
|
57ed697cab | ||
|
|
565cfb155f | ||
|
|
b76b223d62 | ||
|
|
7e36205ba7 | ||
|
|
17858ef497 | ||
|
|
591ecdd7c9 | ||
|
|
f76af6103e | ||
|
|
7b5a5fbcbe | ||
|
|
5eeda79234 | ||
|
|
3e6099055e | ||
|
|
432e3ab08a | ||
|
|
f58d1cae1a | ||
|
|
03b54774aa | ||
|
|
cb2b0febeb | ||
|
|
a9e4516068 | ||
|
|
72f7c0be1f | ||
|
|
32459b01b6 | ||
|
|
6ad65f4e64 | ||
|
|
373fa8f7a3 | ||
|
|
4b9bf30fed | ||
|
|
18b2eeef90 | ||
|
|
1a8ad6bbee | ||
|
|
1871cf1b02 | ||
|
|
99616a503f | ||
|
|
0b1e94babd | ||
|
|
0fc08e383a | ||
|
|
fde90973c3 | ||
|
|
dd3c3a249e | ||
|
|
7f30e76dad | ||
|
|
8e3bc83c3b | ||
|
|
174394d6df | ||
|
|
d8166f5d6b | ||
|
|
84366be869 | ||
|
|
eefbcaaffc | ||
|
|
553a34690d | ||
|
|
efbd21e3eb | ||
|
|
006509a834 | ||
|
|
db9e75a273 | ||
|
|
90d6bad7f7 | ||
|
|
cc593f3939 | ||
|
|
254cf8bb23 | ||
|
|
09e109cac0 | ||
|
|
260be68723 | ||
|
|
3fbf8c9960 | ||
|
|
01bf6f59eb | ||
|
|
c8d775c865 | ||
|
|
d1f4d71d93 | ||
|
|
1a97d74939 | ||
|
|
9c003fcb15 | ||
|
|
dd384a91af | ||
|
|
ee2772b26a | ||
|
|
5604e3f380 | ||
|
|
ba9ec61648 | ||
|
|
86d5b5a872 | ||
|
|
aaf1cba776 | ||
|
|
683d9b5284 | ||
|
|
0628e86444 | ||
|
|
eca97de272 | ||
|
|
3f15c7b05b | ||
|
|
5c15dd714e | ||
|
|
7bbd1a6606 | ||
|
|
aacb319594 | ||
|
|
a63d92eb60 | ||
|
|
9cd2c697e5 | ||
|
|
dd09da27b5 | ||
|
|
1164ace8df | ||
|
|
f7feec029e | ||
|
|
ee7c965fe0 | ||
|
|
6da3250583 | ||
|
|
6a3b734801 | ||
|
|
ca6d1c9e3d | ||
|
|
c776d97691 | ||
|
|
883bfe57ab | ||
|
|
a649cce2ea | ||
|
|
ac194dc378 | ||
|
|
18e60a1235 | ||
|
|
279380b4f1 | ||
|
|
14ee316d06 | ||
|
|
13b820fde2 | ||
|
|
35cd9fe212 | ||
|
|
92914f82ae | ||
|
|
13ed510fcf | ||
|
|
6ca018c2b5 | ||
|
|
9a23cf76d2 | ||
|
|
0a5daa194b | ||
|
|
596ecfb891 | ||
|
|
06d7a9e39c | ||
|
|
8432f95223 | ||
|
|
caa61e1be9 | ||
|
|
ce481da1d1 | ||
|
|
86baf7462f | ||
|
|
4008983a5d | ||
|
|
e65218b525 | ||
|
|
d3e758fce6 | ||
|
|
0bb4d9fb89 | ||
|
|
3bdbe04261 | ||
|
|
39ac710722 | ||
|
|
aef721a248 | ||
|
|
b5f8da794c | ||
|
|
906b83dee4 | ||
|
|
5d2b8438c9 | ||
|
|
2f5f9968e4 | ||
|
|
772e7da3a3 | ||
|
|
93be22fc8e | ||
|
|
978861b521 | ||
|
|
b8996b14bc | ||
|
|
0406267d89 | ||
|
|
debe0ffdf8 | ||
|
|
357d2f8d86 | ||
|
|
c0840da355 | ||
|
|
a5ffda5d66 | ||
|
|
35978b0d96 | ||
|
|
4824d647f4 | ||
|
|
a1a67e7654 | ||
|
|
a97b4c4db7 | ||
|
|
4c56961b9e | ||
|
|
9bb927dc64 | ||
|
|
e00a11be99 | ||
|
|
48cc7582cc | ||
|
|
df7c7d6dfc | ||
|
|
b65b2991a4 | ||
|
|
d2989c83a7 | ||
|
|
614ba8fa73 | ||
|
|
1fbadb0ead | ||
|
|
6b8466778e | ||
|
|
5415891f11 | ||
|
|
8c02a0a4cc | ||
|
|
2356f088ee | ||
|
|
9df1e4b11e | ||
|
|
95bacd7a52 | ||
|
|
f4750ae2bf | ||
|
|
a4e2d0e304 | ||
|
|
7f6f2f0ec1 | ||
|
|
5bd06388c1 | ||
|
|
68ad1e03cf | ||
|
|
cdc86e9af6 | ||
|
|
b9ac73b0f1 | ||
|
|
5d5c005aae | ||
|
|
87b0f7db99 | ||
|
|
d5b93bf262 | ||
|
|
5445f96327 | ||
|
|
2e6f4e5b86 | ||
|
|
75468e9b0d | ||
|
|
34d4b0b93f | ||
|
|
92800f61d3 | ||
|
|
58d26618f6 | ||
|
|
aaa146c10d | ||
|
|
babd54bb87 | ||
|
|
d30aae862f | ||
|
|
a7d5820e99 | ||
|
|
363e84b2c5 | ||
|
|
6e46b6e4c1 | ||
|
|
0d13fe245d | ||
|
|
5f74a75435 | ||
|
|
aa672ea69a | ||
|
|
42404c531d | ||
|
|
4248dbc71d | ||
|
|
f5781488d9 | ||
|
|
23cdcb96a9 | ||
|
|
b53e53dcb7 | ||
|
|
7c6372202e | ||
|
|
b5bda7117a | ||
|
|
d31cf8ddbc | ||
|
|
ce4d31529d | ||
|
|
f4ca1f61b9 | ||
|
|
c7e54b8ecc | ||
|
|
eca3b900e0 | ||
|
|
1d21345dfd | ||
|
|
76efd93235 | ||
|
|
e349855688 | ||
|
|
b317d5d107 | ||
|
|
cd81cd0934 | ||
|
|
3930f6f8bd | ||
|
|
f61605c7af | ||
|
|
cc2895b793 | ||
|
|
c01e98e25f | ||
|
|
9ca3ede736 |
No files matched your search
@@ -22,6 +22,7 @@
|
|||||||
|
|
||||||
#Patch rejects
|
#Patch rejects
|
||||||
/patches-/
|
/patches-/
|
||||||
|
*.patch.rej
|
||||||
|
|
||||||
# FML changelog
|
# FML changelog
|
||||||
changelog.txt
|
changelog.txt
|
||||||
|
|||||||
@@ -8,3 +8,15 @@ Contributing to Forge
|
|||||||
3) Follow Forge coding guidelines (braces on newlines, spaces instead of tabs, etc)
|
3) Follow Forge coding guidelines (braces on newlines, spaces instead of tabs, etc)
|
||||||
|
|
||||||
For more information, refer to [the wiki](https://github.com/MinecraftForge/MinecraftForge/wiki/If-you-want-to-contribute-to-Forge)
|
For more information, refer to [the wiki](https://github.com/MinecraftForge/MinecraftForge/wiki/If-you-want-to-contribute-to-Forge)
|
||||||
|
|
||||||
|
|
||||||
|
Contributor License Agreement
|
||||||
|
=============================
|
||||||
|
- You grant Forge a license to use your code contributed to the primary codebase (everything **not** under patches) in Forge, under the LGPLv2.1 license.
|
||||||
|
- You assign copyright ownership of your contributions to the patches codebase (everything under patches) to Forge, where it will be licensed under the LGPLv2.1 license.
|
||||||
|
|
||||||
|
Additionally, while 1.9.4 is being maintained, you will be asked to acknowledge these two additional clauses.
|
||||||
|
- You grant Forge a license to use your code contributed to the primary codebase (everything **not** under patches) in Forge, under the MinecraftForge license.
|
||||||
|
- You grant assign copyright ownership of your contributions to the patches codebase (everything under patches) to Forge, where it will be licensed under the MinecraftForge license.
|
||||||
|
|
||||||
|
"Forge" is Forge Development LLC, a legally incorporated entity in Oregon, USA.
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
# On the Contribution of an RF-lite Energy System: "Energy"
|
||||||
|
Forge has acquired an Energy system, after many years of debate on the topic. The prevalence of the RF API has warranted the inclusion of a similar (but simpler) implementation to forge for 1.10.2 and onwards.
|
||||||
|
Those who wish to use an RF like API, feel free to use it. If you don't want to think about Energy, but know you need it, you can use it *if you wish*. If you want to interoperate with other energy systems, feel free to use this to broker with them.
|
||||||
|
|
||||||
|
# On Diversity in Energy Systems
|
||||||
|
Forge has always supported diversity in energy-like systems. If you have a burning desire to simulate electricity flow in all it's glory, we fully support you and look forward to playing your mod. If you wish to have pneumatic power, we have no objections, and would love to see your wonderful creations. If you have a power system of your own devising that is simply beyond our imagination, please, blow us away.
|
||||||
|
|
||||||
|
# On Modder Obligations
|
||||||
|
As a modder, you are under *no* obligation to use or support the forge Energy system. If anyone, user, mod-pack maker or even us, tells you otherwise, refer them to this statement. The Forge energy system is not intended to supplant diversity in energy systems. It is not intended to be one-size-fits-all. The choice to support it, is the choice of the modder.
|
||||||
@@ -0,0 +1,63 @@
|
|||||||
|
# How to install Forge: For Players
|
||||||
|
|
||||||
|
Go to [http://files.minecraftforge.net](http://files.minecraftforge.net)
|
||||||
|
and select the minecraft version you wish to get forge for from the list.
|
||||||
|
|
||||||
|
You can download the installer for the *Recommended Build* or the
|
||||||
|
*Lastest build* there. Latest builds may have newer features but may be
|
||||||
|
more unstable as a result. The installer will attempt to install forge
|
||||||
|
into your vanilla launcher environment, where you can then create a new
|
||||||
|
profile using that version and play the game!
|
||||||
|
|
||||||
|
Here is a short video from Rorax showing how to install and setup Forge.
|
||||||
|
|
||||||
|
[](https://www.youtube.com/watch?v=lB3ArN_-3Oc)
|
||||||
|
|
||||||
|
For support and user questions, visit [http://www.minecraftforge.net](http://www.minecraftforge.net).
|
||||||
|
|
||||||
|
# How to install Forge: For Modders
|
||||||
|
|
||||||
|
If you wish to setup a new mod for Forge, visit
|
||||||
|
[http://files.minecraftforge.net](http://files.minecraftforge.net) and
|
||||||
|
select the **MDK** download.
|
||||||
|
|
||||||
|
This is the `Modder Developer Kit` - basically, an example mod with all
|
||||||
|
the tooling needed to create a Forge mod workspace ready for use in your
|
||||||
|
IDE of choice.
|
||||||
|
|
||||||
|
Here is a short video from @cpw showing how to install and setup the MDK
|
||||||
|
in Intellij.
|
||||||
|
|
||||||
|
[](https://www.youtube.com/watch?v=PfmlNiHonV0)
|
||||||
|
|
||||||
|
# How to install Forge: For those wishing to work on Forge itself
|
||||||
|
|
||||||
|
If you wish to actually inspect Forge, submit PRs or otherwise work
|
||||||
|
with Forge itself, you're in the right place! Clone this (either
|
||||||
|
directly, or make a Fork first if you want to make a PR) and run
|
||||||
|
```gradlew.bat setupForge``` or ```gradlew setupForge```. This will download and
|
||||||
|
setup all the bits you need to have a functional Forge workspace.
|
||||||
|
|
||||||
|
After that, open a workspace in your favorite IDE and import existing projects
|
||||||
|
the projects folder.
|
||||||
|
|
||||||
|
Here is a short video from @cpw showing how to install and setup Forge
|
||||||
|
in Intellij.
|
||||||
|
|
||||||
|
[](https://www.youtube.com/watch?v=yanCpy8p2ZE)
|
||||||
|
|
||||||
|
## Pull requests
|
||||||
|
|
||||||
|
Pull requests should target the current default branch. Currently, that is
|
||||||
|
the 1.10.x branch for Minecraft 1.10.2.
|
||||||
|
|
||||||
|
If you intend to modify a minecraft patch, or add a new one, always run
|
||||||
|
```gradlew genPatches``` to generate your patch and validate that you
|
||||||
|
are not doing anything unexpected in your patch.
|
||||||
|
|
||||||
|
### Contributor License Agreement
|
||||||
|
As stated in the (https://github.com/MinecraftForge/MinecraftForge/blob/1.10.x/LICENSE-new.txt)
|
||||||
|
file, we require all contributors to acknowledge the Forge Contributor
|
||||||
|
License Agreement. Please ensure you have a valid email address
|
||||||
|
associated with your github account to do this. If you have previously
|
||||||
|
signed it, you should be OK.
|
||||||
-36
@@ -1,36 +0,0 @@
|
|||||||
*** HOW TO INSTALL ***
|
|
||||||
For Mod Users:
|
|
||||||
|
|
||||||
Download the latest installer from http://files.minecraftforge.net and follow instructions given by the installer.
|
|
||||||
|
|
||||||
|
|
||||||
For Mod Devs:
|
|
||||||
|
|
||||||
Download the latest Forge source distribution from http://files.minecraftforge.net and unzip it to a folder.
|
|
||||||
Open a command prompt, navigate to the directory where you unzipped the Forge sources, and run:
|
|
||||||
If you have Gradle: gradle setupDevWorkspace
|
|
||||||
If you DO NOT have Gradle installed:
|
|
||||||
Windows: ./gradlew.bat setupDevWorkspace
|
|
||||||
MacOS/Linux: ./gradlew setupDevWorkspace
|
|
||||||
|
|
||||||
If you wish to use the Eclipse IDE, run gradle eclipse instead of gradle setupDevWorkspace, or install the Gradle plugin for Eclipse and import the Forge source folder as a Gradle project.
|
|
||||||
|
|
||||||
To get the decompiled classes:
|
|
||||||
If you have Gradle: gradle setupDecompWorkspace
|
|
||||||
If you DO NOT have Gradle installed:
|
|
||||||
Windows: ./gradlew.bat setupDecompWorkspace
|
|
||||||
MacOS/Linux: ./gradlew setupDecompWorkspace
|
|
||||||
|
|
||||||
For Contributors: (Note: This assumes you have Gradle installed. If you don't, use ./gradlew(.bat) instead of gradle.
|
|
||||||
|
|
||||||
Clone this repository to a folder.
|
|
||||||
Open a command prompt and navigate to the folder where you cloned this repo.
|
|
||||||
Run gradle setupForge to setup your development environment.
|
|
||||||
|
|
||||||
To use Eclipse, point your Eclipse workspace at the eclipse folder inside the repo.
|
|
||||||
|
|
||||||
|
|
||||||
Requirements (for both mod devs and contributors):
|
|
||||||
You must have a JDK installed and accessible.
|
|
||||||
If you do not wish to use the gradle wrapper, you can install Gradle from http://www.gradle.org/ .
|
|
||||||
|
|
||||||
+40
-30
@@ -11,7 +11,7 @@ buildscript {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'net.minecraftforge.gradle:ForgeGradle:2.1-SNAPSHOT'
|
classpath 'net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -21,19 +21,20 @@ repositories {
|
|||||||
url = "file:///home/cpw/projects/repo"
|
url = "file:///home/cpw/projects/repo"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: "maven"
|
apply plugin: "maven"
|
||||||
apply plugin: "net.minecraftforge.gradle.patcher"
|
apply plugin: "net.minecraftforge.gradle.patcher"
|
||||||
apply plugin: "net.minecraftforge.gradle.launch4j"
|
apply plugin: "net.minecraftforge.gradle.launch4j"
|
||||||
|
|
||||||
|
minecraft.version = "1.10.2"
|
||||||
|
|
||||||
minecraft {
|
minecraft {
|
||||||
version = "1.9"
|
mappings = 'snapshot_nodoc_20161111'
|
||||||
mappings = 'snapshot_nodoc_20160312'
|
|
||||||
//mappings = "snapshot_nodoc_20151122"
|
|
||||||
workspaceDir = "projects"
|
workspaceDir = "projects"
|
||||||
versionJson = "jsons/1.9-dev.json"
|
versionJson = "jsons/${minecraft.version}-dev.json"
|
||||||
buildUserdev = true
|
buildUserdev = true
|
||||||
buildInstaller = true
|
buildInstaller = true
|
||||||
installerVersion = "1.4"
|
installerVersion = "1.5"
|
||||||
|
|
||||||
def common = {
|
def common = {
|
||||||
patchPrefixOriginal "../src-base/minecraft"
|
patchPrefixOriginal "../src-base/minecraft"
|
||||||
@@ -52,6 +53,7 @@ minecraft {
|
|||||||
genPatchesFrom "clean"
|
genPatchesFrom "clean"
|
||||||
genMcpPatches = false
|
genMcpPatches = false
|
||||||
applyMcpPatches = false
|
applyMcpPatches = false
|
||||||
|
s2sKeepImports = true
|
||||||
with common
|
with common
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -66,7 +68,7 @@ extractForgeResources { exclude "**/log4j2.xml" }
|
|||||||
genGradleProjects { addTestCompileDep "junit:junit:4.12" }
|
genGradleProjects { addTestCompileDep "junit:junit:4.12" }
|
||||||
|
|
||||||
processJson {
|
processJson {
|
||||||
releaseJson = "jsons/1.9-rel.json"
|
releaseJson = "jsons/${minecraft.version}-rel.json"
|
||||||
addReplacements([
|
addReplacements([
|
||||||
"@minecraft_version@": project.minecraft.version,
|
"@minecraft_version@": project.minecraft.version,
|
||||||
"@version@": project.version,
|
"@version@": project.version,
|
||||||
@@ -82,14 +84,12 @@ task changelog(type: JenkinsChangelog) {
|
|||||||
// skip if there is no forge jenkins pass
|
// skip if there is no forge jenkins pass
|
||||||
onlyIf {
|
onlyIf {
|
||||||
project.hasProperty('forgeJenkinsPass')
|
project.hasProperty('forgeJenkinsPass')
|
||||||
// Not sure what abrar was trying to do here...
|
|
||||||
//project.file("build/distributions/${project.name}-${project.version}-changelog.txt").text = ""
|
|
||||||
}
|
}
|
||||||
|
|
||||||
outputs.upToDateWhen { false } // never up to date
|
outputs.upToDateWhen { false } // never up to date
|
||||||
serverRoot = "http://ci.jenkins.minecraftforge.net/"
|
serverRoot = "http://ci.jenkins.minecraftforge.net/"
|
||||||
jobName = "minecraftforge"
|
jobName = "minecraftforge"
|
||||||
targetBuild = System.env['BUILD_NUMBER'] ?: 0;
|
targetBuild = System.env['BUILD_NUMBER'] ?: project.ext.properties.buildNumber ?:0;
|
||||||
authName = "console_script"
|
authName = "console_script"
|
||||||
authPassword = project.hasProperty('forgeJenkinsPass') ? project.getProperty('forgeJenkinsPass') : "";
|
authPassword = project.hasProperty('forgeJenkinsPass') ? project.getProperty('forgeJenkinsPass') : "";
|
||||||
output = "build/distributions/${project.name}-${project.version}-changelog.txt"
|
output = "build/distributions/${project.name}-${project.version}-changelog.txt"
|
||||||
@@ -106,14 +106,14 @@ task crowdin(type: CrowdinDownload) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
def extraTxts = [
|
def extraTxts = [
|
||||||
changelog, // yeah we can do thi, because gradle and groovy are awesome
|
|
||||||
"LICENSE-fml.txt",
|
|
||||||
"CREDITS-fml.txt",
|
"CREDITS-fml.txt",
|
||||||
|
"LICENSE-new.txt",
|
||||||
"MinecraftForge-Credits.txt",
|
"MinecraftForge-Credits.txt",
|
||||||
"MinecraftForge-License.txt",
|
|
||||||
"Paulscode SoundSystem CodecIBXM License.txt",
|
"Paulscode SoundSystem CodecIBXM License.txt",
|
||||||
"Paulscode IBXM Library License.txt"
|
"Paulscode IBXM Library License.txt"
|
||||||
]
|
]
|
||||||
|
if (project.hasProperty('forgeJenkinsPass'))
|
||||||
|
extraTxts += changelog
|
||||||
|
|
||||||
outputJar {
|
outputJar {
|
||||||
classifier = 'universal'
|
classifier = 'universal'
|
||||||
@@ -134,6 +134,7 @@ installer {
|
|||||||
classifier = 'installer'
|
classifier = 'installer'
|
||||||
from extraTxts
|
from extraTxts
|
||||||
from "src/main/resources/forge_logo.png"
|
from "src/main/resources/forge_logo.png"
|
||||||
|
from "src/main/resources/url.png"
|
||||||
rename "forge_logo\\.png", "big_logo.png"
|
rename "forge_logo\\.png", "big_logo.png"
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -176,7 +177,8 @@ task makeMdk(type: Zip) {
|
|||||||
into ('eclipse') {
|
into ('eclipse') {
|
||||||
from 'mdk/eclipse'
|
from 'mdk/eclipse'
|
||||||
}
|
}
|
||||||
from changelog.output
|
if (project.hasProperty('forgeJenkinsPass'))
|
||||||
|
from changelog.output
|
||||||
from ('mdk') {
|
from ('mdk') {
|
||||||
filter(ReplaceTokens, tokens: [
|
filter(ReplaceTokens, tokens: [
|
||||||
VERSION: project.version,
|
VERSION: project.version,
|
||||||
@@ -185,11 +187,10 @@ task makeMdk(type: Zip) {
|
|||||||
exclude 'eclipse'
|
exclude 'eclipse'
|
||||||
rename 'gitignore\\.txt', '.gitignore'
|
rename 'gitignore\\.txt', '.gitignore'
|
||||||
from 'MinecraftForge-Credits.txt'
|
from 'MinecraftForge-Credits.txt'
|
||||||
from 'MinecraftForge-License.txt'
|
from 'LICENSE-new.txt'
|
||||||
from 'Paulscode IBXM Library License.txt'
|
from 'Paulscode IBXM Library License.txt'
|
||||||
from 'Paulscode SoundSystem CodecIBXM License.txt'
|
from 'Paulscode SoundSystem CodecIBXM License.txt'
|
||||||
from 'CREDITS-fml.txt'
|
from 'CREDITS-fml.txt'
|
||||||
from 'LICENSE-fml.txt'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
tasks.build.dependsOn makeMdk
|
tasks.build.dependsOn makeMdk
|
||||||
@@ -211,21 +212,23 @@ tasks.build.dependsOn 'launch4j'
|
|||||||
// MAVEN
|
// MAVEN
|
||||||
|
|
||||||
artifacts {
|
artifacts {
|
||||||
archives changelog.output
|
if (project.hasProperty('forgeJenkinsPass'))
|
||||||
|
archives changelog.output
|
||||||
archives file("build/distributions/${project.name}-${project.version}-installer-win.exe")
|
archives file("build/distributions/${project.name}-${project.version}-installer-win.exe")
|
||||||
archives makeMdk
|
archives makeMdk
|
||||||
}
|
}
|
||||||
|
|
||||||
task ciWriteBuildNumber << {
|
task ciWriteBuildNumber << {
|
||||||
def file = file("src/main/java/net/minecraftforge/common/ForgeVersion.java");
|
def file = file("src/main/java/net/minecraftforge/common/ForgeVersion.java");
|
||||||
def bn = System.getenv("BUILD_NUMBER")?:0;
|
def bn = System.getenv("BUILD_NUMBER")?:project.ext.properties.buildNumber?:0;
|
||||||
def outfile = "";
|
def outfile = "";
|
||||||
def ln = System.getProperty('line.separator')
|
def ln = "\n"; //Linux line endings because we're on git!
|
||||||
|
|
||||||
file.eachLine{ String s ->
|
file.eachLine{ String s ->
|
||||||
if (s.contains("buildVersion") && s.contains("= 0;")) {
|
if (s.matches("^ public static final int buildVersion = [\\d]+;\$"))
|
||||||
s = " public static final int buildVersion = ${bn};";
|
s = " public static final int buildVersion = ${bn};";
|
||||||
}
|
if (s.matches('^ public static final String mcVersion = "[^\\"]+";'))
|
||||||
|
s = " public static final String mcVersion = \"${minecraft.version}\";";
|
||||||
outfile += (s+ln);
|
outfile += (s+ln);
|
||||||
}
|
}
|
||||||
file.write(outfile);
|
file.write(outfile);
|
||||||
@@ -345,15 +348,13 @@ String getVersionFromJava(File file)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (System.getenv().containsKey("BUILD_NUMBER"))
|
build = System.getenv("BUILD_NUMBER") ?: project.ext.properties.buildNumber ?: 0
|
||||||
{
|
|
||||||
build = System.getenv("BUILD_NUMBER");
|
|
||||||
}
|
|
||||||
|
|
||||||
String branch = null;
|
String branch = null;
|
||||||
if (!System.getenv().containsKey("GIT_BRANCH"))
|
if (!System.getenv().containsKey("GIT_BRANCH"))
|
||||||
{
|
{
|
||||||
// TODO: use grgit
|
// TODO: use grgit - Tried to switch 07/07/16 - jgit broken on windows?
|
||||||
branch = "git rev-parse --abbrev-ref HEAD".execute().text.trim()
|
branch = "git rev-parse --abbrev-ref HEAD".execute().text.trim()
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -364,24 +365,33 @@ String getVersionFromJava(File file)
|
|||||||
|
|
||||||
def out = "${minecraft.version.replace('-', '_')}-$major.$minor.$revision.$build"
|
def out = "${minecraft.version.replace('-', '_')}-$major.$minor.$revision.$build"
|
||||||
|
|
||||||
if (branch && branch != 'master' && branch != 'HEAD')
|
if (branch && branch != 'master' && branch != 'HEAD' && branch != minecraft.version && branch != minecraft.version + '.0')
|
||||||
out += "-$branch"
|
{
|
||||||
|
if (!(branch.endsWith('.x') && minecraft.version.startsWith(branch.substring(0, branch.length() -1))))
|
||||||
|
out += "-$branch"
|
||||||
|
}
|
||||||
|
|
||||||
return out;
|
return out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
task resetBuildNumber << {
|
||||||
|
project.ext.properties.buildNumber = 0;
|
||||||
|
ciWriteBuildNumber.execute()
|
||||||
|
}
|
||||||
// re-add old tasks for jenkins compat
|
// re-add old tasks for jenkins compat
|
||||||
// should be remvoed, and the jenkisn fixed when no longer building with FG 1.2
|
// should be remvoed, and the jenkisn fixed when no longer building with FG 1.2
|
||||||
task setupForge { dependsOn 'setup' }
|
task setupForge { dependsOn 'setup', 'ciWriteBuildNumber' }
|
||||||
task buildPackages { dependsOn 'build' }
|
task buildPackages { dependsOn 'build' }
|
||||||
|
|
||||||
//Temporary hack to fix compile errors caused by mappings shading in Bootstrap
|
//Temporary hack to fix compile errors caused by mappings shading in Bootstrap
|
||||||
|
/*
|
||||||
task fixParams << {
|
task fixParams << {
|
||||||
logger.lifecycle('Fixing param names!')
|
logger.lifecycle('Fixing param names!')
|
||||||
def params = new File(extractMcpMappings.destinationDir, 'params.csv')
|
def params = new File(extractMcpMappings.destinationDir, 'params.csv')
|
||||||
def text = params.text
|
def text = params.text
|
||||||
text = text.replaceAll('p_82499_3_,stack,', 'p_82499_3_,stackIn,')
|
text = text.replaceAll('p_180276_1_,biome,', 'p_180276_1_,biomeIn,')
|
||||||
params.write(text)
|
params.write(text)
|
||||||
}
|
}
|
||||||
fixParams.dependsOn('extractMcpMappings')
|
fixParams.dependsOn('extractMcpMappings')
|
||||||
extractMcpMappings.finalizedBy('fixParams')
|
extractMcpMappings.finalizedBy('fixParams')
|
||||||
|
*/
|
||||||
+1
-1
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
|
|||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.7-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14-bin.zip
|
||||||
@@ -0,0 +1,92 @@
|
|||||||
|
{
|
||||||
|
"id": "@minecraft_version@-@project@@version@",
|
||||||
|
"time": "@timestamp@",
|
||||||
|
"releaseTime": "1960-01-01T00:00:00-0700",
|
||||||
|
"type": "release",
|
||||||
|
"inheritsFrom": "1.10",
|
||||||
|
"minecraftArguments": "--version FML_DEV --tweakClass net.minecraftforge.fml.common.launcher.FMLTweaker",
|
||||||
|
"libraries": [
|
||||||
|
{
|
||||||
|
"name": "net.minecraft:launchwrapper:1.12"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "jline:jline:2.13",
|
||||||
|
"children": ["sources"],
|
||||||
|
"url" : "http://repo.maven.apache.org/maven2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.google.code.findbugs:jsr305:1.3.9",
|
||||||
|
"children": ["sources"],
|
||||||
|
"url" : "http://repo.maven.apache.org/maven2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.ow2.asm:asm-debug-all:5.0.3",
|
||||||
|
"children" : ["sources"],
|
||||||
|
"url" : "http://repo.maven.apache.org/maven2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.typesafe.akka:akka-actor_2.11:2.3.3",
|
||||||
|
"children" : ["sources"],
|
||||||
|
"url" : "http://repo.maven.apache.org/maven2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.typesafe:config:1.2.1",
|
||||||
|
"children" : ["sources"],
|
||||||
|
"url" : "http://repo.maven.apache.org/maven2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang:scala-actors-migration_2.11:1.1.0",
|
||||||
|
"children" : ["sources"],
|
||||||
|
"url" : "http://repo.maven.apache.org/maven2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang:scala-compiler:2.11.1",
|
||||||
|
"children" : ["sources"],
|
||||||
|
"url" : "http://repo.maven.apache.org/maven2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang.plugins:scala-continuations-library_2.11:1.0.2",
|
||||||
|
"children" : ["sources"],
|
||||||
|
"url" : "http://repo.maven.apache.org/maven2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang.plugins:scala-continuations-plugin_2.11.1:1.0.2",
|
||||||
|
"children" : ["sources"],
|
||||||
|
"url" : "http://repo.maven.apache.org/maven2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang:scala-library:2.11.1",
|
||||||
|
"children" : ["sources"],
|
||||||
|
"url" : "http://repo.maven.apache.org/maven2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang.modules:scala-parser-combinators_2.11:1.0.1",
|
||||||
|
"children" : ["sources"],
|
||||||
|
"url" : "http://repo.maven.apache.org/maven2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang:scala-reflect:2.11.1",
|
||||||
|
"children" : ["sources"],
|
||||||
|
"url" : "http://repo.maven.apache.org/maven2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang.modules:scala-swing_2.11:1.0.1",
|
||||||
|
"children" : ["sources"],
|
||||||
|
"url" : "http://repo.maven.apache.org/maven2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang.modules:scala-xml_2.11:1.0.2",
|
||||||
|
"children" : ["sources"],
|
||||||
|
"url" : "http://repo.maven.apache.org/maven2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "lzma:lzma:0.0.1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "java3d:vecmath:1.5.2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "net.sf.trove4j:trove4j:3.0.3"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,139 @@
|
|||||||
|
{
|
||||||
|
"install": {
|
||||||
|
"profileName": "@project@",
|
||||||
|
"target":"@minecraft_version@-@project@@version@",
|
||||||
|
"path":"@artifact@",
|
||||||
|
"version":"@project@ @version@",
|
||||||
|
"filePath":"@universal_jar@",
|
||||||
|
"welcome":"Welcome to the simple @project@ installer.",
|
||||||
|
"minecraft":"@minecraft_version@",
|
||||||
|
"mirrorList" : "http://files.minecraftforge.net/mirror-brand.list",
|
||||||
|
"logo":"/big_logo.png"
|
||||||
|
},
|
||||||
|
"versionInfo": {
|
||||||
|
"id": "@minecraft_version@-@project@@version@",
|
||||||
|
"time": "@timestamp@",
|
||||||
|
"releaseTime": "1960-01-01T00:00:00-0700",
|
||||||
|
"type": "release",
|
||||||
|
"minecraftArguments": "--username ${auth_player_name} --version ${version_name} --gameDir ${game_directory} --assetsDir ${assets_root} --assetIndex ${assets_index_name} --uuid ${auth_uuid} --accessToken ${auth_access_token} --userType ${user_type} --tweakClass net.minecraftforge.fml.common.launcher.FMLTweaker --versionType Forge",
|
||||||
|
"mainClass": "net.minecraft.launchwrapper.Launch",
|
||||||
|
"inheritsFrom": "1.10",
|
||||||
|
"jar": "1.10",
|
||||||
|
"libraries": [
|
||||||
|
{
|
||||||
|
"name": "@artifact@",
|
||||||
|
"url": "http://files.minecraftforge.net/maven/"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "net.minecraft:launchwrapper:1.12",
|
||||||
|
"serverreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.ow2.asm:asm-all:5.0.3",
|
||||||
|
"serverreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "jline:jline:2.13",
|
||||||
|
"url" : "http://files.minecraftforge.net/maven/",
|
||||||
|
"checksums" : [ "2d9530d0a25daffaffda7c35037b046b627bb171" ],
|
||||||
|
"serverreq":true,
|
||||||
|
"clientreq":false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.typesafe.akka:akka-actor_2.11:2.3.3",
|
||||||
|
"url" : "http://files.minecraftforge.net/maven/",
|
||||||
|
"checksums" : [ "ed62e9fc709ca0f2ff1a3220daa8b70a2870078e", "25a86ccfdb6f6dfe08971f4825d0a01be83a6f2e" ],
|
||||||
|
"serverreq":true,
|
||||||
|
"clientreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.typesafe:config:1.2.1",
|
||||||
|
"url" : "http://files.minecraftforge.net/maven/",
|
||||||
|
"checksums" : [ "f771f71fdae3df231bcd54d5ca2d57f0bf93f467", "7d7bc36df0989d72f2d5d057309675777acc528b" ],
|
||||||
|
"serverreq":true,
|
||||||
|
"clientreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang:scala-actors-migration_2.11:1.1.0",
|
||||||
|
"url" : "http://files.minecraftforge.net/maven/",
|
||||||
|
"checksums" : [ "dfa8bc42b181d5b9f1a5dd147f8ae308b893eb6f", "8c9aaeeb68487ca519411a14068e1b4d69739207" ],
|
||||||
|
"serverreq":true,
|
||||||
|
"clientreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang:scala-compiler:2.11.1",
|
||||||
|
"url" : "http://files.minecraftforge.net/maven/",
|
||||||
|
"checksums" : [ "56ea2e6c025e0821f28d73ca271218b8dd04926a", "1444992390544ba3780867a13ff696a89d7d1639" ],
|
||||||
|
"serverreq":true,
|
||||||
|
"clientreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang.plugins:scala-continuations-library_2.11:1.0.2",
|
||||||
|
"url" : "http://files.minecraftforge.net/maven/",
|
||||||
|
"checksums" : [ "87213338cd5a153a7712cb574c0ddd2edfee0386", "0b4c1bf8d48993f138d6e10c0c144e50acfff581" ],
|
||||||
|
"serverreq":true,
|
||||||
|
"clientreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang.plugins:scala-continuations-plugin_2.11.1:1.0.2",
|
||||||
|
"url" : "http://files.minecraftforge.net/maven/",
|
||||||
|
"checksums" : [ "1f7371605d4ba42aa26d3443440c0083c587b4e9", "1ea655dda4504ae0a367327e2340cd3beaee6c73" ],
|
||||||
|
"serverreq":true,
|
||||||
|
"clientreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang:scala-library:2.11.1",
|
||||||
|
"url" : "http://files.minecraftforge.net/maven/",
|
||||||
|
"checksums" : [ "0e11da23da3eabab9f4777b9220e60d44c1aab6a", "1e4df76e835201c6eabd43adca89ab11f225f134" ],
|
||||||
|
"serverreq":true,
|
||||||
|
"clientreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang:scala-parser-combinators_2.11:1.0.1",
|
||||||
|
"url" : "http://files.minecraftforge.net/maven/",
|
||||||
|
"checksums" : [ "f05d7345bf5a58924f2837c6c1f4d73a938e1ff0", "a1cbbcbde1dcc614f4253ed1aa0b320bc78d8f1d" ],
|
||||||
|
"serverreq":true,
|
||||||
|
"clientreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang:scala-reflect:2.11.1",
|
||||||
|
"url" : "http://files.minecraftforge.net/maven/",
|
||||||
|
"checksums" : [ "6580347e61cc7f8e802941e7fde40fa83b8badeb", "91ce0f0be20f4a536321724b4b3bbc6530ddcd88" ],
|
||||||
|
"serverreq":true,
|
||||||
|
"clientreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang:scala-swing_2.11:1.0.1",
|
||||||
|
"url" : "http://files.minecraftforge.net/maven/",
|
||||||
|
"checksums" : [ "b1cdd92bd47b1e1837139c1c53020e86bb9112ae", "d77152691dcf5bbdb00529af37aa7d3d887b3e63" ],
|
||||||
|
"serverreq":true,
|
||||||
|
"clientreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang:scala-xml_2.11:1.0.2",
|
||||||
|
"url" : "http://files.minecraftforge.net/maven/",
|
||||||
|
"checksums" : [ "7a80ec00aec122fba7cd4e0d4cdd87ff7e4cb6d0", "62736b01689d56b6d09a0164b7ef9da2b0b9633d" ],
|
||||||
|
"serverreq":true,
|
||||||
|
"clientreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "lzma:lzma:0.0.1",
|
||||||
|
"serverreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "net.sf.jopt-simple:jopt-simple:4.6",
|
||||||
|
"serverreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "java3d:vecmath:1.5.2",
|
||||||
|
"clientreq":true,
|
||||||
|
"serverreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "net.sf.trove4j:trove4j:3.0.3",
|
||||||
|
"clientreq":true,
|
||||||
|
"serverreq":true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,92 @@
|
|||||||
|
{
|
||||||
|
"id": "@minecraft_version@-@project@@version@",
|
||||||
|
"time": "@timestamp@",
|
||||||
|
"releaseTime": "1960-01-01T00:00:00-0700",
|
||||||
|
"type": "release",
|
||||||
|
"inheritsFrom": "1.10.2",
|
||||||
|
"minecraftArguments": "--version FML_DEV --tweakClass net.minecraftforge.fml.common.launcher.FMLTweaker",
|
||||||
|
"libraries": [
|
||||||
|
{
|
||||||
|
"name": "net.minecraft:launchwrapper:1.12"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "jline:jline:2.13",
|
||||||
|
"children": ["sources"],
|
||||||
|
"url" : "http://repo.maven.apache.org/maven2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.google.code.findbugs:jsr305:1.3.9",
|
||||||
|
"children": ["sources"],
|
||||||
|
"url" : "http://repo.maven.apache.org/maven2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.ow2.asm:asm-debug-all:5.0.3",
|
||||||
|
"children" : ["sources"],
|
||||||
|
"url" : "http://repo.maven.apache.org/maven2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.typesafe.akka:akka-actor_2.11:2.3.3",
|
||||||
|
"children" : ["sources"],
|
||||||
|
"url" : "http://repo.maven.apache.org/maven2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.typesafe:config:1.2.1",
|
||||||
|
"children" : ["sources"],
|
||||||
|
"url" : "http://repo.maven.apache.org/maven2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang:scala-actors-migration_2.11:1.1.0",
|
||||||
|
"children" : ["sources"],
|
||||||
|
"url" : "http://repo.maven.apache.org/maven2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang:scala-compiler:2.11.1",
|
||||||
|
"children" : ["sources"],
|
||||||
|
"url" : "http://repo.maven.apache.org/maven2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang.plugins:scala-continuations-library_2.11:1.0.2",
|
||||||
|
"children" : ["sources"],
|
||||||
|
"url" : "http://repo.maven.apache.org/maven2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang.plugins:scala-continuations-plugin_2.11.1:1.0.2",
|
||||||
|
"children" : ["sources"],
|
||||||
|
"url" : "http://repo.maven.apache.org/maven2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang:scala-library:2.11.1",
|
||||||
|
"children" : ["sources"],
|
||||||
|
"url" : "http://repo.maven.apache.org/maven2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang.modules:scala-parser-combinators_2.11:1.0.1",
|
||||||
|
"children" : ["sources"],
|
||||||
|
"url" : "http://repo.maven.apache.org/maven2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang:scala-reflect:2.11.1",
|
||||||
|
"children" : ["sources"],
|
||||||
|
"url" : "http://repo.maven.apache.org/maven2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang.modules:scala-swing_2.11:1.0.1",
|
||||||
|
"children" : ["sources"],
|
||||||
|
"url" : "http://repo.maven.apache.org/maven2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang.modules:scala-xml_2.11:1.0.2",
|
||||||
|
"children" : ["sources"],
|
||||||
|
"url" : "http://repo.maven.apache.org/maven2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "lzma:lzma:0.0.1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "java3d:vecmath:1.5.2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "net.sf.trove4j:trove4j:3.0.3"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,153 @@
|
|||||||
|
{
|
||||||
|
"install": {
|
||||||
|
"profileName": "@project@",
|
||||||
|
"target":"@minecraft_version@-@project@@version@",
|
||||||
|
"path":"@artifact@",
|
||||||
|
"version":"@project@ @version@",
|
||||||
|
"filePath":"@universal_jar@",
|
||||||
|
"welcome":"Welcome to the simple @project@ installer.",
|
||||||
|
"minecraft":"@minecraft_version@",
|
||||||
|
"mirrorList" : "http://files.minecraftforge.net/mirror-brand.list",
|
||||||
|
"logo":"/big_logo.png",
|
||||||
|
"modList": "none"
|
||||||
|
},
|
||||||
|
"versionInfo": {
|
||||||
|
"id": "@minecraft_version@-@project@@version@",
|
||||||
|
"time": "@timestamp@",
|
||||||
|
"releaseTime": "1960-01-01T00:00:00-0700",
|
||||||
|
"type": "release",
|
||||||
|
"minecraftArguments": "--username ${auth_player_name} --version ${version_name} --gameDir ${game_directory} --assetsDir ${assets_root} --assetIndex ${assets_index_name} --uuid ${auth_uuid} --accessToken ${auth_access_token} --userType ${user_type} --tweakClass net.minecraftforge.fml.common.launcher.FMLTweaker --versionType Forge",
|
||||||
|
"mainClass": "net.minecraft.launchwrapper.Launch",
|
||||||
|
"inheritsFrom": "1.10.2",
|
||||||
|
"jar": "1.10.2",
|
||||||
|
"libraries": [
|
||||||
|
{
|
||||||
|
"name": "@artifact@",
|
||||||
|
"url": "http://files.minecraftforge.net/maven/"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "net.minecraft:launchwrapper:1.12",
|
||||||
|
"serverreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.ow2.asm:asm-all:5.0.3",
|
||||||
|
"serverreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "jline:jline:2.13",
|
||||||
|
"url" : "http://files.minecraftforge.net/maven/",
|
||||||
|
"checksums" : [ "2d9530d0a25daffaffda7c35037b046b627bb171" ],
|
||||||
|
"serverreq":true,
|
||||||
|
"clientreq":false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.typesafe.akka:akka-actor_2.11:2.3.3",
|
||||||
|
"url" : "http://files.minecraftforge.net/maven/",
|
||||||
|
"checksums" : [ "ed62e9fc709ca0f2ff1a3220daa8b70a2870078e", "25a86ccfdb6f6dfe08971f4825d0a01be83a6f2e" ],
|
||||||
|
"serverreq":true,
|
||||||
|
"clientreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.typesafe:config:1.2.1",
|
||||||
|
"url" : "http://files.minecraftforge.net/maven/",
|
||||||
|
"checksums" : [ "f771f71fdae3df231bcd54d5ca2d57f0bf93f467", "7d7bc36df0989d72f2d5d057309675777acc528b" ],
|
||||||
|
"serverreq":true,
|
||||||
|
"clientreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang:scala-actors-migration_2.11:1.1.0",
|
||||||
|
"url" : "http://files.minecraftforge.net/maven/",
|
||||||
|
"checksums" : [ "dfa8bc42b181d5b9f1a5dd147f8ae308b893eb6f", "8c9aaeeb68487ca519411a14068e1b4d69739207" ],
|
||||||
|
"serverreq":true,
|
||||||
|
"clientreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang:scala-compiler:2.11.1",
|
||||||
|
"url" : "http://files.minecraftforge.net/maven/",
|
||||||
|
"checksums" : [ "56ea2e6c025e0821f28d73ca271218b8dd04926a", "1444992390544ba3780867a13ff696a89d7d1639" ],
|
||||||
|
"serverreq":true,
|
||||||
|
"clientreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang.plugins:scala-continuations-library_2.11:1.0.2",
|
||||||
|
"url" : "http://files.minecraftforge.net/maven/",
|
||||||
|
"checksums" : [ "87213338cd5a153a7712cb574c0ddd2edfee0386", "0b4c1bf8d48993f138d6e10c0c144e50acfff581" ],
|
||||||
|
"serverreq":true,
|
||||||
|
"clientreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang.plugins:scala-continuations-plugin_2.11.1:1.0.2",
|
||||||
|
"url" : "http://files.minecraftforge.net/maven/",
|
||||||
|
"checksums" : [ "1f7371605d4ba42aa26d3443440c0083c587b4e9", "1ea655dda4504ae0a367327e2340cd3beaee6c73" ],
|
||||||
|
"serverreq":true,
|
||||||
|
"clientreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang:scala-library:2.11.1",
|
||||||
|
"url" : "http://files.minecraftforge.net/maven/",
|
||||||
|
"checksums" : [ "0e11da23da3eabab9f4777b9220e60d44c1aab6a", "1e4df76e835201c6eabd43adca89ab11f225f134" ],
|
||||||
|
"serverreq":true,
|
||||||
|
"clientreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang:scala-parser-combinators_2.11:1.0.1",
|
||||||
|
"url" : "http://files.minecraftforge.net/maven/",
|
||||||
|
"checksums" : [ "f05d7345bf5a58924f2837c6c1f4d73a938e1ff0", "a1cbbcbde1dcc614f4253ed1aa0b320bc78d8f1d" ],
|
||||||
|
"serverreq":true,
|
||||||
|
"clientreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang:scala-reflect:2.11.1",
|
||||||
|
"url" : "http://files.minecraftforge.net/maven/",
|
||||||
|
"checksums" : [ "6580347e61cc7f8e802941e7fde40fa83b8badeb", "91ce0f0be20f4a536321724b4b3bbc6530ddcd88" ],
|
||||||
|
"serverreq":true,
|
||||||
|
"clientreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang:scala-swing_2.11:1.0.1",
|
||||||
|
"url" : "http://files.minecraftforge.net/maven/",
|
||||||
|
"checksums" : [ "b1cdd92bd47b1e1837139c1c53020e86bb9112ae", "d77152691dcf5bbdb00529af37aa7d3d887b3e63" ],
|
||||||
|
"serverreq":true,
|
||||||
|
"clientreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang:scala-xml_2.11:1.0.2",
|
||||||
|
"url" : "http://files.minecraftforge.net/maven/",
|
||||||
|
"checksums" : [ "7a80ec00aec122fba7cd4e0d4cdd87ff7e4cb6d0", "62736b01689d56b6d09a0164b7ef9da2b0b9633d" ],
|
||||||
|
"serverreq":true,
|
||||||
|
"clientreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "lzma:lzma:0.0.1",
|
||||||
|
"serverreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "net.sf.jopt-simple:jopt-simple:4.6",
|
||||||
|
"serverreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "java3d:vecmath:1.5.2",
|
||||||
|
"clientreq":true,
|
||||||
|
"serverreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "net.sf.trove4j:trove4j:3.0.3",
|
||||||
|
"clientreq":true,
|
||||||
|
"serverreq":true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"optionals": [
|
||||||
|
{
|
||||||
|
"name": "Mercurius",
|
||||||
|
"client": true,
|
||||||
|
"server": true,
|
||||||
|
"default": true,
|
||||||
|
"inject": true,
|
||||||
|
"desc": "A mod that collects statistics about Minecraft and your system.<br>Useful for Forge to understand how Minecraft/Forge are used.",
|
||||||
|
"url": "http://www.minecraftforge.net/forum/index.php?topic=43278.0",
|
||||||
|
"artifact": "net.minecraftforge:MercuriusUpdater:1.10.2",
|
||||||
|
"maven": "http://files.minecraftforge.net/maven/"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,563 @@
|
|||||||
|
{
|
||||||
|
"assetIndex": {
|
||||||
|
"id": "1.10",
|
||||||
|
"sha1": "72241db3c0bdc39e39b202182ff0000da5271a1d",
|
||||||
|
"size": 145874,
|
||||||
|
"url": "https://launchermeta.mojang.com/mc/assets/1.10/72241db3c0bdc39e39b202182ff0000da5271a1d/1.10.json",
|
||||||
|
"totalSize": 122198775
|
||||||
|
},
|
||||||
|
"assets": "1.10",
|
||||||
|
"downloads": {
|
||||||
|
"client": {
|
||||||
|
"sha1": "dc8e75ac7274ff6af462b0dcec43c307de668e40",
|
||||||
|
"size": 8857653,
|
||||||
|
"url": "https://launcher.mojang.com/mc/game/1.10.2/client/dc8e75ac7274ff6af462b0dcec43c307de668e40/client.jar"
|
||||||
|
},
|
||||||
|
"server": {
|
||||||
|
"sha1": "3d501b23df53c548254f5e3f66492d178a48db63",
|
||||||
|
"size": 9459897,
|
||||||
|
"url": "https://launcher.mojang.com/mc/game/1.10.2/server/3d501b23df53c548254f5e3f66492d178a48db63/server.jar"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"id": "1.10.2",
|
||||||
|
"libraries": [
|
||||||
|
{
|
||||||
|
"name": "com.mojang:netty:1.6",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 7877,
|
||||||
|
"sha1": "4b75825a06139752bd800d9e29c5fd55b8b1b1e4",
|
||||||
|
"path": "com/mojang/netty/1.6/netty-1.6.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/com/mojang/netty/1.6/netty-1.6.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "oshi-project:oshi-core:1.1",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 30973,
|
||||||
|
"sha1": "9ddf7b048a8d701be231c0f4f95fd986198fd2d8",
|
||||||
|
"path": "oshi-project/oshi-core/1.1/oshi-core-1.1.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/oshi-project/oshi-core/1.1/oshi-core-1.1.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "net.java.dev.jna:jna:3.4.0",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 1008730,
|
||||||
|
"sha1": "803ff252fedbd395baffd43b37341dc4a150a554",
|
||||||
|
"path": "net/java/dev/jna/jna/3.4.0/jna-3.4.0.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/net/java/dev/jna/jna/3.4.0/jna-3.4.0.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "net.java.dev.jna:platform:3.4.0",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 913436,
|
||||||
|
"sha1": "e3f70017be8100d3d6923f50b3d2ee17714e9c13",
|
||||||
|
"path": "net/java/dev/jna/platform/3.4.0/platform-3.4.0.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/net/java/dev/jna/platform/3.4.0/platform-3.4.0.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.ibm.icu:icu4j-core-mojang:51.2",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 1634692,
|
||||||
|
"sha1": "63d216a9311cca6be337c1e458e587f99d382b84",
|
||||||
|
"path": "com/ibm/icu/icu4j-core-mojang/51.2/icu4j-core-mojang-51.2.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/com/ibm/icu/icu4j-core-mojang/51.2/icu4j-core-mojang-51.2.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "net.sf.jopt-simple:jopt-simple:4.6",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 62477,
|
||||||
|
"sha1": "306816fb57cf94f108a43c95731b08934dcae15c",
|
||||||
|
"path": "net/sf/jopt-simple/jopt-simple/4.6/jopt-simple-4.6.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/net/sf/jopt-simple/jopt-simple/4.6/jopt-simple-4.6.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.paulscode:codecjorbis:20101023",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 103871,
|
||||||
|
"sha1": "c73b5636faf089d9f00e8732a829577de25237ee",
|
||||||
|
"path": "com/paulscode/codecjorbis/20101023/codecjorbis-20101023.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/com/paulscode/codecjorbis/20101023/codecjorbis-20101023.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.paulscode:codecwav:20101023",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 5618,
|
||||||
|
"sha1": "12f031cfe88fef5c1dd36c563c0a3a69bd7261da",
|
||||||
|
"path": "com/paulscode/codecwav/20101023/codecwav-20101023.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/com/paulscode/codecwav/20101023/codecwav-20101023.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.paulscode:libraryjavasound:20101123",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 21679,
|
||||||
|
"sha1": "5c5e304366f75f9eaa2e8cca546a1fb6109348b3",
|
||||||
|
"path": "com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.paulscode:librarylwjglopenal:20100824",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 18981,
|
||||||
|
"sha1": "73e80d0794c39665aec3f62eee88ca91676674ef",
|
||||||
|
"path": "com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.paulscode:soundsystem:20120107",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 65020,
|
||||||
|
"sha1": "419c05fe9be71f792b2d76cfc9b67f1ed0fec7f6",
|
||||||
|
"path": "com/paulscode/soundsystem/20120107/soundsystem-20120107.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/com/paulscode/soundsystem/20120107/soundsystem-20120107.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "io.netty:netty-all:4.0.23.Final",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 1779991,
|
||||||
|
"sha1": "0294104aaf1781d6a56a07d561e792c5d0c95f45",
|
||||||
|
"path": "io/netty/netty-all/4.0.23.Final/netty-all-4.0.23.Final.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/io/netty/netty-all/4.0.23.Final/netty-all-4.0.23.Final.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.google.guava:guava:17.0",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 2243036,
|
||||||
|
"sha1": "9c6ef172e8de35fd8d4d8783e4821e57cdef7445",
|
||||||
|
"path": "com/google/guava/guava/17.0/guava-17.0.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/com/google/guava/guava/17.0/guava-17.0.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.apache.commons:commons-lang3:3.3.2",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 412739,
|
||||||
|
"sha1": "90a3822c38ec8c996e84c16a3477ef632cbc87a3",
|
||||||
|
"path": "org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "commons-io:commons-io:2.4",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 185140,
|
||||||
|
"sha1": "b1b6ea3b7e4aa4f492509a4952029cd8e48019ad",
|
||||||
|
"path": "commons-io/commons-io/2.4/commons-io-2.4.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/commons-io/commons-io/2.4/commons-io-2.4.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "commons-codec:commons-codec:1.9",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 263965,
|
||||||
|
"sha1": "9ce04e34240f674bc72680f8b843b1457383161a",
|
||||||
|
"path": "commons-codec/commons-codec/1.9/commons-codec-1.9.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/commons-codec/commons-codec/1.9/commons-codec-1.9.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "net.java.jinput:jinput:2.0.5",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 208338,
|
||||||
|
"sha1": "39c7796b469a600f72380316f6b1f11db6c2c7c4",
|
||||||
|
"path": "net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "net.java.jutils:jutils:1.0.0",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 7508,
|
||||||
|
"sha1": "e12fe1fda814bd348c1579329c86943d2cd3c6a6",
|
||||||
|
"path": "net/java/jutils/jutils/1.0.0/jutils-1.0.0.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/net/java/jutils/jutils/1.0.0/jutils-1.0.0.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.google.code.gson:gson:2.2.4",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 190432,
|
||||||
|
"sha1": "a60a5e993c98c864010053cb901b7eab25306568",
|
||||||
|
"path": "com/google/code/gson/gson/2.2.4/gson-2.2.4.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.mojang:authlib:1.5.22",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 64539,
|
||||||
|
"sha1": "afaa8f6df976fcb5520e76ef1d5798c9e6b5c0b2",
|
||||||
|
"path": "com/mojang/authlib/1.5.22/authlib-1.5.22.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/com/mojang/authlib/1.5.22/authlib-1.5.22.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.mojang:realms:1.9.8",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 1577897,
|
||||||
|
"sha1": "c9609760e050cd7c369292252552c0cc81c54331",
|
||||||
|
"path": "com/mojang/realms/1.9.8/realms-1.9.8.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/com/mojang/realms/1.9.8/realms-1.9.8.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.apache.commons:commons-compress:1.8.1",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 365552,
|
||||||
|
"sha1": "a698750c16740fd5b3871425f4cb3bbaa87f529d",
|
||||||
|
"path": "org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.apache.httpcomponents:httpclient:4.3.3",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 589512,
|
||||||
|
"sha1": "18f4247ff4572a074444572cee34647c43e7c9c7",
|
||||||
|
"path": "org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "commons-logging:commons-logging:1.1.3",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 62050,
|
||||||
|
"sha1": "f6f66e966c70a83ffbdb6f17a0919eaf7c8aca7f",
|
||||||
|
"path": "commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.apache.httpcomponents:httpcore:4.3.2",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 282269,
|
||||||
|
"sha1": "31fbbff1ddbf98f3aa7377c94d33b0447c646b6e",
|
||||||
|
"path": "org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "it.unimi.dsi:fastutil:7.0.12_mojang",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 522306,
|
||||||
|
"sha1": "ba787e741efdc425fc5d2ea654b57c15fba27efa",
|
||||||
|
"path": "it/unimi/dsi/fastutil/7.0.12_mojang/fastutil-7.0.12_mojang.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/it/unimi/dsi/fastutil/7.0.12_mojang/fastutil-7.0.12_mojang.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.apache.logging.log4j:log4j-api:2.0-beta9",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 108161,
|
||||||
|
"sha1": "1dd66e68cccd907880229f9e2de1314bd13ff785",
|
||||||
|
"path": "org/apache/logging/log4j/log4j-api/2.0-beta9/log4j-api-2.0-beta9.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/apache/logging/log4j/log4j-api/2.0-beta9/log4j-api-2.0-beta9.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.apache.logging.log4j:log4j-core:2.0-beta9",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 681134,
|
||||||
|
"sha1": "678861ba1b2e1fccb594bb0ca03114bb05da9695",
|
||||||
|
"path": "org/apache/logging/log4j/log4j-core/2.0-beta9/log4j-core-2.0-beta9.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/apache/logging/log4j/log4j-core/2.0-beta9/log4j-core-2.0-beta9.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.lwjgl.lwjgl:lwjgl:2.9.4-nightly-20150209",
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"action": "allow"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "disallow",
|
||||||
|
"os": {
|
||||||
|
"name": "osx"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 1047168,
|
||||||
|
"sha1": "697517568c68e78ae0b4544145af031c81082dfe",
|
||||||
|
"path": "org/lwjgl/lwjgl/lwjgl/2.9.4-nightly-20150209/lwjgl-2.9.4-nightly-20150209.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl/2.9.4-nightly-20150209/lwjgl-2.9.4-nightly-20150209.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.lwjgl.lwjgl:lwjgl_util:2.9.4-nightly-20150209",
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"action": "allow"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "disallow",
|
||||||
|
"os": {
|
||||||
|
"name": "osx"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 173887,
|
||||||
|
"sha1": "d51a7c040a721d13efdfbd34f8b257b2df882ad0",
|
||||||
|
"path": "org/lwjgl/lwjgl/lwjgl_util/2.9.4-nightly-20150209/lwjgl_util-2.9.4-nightly-20150209.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl_util/2.9.4-nightly-20150209/lwjgl_util-2.9.4-nightly-20150209.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"extract": {
|
||||||
|
"exclude": [
|
||||||
|
"META-INF/"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"name": "org.lwjgl.lwjgl:lwjgl-platform:2.9.4-nightly-20150209",
|
||||||
|
"natives": {
|
||||||
|
"linux": "natives-linux",
|
||||||
|
"osx": "natives-osx",
|
||||||
|
"windows": "natives-windows"
|
||||||
|
},
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"action": "allow"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "disallow",
|
||||||
|
"os": {
|
||||||
|
"name": "osx"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"downloads": {
|
||||||
|
"classifiers": {
|
||||||
|
"natives-linux": {
|
||||||
|
"size": 578680,
|
||||||
|
"sha1": "931074f46c795d2f7b30ed6395df5715cfd7675b",
|
||||||
|
"path": "org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209-natives-linux.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209-natives-linux.jar"
|
||||||
|
},
|
||||||
|
"natives-osx": {
|
||||||
|
"size": 426822,
|
||||||
|
"sha1": "bcab850f8f487c3f4c4dbabde778bb82bd1a40ed",
|
||||||
|
"path": "org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209-natives-osx.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209-natives-osx.jar"
|
||||||
|
},
|
||||||
|
"natives-windows": {
|
||||||
|
"size": 613748,
|
||||||
|
"sha1": "b84d5102b9dbfabfeb5e43c7e2828d98a7fc80e0",
|
||||||
|
"path": "org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209-natives-windows.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209-natives-windows.jar"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"artifact": {
|
||||||
|
"size": 22,
|
||||||
|
"sha1": "b04f3ee8f5e43fa3b162981b50bb72fe1acabb33",
|
||||||
|
"path": "org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.lwjgl.lwjgl:lwjgl:2.9.2-nightly-20140822",
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"action": "allow",
|
||||||
|
"os": {
|
||||||
|
"name": "osx"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 1045632,
|
||||||
|
"sha1": "7707204c9ffa5d91662de95f0a224e2f721b22af",
|
||||||
|
"path": "org/lwjgl/lwjgl/lwjgl/2.9.2-nightly-20140822/lwjgl-2.9.2-nightly-20140822.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl/2.9.2-nightly-20140822/lwjgl-2.9.2-nightly-20140822.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.lwjgl.lwjgl:lwjgl_util:2.9.2-nightly-20140822",
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"action": "allow",
|
||||||
|
"os": {
|
||||||
|
"name": "osx"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 173887,
|
||||||
|
"sha1": "f0e612c840a7639c1f77f68d72a28dae2f0c8490",
|
||||||
|
"path": "org/lwjgl/lwjgl/lwjgl_util/2.9.2-nightly-20140822/lwjgl_util-2.9.2-nightly-20140822.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl_util/2.9.2-nightly-20140822/lwjgl_util-2.9.2-nightly-20140822.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"extract": {
|
||||||
|
"exclude": [
|
||||||
|
"META-INF/"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"name": "org.lwjgl.lwjgl:lwjgl-platform:2.9.2-nightly-20140822",
|
||||||
|
"natives": {
|
||||||
|
"linux": "natives-linux",
|
||||||
|
"osx": "natives-osx",
|
||||||
|
"windows": "natives-windows"
|
||||||
|
},
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"action": "allow",
|
||||||
|
"os": {
|
||||||
|
"name": "osx"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"downloads": {
|
||||||
|
"classifiers": {
|
||||||
|
"natives-linux": {
|
||||||
|
"size": 578539,
|
||||||
|
"sha1": "d898a33b5d0a6ef3fed3a4ead506566dce6720a5",
|
||||||
|
"path": "org/lwjgl/lwjgl/lwjgl-platform/2.9.2-nightly-20140822/lwjgl-platform-2.9.2-nightly-20140822-natives-linux.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.2-nightly-20140822/lwjgl-platform-2.9.2-nightly-20140822-natives-linux.jar"
|
||||||
|
},
|
||||||
|
"natives-osx": {
|
||||||
|
"size": 468116,
|
||||||
|
"sha1": "79f5ce2fea02e77fe47a3c745219167a542121d7",
|
||||||
|
"path": "org/lwjgl/lwjgl/lwjgl-platform/2.9.2-nightly-20140822/lwjgl-platform-2.9.2-nightly-20140822-natives-osx.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.2-nightly-20140822/lwjgl-platform-2.9.2-nightly-20140822-natives-osx.jar"
|
||||||
|
},
|
||||||
|
"natives-windows": {
|
||||||
|
"size": 613680,
|
||||||
|
"sha1": "78b2a55ce4dc29c6b3ec4df8ca165eba05f9b341",
|
||||||
|
"path": "org/lwjgl/lwjgl/lwjgl-platform/2.9.2-nightly-20140822/lwjgl-platform-2.9.2-nightly-20140822-natives-windows.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.2-nightly-20140822/lwjgl-platform-2.9.2-nightly-20140822-natives-windows.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"extract": {
|
||||||
|
"exclude": [
|
||||||
|
"META-INF/"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"name": "net.java.jinput:jinput-platform:2.0.5",
|
||||||
|
"natives": {
|
||||||
|
"linux": "natives-linux",
|
||||||
|
"osx": "natives-osx",
|
||||||
|
"windows": "natives-windows"
|
||||||
|
},
|
||||||
|
"downloads": {
|
||||||
|
"classifiers": {
|
||||||
|
"natives-linux": {
|
||||||
|
"size": 10362,
|
||||||
|
"sha1": "7ff832a6eb9ab6a767f1ade2b548092d0fa64795",
|
||||||
|
"path": "net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5-natives-linux.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5-natives-linux.jar"
|
||||||
|
},
|
||||||
|
"natives-osx": {
|
||||||
|
"size": 12186,
|
||||||
|
"sha1": "53f9c919f34d2ca9de8c51fc4e1e8282029a9232",
|
||||||
|
"path": "net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5-natives-osx.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5-natives-osx.jar"
|
||||||
|
},
|
||||||
|
"natives-windows": {
|
||||||
|
"size": 155179,
|
||||||
|
"sha1": "385ee093e01f587f30ee1c8a2ee7d408fd732e16",
|
||||||
|
"path": "net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5-natives-windows.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5-natives-windows.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"logging": {
|
||||||
|
"client": {
|
||||||
|
"file": {
|
||||||
|
"id": "client-1.7.xml",
|
||||||
|
"sha1": "49e2e41bc339698bd8199e0da9398c926e68c95d",
|
||||||
|
"size": 467,
|
||||||
|
"url": "https://launchermeta.mojang.com/mc/log_configs/client-1.7.xml/49e2e41bc339698bd8199e0da9398c926e68c95d/client-1.7.xml"
|
||||||
|
},
|
||||||
|
"argument": "-Dlog4j.configurationFile=${path}",
|
||||||
|
"type": "log4j2-xml"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mainClass": "net.minecraft.client.main.Main",
|
||||||
|
"minecraftArguments": "--username ${auth_player_name} --version ${version_name} --gameDir ${game_directory} --assetsDir ${assets_root} --assetIndex ${assets_index_name} --uuid ${auth_uuid} --accessToken ${auth_access_token} --userType ${user_type} --versionType ${version_type}",
|
||||||
|
"minimumLauncherVersion": 18,
|
||||||
|
"releaseTime": "2016-06-23T09:17:32+00:00",
|
||||||
|
"time": "2016-10-22T20:28:03+00:00",
|
||||||
|
"type": "release"
|
||||||
|
}
|
||||||
+563
@@ -0,0 +1,563 @@
|
|||||||
|
{
|
||||||
|
"assetIndex": {
|
||||||
|
"id": "1.10",
|
||||||
|
"sha1": "d3bfc4ffba1ea334c725dd91eaf4ecd402d641f7",
|
||||||
|
"size": 145627,
|
||||||
|
"url": "https://launchermeta.mojang.com/mc/assets/1.10/d3bfc4ffba1ea334c725dd91eaf4ecd402d641f7/1.10.json",
|
||||||
|
"totalSize": 121931230
|
||||||
|
},
|
||||||
|
"assets": "1.10",
|
||||||
|
"downloads": {
|
||||||
|
"client": {
|
||||||
|
"sha1": "ba038efbc6d9e4a046927a7658413d0276895739",
|
||||||
|
"size": 8856992,
|
||||||
|
"url": "https://launcher.mojang.com/mc/game/1.10/client/ba038efbc6d9e4a046927a7658413d0276895739/client.jar"
|
||||||
|
},
|
||||||
|
"server": {
|
||||||
|
"sha1": "a96617ffdf5dabbb718ab11a9a68e50545fc5bee",
|
||||||
|
"size": 9459395,
|
||||||
|
"url": "https://launcher.mojang.com/mc/game/1.10/server/a96617ffdf5dabbb718ab11a9a68e50545fc5bee/server.jar"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"id": "1.10",
|
||||||
|
"libraries": [
|
||||||
|
{
|
||||||
|
"name": "com.mojang:netty:1.6",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 7877,
|
||||||
|
"sha1": "4b75825a06139752bd800d9e29c5fd55b8b1b1e4",
|
||||||
|
"path": "com/mojang/netty/1.6/netty-1.6.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/com/mojang/netty/1.6/netty-1.6.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "oshi-project:oshi-core:1.1",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 30973,
|
||||||
|
"sha1": "9ddf7b048a8d701be231c0f4f95fd986198fd2d8",
|
||||||
|
"path": "oshi-project/oshi-core/1.1/oshi-core-1.1.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/oshi-project/oshi-core/1.1/oshi-core-1.1.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "net.java.dev.jna:jna:3.4.0",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 1008730,
|
||||||
|
"sha1": "803ff252fedbd395baffd43b37341dc4a150a554",
|
||||||
|
"path": "net/java/dev/jna/jna/3.4.0/jna-3.4.0.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/net/java/dev/jna/jna/3.4.0/jna-3.4.0.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "net.java.dev.jna:platform:3.4.0",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 913436,
|
||||||
|
"sha1": "e3f70017be8100d3d6923f50b3d2ee17714e9c13",
|
||||||
|
"path": "net/java/dev/jna/platform/3.4.0/platform-3.4.0.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/net/java/dev/jna/platform/3.4.0/platform-3.4.0.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.ibm.icu:icu4j-core-mojang:51.2",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 1634692,
|
||||||
|
"sha1": "63d216a9311cca6be337c1e458e587f99d382b84",
|
||||||
|
"path": "com/ibm/icu/icu4j-core-mojang/51.2/icu4j-core-mojang-51.2.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/com/ibm/icu/icu4j-core-mojang/51.2/icu4j-core-mojang-51.2.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "net.sf.jopt-simple:jopt-simple:4.6",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 62477,
|
||||||
|
"sha1": "306816fb57cf94f108a43c95731b08934dcae15c",
|
||||||
|
"path": "net/sf/jopt-simple/jopt-simple/4.6/jopt-simple-4.6.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/net/sf/jopt-simple/jopt-simple/4.6/jopt-simple-4.6.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.paulscode:codecjorbis:20101023",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 103871,
|
||||||
|
"sha1": "c73b5636faf089d9f00e8732a829577de25237ee",
|
||||||
|
"path": "com/paulscode/codecjorbis/20101023/codecjorbis-20101023.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/com/paulscode/codecjorbis/20101023/codecjorbis-20101023.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.paulscode:codecwav:20101023",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 5618,
|
||||||
|
"sha1": "12f031cfe88fef5c1dd36c563c0a3a69bd7261da",
|
||||||
|
"path": "com/paulscode/codecwav/20101023/codecwav-20101023.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/com/paulscode/codecwav/20101023/codecwav-20101023.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.paulscode:libraryjavasound:20101123",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 21679,
|
||||||
|
"sha1": "5c5e304366f75f9eaa2e8cca546a1fb6109348b3",
|
||||||
|
"path": "com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.paulscode:librarylwjglopenal:20100824",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 18981,
|
||||||
|
"sha1": "73e80d0794c39665aec3f62eee88ca91676674ef",
|
||||||
|
"path": "com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.paulscode:soundsystem:20120107",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 65020,
|
||||||
|
"sha1": "419c05fe9be71f792b2d76cfc9b67f1ed0fec7f6",
|
||||||
|
"path": "com/paulscode/soundsystem/20120107/soundsystem-20120107.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/com/paulscode/soundsystem/20120107/soundsystem-20120107.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "io.netty:netty-all:4.0.23.Final",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 1779991,
|
||||||
|
"sha1": "0294104aaf1781d6a56a07d561e792c5d0c95f45",
|
||||||
|
"path": "io/netty/netty-all/4.0.23.Final/netty-all-4.0.23.Final.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/io/netty/netty-all/4.0.23.Final/netty-all-4.0.23.Final.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.google.guava:guava:17.0",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 2243036,
|
||||||
|
"sha1": "9c6ef172e8de35fd8d4d8783e4821e57cdef7445",
|
||||||
|
"path": "com/google/guava/guava/17.0/guava-17.0.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/com/google/guava/guava/17.0/guava-17.0.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.apache.commons:commons-lang3:3.3.2",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 412739,
|
||||||
|
"sha1": "90a3822c38ec8c996e84c16a3477ef632cbc87a3",
|
||||||
|
"path": "org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "commons-io:commons-io:2.4",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 185140,
|
||||||
|
"sha1": "b1b6ea3b7e4aa4f492509a4952029cd8e48019ad",
|
||||||
|
"path": "commons-io/commons-io/2.4/commons-io-2.4.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/commons-io/commons-io/2.4/commons-io-2.4.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "commons-codec:commons-codec:1.9",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 263965,
|
||||||
|
"sha1": "9ce04e34240f674bc72680f8b843b1457383161a",
|
||||||
|
"path": "commons-codec/commons-codec/1.9/commons-codec-1.9.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/commons-codec/commons-codec/1.9/commons-codec-1.9.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "net.java.jinput:jinput:2.0.5",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 208338,
|
||||||
|
"sha1": "39c7796b469a600f72380316f6b1f11db6c2c7c4",
|
||||||
|
"path": "net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "net.java.jutils:jutils:1.0.0",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 7508,
|
||||||
|
"sha1": "e12fe1fda814bd348c1579329c86943d2cd3c6a6",
|
||||||
|
"path": "net/java/jutils/jutils/1.0.0/jutils-1.0.0.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/net/java/jutils/jutils/1.0.0/jutils-1.0.0.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.google.code.gson:gson:2.2.4",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 190432,
|
||||||
|
"sha1": "a60a5e993c98c864010053cb901b7eab25306568",
|
||||||
|
"path": "com/google/code/gson/gson/2.2.4/gson-2.2.4.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.mojang:authlib:1.5.22",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 64539,
|
||||||
|
"sha1": "afaa8f6df976fcb5520e76ef1d5798c9e6b5c0b2",
|
||||||
|
"path": "com/mojang/authlib/1.5.22/authlib-1.5.22.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/com/mojang/authlib/1.5.22/authlib-1.5.22.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.mojang:realms:1.9.1",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 1575796,
|
||||||
|
"sha1": "cd3929316dfd85be640e1c1f15df5577cdcd860b",
|
||||||
|
"path": "com/mojang/realms/1.9.1/realms-1.9.1.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/com/mojang/realms/1.9.1/realms-1.9.1.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.apache.commons:commons-compress:1.8.1",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 365552,
|
||||||
|
"sha1": "a698750c16740fd5b3871425f4cb3bbaa87f529d",
|
||||||
|
"path": "org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.apache.httpcomponents:httpclient:4.3.3",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 589512,
|
||||||
|
"sha1": "18f4247ff4572a074444572cee34647c43e7c9c7",
|
||||||
|
"path": "org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "commons-logging:commons-logging:1.1.3",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 62050,
|
||||||
|
"sha1": "f6f66e966c70a83ffbdb6f17a0919eaf7c8aca7f",
|
||||||
|
"path": "commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.apache.httpcomponents:httpcore:4.3.2",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 282269,
|
||||||
|
"sha1": "31fbbff1ddbf98f3aa7377c94d33b0447c646b6e",
|
||||||
|
"path": "org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "it.unimi.dsi:fastutil:7.0.12_mojang",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 522306,
|
||||||
|
"sha1": "ba787e741efdc425fc5d2ea654b57c15fba27efa",
|
||||||
|
"path": "it/unimi/dsi/fastutil/7.0.12_mojang/fastutil-7.0.12_mojang.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/it/unimi/dsi/fastutil/7.0.12_mojang/fastutil-7.0.12_mojang.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.apache.logging.log4j:log4j-api:2.0-beta9",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 108161,
|
||||||
|
"sha1": "1dd66e68cccd907880229f9e2de1314bd13ff785",
|
||||||
|
"path": "org/apache/logging/log4j/log4j-api/2.0-beta9/log4j-api-2.0-beta9.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/apache/logging/log4j/log4j-api/2.0-beta9/log4j-api-2.0-beta9.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.apache.logging.log4j:log4j-core:2.0-beta9",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 681134,
|
||||||
|
"sha1": "678861ba1b2e1fccb594bb0ca03114bb05da9695",
|
||||||
|
"path": "org/apache/logging/log4j/log4j-core/2.0-beta9/log4j-core-2.0-beta9.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/apache/logging/log4j/log4j-core/2.0-beta9/log4j-core-2.0-beta9.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.lwjgl.lwjgl:lwjgl:2.9.4-nightly-20150209",
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"action": "allow"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "disallow",
|
||||||
|
"os": {
|
||||||
|
"name": "osx"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 1047168,
|
||||||
|
"sha1": "697517568c68e78ae0b4544145af031c81082dfe",
|
||||||
|
"path": "org/lwjgl/lwjgl/lwjgl/2.9.4-nightly-20150209/lwjgl-2.9.4-nightly-20150209.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl/2.9.4-nightly-20150209/lwjgl-2.9.4-nightly-20150209.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.lwjgl.lwjgl:lwjgl_util:2.9.4-nightly-20150209",
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"action": "allow"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "disallow",
|
||||||
|
"os": {
|
||||||
|
"name": "osx"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 173887,
|
||||||
|
"sha1": "d51a7c040a721d13efdfbd34f8b257b2df882ad0",
|
||||||
|
"path": "org/lwjgl/lwjgl/lwjgl_util/2.9.4-nightly-20150209/lwjgl_util-2.9.4-nightly-20150209.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl_util/2.9.4-nightly-20150209/lwjgl_util-2.9.4-nightly-20150209.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"extract": {
|
||||||
|
"exclude": [
|
||||||
|
"META-INF/"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"name": "org.lwjgl.lwjgl:lwjgl-platform:2.9.4-nightly-20150209",
|
||||||
|
"natives": {
|
||||||
|
"linux": "natives-linux",
|
||||||
|
"osx": "natives-osx",
|
||||||
|
"windows": "natives-windows"
|
||||||
|
},
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"action": "allow"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "disallow",
|
||||||
|
"os": {
|
||||||
|
"name": "osx"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"downloads": {
|
||||||
|
"classifiers": {
|
||||||
|
"natives-linux": {
|
||||||
|
"size": 578680,
|
||||||
|
"sha1": "931074f46c795d2f7b30ed6395df5715cfd7675b",
|
||||||
|
"path": "org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209-natives-linux.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209-natives-linux.jar"
|
||||||
|
},
|
||||||
|
"natives-osx": {
|
||||||
|
"size": 426822,
|
||||||
|
"sha1": "bcab850f8f487c3f4c4dbabde778bb82bd1a40ed",
|
||||||
|
"path": "org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209-natives-osx.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209-natives-osx.jar"
|
||||||
|
},
|
||||||
|
"natives-windows": {
|
||||||
|
"size": 613748,
|
||||||
|
"sha1": "b84d5102b9dbfabfeb5e43c7e2828d98a7fc80e0",
|
||||||
|
"path": "org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209-natives-windows.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209-natives-windows.jar"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"artifact": {
|
||||||
|
"size": 22,
|
||||||
|
"sha1": "b04f3ee8f5e43fa3b162981b50bb72fe1acabb33",
|
||||||
|
"path": "org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.lwjgl.lwjgl:lwjgl:2.9.2-nightly-20140822",
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"action": "allow",
|
||||||
|
"os": {
|
||||||
|
"name": "osx"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 1045632,
|
||||||
|
"sha1": "7707204c9ffa5d91662de95f0a224e2f721b22af",
|
||||||
|
"path": "org/lwjgl/lwjgl/lwjgl/2.9.2-nightly-20140822/lwjgl-2.9.2-nightly-20140822.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl/2.9.2-nightly-20140822/lwjgl-2.9.2-nightly-20140822.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.lwjgl.lwjgl:lwjgl_util:2.9.2-nightly-20140822",
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"action": "allow",
|
||||||
|
"os": {
|
||||||
|
"name": "osx"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 173887,
|
||||||
|
"sha1": "f0e612c840a7639c1f77f68d72a28dae2f0c8490",
|
||||||
|
"path": "org/lwjgl/lwjgl/lwjgl_util/2.9.2-nightly-20140822/lwjgl_util-2.9.2-nightly-20140822.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl_util/2.9.2-nightly-20140822/lwjgl_util-2.9.2-nightly-20140822.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"extract": {
|
||||||
|
"exclude": [
|
||||||
|
"META-INF/"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"name": "org.lwjgl.lwjgl:lwjgl-platform:2.9.2-nightly-20140822",
|
||||||
|
"natives": {
|
||||||
|
"linux": "natives-linux",
|
||||||
|
"osx": "natives-osx",
|
||||||
|
"windows": "natives-windows"
|
||||||
|
},
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"action": "allow",
|
||||||
|
"os": {
|
||||||
|
"name": "osx"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"downloads": {
|
||||||
|
"classifiers": {
|
||||||
|
"natives-linux": {
|
||||||
|
"size": 578539,
|
||||||
|
"sha1": "d898a33b5d0a6ef3fed3a4ead506566dce6720a5",
|
||||||
|
"path": "org/lwjgl/lwjgl/lwjgl-platform/2.9.2-nightly-20140822/lwjgl-platform-2.9.2-nightly-20140822-natives-linux.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.2-nightly-20140822/lwjgl-platform-2.9.2-nightly-20140822-natives-linux.jar"
|
||||||
|
},
|
||||||
|
"natives-osx": {
|
||||||
|
"size": 468116,
|
||||||
|
"sha1": "79f5ce2fea02e77fe47a3c745219167a542121d7",
|
||||||
|
"path": "org/lwjgl/lwjgl/lwjgl-platform/2.9.2-nightly-20140822/lwjgl-platform-2.9.2-nightly-20140822-natives-osx.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.2-nightly-20140822/lwjgl-platform-2.9.2-nightly-20140822-natives-osx.jar"
|
||||||
|
},
|
||||||
|
"natives-windows": {
|
||||||
|
"size": 613680,
|
||||||
|
"sha1": "78b2a55ce4dc29c6b3ec4df8ca165eba05f9b341",
|
||||||
|
"path": "org/lwjgl/lwjgl/lwjgl-platform/2.9.2-nightly-20140822/lwjgl-platform-2.9.2-nightly-20140822-natives-windows.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.2-nightly-20140822/lwjgl-platform-2.9.2-nightly-20140822-natives-windows.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"extract": {
|
||||||
|
"exclude": [
|
||||||
|
"META-INF/"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"name": "net.java.jinput:jinput-platform:2.0.5",
|
||||||
|
"natives": {
|
||||||
|
"linux": "natives-linux",
|
||||||
|
"osx": "natives-osx",
|
||||||
|
"windows": "natives-windows"
|
||||||
|
},
|
||||||
|
"downloads": {
|
||||||
|
"classifiers": {
|
||||||
|
"natives-linux": {
|
||||||
|
"size": 10362,
|
||||||
|
"sha1": "7ff832a6eb9ab6a767f1ade2b548092d0fa64795",
|
||||||
|
"path": "net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5-natives-linux.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5-natives-linux.jar"
|
||||||
|
},
|
||||||
|
"natives-osx": {
|
||||||
|
"size": 12186,
|
||||||
|
"sha1": "53f9c919f34d2ca9de8c51fc4e1e8282029a9232",
|
||||||
|
"path": "net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5-natives-osx.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5-natives-osx.jar"
|
||||||
|
},
|
||||||
|
"natives-windows": {
|
||||||
|
"size": 155179,
|
||||||
|
"sha1": "385ee093e01f587f30ee1c8a2ee7d408fd732e16",
|
||||||
|
"path": "net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5-natives-windows.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5-natives-windows.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"logging": {
|
||||||
|
"client": {
|
||||||
|
"file": {
|
||||||
|
"id": "client-1.7.xml",
|
||||||
|
"sha1": "49e2e41bc339698bd8199e0da9398c926e68c95d",
|
||||||
|
"size": 467,
|
||||||
|
"url": "https://launchermeta.mojang.com/mc/log_configs/client-1.7.xml/49e2e41bc339698bd8199e0da9398c926e68c95d/client-1.7.xml"
|
||||||
|
},
|
||||||
|
"argument": "-Dlog4j.configurationFile=${path}",
|
||||||
|
"type": "log4j2-xml"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mainClass": "net.minecraft.client.main.Main",
|
||||||
|
"minecraftArguments": "--username ${auth_player_name} --version ${version_name} --gameDir ${game_directory} --assetsDir ${assets_root} --assetIndex ${assets_index_name} --uuid ${auth_uuid} --accessToken ${auth_access_token} --userType ${user_type} --versionType ${version_type}",
|
||||||
|
"minimumLauncherVersion": 18,
|
||||||
|
"releaseTime": "2016-06-08T13:06:18+00:00",
|
||||||
|
"time": "2016-06-20T15:31:06+00:00",
|
||||||
|
"type": "release"
|
||||||
|
}
|
||||||
+2
-1
@@ -29,7 +29,8 @@
|
|||||||
{
|
{
|
||||||
"comment": "Force the downgrade on dedicated server to match client. Netty bug: https://github.com/MinecraftForge/MinecraftForge/issues/1848",
|
"comment": "Force the downgrade on dedicated server to match client. Netty bug: https://github.com/MinecraftForge/MinecraftForge/issues/1848",
|
||||||
"name": "io.netty:netty-all:4.0.15.Final",
|
"name": "io.netty:netty-all:4.0.15.Final",
|
||||||
"serverreq":true
|
"serverreq":true,
|
||||||
|
"clientclasspath":false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "net.minecraft:launchwrapper:1.12",
|
"name": "net.minecraft:launchwrapper:1.12",
|
||||||
|
|||||||
@@ -26,11 +26,6 @@
|
|||||||
"name": "@artifact@",
|
"name": "@artifact@",
|
||||||
"url": "http://files.minecraftforge.net/maven/"
|
"url": "http://files.minecraftforge.net/maven/"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"comment": "Force the downgrade on dedicated server to match client. Netty bug: https://github.com/MinecraftForge/MinecraftForge/issues/1848",
|
|
||||||
"name": "io.netty:netty-all:4.0.23.Final",
|
|
||||||
"serverreq":true
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "net.minecraft:launchwrapper:1.12",
|
"name": "net.minecraft:launchwrapper:1.12",
|
||||||
"serverreq":true
|
"serverreq":true
|
||||||
|
|||||||
@@ -26,11 +26,6 @@
|
|||||||
"name": "@artifact@",
|
"name": "@artifact@",
|
||||||
"url": "http://files.minecraftforge.net/maven/"
|
"url": "http://files.minecraftforge.net/maven/"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"comment": "Force the downgrade on dedicated server to match client. Netty bug: https://github.com/MinecraftForge/MinecraftForge/issues/1848",
|
|
||||||
"name": "io.netty:netty-all:4.0.23.Final",
|
|
||||||
"serverreq":true
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "net.minecraft:launchwrapper:1.12",
|
"name": "net.minecraft:launchwrapper:1.12",
|
||||||
"serverreq":true
|
"serverreq":true
|
||||||
|
|||||||
@@ -24,11 +24,6 @@
|
|||||||
"name": "@artifact@",
|
"name": "@artifact@",
|
||||||
"url": "http://files.minecraftforge.net/maven/"
|
"url": "http://files.minecraftforge.net/maven/"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"comment": "Force the downgrade on dedicated server to match client. Netty bug: https://github.com/MinecraftForge/MinecraftForge/issues/1848",
|
|
||||||
"name": "io.netty:netty-all:4.0.23.Final",
|
|
||||||
"serverreq":true
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "net.minecraft:launchwrapper:1.12",
|
"name": "net.minecraft:launchwrapper:1.12",
|
||||||
"serverreq":true
|
"serverreq":true
|
||||||
|
|||||||
@@ -0,0 +1,92 @@
|
|||||||
|
{
|
||||||
|
"id": "@minecraft_version@-@project@@version@",
|
||||||
|
"time": "@timestamp@",
|
||||||
|
"releaseTime": "1960-01-01T00:00:00-0700",
|
||||||
|
"type": "release",
|
||||||
|
"inheritsFrom": "1.9.4",
|
||||||
|
"minecraftArguments": "--version FML_DEV --tweakClass net.minecraftforge.fml.common.launcher.FMLTweaker",
|
||||||
|
"libraries": [
|
||||||
|
{
|
||||||
|
"name": "net.minecraft:launchwrapper:1.12"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "jline:jline:2.13",
|
||||||
|
"children": ["sources"],
|
||||||
|
"url" : "http://repo.maven.apache.org/maven2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.google.code.findbugs:jsr305:1.3.9",
|
||||||
|
"children": ["sources"],
|
||||||
|
"url" : "http://repo.maven.apache.org/maven2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.ow2.asm:asm-debug-all:5.0.3",
|
||||||
|
"children" : ["sources"],
|
||||||
|
"url" : "http://repo.maven.apache.org/maven2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.typesafe.akka:akka-actor_2.11:2.3.3",
|
||||||
|
"children" : ["sources"],
|
||||||
|
"url" : "http://repo.maven.apache.org/maven2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.typesafe:config:1.2.1",
|
||||||
|
"children" : ["sources"],
|
||||||
|
"url" : "http://repo.maven.apache.org/maven2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang:scala-actors-migration_2.11:1.1.0",
|
||||||
|
"children" : ["sources"],
|
||||||
|
"url" : "http://repo.maven.apache.org/maven2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang:scala-compiler:2.11.1",
|
||||||
|
"children" : ["sources"],
|
||||||
|
"url" : "http://repo.maven.apache.org/maven2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang.plugins:scala-continuations-library_2.11:1.0.2",
|
||||||
|
"children" : ["sources"],
|
||||||
|
"url" : "http://repo.maven.apache.org/maven2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang.plugins:scala-continuations-plugin_2.11.1:1.0.2",
|
||||||
|
"children" : ["sources"],
|
||||||
|
"url" : "http://repo.maven.apache.org/maven2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang:scala-library:2.11.1",
|
||||||
|
"children" : ["sources"],
|
||||||
|
"url" : "http://repo.maven.apache.org/maven2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang.modules:scala-parser-combinators_2.11:1.0.1",
|
||||||
|
"children" : ["sources"],
|
||||||
|
"url" : "http://repo.maven.apache.org/maven2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang:scala-reflect:2.11.1",
|
||||||
|
"children" : ["sources"],
|
||||||
|
"url" : "http://repo.maven.apache.org/maven2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang.modules:scala-swing_2.11:1.0.1",
|
||||||
|
"children" : ["sources"],
|
||||||
|
"url" : "http://repo.maven.apache.org/maven2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang.modules:scala-xml_2.11:1.0.2",
|
||||||
|
"children" : ["sources"],
|
||||||
|
"url" : "http://repo.maven.apache.org/maven2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "lzma:lzma:0.0.1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "java3d:vecmath:1.5.2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "net.sf.trove4j:trove4j:3.0.3"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,139 @@
|
|||||||
|
{
|
||||||
|
"install": {
|
||||||
|
"profileName": "@project@",
|
||||||
|
"target":"@minecraft_version@-@project@@version@",
|
||||||
|
"path":"@artifact@",
|
||||||
|
"version":"@project@ @version@",
|
||||||
|
"filePath":"@universal_jar@",
|
||||||
|
"welcome":"Welcome to the simple @project@ installer.",
|
||||||
|
"minecraft":"@minecraft_version@",
|
||||||
|
"mirrorList" : "http://files.minecraftforge.net/mirror-brand.list",
|
||||||
|
"logo":"/big_logo.png"
|
||||||
|
},
|
||||||
|
"versionInfo": {
|
||||||
|
"id": "@minecraft_version@-@project@@version@",
|
||||||
|
"time": "@timestamp@",
|
||||||
|
"releaseTime": "1960-01-01T00:00:00-0700",
|
||||||
|
"type": "release",
|
||||||
|
"minecraftArguments": "--username ${auth_player_name} --version ${version_name} --gameDir ${game_directory} --assetsDir ${assets_root} --assetIndex ${assets_index_name} --uuid ${auth_uuid} --accessToken ${auth_access_token} --userType ${user_type} --tweakClass net.minecraftforge.fml.common.launcher.FMLTweaker --versionType Forge",
|
||||||
|
"mainClass": "net.minecraft.launchwrapper.Launch",
|
||||||
|
"inheritsFrom": "1.9.4",
|
||||||
|
"jar": "1.9.4",
|
||||||
|
"libraries": [
|
||||||
|
{
|
||||||
|
"name": "@artifact@",
|
||||||
|
"url": "http://files.minecraftforge.net/maven/"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "net.minecraft:launchwrapper:1.12",
|
||||||
|
"serverreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.ow2.asm:asm-all:5.0.3",
|
||||||
|
"serverreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "jline:jline:2.13",
|
||||||
|
"url" : "http://files.minecraftforge.net/maven/",
|
||||||
|
"checksums" : [ "2d9530d0a25daffaffda7c35037b046b627bb171" ],
|
||||||
|
"serverreq":true,
|
||||||
|
"clientreq":false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.typesafe.akka:akka-actor_2.11:2.3.3",
|
||||||
|
"url" : "http://files.minecraftforge.net/maven/",
|
||||||
|
"checksums" : [ "ed62e9fc709ca0f2ff1a3220daa8b70a2870078e", "25a86ccfdb6f6dfe08971f4825d0a01be83a6f2e" ],
|
||||||
|
"serverreq":true,
|
||||||
|
"clientreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.typesafe:config:1.2.1",
|
||||||
|
"url" : "http://files.minecraftforge.net/maven/",
|
||||||
|
"checksums" : [ "f771f71fdae3df231bcd54d5ca2d57f0bf93f467", "7d7bc36df0989d72f2d5d057309675777acc528b" ],
|
||||||
|
"serverreq":true,
|
||||||
|
"clientreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang:scala-actors-migration_2.11:1.1.0",
|
||||||
|
"url" : "http://files.minecraftforge.net/maven/",
|
||||||
|
"checksums" : [ "dfa8bc42b181d5b9f1a5dd147f8ae308b893eb6f", "8c9aaeeb68487ca519411a14068e1b4d69739207" ],
|
||||||
|
"serverreq":true,
|
||||||
|
"clientreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang:scala-compiler:2.11.1",
|
||||||
|
"url" : "http://files.minecraftforge.net/maven/",
|
||||||
|
"checksums" : [ "56ea2e6c025e0821f28d73ca271218b8dd04926a", "1444992390544ba3780867a13ff696a89d7d1639" ],
|
||||||
|
"serverreq":true,
|
||||||
|
"clientreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang.plugins:scala-continuations-library_2.11:1.0.2",
|
||||||
|
"url" : "http://files.minecraftforge.net/maven/",
|
||||||
|
"checksums" : [ "87213338cd5a153a7712cb574c0ddd2edfee0386", "0b4c1bf8d48993f138d6e10c0c144e50acfff581" ],
|
||||||
|
"serverreq":true,
|
||||||
|
"clientreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang.plugins:scala-continuations-plugin_2.11.1:1.0.2",
|
||||||
|
"url" : "http://files.minecraftforge.net/maven/",
|
||||||
|
"checksums" : [ "1f7371605d4ba42aa26d3443440c0083c587b4e9", "1ea655dda4504ae0a367327e2340cd3beaee6c73" ],
|
||||||
|
"serverreq":true,
|
||||||
|
"clientreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang:scala-library:2.11.1",
|
||||||
|
"url" : "http://files.minecraftforge.net/maven/",
|
||||||
|
"checksums" : [ "0e11da23da3eabab9f4777b9220e60d44c1aab6a", "1e4df76e835201c6eabd43adca89ab11f225f134" ],
|
||||||
|
"serverreq":true,
|
||||||
|
"clientreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang:scala-parser-combinators_2.11:1.0.1",
|
||||||
|
"url" : "http://files.minecraftforge.net/maven/",
|
||||||
|
"checksums" : [ "f05d7345bf5a58924f2837c6c1f4d73a938e1ff0", "a1cbbcbde1dcc614f4253ed1aa0b320bc78d8f1d" ],
|
||||||
|
"serverreq":true,
|
||||||
|
"clientreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang:scala-reflect:2.11.1",
|
||||||
|
"url" : "http://files.minecraftforge.net/maven/",
|
||||||
|
"checksums" : [ "6580347e61cc7f8e802941e7fde40fa83b8badeb", "91ce0f0be20f4a536321724b4b3bbc6530ddcd88" ],
|
||||||
|
"serverreq":true,
|
||||||
|
"clientreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang:scala-swing_2.11:1.0.1",
|
||||||
|
"url" : "http://files.minecraftforge.net/maven/",
|
||||||
|
"checksums" : [ "b1cdd92bd47b1e1837139c1c53020e86bb9112ae", "d77152691dcf5bbdb00529af37aa7d3d887b3e63" ],
|
||||||
|
"serverreq":true,
|
||||||
|
"clientreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.scala-lang:scala-xml_2.11:1.0.2",
|
||||||
|
"url" : "http://files.minecraftforge.net/maven/",
|
||||||
|
"checksums" : [ "7a80ec00aec122fba7cd4e0d4cdd87ff7e4cb6d0", "62736b01689d56b6d09a0164b7ef9da2b0b9633d" ],
|
||||||
|
"serverreq":true,
|
||||||
|
"clientreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "lzma:lzma:0.0.1",
|
||||||
|
"serverreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "net.sf.jopt-simple:jopt-simple:4.6",
|
||||||
|
"serverreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "java3d:vecmath:1.5.2",
|
||||||
|
"clientreq":true,
|
||||||
|
"serverreq":true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "net.sf.trove4j:trove4j:3.0.3",
|
||||||
|
"clientreq":true,
|
||||||
|
"serverreq":true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,551 @@
|
|||||||
|
{
|
||||||
|
"assetIndex": {
|
||||||
|
"id": "1.9",
|
||||||
|
"sha1": "8549e8aca91ee8b8d1620e9e8252d477f16a56d5",
|
||||||
|
"size": 137552,
|
||||||
|
"url": "https://launchermeta.mojang.com/mc-staging/assets/1.9/8549e8aca91ee8b8d1620e9e8252d477f16a56d5/1.9.json",
|
||||||
|
"totalSize": 120896362
|
||||||
|
},
|
||||||
|
"assets": "1.9",
|
||||||
|
"downloads": {
|
||||||
|
"client": {
|
||||||
|
"sha1": "4a61c873be90bb1196d68dac7b29870408c56969",
|
||||||
|
"size": 8736083,
|
||||||
|
"url": "https://launcher.mojang.com/mc/game/1.9.4/client/4a61c873be90bb1196d68dac7b29870408c56969/client.jar"
|
||||||
|
},
|
||||||
|
"server": {
|
||||||
|
"sha1": "edbb7b1758af33d365bf835eb9d13de005b1e274",
|
||||||
|
"size": 9399053,
|
||||||
|
"url": "https://launcher.mojang.com/mc/game/1.9.4/server/edbb7b1758af33d365bf835eb9d13de005b1e274/server.jar"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"id": "1.9.4",
|
||||||
|
"libraries": [
|
||||||
|
{
|
||||||
|
"name": "com.mojang:netty:1.6",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 7877,
|
||||||
|
"sha1": "4b75825a06139752bd800d9e29c5fd55b8b1b1e4",
|
||||||
|
"path": "com/mojang/netty/1.6/netty-1.6.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/com/mojang/netty/1.6/netty-1.6.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "oshi-project:oshi-core:1.1",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 30973,
|
||||||
|
"sha1": "9ddf7b048a8d701be231c0f4f95fd986198fd2d8",
|
||||||
|
"path": "oshi-project/oshi-core/1.1/oshi-core-1.1.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/oshi-project/oshi-core/1.1/oshi-core-1.1.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "net.java.dev.jna:jna:3.4.0",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 1008730,
|
||||||
|
"sha1": "803ff252fedbd395baffd43b37341dc4a150a554",
|
||||||
|
"path": "net/java/dev/jna/jna/3.4.0/jna-3.4.0.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/net/java/dev/jna/jna/3.4.0/jna-3.4.0.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "net.java.dev.jna:platform:3.4.0",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 913436,
|
||||||
|
"sha1": "e3f70017be8100d3d6923f50b3d2ee17714e9c13",
|
||||||
|
"path": "net/java/dev/jna/platform/3.4.0/platform-3.4.0.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/net/java/dev/jna/platform/3.4.0/platform-3.4.0.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.ibm.icu:icu4j-core-mojang:51.2",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 1634692,
|
||||||
|
"sha1": "63d216a9311cca6be337c1e458e587f99d382b84",
|
||||||
|
"path": "com/ibm/icu/icu4j-core-mojang/51.2/icu4j-core-mojang-51.2.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/com/ibm/icu/icu4j-core-mojang/51.2/icu4j-core-mojang-51.2.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "net.sf.jopt-simple:jopt-simple:4.6",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 62477,
|
||||||
|
"sha1": "306816fb57cf94f108a43c95731b08934dcae15c",
|
||||||
|
"path": "net/sf/jopt-simple/jopt-simple/4.6/jopt-simple-4.6.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/net/sf/jopt-simple/jopt-simple/4.6/jopt-simple-4.6.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.paulscode:codecjorbis:20101023",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 103871,
|
||||||
|
"sha1": "c73b5636faf089d9f00e8732a829577de25237ee",
|
||||||
|
"path": "com/paulscode/codecjorbis/20101023/codecjorbis-20101023.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/com/paulscode/codecjorbis/20101023/codecjorbis-20101023.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.paulscode:codecwav:20101023",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 5618,
|
||||||
|
"sha1": "12f031cfe88fef5c1dd36c563c0a3a69bd7261da",
|
||||||
|
"path": "com/paulscode/codecwav/20101023/codecwav-20101023.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/com/paulscode/codecwav/20101023/codecwav-20101023.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.paulscode:libraryjavasound:20101123",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 21679,
|
||||||
|
"sha1": "5c5e304366f75f9eaa2e8cca546a1fb6109348b3",
|
||||||
|
"path": "com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.paulscode:librarylwjglopenal:20100824",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 18981,
|
||||||
|
"sha1": "73e80d0794c39665aec3f62eee88ca91676674ef",
|
||||||
|
"path": "com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.paulscode:soundsystem:20120107",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 65020,
|
||||||
|
"sha1": "419c05fe9be71f792b2d76cfc9b67f1ed0fec7f6",
|
||||||
|
"path": "com/paulscode/soundsystem/20120107/soundsystem-20120107.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/com/paulscode/soundsystem/20120107/soundsystem-20120107.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "io.netty:netty-all:4.0.23.Final",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 1779991,
|
||||||
|
"sha1": "0294104aaf1781d6a56a07d561e792c5d0c95f45",
|
||||||
|
"path": "io/netty/netty-all/4.0.23.Final/netty-all-4.0.23.Final.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/io/netty/netty-all/4.0.23.Final/netty-all-4.0.23.Final.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.google.guava:guava:17.0",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 2243036,
|
||||||
|
"sha1": "9c6ef172e8de35fd8d4d8783e4821e57cdef7445",
|
||||||
|
"path": "com/google/guava/guava/17.0/guava-17.0.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/com/google/guava/guava/17.0/guava-17.0.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.apache.commons:commons-lang3:3.3.2",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 412739,
|
||||||
|
"sha1": "90a3822c38ec8c996e84c16a3477ef632cbc87a3",
|
||||||
|
"path": "org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "commons-io:commons-io:2.4",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 185140,
|
||||||
|
"sha1": "b1b6ea3b7e4aa4f492509a4952029cd8e48019ad",
|
||||||
|
"path": "commons-io/commons-io/2.4/commons-io-2.4.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/commons-io/commons-io/2.4/commons-io-2.4.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "commons-codec:commons-codec:1.9",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 263965,
|
||||||
|
"sha1": "9ce04e34240f674bc72680f8b843b1457383161a",
|
||||||
|
"path": "commons-codec/commons-codec/1.9/commons-codec-1.9.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/commons-codec/commons-codec/1.9/commons-codec-1.9.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "net.java.jinput:jinput:2.0.5",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 208338,
|
||||||
|
"sha1": "39c7796b469a600f72380316f6b1f11db6c2c7c4",
|
||||||
|
"path": "net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "net.java.jutils:jutils:1.0.0",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 7508,
|
||||||
|
"sha1": "e12fe1fda814bd348c1579329c86943d2cd3c6a6",
|
||||||
|
"path": "net/java/jutils/jutils/1.0.0/jutils-1.0.0.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/net/java/jutils/jutils/1.0.0/jutils-1.0.0.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.google.code.gson:gson:2.2.4",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 190432,
|
||||||
|
"sha1": "a60a5e993c98c864010053cb901b7eab25306568",
|
||||||
|
"path": "com/google/code/gson/gson/2.2.4/gson-2.2.4.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.mojang:authlib:1.5.22",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 64539,
|
||||||
|
"sha1": "afaa8f6df976fcb5520e76ef1d5798c9e6b5c0b2",
|
||||||
|
"path": "com/mojang/authlib/1.5.22/authlib-1.5.22.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/com/mojang/authlib/1.5.22/authlib-1.5.22.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.mojang:realms:1.8.19",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 1575795,
|
||||||
|
"sha1": "f7469a9307b962d1097e44713eb1baa087c06e43",
|
||||||
|
"path": "com/mojang/realms/1.8.19/realms-1.8.19.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/com/mojang/realms/1.8.19/realms-1.8.19.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.apache.commons:commons-compress:1.8.1",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 365552,
|
||||||
|
"sha1": "a698750c16740fd5b3871425f4cb3bbaa87f529d",
|
||||||
|
"path": "org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.apache.httpcomponents:httpclient:4.3.3",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 589512,
|
||||||
|
"sha1": "18f4247ff4572a074444572cee34647c43e7c9c7",
|
||||||
|
"path": "org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "commons-logging:commons-logging:1.1.3",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 62050,
|
||||||
|
"sha1": "f6f66e966c70a83ffbdb6f17a0919eaf7c8aca7f",
|
||||||
|
"path": "commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.apache.httpcomponents:httpcore:4.3.2",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 282269,
|
||||||
|
"sha1": "31fbbff1ddbf98f3aa7377c94d33b0447c646b6e",
|
||||||
|
"path": "org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "it.unimi.dsi:fastutil:7.0.12_mojang",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 522306,
|
||||||
|
"sha1": "ba787e741efdc425fc5d2ea654b57c15fba27efa",
|
||||||
|
"path": "it/unimi/dsi/fastutil/7.0.12_mojang/fastutil-7.0.12_mojang.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/it/unimi/dsi/fastutil/7.0.12_mojang/fastutil-7.0.12_mojang.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.apache.logging.log4j:log4j-api:2.0-beta9",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 108161,
|
||||||
|
"sha1": "1dd66e68cccd907880229f9e2de1314bd13ff785",
|
||||||
|
"path": "org/apache/logging/log4j/log4j-api/2.0-beta9/log4j-api-2.0-beta9.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/apache/logging/log4j/log4j-api/2.0-beta9/log4j-api-2.0-beta9.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.apache.logging.log4j:log4j-core:2.0-beta9",
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 681134,
|
||||||
|
"sha1": "678861ba1b2e1fccb594bb0ca03114bb05da9695",
|
||||||
|
"path": "org/apache/logging/log4j/log4j-core/2.0-beta9/log4j-core-2.0-beta9.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/apache/logging/log4j/log4j-core/2.0-beta9/log4j-core-2.0-beta9.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.lwjgl.lwjgl:lwjgl:2.9.4-nightly-20150209",
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"action": "allow"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "disallow",
|
||||||
|
"os": {
|
||||||
|
"name": "osx"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 1047168,
|
||||||
|
"sha1": "697517568c68e78ae0b4544145af031c81082dfe",
|
||||||
|
"path": "org/lwjgl/lwjgl/lwjgl/2.9.4-nightly-20150209/lwjgl-2.9.4-nightly-20150209.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl/2.9.4-nightly-20150209/lwjgl-2.9.4-nightly-20150209.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.lwjgl.lwjgl:lwjgl_util:2.9.4-nightly-20150209",
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"action": "allow"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "disallow",
|
||||||
|
"os": {
|
||||||
|
"name": "osx"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 173887,
|
||||||
|
"sha1": "d51a7c040a721d13efdfbd34f8b257b2df882ad0",
|
||||||
|
"path": "org/lwjgl/lwjgl/lwjgl_util/2.9.4-nightly-20150209/lwjgl_util-2.9.4-nightly-20150209.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl_util/2.9.4-nightly-20150209/lwjgl_util-2.9.4-nightly-20150209.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"extract": {
|
||||||
|
"exclude": [
|
||||||
|
"META-INF/"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"name": "org.lwjgl.lwjgl:lwjgl-platform:2.9.4-nightly-20150209",
|
||||||
|
"natives": {
|
||||||
|
"linux": "natives-linux",
|
||||||
|
"osx": "natives-osx",
|
||||||
|
"windows": "natives-windows"
|
||||||
|
},
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"action": "allow"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "disallow",
|
||||||
|
"os": {
|
||||||
|
"name": "osx"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"downloads": {
|
||||||
|
"classifiers": {
|
||||||
|
"natives-linux": {
|
||||||
|
"size": 578680,
|
||||||
|
"sha1": "931074f46c795d2f7b30ed6395df5715cfd7675b",
|
||||||
|
"path": "org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209-natives-linux.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209-natives-linux.jar"
|
||||||
|
},
|
||||||
|
"natives-osx": {
|
||||||
|
"size": 426822,
|
||||||
|
"sha1": "bcab850f8f487c3f4c4dbabde778bb82bd1a40ed",
|
||||||
|
"path": "org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209-natives-osx.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209-natives-osx.jar"
|
||||||
|
},
|
||||||
|
"natives-windows": {
|
||||||
|
"size": 613748,
|
||||||
|
"sha1": "b84d5102b9dbfabfeb5e43c7e2828d98a7fc80e0",
|
||||||
|
"path": "org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209-natives-windows.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209-natives-windows.jar"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"artifact": {
|
||||||
|
"size": 22,
|
||||||
|
"sha1": "b04f3ee8f5e43fa3b162981b50bb72fe1acabb33",
|
||||||
|
"path": "org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.lwjgl.lwjgl:lwjgl:2.9.2-nightly-20140822",
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"action": "allow",
|
||||||
|
"os": {
|
||||||
|
"name": "osx"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 1045632,
|
||||||
|
"sha1": "7707204c9ffa5d91662de95f0a224e2f721b22af",
|
||||||
|
"path": "org/lwjgl/lwjgl/lwjgl/2.9.2-nightly-20140822/lwjgl-2.9.2-nightly-20140822.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl/2.9.2-nightly-20140822/lwjgl-2.9.2-nightly-20140822.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "org.lwjgl.lwjgl:lwjgl_util:2.9.2-nightly-20140822",
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"action": "allow",
|
||||||
|
"os": {
|
||||||
|
"name": "osx"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"downloads": {
|
||||||
|
"artifact": {
|
||||||
|
"size": 173887,
|
||||||
|
"sha1": "f0e612c840a7639c1f77f68d72a28dae2f0c8490",
|
||||||
|
"path": "org/lwjgl/lwjgl/lwjgl_util/2.9.2-nightly-20140822/lwjgl_util-2.9.2-nightly-20140822.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl_util/2.9.2-nightly-20140822/lwjgl_util-2.9.2-nightly-20140822.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"extract": {
|
||||||
|
"exclude": [
|
||||||
|
"META-INF/"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"name": "org.lwjgl.lwjgl:lwjgl-platform:2.9.2-nightly-20140822",
|
||||||
|
"natives": {
|
||||||
|
"linux": "natives-linux",
|
||||||
|
"osx": "natives-osx",
|
||||||
|
"windows": "natives-windows"
|
||||||
|
},
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"action": "allow",
|
||||||
|
"os": {
|
||||||
|
"name": "osx"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"downloads": {
|
||||||
|
"classifiers": {
|
||||||
|
"natives-linux": {
|
||||||
|
"size": 578539,
|
||||||
|
"sha1": "d898a33b5d0a6ef3fed3a4ead506566dce6720a5",
|
||||||
|
"path": "org/lwjgl/lwjgl/lwjgl-platform/2.9.2-nightly-20140822/lwjgl-platform-2.9.2-nightly-20140822-natives-linux.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.2-nightly-20140822/lwjgl-platform-2.9.2-nightly-20140822-natives-linux.jar"
|
||||||
|
},
|
||||||
|
"natives-osx": {
|
||||||
|
"size": 468116,
|
||||||
|
"sha1": "79f5ce2fea02e77fe47a3c745219167a542121d7",
|
||||||
|
"path": "org/lwjgl/lwjgl/lwjgl-platform/2.9.2-nightly-20140822/lwjgl-platform-2.9.2-nightly-20140822-natives-osx.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.2-nightly-20140822/lwjgl-platform-2.9.2-nightly-20140822-natives-osx.jar"
|
||||||
|
},
|
||||||
|
"natives-windows": {
|
||||||
|
"size": 613680,
|
||||||
|
"sha1": "78b2a55ce4dc29c6b3ec4df8ca165eba05f9b341",
|
||||||
|
"path": "org/lwjgl/lwjgl/lwjgl-platform/2.9.2-nightly-20140822/lwjgl-platform-2.9.2-nightly-20140822-natives-windows.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.2-nightly-20140822/lwjgl-platform-2.9.2-nightly-20140822-natives-windows.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"extract": {
|
||||||
|
"exclude": [
|
||||||
|
"META-INF/"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"name": "net.java.jinput:jinput-platform:2.0.5",
|
||||||
|
"natives": {
|
||||||
|
"linux": "natives-linux",
|
||||||
|
"osx": "natives-osx",
|
||||||
|
"windows": "natives-windows"
|
||||||
|
},
|
||||||
|
"downloads": {
|
||||||
|
"classifiers": {
|
||||||
|
"natives-linux": {
|
||||||
|
"size": 10362,
|
||||||
|
"sha1": "7ff832a6eb9ab6a767f1ade2b548092d0fa64795",
|
||||||
|
"path": "net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5-natives-linux.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5-natives-linux.jar"
|
||||||
|
},
|
||||||
|
"natives-osx": {
|
||||||
|
"size": 12186,
|
||||||
|
"sha1": "53f9c919f34d2ca9de8c51fc4e1e8282029a9232",
|
||||||
|
"path": "net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5-natives-osx.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5-natives-osx.jar"
|
||||||
|
},
|
||||||
|
"natives-windows": {
|
||||||
|
"size": 155179,
|
||||||
|
"sha1": "385ee093e01f587f30ee1c8a2ee7d408fd732e16",
|
||||||
|
"path": "net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5-natives-windows.jar",
|
||||||
|
"url": "https://libraries.minecraft.net/net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5-natives-windows.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"mainClass": "net.minecraft.client.main.Main",
|
||||||
|
"minecraftArguments": "--username ${auth_player_name} --version ${version_name} --gameDir ${game_directory} --assetsDir ${assets_root} --assetIndex ${assets_index_name} --uuid ${auth_uuid} --accessToken ${auth_access_token} --userType ${user_type} --versionType ${version_type}",
|
||||||
|
"minimumLauncherVersion": 18,
|
||||||
|
"releaseTime": "2016-05-10T10:17:16+00:00",
|
||||||
|
"time": "2016-05-10T14:45:26+00:00",
|
||||||
|
"type": "release"
|
||||||
|
}
|
||||||
+9
-13
@@ -1,29 +1,25 @@
|
|||||||
|
|
||||||
// For those who want the bleeding edge
|
|
||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
jcenter()
|
jcenter()
|
||||||
maven {
|
maven { url = "http://files.minecraftforge.net/maven" }
|
||||||
name = "forge"
|
|
||||||
url = "http://files.minecraftforge.net/maven"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'net.minecraftforge.gradle:ForgeGradle:2.1-SNAPSHOT'
|
classpath 'net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
apply plugin: 'net.minecraftforge.gradle.forge'
|
apply plugin: 'net.minecraftforge.gradle.forge'
|
||||||
|
//Only edit below this line, the above code adds and enables the nessasary things for Forge to be setup.
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
// for people who want stable - not yet functional for MC 1.8.8 - we require the forgegradle 2.1 snapshot
|
|
||||||
plugins {
|
|
||||||
id "net.minecraftforge.gradle.forge" version "2.0.2"
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
version = "1.0"
|
version = "1.0"
|
||||||
group= "com.yourname.modid" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
|
group= "com.yourname.modid" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
|
||||||
archivesBaseName = "modid"
|
archivesBaseName = "modid"
|
||||||
|
|
||||||
|
sourceCompatibility = targetCompatibility = "1.6" // Need this here so eclipse task generates correctly.
|
||||||
|
compileJava {
|
||||||
|
sourceCompatibility = targetCompatibility = "1.6"
|
||||||
|
}
|
||||||
|
|
||||||
minecraft {
|
minecraft {
|
||||||
version = "@VERSION@"
|
version = "@VERSION@"
|
||||||
runDir = "run"
|
runDir = "run"
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
# Sets default memory used for gradle commands. Can be overridden by user or command line properties.
|
||||||
|
# This is required to provide enough memory for the Minecraft decompilation process.
|
||||||
|
org.gradle.jvmargs=-Xmx3G
|
||||||
@@ -14,7 +14,7 @@ public class ExampleMod
|
|||||||
@EventHandler
|
@EventHandler
|
||||||
public void init(FMLInitializationEvent event)
|
public void init(FMLInitializationEvent event)
|
||||||
{
|
{
|
||||||
// some example code
|
// some example code
|
||||||
System.out.println("DIRT BLOCK >> "+Blocks.dirt.getUnlocalizedName());
|
System.out.println("DIRT BLOCK >> "+Blocks.DIRT.getUnlocalizedName());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/Block.java
|
--- ../src-base/minecraft/net/minecraft/block/Block.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/Block.java
|
+++ ../src-work/minecraft/net/minecraft/block/Block.java
|
||||||
@@ -43,11 +43,12 @@
|
@@ -44,11 +44,12 @@
|
||||||
import net.minecraftforge.fml.relauncher.Side;
|
import net.minecraftforge.fml.relauncher.Side;
|
||||||
import net.minecraftforge.fml.relauncher.SideOnly;
|
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||||
|
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
public static final AxisAlignedBB field_185505_j = new AxisAlignedBB(0.0D, 0.0D, 0.0D, 1.0D, 1.0D, 1.0D);
|
public static final AxisAlignedBB field_185505_j = new AxisAlignedBB(0.0D, 0.0D, 0.0D, 1.0D, 1.0D, 1.0D);
|
||||||
public static final AxisAlignedBB field_185506_k = null;
|
public static final AxisAlignedBB field_185506_k = null;
|
||||||
private CreativeTabs field_149772_a;
|
private CreativeTabs field_149772_a;
|
||||||
@@ -83,7 +84,8 @@
|
@@ -84,7 +85,8 @@
|
||||||
|
|
||||||
public static Block func_149729_e(int p_149729_0_)
|
public static Block func_149729_e(int p_149729_0_)
|
||||||
{
|
{
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static IBlockState func_176220_d(int p_176220_0_)
|
public static IBlockState func_176220_d(int p_176220_0_)
|
||||||
@@ -268,7 +270,7 @@
|
@@ -292,7 +294,7 @@
|
||||||
|
|
||||||
public boolean func_176200_f(IBlockAccess p_176200_1_, BlockPos p_176200_2_)
|
public boolean func_176200_f(IBlockAccess p_176200_1_, BlockPos p_176200_2_)
|
||||||
{
|
{
|
||||||
@@ -35,7 +35,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Block func_149711_c(float p_149711_1_)
|
public Block func_149711_c(float p_149711_1_)
|
||||||
@@ -305,9 +307,10 @@
|
@@ -330,9 +332,10 @@
|
||||||
return this.field_149789_z;
|
return this.field_149789_z;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -46,8 +46,8 @@
|
|||||||
+ return hasTileEntity(func_176223_P());
|
+ return hasTileEntity(func_176223_P());
|
||||||
}
|
}
|
||||||
|
|
||||||
public AxisAlignedBB func_185496_a(IBlockState p_185496_1_, IBlockAccess p_185496_2_, BlockPos p_185496_3_)
|
@Deprecated
|
||||||
@@ -346,13 +349,13 @@
|
@@ -376,13 +379,13 @@
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
public int func_185484_c(IBlockState p_185484_1_, IBlockAccess p_185484_2_, BlockPos p_185484_3_)
|
public int func_185484_c(IBlockState p_185484_1_, IBlockAccess p_185484_2_, BlockPos p_185484_3_)
|
||||||
{
|
{
|
||||||
@@ -63,7 +63,7 @@
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -415,7 +418,7 @@
|
@@ -446,7 +449,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -71,8 +71,8 @@
|
|||||||
+ return !p_176225_2_.func_180495_p(p_176225_3_.func_177972_a(p_176225_4_)).doesSideBlockRendering(p_176225_2_, p_176225_3_.func_177972_a(p_176225_4_), p_176225_4_.func_176734_d());
|
+ return !p_176225_2_.func_180495_p(p_176225_3_.func_177972_a(p_176225_4_)).doesSideBlockRendering(p_176225_2_, p_176225_3_.func_177972_a(p_176225_4_), p_176225_4_.func_176734_d());
|
||||||
}
|
}
|
||||||
|
|
||||||
@SideOnly(Side.CLIENT)
|
@Deprecated
|
||||||
@@ -472,6 +475,10 @@
|
@@ -506,6 +509,10 @@
|
||||||
|
|
||||||
public void func_180663_b(World p_180663_1_, BlockPos p_180663_2_, IBlockState p_180663_3_)
|
public void func_180663_b(World p_180663_1_, BlockPos p_180663_2_, IBlockState p_180663_3_)
|
||||||
{
|
{
|
||||||
@@ -83,8 +83,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
public int func_149745_a(Random p_149745_1_)
|
public int func_149745_a(Random p_149745_1_)
|
||||||
@@ -486,8 +493,7 @@
|
@@ -522,8 +529,7 @@
|
||||||
|
@Deprecated
|
||||||
public float func_180647_a(IBlockState p_180647_1_, EntityPlayer p_180647_2_, World p_180647_3_, BlockPos p_180647_4_)
|
public float func_180647_a(IBlockState p_180647_1_, EntityPlayer p_180647_2_, World p_180647_3_, BlockPos p_180647_4_)
|
||||||
{
|
{
|
||||||
- float f = p_180647_1_.func_185887_b(p_180647_3_, p_180647_4_);
|
- float f = p_180647_1_.func_185887_b(p_180647_3_, p_180647_4_);
|
||||||
@@ -93,7 +93,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
public final void func_176226_b(World p_176226_1_, BlockPos p_176226_2_, IBlockState p_176226_3_, int p_176226_4_)
|
public final void func_176226_b(World p_176226_1_, BlockPos p_176226_2_, IBlockState p_176226_3_, int p_176226_4_)
|
||||||
@@ -497,20 +503,16 @@
|
@@ -533,20 +539,16 @@
|
||||||
|
|
||||||
public void func_180653_a(World p_180653_1_, BlockPos p_180653_2_, IBlockState p_180653_3_, float p_180653_4_, int p_180653_5_)
|
public void func_180653_a(World p_180653_1_, BlockPos p_180653_2_, IBlockState p_180653_3_, float p_180653_4_, int p_180653_5_)
|
||||||
{
|
{
|
||||||
@@ -119,7 +119,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -518,8 +520,13 @@
|
@@ -554,8 +556,13 @@
|
||||||
|
|
||||||
public static void func_180635_a(World p_180635_0_, BlockPos p_180635_1_, ItemStack p_180635_2_)
|
public static void func_180635_a(World p_180635_0_, BlockPos p_180635_1_, ItemStack p_180635_2_)
|
||||||
{
|
{
|
||||||
@@ -132,9 +132,9 @@
|
|||||||
+ return;
|
+ return;
|
||||||
+ }
|
+ }
|
||||||
float f = 0.5F;
|
float f = 0.5F;
|
||||||
double d0 = (double)(p_180635_0_.field_73012_v.nextFloat() * f) + (double)(1.0F - f) * 0.5D;
|
double d0 = (double)(p_180635_0_.field_73012_v.nextFloat() * 0.5F) + 0.25D;
|
||||||
double d1 = (double)(p_180635_0_.field_73012_v.nextFloat() * f) + (double)(1.0F - f) * 0.5D;
|
double d1 = (double)(p_180635_0_.field_73012_v.nextFloat() * 0.5F) + 0.25D;
|
||||||
@@ -588,7 +595,7 @@
|
@@ -627,7 +634,7 @@
|
||||||
|
|
||||||
public boolean func_176196_c(World p_176196_1_, BlockPos p_176196_2_)
|
public boolean func_176196_c(World p_176196_1_, BlockPos p_176196_2_)
|
||||||
{
|
{
|
||||||
@@ -142,8 +142,17 @@
|
|||||||
+ return p_176196_1_.func_180495_p(p_176196_2_).func_177230_c().func_176200_f(p_176196_1_, p_176196_2_);
|
+ return p_176196_1_.func_180495_p(p_176196_2_).func_177230_c().func_176200_f(p_176196_1_, p_176196_2_);
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean func_180639_a(World p_180639_1_, BlockPos p_180639_2_, IBlockState p_180639_3_, EntityPlayer p_180639_4_, EnumHand p_180639_5_, ItemStack p_180639_6_, EnumFacing p_180639_7_, float p_180639_8_, float p_180639_9_, float p_180639_10_)
|
public boolean func_180639_a(World p_180639_1_, BlockPos p_180639_2_, IBlockState p_180639_3_, EntityPlayer p_180639_4_, EnumHand p_180639_5_, @Nullable ItemStack p_180639_6_, EnumFacing p_180639_7_, float p_180639_8_, float p_180639_9_, float p_180639_10_)
|
||||||
@@ -638,25 +645,35 @@
|
@@ -639,6 +646,8 @@
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
+ // Forge: use getStateForPlacement
|
||||||
|
+ @Deprecated
|
||||||
|
public IBlockState func_180642_a(World p_180642_1_, BlockPos p_180642_2_, EnumFacing p_180642_3_, float p_180642_4_, float p_180642_5_, float p_180642_6_, int p_180642_7_, EntityLivingBase p_180642_8_)
|
||||||
|
{
|
||||||
|
return this.func_176203_a(p_180642_7_);
|
||||||
|
@@ -680,25 +689,35 @@
|
||||||
p_180657_2_.func_71029_a(StatList.func_188055_a(this));
|
p_180657_2_.func_71029_a(StatList.func_188055_a(this));
|
||||||
p_180657_2_.func_71020_j(0.025F);
|
p_180657_2_.func_71020_j(0.025F);
|
||||||
|
|
||||||
@@ -181,11 +190,11 @@
|
|||||||
+ return this.func_176223_P().func_185917_h() && !this.hasTileEntity(silk_check_state.get());
|
+ return this.func_176223_P().func_185917_h() && !this.hasTileEntity(silk_check_state.get());
|
||||||
}
|
}
|
||||||
|
|
||||||
protected ItemStack func_180643_i(IBlockState p_180643_1_)
|
@Nullable
|
||||||
@@ -747,9 +764,11 @@
|
@@ -794,9 +813,11 @@
|
||||||
p_176216_2_.field_70181_x = 0.0D;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Nullable
|
||||||
+ @Deprecated // Forge: Use more sensitive version below: getPickBlock
|
+ @Deprecated // Forge: Use more sensitive version below: getPickBlock
|
||||||
public ItemStack func_185473_a(World p_185473_1_, BlockPos p_185473_2_, IBlockState p_185473_3_)
|
public ItemStack func_185473_a(World p_185473_1_, BlockPos p_185473_2_, IBlockState p_185473_3_)
|
||||||
{
|
{
|
||||||
@@ -195,7 +204,15 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
@@ -844,6 +863,1141 @@
|
@@ -883,6 +904,7 @@
|
||||||
|
return Block.EnumOffsetType.NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
+ @Deprecated // Forge - World/state/pos/entity sensitive version below
|
||||||
|
public SoundType func_185467_w()
|
||||||
|
{
|
||||||
|
return this.field_149762_H;
|
||||||
|
@@ -893,6 +915,1187 @@
|
||||||
return "Block{" + field_149771_c.func_177774_c(this) + "}";
|
return "Block{" + field_149771_c.func_177774_c(this) + "}";
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -612,7 +629,7 @@
|
|||||||
+ {
|
+ {
|
||||||
+ IBlockState state = world.func_180495_p(pos);
|
+ IBlockState state = world.func_180495_p(pos);
|
||||||
+ state = state.func_177230_c().func_176221_a(state, world, pos);
|
+ state = state.func_177230_c().func_176221_a(state, world, pos);
|
||||||
+ state = state.func_177226_a(BlockBed.field_176471_b, true);
|
+ state = state.func_177226_a(BlockBed.field_176471_b, occupied);
|
||||||
+ ((World)world).func_180501_a(pos, state, 4);
|
+ ((World)world).func_180501_a(pos, state, 4);
|
||||||
+ }
|
+ }
|
||||||
+ }
|
+ }
|
||||||
@@ -687,7 +704,7 @@
|
|||||||
+ */
|
+ */
|
||||||
+ public boolean canBeReplacedByLeaves(IBlockState state, IBlockAccess world, BlockPos pos)
|
+ public boolean canBeReplacedByLeaves(IBlockState state, IBlockAccess world, BlockPos pos)
|
||||||
+ {
|
+ {
|
||||||
+ return !state.func_185913_b();
|
+ return isAir(state, world, pos) || isLeaves(state, world, pos); //!state.isFullBlock();
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
+ /**
|
+ /**
|
||||||
@@ -842,11 +859,11 @@
|
|||||||
+ * @param state The current state
|
+ * @param state The current state
|
||||||
+ * @param world The current world
|
+ * @param world The current world
|
||||||
+ * @param target The target the player is looking at {x/y/z/side/sub}
|
+ * @param target The target the player is looking at {x/y/z/side/sub}
|
||||||
+ * @param effectRenderer A reference to the current effect renderer.
|
+ * @param manager A reference to the current particle manager.
|
||||||
+ * @return True to prevent vanilla digging particles form spawning.
|
+ * @return True to prevent vanilla digging particles form spawning.
|
||||||
+ */
|
+ */
|
||||||
+ @SideOnly(Side.CLIENT)
|
+ @SideOnly(Side.CLIENT)
|
||||||
+ public boolean addHitEffects(IBlockState state, World worldObj, RayTraceResult target, net.minecraft.client.particle.EffectRenderer effectRenderer)
|
+ public boolean addHitEffects(IBlockState state, World worldObj, RayTraceResult target, net.minecraft.client.particle.ParticleManager manager)
|
||||||
+ {
|
+ {
|
||||||
+ return false;
|
+ return false;
|
||||||
+ }
|
+ }
|
||||||
@@ -859,11 +876,11 @@
|
|||||||
+ *
|
+ *
|
||||||
+ * @param world The current world
|
+ * @param world The current world
|
||||||
+ * @param pos Position to spawn the particle
|
+ * @param pos Position to spawn the particle
|
||||||
+ * @param effectRenderer A reference to the current effect renderer.
|
+ * @param manager A reference to the current particle manager.
|
||||||
+ * @return True to prevent vanilla break particles from spawning.
|
+ * @return True to prevent vanilla break particles from spawning.
|
||||||
+ */
|
+ */
|
||||||
+ @SideOnly(Side.CLIENT)
|
+ @SideOnly(Side.CLIENT)
|
||||||
+ public boolean addDestroyEffects(World world, BlockPos pos, net.minecraft.client.particle.EffectRenderer effectRenderer)
|
+ public boolean addDestroyEffects(World world, BlockPos pos, net.minecraft.client.particle.ParticleManager manager)
|
||||||
+ {
|
+ {
|
||||||
+ return false;
|
+ return false;
|
||||||
+ }
|
+ }
|
||||||
@@ -891,9 +908,9 @@
|
|||||||
+ IBlockState plant = plantable.getPlant(world, pos.func_177972_a(direction));
|
+ IBlockState plant = plantable.getPlant(world, pos.func_177972_a(direction));
|
||||||
+ net.minecraftforge.common.EnumPlantType plantType = plantable.getPlantType(world, pos.func_177972_a(direction));
|
+ net.minecraftforge.common.EnumPlantType plantType = plantable.getPlantType(world, pos.func_177972_a(direction));
|
||||||
+
|
+
|
||||||
+ if (plant.func_177230_c() == net.minecraft.init.Blocks.field_150434_aF && this == net.minecraft.init.Blocks.field_150434_aF)
|
+ if (plant.func_177230_c() == net.minecraft.init.Blocks.field_150434_aF)
|
||||||
+ {
|
+ {
|
||||||
+ return true;
|
+ return this == net.minecraft.init.Blocks.field_150434_aF || this == net.minecraft.init.Blocks.field_150354_m;
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
+ if (plant.func_177230_c() == net.minecraft.init.Blocks.field_150436_aH && this == net.minecraft.init.Blocks.field_150436_aH)
|
+ if (plant.func_177230_c() == net.minecraft.init.Blocks.field_150436_aH && this == net.minecraft.init.Blocks.field_150436_aH)
|
||||||
@@ -908,7 +925,7 @@
|
|||||||
+
|
+
|
||||||
+ switch (plantType)
|
+ switch (plantType)
|
||||||
+ {
|
+ {
|
||||||
+ case Desert: return this == net.minecraft.init.Blocks.field_150354_m || this == net.minecraft.init.Blocks.field_150405_ch || this == net.minecraft.init.Blocks.field_150406_ce || this == net.minecraft.init.Blocks.field_150346_d;
|
+ case Desert: return this == net.minecraft.init.Blocks.field_150354_m || this == net.minecraft.init.Blocks.field_150405_ch || this == net.minecraft.init.Blocks.field_150406_ce;
|
||||||
+ case Nether: return this == net.minecraft.init.Blocks.field_150425_aM;
|
+ case Nether: return this == net.minecraft.init.Blocks.field_150425_aM;
|
||||||
+ case Crop: return this == net.minecraft.init.Blocks.field_150458_ak;
|
+ case Crop: return this == net.minecraft.init.Blocks.field_150458_ak;
|
||||||
+ case Cave: return state.isSideSolid(world, pos, EnumFacing.UP);
|
+ case Cave: return state.isSideSolid(world, pos, EnumFacing.UP);
|
||||||
@@ -1009,7 +1026,8 @@
|
|||||||
+ this != net.minecraft.init.Blocks.field_150411_aY &&
|
+ this != net.minecraft.init.Blocks.field_150411_aY &&
|
||||||
+ this != net.minecraft.init.Blocks.field_185775_db;
|
+ this != net.minecraft.init.Blocks.field_185775_db;
|
||||||
+ }
|
+ }
|
||||||
+ else if (entity instanceof net.minecraft.entity.boss.EntityWither)
|
+ else if ((entity instanceof net.minecraft.entity.boss.EntityWither) ||
|
||||||
|
+ (entity instanceof net.minecraft.entity.projectile.EntityWitherSkull))
|
||||||
+ {
|
+ {
|
||||||
+ return net.minecraft.entity.boss.EntityWither.func_181033_a(this);
|
+ return net.minecraft.entity.boss.EntityWither.func_181033_a(this);
|
||||||
+ }
|
+ }
|
||||||
@@ -1332,8 +1350,66 @@
|
|||||||
+ public void addInformation(ItemStack stack, EntityPlayer player, List<String> tooltip, boolean advanced)
|
+ public void addInformation(ItemStack stack, EntityPlayer player, List<String> tooltip, boolean advanced)
|
||||||
+ {
|
+ {
|
||||||
+ }
|
+ }
|
||||||
|
+
|
||||||
|
+ /**
|
||||||
|
+ * Sensitive version of getSoundType
|
||||||
|
+ * @param state The state
|
||||||
|
+ * @param world The world
|
||||||
|
+ * @param pos The position. Note that the world may not necessarily have {@code state} here!
|
||||||
|
+ * @param entity The entity that is breaking/stepping on/placing/hitting/falling on this block, or null if no entity is in this context
|
||||||
|
+ * @return A SoundType to use
|
||||||
|
+ */
|
||||||
|
+ public SoundType getSoundType(IBlockState state, World world, BlockPos pos, @Nullable Entity entity)
|
||||||
|
+ {
|
||||||
|
+ return func_185467_w();
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ /**
|
||||||
|
+ * @param state The state
|
||||||
|
+ * @param world The world
|
||||||
|
+ * @param pos The position of this state
|
||||||
|
+ * @param beaconPos The position of the beacon
|
||||||
|
+ * @return A float RGB [0.0, 1.0] array to be averaged with a beacon's existing beam color, or null to do nothing to the beam
|
||||||
|
+ */
|
||||||
|
+ @Nullable
|
||||||
|
+ public float[] getBeaconColorMultiplier(IBlockState state, World world, BlockPos pos, BlockPos beaconPos)
|
||||||
|
+ {
|
||||||
|
+ return null;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ /**
|
||||||
|
+ * Gets the {@link IBlockState} to place
|
||||||
|
+ * @param world The world the block is being placed in
|
||||||
|
+ * @param pos The position the block is being placed at
|
||||||
|
+ * @param facing The side the block is being placed on
|
||||||
|
+ * @param hitX The X coordinate of the hit vector
|
||||||
|
+ * @param hitY The Y coordinate of the hit vector
|
||||||
|
+ * @param hitZ The Z coordinate of the hit vector
|
||||||
|
+ * @param meta The metadata of {@link ItemStack} as processed by {@link Item#getMetadata(int)}
|
||||||
|
+ * @param placer The entity placing the block
|
||||||
|
+ * @param stack The stack being used to place this block
|
||||||
|
+ * @return The state to be placed in the world
|
||||||
|
+ */
|
||||||
|
+ public IBlockState getStateForPlacement(World world, BlockPos pos, EnumFacing facing, float hitX, float hitY, float hitZ, int meta, EntityLivingBase placer, ItemStack stack)
|
||||||
|
+ {
|
||||||
|
+ return func_180642_a(world, pos, facing, hitX, hitY, hitZ, meta, placer);
|
||||||
|
+ }
|
||||||
|
+
|
||||||
+ /* ========================================= FORGE END ======================================*/
|
+ /* ========================================= FORGE END ======================================*/
|
||||||
+
|
+
|
||||||
public static void func_149671_p()
|
public static void func_149671_p()
|
||||||
{
|
{
|
||||||
func_176215_a(0, field_176230_a, (new BlockAir()).func_149663_c("air"));
|
func_176215_a(0, field_176230_a, (new BlockAir()).func_149663_c("air"));
|
||||||
|
@@ -1169,11 +2372,7 @@
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
- for (IBlockState iblockstate : block16.func_176194_O().func_177619_a())
|
||||||
|
- {
|
||||||
|
- int k = field_149771_c.func_148757_b(block16) << 4 | block16.func_176201_c(iblockstate);
|
||||||
|
- field_176229_d.func_148746_a(iblockstate, k);
|
||||||
|
- }
|
||||||
|
+// Handled in GameData.BlockCallbacks - leaving tripwire as it seems to be special cased
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockBanner.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockBanner.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockBanner.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockBanner.java
|
||||||
@@ -104,14 +104,7 @@
|
@@ -107,14 +107,7 @@
|
||||||
|
|
||||||
public void func_180653_a(World p_180653_1_, BlockPos p_180653_2_, IBlockState p_180653_3_, float p_180653_4_, int p_180653_5_)
|
public void func_180653_a(World p_180653_1_, BlockPos p_180653_2_, IBlockState p_180653_3_, float p_180653_4_, int p_180653_5_)
|
||||||
{
|
{
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
super.func_180653_a(p_180653_1_, p_180653_2_, p_180653_3_, p_180653_4_, p_180653_5_);
|
super.func_180653_a(p_180653_1_, p_180653_2_, p_180653_3_, p_180653_4_, p_180653_5_);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -138,6 +131,28 @@
|
@@ -141,6 +134,28 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockBush.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockBush.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockBush.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockBush.java
|
||||||
@@ -14,7 +14,7 @@
|
@@ -15,7 +15,7 @@
|
||||||
import net.minecraftforge.fml.relauncher.Side;
|
import net.minecraftforge.fml.relauncher.Side;
|
||||||
import net.minecraftforge.fml.relauncher.SideOnly;
|
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||||
|
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
{
|
{
|
||||||
protected static final AxisAlignedBB field_185515_b = new AxisAlignedBB(0.30000001192092896D, 0.0D, 0.30000001192092896D, 0.699999988079071D, 0.6000000238418579D, 0.699999988079071D);
|
protected static final AxisAlignedBB field_185515_b = new AxisAlignedBB(0.30000001192092896D, 0.0D, 0.30000001192092896D, 0.699999988079071D, 0.6000000238418579D, 0.699999988079071D);
|
||||||
|
|
||||||
@@ -37,7 +37,8 @@
|
@@ -38,7 +38,8 @@
|
||||||
|
|
||||||
public boolean func_176196_c(World p_176196_1_, BlockPos p_176196_2_)
|
public boolean func_176196_c(World p_176196_1_, BlockPos p_176196_2_)
|
||||||
{
|
{
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected boolean func_185514_i(IBlockState p_185514_1_)
|
protected boolean func_185514_i(IBlockState p_185514_1_)
|
||||||
@@ -67,6 +68,11 @@
|
@@ -68,6 +69,11 @@
|
||||||
|
|
||||||
public boolean func_180671_f(World p_180671_1_, BlockPos p_180671_2_, IBlockState p_180671_3_)
|
public boolean func_180671_f(World p_180671_1_, BlockPos p_180671_2_, IBlockState p_180671_3_)
|
||||||
{
|
{
|
||||||
@@ -31,7 +31,7 @@
|
|||||||
return this.func_185514_i(p_180671_1_.func_180495_p(p_180671_2_.func_177977_b()));
|
return this.func_185514_i(p_180671_1_.func_180495_p(p_180671_2_.func_177977_b()));
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -90,6 +96,35 @@
|
@@ -92,6 +98,35 @@
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockButton.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockButton.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockButton.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockButton.java
|
||||||
@@ -89,7 +89,7 @@
|
@@ -91,7 +91,7 @@
|
||||||
protected static boolean func_181088_a(World p_181088_0_, BlockPos p_181088_1_, EnumFacing p_181088_2_)
|
protected static boolean func_181088_a(World p_181088_0_, BlockPos p_181088_1_, EnumFacing p_181088_2_)
|
||||||
{
|
{
|
||||||
BlockPos blockpos = p_181088_1_.func_177972_a(p_181088_2_);
|
BlockPos blockpos = p_181088_1_.func_177972_a(p_181088_2_);
|
||||||
|
|||||||
@@ -9,18 +9,36 @@
|
|||||||
{
|
{
|
||||||
public static final PropertyInteger field_176587_a = PropertyInteger.func_177719_a("age", 0, 15);
|
public static final PropertyInteger field_176587_a = PropertyInteger.func_177719_a("age", 0, 15);
|
||||||
protected static final AxisAlignedBB field_185593_b = new AxisAlignedBB(0.0625D, 0.0D, 0.0625D, 0.9375D, 0.9375D, 0.9375D);
|
protected static final AxisAlignedBB field_185593_b = new AxisAlignedBB(0.0625D, 0.0D, 0.0625D, 0.9375D, 0.9375D, 0.9375D);
|
||||||
@@ -110,8 +110,8 @@
|
@@ -49,6 +49,8 @@
|
||||||
|
{
|
||||||
|
int j = ((Integer)p_180650_3_.func_177229_b(field_176587_a)).intValue();
|
||||||
|
|
||||||
|
+ if(net.minecraftforge.common.ForgeHooks.onCropsGrowPre(p_180650_1_, blockpos, p_180650_3_, true))
|
||||||
|
+ {
|
||||||
|
if (j == 15)
|
||||||
|
{
|
||||||
|
p_180650_1_.func_175656_a(blockpos, this.func_176223_P());
|
||||||
|
@@ -60,6 +62,8 @@
|
||||||
|
{
|
||||||
|
p_180650_1_.func_180501_a(p_180650_2_, p_180650_3_.func_177226_a(field_176587_a, Integer.valueOf(j + 1)), 4);
|
||||||
|
}
|
||||||
|
+ net.minecraftforge.common.ForgeHooks.onCropsGrowPost(p_180650_1_, p_180650_2_, p_180650_3_, p_180650_1_.func_180495_p(p_180650_2_));
|
||||||
|
+ }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@@ -110,8 +114,8 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
- Block block = p_176586_1_.func_180495_p(p_176586_2_.func_177977_b()).func_177230_c();
|
- Block block = p_176586_1_.func_180495_p(p_176586_2_.func_177977_b()).func_177230_c();
|
||||||
- return block == Blocks.field_150434_aF || block == Blocks.field_150354_m && !p_176586_1_.func_180495_p(p_176586_2_.func_177984_a()).func_185904_a().func_76224_d();
|
- return block == Blocks.field_150434_aF || block == Blocks.field_150354_m && !p_176586_1_.func_180495_p(p_176586_2_.func_177984_a()).func_185904_a().func_76224_d();
|
||||||
+ IBlockState state = p_176586_1_.func_180495_p(p_176586_2_.func_177977_b());
|
+ IBlockState state = p_176586_1_.func_180495_p(p_176586_2_.func_177977_b());
|
||||||
+ return state.func_177230_c().canSustainPlant(state, p_176586_1_, p_176586_2_, EnumFacing.UP, this) && !p_176586_1_.func_180495_p(p_176586_2_.func_177984_a()).func_185904_a().func_76224_d();
|
+ return state.func_177230_c().canSustainPlant(state, p_176586_1_, p_176586_2_.func_177977_b(), EnumFacing.UP, this) && !p_176586_1_.func_180495_p(p_176586_2_.func_177984_a()).func_185904_a().func_76224_d();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void func_180634_a(World p_180634_1_, BlockPos p_180634_2_, IBlockState p_180634_3_, Entity p_180634_4_)
|
public void func_180634_a(World p_180634_1_, BlockPos p_180634_2_, IBlockState p_180634_3_, Entity p_180634_4_)
|
||||||
@@ -135,6 +135,18 @@
|
@@ -135,6 +139,18 @@
|
||||||
return ((Integer)p_176201_1_.func_177229_b(field_176587_a)).intValue();
|
return ((Integer)p_176201_1_.func_177229_b(field_176587_a)).intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockChest.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockChest.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockChest.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockChest.java
|
||||||
@@ -506,7 +506,7 @@
|
@@ -514,7 +514,7 @@
|
||||||
|
|
||||||
private boolean func_176456_n(World p_176456_1_, BlockPos p_176456_2_)
|
private boolean func_176456_n(World p_176456_1_, BlockPos p_176456_2_)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -0,0 +1,19 @@
|
|||||||
|
--- ../src-base/minecraft/net/minecraft/block/BlockChorusFlower.java
|
||||||
|
+++ ../src-work/minecraft/net/minecraft/block/BlockChorusFlower.java
|
||||||
|
@@ -52,7 +52,7 @@
|
||||||
|
{
|
||||||
|
int i = ((Integer)p_180650_3_.func_177229_b(field_185607_a)).intValue();
|
||||||
|
|
||||||
|
- if (i < 5 && p_180650_4_.nextInt(1) == 0)
|
||||||
|
+ if (i < 5 && net.minecraftforge.common.ForgeHooks.onCropsGrowPre(p_180650_1_, blockpos, p_180650_3_, p_180650_4_.nextInt(1) == 0))
|
||||||
|
{
|
||||||
|
boolean flag = false;
|
||||||
|
boolean flag1 = false;
|
||||||
|
@@ -141,6 +141,7 @@
|
||||||
|
{
|
||||||
|
this.func_185605_c(p_180650_1_, p_180650_2_);
|
||||||
|
}
|
||||||
|
+ net.minecraftforge.common.ForgeHooks.onCropsGrowPost(p_180650_1_, p_180650_2_, p_180650_3_, p_180650_1_.func_180495_p(p_180650_2_));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,6 +1,23 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockCocoa.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockCocoa.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockCocoa.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockCocoa.java
|
||||||
@@ -131,7 +131,14 @@
|
@@ -43,13 +43,14 @@
|
||||||
|
{
|
||||||
|
this.func_176500_f(p_180650_1_, p_180650_2_, p_180650_3_);
|
||||||
|
}
|
||||||
|
- else if (p_180650_1_.field_73012_v.nextInt(5) == 0)
|
||||||
|
+ else
|
||||||
|
{
|
||||||
|
int i = ((Integer)p_180650_3_.func_177229_b(field_176501_a)).intValue();
|
||||||
|
|
||||||
|
- if (i < 2)
|
||||||
|
+ if (i < 2 && net.minecraftforge.common.ForgeHooks.onCropsGrowPre(p_180650_1_, p_180650_2_, p_180650_3_, p_180650_4_.nextInt(5) == 0))
|
||||||
|
{
|
||||||
|
p_180650_1_.func_180501_a(p_180650_2_, p_180650_3_.func_177226_a(field_176501_a, Integer.valueOf(i + 1)), 2);
|
||||||
|
+ net.minecraftforge.common.ForgeHooks.onCropsGrowPost(p_180650_1_, p_180650_2_, p_180650_3_, p_180650_1_.func_180495_p(p_180650_2_));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@@ -131,7 +132,14 @@
|
||||||
|
|
||||||
public void func_180653_a(World p_180653_1_, BlockPos p_180653_2_, IBlockState p_180653_3_, float p_180653_4_, int p_180653_5_)
|
public void func_180653_a(World p_180653_1_, BlockPos p_180653_2_, IBlockState p_180653_3_, float p_180653_4_, int p_180653_5_)
|
||||||
{
|
{
|
||||||
@@ -16,7 +33,7 @@
|
|||||||
int j = 1;
|
int j = 1;
|
||||||
|
|
||||||
if (i >= 2)
|
if (i >= 2)
|
||||||
@@ -141,8 +148,9 @@
|
@@ -141,8 +149,9 @@
|
||||||
|
|
||||||
for (int k = 0; k < j; ++k)
|
for (int k = 0; k < j; ++k)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,6 +1,18 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockCrops.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockCrops.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockCrops.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockCrops.java
|
||||||
@@ -116,11 +116,11 @@
|
@@ -79,9 +79,10 @@
|
||||||
|
{
|
||||||
|
float f = func_180672_a(this, p_180650_1_, p_180650_2_);
|
||||||
|
|
||||||
|
- if (p_180650_4_.nextInt((int)(25.0F / f) + 1) == 0)
|
||||||
|
+ if(net.minecraftforge.common.ForgeHooks.onCropsGrowPre(p_180650_1_, p_180650_2_, p_180650_3_, p_180650_4_.nextInt((int)(25.0F / f) + 1) == 0))
|
||||||
|
{
|
||||||
|
p_180650_1_.func_180501_a(p_180650_2_, this.func_185528_e(i + 1), 2);
|
||||||
|
+ net.minecraftforge.common.ForgeHooks.onCropsGrowPost(p_180650_1_, p_180650_2_, p_180650_3_, p_180650_1_.func_180495_p(p_180650_2_));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@@ -117,11 +118,11 @@
|
||||||
float f1 = 0.0F;
|
float f1 = 0.0F;
|
||||||
IBlockState iblockstate = p_180672_1_.func_180495_p(blockpos.func_177982_a(i, 0, j));
|
IBlockState iblockstate = p_180672_1_.func_180495_p(blockpos.func_177982_a(i, 0, j));
|
||||||
|
|
||||||
@@ -14,7 +26,7 @@
|
|||||||
{
|
{
|
||||||
f1 = 3.0F;
|
f1 = 3.0F;
|
||||||
}
|
}
|
||||||
@@ -161,7 +161,8 @@
|
@@ -162,7 +163,8 @@
|
||||||
|
|
||||||
public boolean func_180671_f(World p_180671_1_, BlockPos p_180671_2_, IBlockState p_180671_3_)
|
public boolean func_180671_f(World p_180671_1_, BlockPos p_180671_2_, IBlockState p_180671_3_)
|
||||||
{
|
{
|
||||||
@@ -24,7 +36,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected Item func_149866_i()
|
protected Item func_149866_i()
|
||||||
@@ -174,11 +175,33 @@
|
@@ -175,11 +177,33 @@
|
||||||
return Items.field_151015_O;
|
return Items.field_151015_O;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockDeadBush.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockDeadBush.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockDeadBush.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockDeadBush.java
|
||||||
@@ -16,7 +16,7 @@
|
@@ -17,7 +17,7 @@
|
||||||
import net.minecraft.world.IBlockAccess;
|
import net.minecraft.world.IBlockAccess;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
|
|
||||||
@@ -9,16 +9,16 @@
|
|||||||
{
|
{
|
||||||
protected static final AxisAlignedBB field_185516_a = new AxisAlignedBB(0.09999999403953552D, 0.0D, 0.09999999403953552D, 0.8999999761581421D, 0.800000011920929D, 0.8999999761581421D);
|
protected static final AxisAlignedBB field_185516_a = new AxisAlignedBB(0.09999999403953552D, 0.0D, 0.09999999403953552D, 0.8999999761581421D, 0.800000011920929D, 0.8999999761581421D);
|
||||||
|
|
||||||
@@ -57,7 +57,7 @@
|
@@ -59,7 +59,7 @@
|
||||||
|
|
||||||
public void func_180657_a(World p_180657_1_, EntityPlayer p_180657_2_, BlockPos p_180657_3_, IBlockState p_180657_4_, TileEntity p_180657_5_, ItemStack p_180657_6_)
|
public void func_180657_a(World p_180657_1_, EntityPlayer p_180657_2_, BlockPos p_180657_3_, IBlockState p_180657_4_, @Nullable TileEntity p_180657_5_, @Nullable ItemStack p_180657_6_)
|
||||||
{
|
{
|
||||||
- if (!p_180657_1_.field_72995_K && p_180657_6_ != null && p_180657_6_.func_77973_b() == Items.field_151097_aZ)
|
- if (!p_180657_1_.field_72995_K && p_180657_6_ != null && p_180657_6_.func_77973_b() == Items.field_151097_aZ)
|
||||||
+ if (false && !p_180657_1_.field_72995_K && p_180657_6_ != null && p_180657_6_.func_77973_b() == Items.field_151097_aZ) // Forge: Noop
|
+ if (false && !p_180657_1_.field_72995_K && p_180657_6_ != null && p_180657_6_.func_77973_b() == Items.field_151097_aZ) // Forge: Noop
|
||||||
{
|
{
|
||||||
p_180657_2_.func_71029_a(StatList.func_188055_a(this));
|
p_180657_2_.func_71029_a(StatList.func_188055_a(this));
|
||||||
func_180635_a(p_180657_1_, p_180657_3_, new ItemStack(Blocks.field_150330_I, 1, 0));
|
func_180635_a(p_180657_1_, p_180657_3_, new ItemStack(Blocks.field_150330_I, 1, 0));
|
||||||
@@ -67,4 +67,11 @@
|
@@ -69,4 +69,11 @@
|
||||||
super.func_180657_a(p_180657_1_, p_180657_2_, p_180657_3_, p_180657_4_, p_180657_5_, p_180657_6_);
|
super.func_180657_a(p_180657_1_, p_180657_2_, p_180657_3_, p_180657_4_, p_180657_5_, p_180657_6_);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockDoor.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockDoor.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockDoor.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockDoor.java
|
||||||
@@ -107,7 +107,7 @@
|
@@ -108,7 +108,7 @@
|
||||||
{
|
{
|
||||||
if (this.field_149764_J == Material.field_151573_f)
|
if (this.field_149764_J == Material.field_151573_f)
|
||||||
{
|
{
|
||||||
@@ -9,7 +9,16 @@
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -219,7 +219,7 @@
|
@@ -176,7 +176,7 @@
|
||||||
|
flag1 = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
- if (!p_189540_2_.func_180495_p(p_189540_3_.func_177977_b()).func_185896_q())
|
||||||
|
+ if (!p_189540_2_.func_180495_p(p_189540_3_.func_177977_b()).isSideSolid(p_189540_2_, p_189540_3_.func_177977_b(), EnumFacing.UP))
|
||||||
|
{
|
||||||
|
p_189540_2_.func_175698_g(p_189540_3_);
|
||||||
|
flag1 = true;
|
||||||
|
@@ -221,7 +221,7 @@
|
||||||
|
|
||||||
public boolean func_176196_c(World p_176196_1_, BlockPos p_176196_2_)
|
public boolean func_176196_c(World p_176196_1_, BlockPos p_176196_2_)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockDoublePlant.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockDoublePlant.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockDoublePlant.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockDoublePlant.java
|
||||||
@@ -25,7 +25,7 @@
|
@@ -26,7 +26,7 @@
|
||||||
import net.minecraftforge.fml.relauncher.Side;
|
import net.minecraftforge.fml.relauncher.Side;
|
||||||
import net.minecraftforge.fml.relauncher.SideOnly;
|
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||||
|
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
{
|
{
|
||||||
public static final PropertyEnum<BlockDoublePlant.EnumPlantType> field_176493_a = PropertyEnum.<BlockDoublePlant.EnumPlantType>func_177709_a("variant", BlockDoublePlant.EnumPlantType.class);
|
public static final PropertyEnum<BlockDoublePlant.EnumPlantType> field_176493_a = PropertyEnum.<BlockDoublePlant.EnumPlantType>func_177709_a("variant", BlockDoublePlant.EnumPlantType.class);
|
||||||
public static final PropertyEnum<BlockDoublePlant.EnumBlockHalf> field_176492_b = PropertyEnum.<BlockDoublePlant.EnumBlockHalf>func_177709_a("half", BlockDoublePlant.EnumBlockHalf.class);
|
public static final PropertyEnum<BlockDoublePlant.EnumBlockHalf> field_176492_b = PropertyEnum.<BlockDoublePlant.EnumBlockHalf>func_177709_a("half", BlockDoublePlant.EnumBlockHalf.class);
|
||||||
@@ -88,6 +88,8 @@
|
@@ -89,6 +89,8 @@
|
||||||
Block block = (Block)(flag ? this : p_176475_1_.func_180495_p(blockpos).func_177230_c());
|
Block block = (Block)(flag ? this : p_176475_1_.func_180495_p(blockpos).func_177230_c());
|
||||||
Block block1 = (Block)(flag ? p_176475_1_.func_180495_p(blockpos1).func_177230_c() : this);
|
Block block1 = (Block)(flag ? p_176475_1_.func_180495_p(blockpos1).func_177230_c() : this);
|
||||||
|
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
if (block == this)
|
if (block == this)
|
||||||
{
|
{
|
||||||
p_176475_1_.func_180501_a(blockpos, Blocks.field_150350_a.func_176223_P(), 2);
|
p_176475_1_.func_180501_a(blockpos, Blocks.field_150350_a.func_176223_P(), 2);
|
||||||
@@ -96,17 +98,13 @@
|
@@ -97,17 +99,13 @@
|
||||||
if (block1 == this)
|
if (block1 == this)
|
||||||
{
|
{
|
||||||
p_176475_1_.func_180501_a(blockpos1, Blocks.field_150350_a.func_176223_P(), 3);
|
p_176475_1_.func_180501_a(blockpos1, Blocks.field_150350_a.func_176223_P(), 3);
|
||||||
@@ -37,15 +37,15 @@
|
|||||||
if (p_180671_3_.func_177229_b(field_176492_b) == BlockDoublePlant.EnumBlockHalf.UPPER)
|
if (p_180671_3_.func_177229_b(field_176492_b) == BlockDoublePlant.EnumBlockHalf.UPPER)
|
||||||
{
|
{
|
||||||
return p_180671_1_.func_180495_p(p_180671_2_.func_177977_b()).func_177230_c() == this;
|
return p_180671_1_.func_180495_p(p_180671_2_.func_177977_b()).func_177230_c() == this;
|
||||||
@@ -149,7 +147,6 @@
|
@@ -151,7 +149,6 @@
|
||||||
|
|
||||||
public void func_180657_a(World p_180657_1_, EntityPlayer p_180657_2_, BlockPos p_180657_3_, IBlockState p_180657_4_, TileEntity p_180657_5_, ItemStack p_180657_6_)
|
public void func_180657_a(World p_180657_1_, EntityPlayer p_180657_2_, BlockPos p_180657_3_, IBlockState p_180657_4_, @Nullable TileEntity p_180657_5_, @Nullable ItemStack p_180657_6_)
|
||||||
{
|
{
|
||||||
- if (p_180657_1_.field_72995_K || p_180657_6_ == null || p_180657_6_.func_77973_b() != Items.field_151097_aZ || p_180657_4_.func_177229_b(field_176492_b) != BlockDoublePlant.EnumBlockHalf.LOWER || !this.func_176489_b(p_180657_1_, p_180657_3_, p_180657_4_, p_180657_2_))
|
- if (p_180657_1_.field_72995_K || p_180657_6_ == null || p_180657_6_.func_77973_b() != Items.field_151097_aZ || p_180657_4_.func_177229_b(field_176492_b) != BlockDoublePlant.EnumBlockHalf.LOWER || !this.func_176489_b(p_180657_1_, p_180657_3_, p_180657_4_, p_180657_2_))
|
||||||
{
|
{
|
||||||
super.func_180657_a(p_180657_1_, p_180657_2_, p_180657_3_, p_180657_4_, p_180657_5_, p_180657_6_);
|
super.func_180657_a(p_180657_1_, p_180657_2_, p_180657_3_, p_180657_4_, p_180657_5_, p_180657_6_);
|
||||||
}
|
}
|
||||||
@@ -212,8 +209,6 @@
|
@@ -211,8 +208,6 @@
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
p_176489_4_.func_71029_a(StatList.func_188055_a(this));
|
p_176489_4_.func_71029_a(StatList.func_188055_a(this));
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -284,6 +279,33 @@
|
@@ -283,6 +278,33 @@
|
||||||
return Block.EnumOffsetType.XZ;
|
return Block.EnumOffsetType.XZ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockDragonEgg.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockDragonEgg.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockDragonEgg.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockDragonEgg.java
|
||||||
@@ -48,7 +48,7 @@
|
@@ -49,7 +49,7 @@
|
||||||
|
|
||||||
private void func_180683_d(World p_180683_1_, BlockPos p_180683_2_)
|
private void func_180683_d(World p_180683_1_, BlockPos p_180683_2_)
|
||||||
{
|
{
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
{
|
{
|
||||||
int i = 32;
|
int i = 32;
|
||||||
|
|
||||||
@@ -61,7 +61,7 @@
|
@@ -62,7 +62,7 @@
|
||||||
p_180683_1_.func_175698_g(p_180683_2_);
|
p_180683_1_.func_175698_g(p_180683_2_);
|
||||||
BlockPos blockpos;
|
BlockPos blockpos;
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockDropper.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockDropper.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockDropper.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockDropper.java
|
||||||
@@ -43,7 +43,7 @@
|
@@ -44,7 +44,7 @@
|
||||||
{
|
{
|
||||||
ItemStack itemstack = tileentitydispenser.func_70301_a(i);
|
ItemStack itemstack = tileentitydispenser.func_70301_a(i);
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,19 @@
|
|||||||
|
--- ../src-base/minecraft/net/minecraft/block/BlockDynamicLiquid.java
|
||||||
|
+++ ../src-work/minecraft/net/minecraft/block/BlockDynamicLiquid.java
|
||||||
|
@@ -67,7 +67,7 @@
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
- if (this.field_149815_a >= 2 && this.field_149764_J == Material.field_151586_h)
|
||||||
|
+ if (this.field_149815_a >= 2 && net.minecraftforge.event.ForgeEventFactory.canCreateFluidSource(p_180650_1_, p_180650_2_, p_180650_3_, this.field_149764_J == Material.field_151586_h))
|
||||||
|
{
|
||||||
|
IBlockState iblockstate = p_180650_1_.func_180495_p(p_180650_2_.func_177977_b());
|
||||||
|
|
||||||
|
@@ -166,6 +166,7 @@
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
+ if (p_176375_3_.func_177230_c() != Blocks.field_150431_aC) //Forge: Vanilla has a 'bug' where snowballs don't drop like every other block. So special case because ewww...
|
||||||
|
p_176375_3_.func_177230_c().func_176226_b(p_176375_1_, p_176375_2_, p_176375_3_, 0);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
--- ../src-base/minecraft/net/minecraft/block/BlockEnchantmentTable.java
|
||||||
|
+++ ../src-work/minecraft/net/minecraft/block/BlockEnchantmentTable.java
|
||||||
|
@@ -64,7 +64,7 @@
|
||||||
|
{
|
||||||
|
BlockPos blockpos = p_180655_3_.func_177982_a(i, k, j);
|
||||||
|
|
||||||
|
- if (p_180655_2_.func_180495_p(blockpos).func_177230_c() == Blocks.field_150342_X)
|
||||||
|
+ if (net.minecraftforge.common.ForgeHooks.getEnchantPower(p_180655_2_, blockpos) > 0)
|
||||||
|
{
|
||||||
|
if (!p_180655_2_.func_175623_d(p_180655_3_.func_177982_a(i / 2, 0, j / 2)))
|
||||||
|
{
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockFalling.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockFalling.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockFalling.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockFalling.java
|
||||||
@@ -44,7 +44,7 @@
|
@@ -47,7 +47,7 @@
|
||||||
|
|
||||||
private void func_176503_e(World p_176503_1_, BlockPos p_176503_2_)
|
private void func_176503_e(World p_176503_1_, BlockPos p_176503_2_)
|
||||||
{
|
{
|
||||||
@@ -9,7 +9,11 @@
|
|||||||
{
|
{
|
||||||
int i = 32;
|
int i = 32;
|
||||||
|
|
||||||
@@ -62,7 +62,7 @@
|
@@ -62,17 +62,18 @@
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
+ IBlockState state = p_176503_1_.func_180495_p(p_176503_2_);
|
||||||
p_176503_1_.func_175698_g(p_176503_2_);
|
p_176503_1_.func_175698_g(p_176503_2_);
|
||||||
BlockPos blockpos;
|
BlockPos blockpos;
|
||||||
|
|
||||||
@@ -18,3 +22,11 @@
|
|||||||
{
|
{
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (blockpos.func_177956_o() > 0)
|
||||||
|
{
|
||||||
|
- p_176503_1_.func_175656_a(blockpos.func_177984_a(), this.func_176223_P());
|
||||||
|
+ p_176503_1_.func_175656_a(blockpos.func_177984_a(), state); //Forge: Fix loss of state information during world gen.
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockFarmland.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockFarmland.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockFarmland.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockFarmland.java
|
||||||
@@ -87,7 +87,7 @@
|
@@ -83,7 +83,7 @@
|
||||||
private boolean func_176529_d(World p_176529_1_, BlockPos p_176529_2_)
|
private boolean func_176529_d(World p_176529_1_, BlockPos p_176529_2_)
|
||||||
{
|
{
|
||||||
Block block = p_176529_1_.func_180495_p(p_176529_2_.func_177984_a()).func_177230_c();
|
Block block = p_176529_1_.func_180495_p(p_176529_2_.func_177984_a()).func_177230_c();
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockFire.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockFire.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockFire.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockFire.java
|
||||||
@@ -37,7 +37,15 @@
|
@@ -38,7 +38,15 @@
|
||||||
|
|
||||||
public IBlockState func_176221_a(IBlockState p_176221_1_, IBlockAccess p_176221_2_, BlockPos p_176221_3_)
|
public IBlockState func_176221_a(IBlockState p_176221_1_, IBlockAccess p_176221_2_, BlockPos p_176221_3_)
|
||||||
{
|
{
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected BlockFire()
|
protected BlockFire()
|
||||||
@@ -90,6 +98,7 @@
|
@@ -91,6 +99,7 @@
|
||||||
|
|
||||||
public void func_180686_a(Block p_180686_1_, int p_180686_2_, int p_180686_3_)
|
public void func_180686_a(Block p_180686_1_, int p_180686_2_, int p_180686_3_)
|
||||||
{
|
{
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
this.field_149849_a.put(p_180686_1_, Integer.valueOf(p_180686_2_));
|
this.field_149849_a.put(p_180686_1_, Integer.valueOf(p_180686_2_));
|
||||||
this.field_149848_b.put(p_180686_1_, Integer.valueOf(p_180686_3_));
|
this.field_149848_b.put(p_180686_1_, Integer.valueOf(p_180686_3_));
|
||||||
}
|
}
|
||||||
@@ -129,13 +138,8 @@
|
@@ -131,13 +140,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
Block block = p_180650_1_.func_180495_p(p_180650_2_.func_177977_b()).func_177230_c();
|
Block block = p_180650_1_.func_180495_p(p_180650_2_.func_177977_b()).func_177230_c();
|
||||||
@@ -40,7 +40,7 @@
|
|||||||
int i = ((Integer)p_180650_3_.func_177229_b(field_176543_a)).intValue();
|
int i = ((Integer)p_180650_3_.func_177229_b(field_176543_a)).intValue();
|
||||||
|
|
||||||
if (!flag && p_180650_1_.func_72896_J() && this.func_176537_d(p_180650_1_, p_180650_2_) && p_180650_4_.nextFloat() < 0.2F + (float)i * 0.03F)
|
if (!flag && p_180650_1_.func_72896_J() && this.func_176537_d(p_180650_1_, p_180650_2_) && p_180650_4_.nextFloat() < 0.2F + (float)i * 0.03F)
|
||||||
@@ -156,7 +160,7 @@
|
@@ -158,7 +162,7 @@
|
||||||
{
|
{
|
||||||
if (!this.func_176533_e(p_180650_1_, p_180650_2_))
|
if (!this.func_176533_e(p_180650_1_, p_180650_2_))
|
||||||
{
|
{
|
||||||
@@ -49,7 +49,7 @@
|
|||||||
{
|
{
|
||||||
p_180650_1_.func_175698_g(p_180650_2_);
|
p_180650_1_.func_175698_g(p_180650_2_);
|
||||||
}
|
}
|
||||||
@@ -164,7 +168,7 @@
|
@@ -166,7 +170,7 @@
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
{
|
{
|
||||||
p_180650_1_.func_175698_g(p_180650_2_);
|
p_180650_1_.func_175698_g(p_180650_2_);
|
||||||
return;
|
return;
|
||||||
@@ -179,12 +183,12 @@
|
@@ -181,12 +185,12 @@
|
||||||
j = -50;
|
j = -50;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -77,7 +77,7 @@
|
|||||||
|
|
||||||
for (int k = -1; k <= 1; ++k)
|
for (int k = -1; k <= 1; ++k)
|
||||||
{
|
{
|
||||||
@@ -243,45 +247,53 @@
|
@@ -245,22 +249,30 @@
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -102,44 +102,14 @@
|
|||||||
+ this.tryCatchFire(p_176536_1_, p_176536_2_, p_176536_3_, p_176536_4_, p_176536_5_, EnumFacing.UP);
|
+ this.tryCatchFire(p_176536_1_, p_176536_2_, p_176536_3_, p_176536_4_, p_176536_5_, EnumFacing.UP);
|
||||||
+ }
|
+ }
|
||||||
|
|
||||||
- if (p_176536_4_.nextInt(p_176536_3_) < i)
|
+ private void tryCatchFire(World p_176536_1_, BlockPos p_176536_2_, int p_176536_3_, Random p_176536_4_, int p_176536_5_, EnumFacing face)
|
||||||
+ private void tryCatchFire(World worldIn, BlockPos pos, int chance, Random random, int age, EnumFacing face)
|
|
||||||
+ {
|
+ {
|
||||||
+ int i = worldIn.func_180495_p(pos).func_177230_c().getFlammability(worldIn, pos, face);
|
+ int i = p_176536_1_.func_180495_p(p_176536_2_).func_177230_c().getFlammability(p_176536_1_, p_176536_2_, face);
|
||||||
+
|
+
|
||||||
+ if (random.nextInt(chance) < i)
|
if (p_176536_4_.nextInt(p_176536_3_) < i)
|
||||||
{
|
{
|
||||||
- IBlockState iblockstate = p_176536_1_.func_180495_p(p_176536_2_);
|
IBlockState iblockstate = p_176536_1_.func_180495_p(p_176536_2_);
|
||||||
+ IBlockState iblockstate = worldIn.func_180495_p(pos);
|
@@ -292,7 +304,7 @@
|
||||||
|
|
||||||
- if (p_176536_4_.nextInt(p_176536_5_ + 10) < 5 && !p_176536_1_.func_175727_C(p_176536_2_))
|
|
||||||
+ if (random.nextInt(age + 10) < 5 && !worldIn.func_175727_C(pos))
|
|
||||||
{
|
|
||||||
- int j = p_176536_5_ + p_176536_4_.nextInt(5) / 4;
|
|
||||||
+ int j = age + random.nextInt(5) / 4;
|
|
||||||
|
|
||||||
if (j > 15)
|
|
||||||
{
|
|
||||||
j = 15;
|
|
||||||
}
|
|
||||||
|
|
||||||
- p_176536_1_.func_180501_a(p_176536_2_, this.func_176223_P().func_177226_a(field_176543_a, Integer.valueOf(j)), 3);
|
|
||||||
+ worldIn.func_180501_a(pos, this.func_176223_P().func_177226_a(field_176543_a, Integer.valueOf(j)), 3);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
- p_176536_1_.func_175698_g(p_176536_2_);
|
|
||||||
+ worldIn.func_175698_g(pos);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (iblockstate.func_177230_c() == Blocks.field_150335_W)
|
|
||||||
{
|
|
||||||
- Blocks.field_150335_W.func_176206_d(p_176536_1_, p_176536_2_, iblockstate.func_177226_a(BlockTNT.field_176246_a, Boolean.valueOf(true)));
|
|
||||||
+ Blocks.field_150335_W.func_176206_d(worldIn, pos, iblockstate.func_177226_a(BlockTNT.field_176246_a, Boolean.valueOf(true)));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -290,7 +302,7 @@
|
|
||||||
{
|
{
|
||||||
for (EnumFacing enumfacing : EnumFacing.values())
|
for (EnumFacing enumfacing : EnumFacing.values())
|
||||||
{
|
{
|
||||||
@@ -148,16 +118,16 @@
|
|||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -311,7 +323,7 @@
|
@@ -313,7 +325,7 @@
|
||||||
|
|
||||||
for (EnumFacing enumfacing : EnumFacing.values())
|
for (EnumFacing enumfacing : EnumFacing.values())
|
||||||
{
|
{
|
||||||
- i = Math.max(this.func_176534_d(p_176538_1_.func_180495_p(p_176538_2_.func_177972_a(enumfacing)).func_177230_c()), i);
|
- i = Math.max(this.func_176534_d(p_176538_1_.func_180495_p(p_176538_2_.func_177972_a(enumfacing)).func_177230_c()), i);
|
||||||
+ i = Math.max(p_176538_1_.func_180495_p(p_176538_2_.func_177972_a(enumfacing)).func_177230_c().getFlammability(p_176538_1_, p_176538_2_.func_177972_a(enumfacing), enumfacing.func_176734_d()), i);
|
+ i = Math.max(p_176538_1_.func_180495_p(p_176538_2_.func_177972_a(enumfacing)).func_177230_c().getFireSpreadSpeed(p_176538_1_, p_176538_2_.func_177972_a(enumfacing), enumfacing.func_176734_d()), i);
|
||||||
}
|
}
|
||||||
|
|
||||||
return i;
|
return i;
|
||||||
@@ -323,9 +335,10 @@
|
@@ -325,9 +337,10 @@
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -169,7 +139,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
public boolean func_176196_c(World p_176196_1_, BlockPos p_176196_2_)
|
public boolean func_176196_c(World p_176196_1_, BlockPos p_176196_2_)
|
||||||
@@ -364,9 +377,9 @@
|
@@ -366,9 +379,9 @@
|
||||||
p_180655_2_.func_184134_a((double)((float)p_180655_3_.func_177958_n() + 0.5F), (double)((float)p_180655_3_.func_177956_o() + 0.5F), (double)((float)p_180655_3_.func_177952_p() + 0.5F), SoundEvents.field_187643_bs, SoundCategory.BLOCKS, 1.0F + p_180655_4_.nextFloat(), p_180655_4_.nextFloat() * 0.7F + 0.3F, false);
|
p_180655_2_.func_184134_a((double)((float)p_180655_3_.func_177958_n() + 0.5F), (double)((float)p_180655_3_.func_177956_o() + 0.5F), (double)((float)p_180655_3_.func_177952_p() + 0.5F), SoundEvents.field_187643_bs, SoundCategory.BLOCKS, 1.0F + p_180655_4_.nextFloat(), p_180655_4_.nextFloat() * 0.7F + 0.3F, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -181,7 +151,7 @@
|
|||||||
{
|
{
|
||||||
for (int j = 0; j < 2; ++j)
|
for (int j = 0; j < 2; ++j)
|
||||||
{
|
{
|
||||||
@@ -377,7 +390,7 @@
|
@@ -379,7 +392,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -190,7 +160,7 @@
|
|||||||
{
|
{
|
||||||
for (int k = 0; k < 2; ++k)
|
for (int k = 0; k < 2; ++k)
|
||||||
{
|
{
|
||||||
@@ -388,7 +401,7 @@
|
@@ -390,7 +403,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -199,7 +169,7 @@
|
|||||||
{
|
{
|
||||||
for (int l = 0; l < 2; ++l)
|
for (int l = 0; l < 2; ++l)
|
||||||
{
|
{
|
||||||
@@ -399,7 +412,7 @@
|
@@ -401,7 +414,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -208,7 +178,7 @@
|
|||||||
{
|
{
|
||||||
for (int i1 = 0; i1 < 2; ++i1)
|
for (int i1 = 0; i1 < 2; ++i1)
|
||||||
{
|
{
|
||||||
@@ -410,7 +423,7 @@
|
@@ -412,7 +425,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -217,7 +187,7 @@
|
|||||||
{
|
{
|
||||||
for (int j1 = 0; j1 < 2; ++j1)
|
for (int j1 = 0; j1 < 2; ++j1)
|
||||||
{
|
{
|
||||||
@@ -458,4 +471,19 @@
|
@@ -460,4 +473,19 @@
|
||||||
{
|
{
|
||||||
return new BlockStateContainer(this, new IProperty[] {field_176543_a, field_176545_N, field_176546_O, field_176541_P, field_176539_Q, field_176542_R});
|
return new BlockStateContainer(this, new IProperty[] {field_176543_a, field_176545_N, field_176546_O, field_176541_P, field_176539_Q, field_176542_R});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockFlowerPot.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockFlowerPot.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockFlowerPot.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockFlowerPot.java
|
||||||
@@ -148,13 +148,6 @@
|
@@ -151,13 +151,6 @@
|
||||||
|
|
||||||
public void func_180663_b(World p_180663_1_, BlockPos p_180663_2_, IBlockState p_180663_3_)
|
public void func_180663_b(World p_180663_1_, BlockPos p_180663_2_, IBlockState p_180663_3_)
|
||||||
{
|
{
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
super.func_180663_b(p_180663_1_, p_180663_2_, p_180663_3_);
|
super.func_180663_b(p_180663_1_, p_180663_2_, p_180663_3_);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -374,6 +367,31 @@
|
@@ -379,6 +372,31 @@
|
||||||
return BlockRenderLayer.CUTOUT;
|
return BlockRenderLayer.CUTOUT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockGrass.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockGrass.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockGrass.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockGrass.java
|
||||||
@@ -38,7 +38,7 @@
|
@@ -39,7 +39,7 @@
|
||||||
{
|
{
|
||||||
if (!p_180650_1_.field_72995_K)
|
if (!p_180650_1_.field_72995_K)
|
||||||
{
|
{
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
{
|
{
|
||||||
p_180650_1_.func_175656_a(p_180650_2_, Blocks.field_150346_d.func_176223_P());
|
p_180650_1_.func_175656_a(p_180650_2_, Blocks.field_150346_d.func_176223_P());
|
||||||
}
|
}
|
||||||
@@ -58,7 +58,7 @@
|
@@ -59,7 +59,7 @@
|
||||||
IBlockState iblockstate = p_180650_1_.func_180495_p(blockpos.func_177984_a());
|
IBlockState iblockstate = p_180650_1_.func_180495_p(blockpos.func_177984_a());
|
||||||
IBlockState iblockstate1 = p_180650_1_.func_180495_p(blockpos);
|
IBlockState iblockstate1 = p_180650_1_.func_180495_p(blockpos);
|
||||||
|
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
{
|
{
|
||||||
p_180650_1_.func_175656_a(blockpos, Blocks.field_150349_c.func_176223_P());
|
p_180650_1_.func_175656_a(blockpos, Blocks.field_150349_c.func_176223_P());
|
||||||
}
|
}
|
||||||
@@ -96,7 +96,7 @@
|
@@ -98,18 +98,11 @@
|
||||||
{
|
{
|
||||||
if (j >= i / 16)
|
if (j >= i / 16)
|
||||||
{
|
{
|
||||||
@@ -27,3 +27,15 @@
|
|||||||
{
|
{
|
||||||
if (p_176474_2_.nextInt(8) == 0)
|
if (p_176474_2_.nextInt(8) == 0)
|
||||||
{
|
{
|
||||||
|
- BlockFlower.EnumFlowerType blockflower$enumflowertype = p_176474_1_.func_180494_b(blockpos1).func_180623_a(p_176474_2_, blockpos1);
|
||||||
|
- BlockFlower blockflower = blockflower$enumflowertype.func_176964_a().func_180346_a();
|
||||||
|
- IBlockState iblockstate = blockflower.func_176223_P().func_177226_a(blockflower.func_176494_l(), blockflower$enumflowertype);
|
||||||
|
-
|
||||||
|
- if (blockflower.func_180671_f(p_176474_1_, blockpos1, iblockstate))
|
||||||
|
- {
|
||||||
|
- p_176474_1_.func_180501_a(blockpos1, iblockstate, 3);
|
||||||
|
- }
|
||||||
|
+ p_176474_1_.func_180494_b(blockpos1).plantFlower(p_176474_1_, p_176474_2_, blockpos1);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockHugeMushroom.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockHugeMushroom.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockHugeMushroom.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockHugeMushroom.java
|
||||||
@@ -221,6 +221,20 @@
|
@@ -223,6 +223,20 @@
|
||||||
return new BlockStateContainer(this, new IProperty[] {field_176380_a});
|
return new BlockStateContainer(this, new IProperty[] {field_176380_a});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockIce.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockIce.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockIce.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockIce.java
|
||||||
@@ -40,14 +40,19 @@
|
@@ -41,14 +41,19 @@
|
||||||
p_180657_2_.func_71029_a(StatList.func_188055_a(this));
|
p_180657_2_.func_71029_a(StatList.func_188055_a(this));
|
||||||
p_180657_2_.func_71020_j(0.025F);
|
p_180657_2_.func_71020_j(0.025F);
|
||||||
|
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -58,7 +63,9 @@
|
@@ -59,7 +64,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
int i = EnchantmentHelper.func_77506_a(Enchantments.field_185308_t, p_180657_6_);
|
int i = EnchantmentHelper.func_77506_a(Enchantments.field_185308_t, p_180657_6_);
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockLeaves.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockLeaves.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockLeaves.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockLeaves.java
|
||||||
@@ -17,7 +17,7 @@
|
@@ -18,7 +18,7 @@
|
||||||
import net.minecraftforge.fml.relauncher.Side;
|
import net.minecraftforge.fml.relauncher.Side;
|
||||||
import net.minecraftforge.fml.relauncher.SideOnly;
|
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||||
|
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
{
|
{
|
||||||
public static final PropertyBool field_176237_a = PropertyBool.func_177716_a("decayable");
|
public static final PropertyBool field_176237_a = PropertyBool.func_177716_a("decayable");
|
||||||
public static final PropertyBool field_176236_b = PropertyBool.func_177716_a("check_decay");
|
public static final PropertyBool field_176236_b = PropertyBool.func_177716_a("check_decay");
|
||||||
@@ -53,9 +53,9 @@
|
@@ -54,9 +54,9 @@
|
||||||
BlockPos blockpos = p_180663_2_.func_177982_a(j1, k1, l1);
|
BlockPos blockpos = p_180663_2_.func_177982_a(j1, k1, l1);
|
||||||
IBlockState iblockstate = p_180663_1_.func_180495_p(blockpos);
|
IBlockState iblockstate = p_180663_1_.func_180495_p(blockpos);
|
||||||
|
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -96,9 +96,9 @@
|
@@ -97,9 +97,9 @@
|
||||||
IBlockState iblockstate = p_180650_1_.func_180495_p(blockpos$mutableblockpos.func_181079_c(k + i2, l + j2, i1 + k2));
|
IBlockState iblockstate = p_180650_1_.func_180495_p(blockpos$mutableblockpos.func_181079_c(k + i2, l + j2, i1 + k2));
|
||||||
Block block = iblockstate.func_177230_c();
|
Block block = iblockstate.func_177230_c();
|
||||||
|
|
||||||
@@ -31,9 +31,9 @@
|
|||||||
- if (iblockstate.func_185904_a() == Material.field_151584_j)
|
- if (iblockstate.func_185904_a() == Material.field_151584_j)
|
||||||
+ if (block.isLeaves(iblockstate, p_180650_1_, blockpos$mutableblockpos.func_181079_c(k + i2, l + j2, i1 + k2)))
|
+ if (block.isLeaves(iblockstate, p_180650_1_, blockpos$mutableblockpos.func_181079_c(k + i2, l + j2, i1 + k2)))
|
||||||
{
|
{
|
||||||
this.field_150128_a[(i2 + l1) * k1 + (j2 + l1) * j1 + k2 + l1] = -2;
|
this.field_150128_a[(i2 + 16) * 1024 + (j2 + 16) * 32 + k2 + 16] = -2;
|
||||||
}
|
}
|
||||||
@@ -205,40 +205,7 @@
|
@@ -207,40 +207,7 @@
|
||||||
|
|
||||||
public void func_180653_a(World p_180653_1_, BlockPos p_180653_2_, IBlockState p_180653_3_, float p_180653_4_, int p_180653_5_)
|
public void func_180653_a(World p_180653_1_, BlockPos p_180653_2_, IBlockState p_180653_3_, float p_180653_4_, int p_180653_5_)
|
||||||
{
|
{
|
||||||
@@ -75,7 +75,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected void func_176234_a(World p_176234_1_, BlockPos p_176234_2_, IBlockState p_176234_3_, int p_176234_4_)
|
protected void func_176234_a(World p_176234_1_, BlockPos p_176234_2_, IBlockState p_176234_3_, int p_176234_4_)
|
||||||
@@ -274,6 +241,49 @@
|
@@ -276,6 +243,49 @@
|
||||||
|
|
||||||
public abstract BlockPlanks.EnumType func_176233_b(int p_176233_1_);
|
public abstract BlockPlanks.EnumType func_176233_b(int p_176233_1_);
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockLever.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockLever.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockLever.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockLever.java
|
||||||
@@ -295,6 +295,12 @@
|
@@ -297,6 +297,12 @@
|
||||||
return new BlockStateContainer(this, new IProperty[] {field_176360_a, field_176359_b});
|
return new BlockStateContainer(this, new IProperty[] {field_176360_a, field_176359_b});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockMobSpawner.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockMobSpawner.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockMobSpawner.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockMobSpawner.java
|
||||||
@@ -39,10 +39,14 @@
|
@@ -41,10 +41,14 @@
|
||||||
public void func_180653_a(World p_180653_1_, BlockPos p_180653_2_, IBlockState p_180653_3_, float p_180653_4_, int p_180653_5_)
|
public void func_180653_a(World p_180653_1_, BlockPos p_180653_2_, IBlockState p_180653_3_, float p_180653_4_, int p_180653_5_)
|
||||||
{
|
{
|
||||||
super.func_180653_a(p_180653_1_, p_180653_2_, p_180653_3_, p_180653_4_, p_180653_5_);
|
super.func_180653_a(p_180653_1_, p_180653_2_, p_180653_3_, p_180653_4_, p_180653_5_);
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockMycelium.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockMycelium.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockMycelium.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockMycelium.java
|
||||||
@@ -39,7 +39,7 @@
|
@@ -40,7 +40,7 @@
|
||||||
{
|
{
|
||||||
if (!p_180650_1_.field_72995_K)
|
if (!p_180650_1_.field_72995_K)
|
||||||
{
|
{
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
{
|
{
|
||||||
p_180650_1_.func_175656_a(p_180650_2_, Blocks.field_150346_d.func_176223_P().func_177226_a(BlockDirt.field_176386_a, BlockDirt.DirtType.DIRT));
|
p_180650_1_.func_175656_a(p_180650_2_, Blocks.field_150346_d.func_176223_P().func_177226_a(BlockDirt.field_176386_a, BlockDirt.DirtType.DIRT));
|
||||||
}
|
}
|
||||||
@@ -53,7 +53,7 @@
|
@@ -54,7 +54,7 @@
|
||||||
IBlockState iblockstate = p_180650_1_.func_180495_p(blockpos);
|
IBlockState iblockstate = p_180650_1_.func_180495_p(blockpos);
|
||||||
IBlockState iblockstate1 = p_180650_1_.func_180495_p(blockpos.func_177984_a());
|
IBlockState iblockstate1 = p_180650_1_.func_180495_p(blockpos.func_177984_a());
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockNetherWart.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockNetherWart.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockNetherWart.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockNetherWart.java
|
||||||
@@ -42,7 +42,7 @@
|
@@ -43,25 +43,28 @@
|
||||||
|
|
||||||
public boolean func_180671_f(World p_180671_1_, BlockPos p_180671_2_, IBlockState p_180671_3_)
|
public boolean func_180671_f(World p_180671_1_, BlockPos p_180671_2_, IBlockState p_180671_3_)
|
||||||
{
|
{
|
||||||
@@ -9,7 +9,17 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void func_180650_b(World p_180650_1_, BlockPos p_180650_2_, IBlockState p_180650_3_, Random p_180650_4_)
|
public void func_180650_b(World p_180650_1_, BlockPos p_180650_2_, IBlockState p_180650_3_, Random p_180650_4_)
|
||||||
@@ -58,9 +58,11 @@
|
{
|
||||||
|
int i = ((Integer)p_180650_3_.func_177229_b(field_176486_a)).intValue();
|
||||||
|
|
||||||
|
- if (i < 3 && p_180650_4_.nextInt(10) == 0)
|
||||||
|
+ if (i < 3 && net.minecraftforge.common.ForgeHooks.onCropsGrowPre(p_180650_1_, p_180650_2_, p_180650_3_, p_180650_4_.nextInt(10) == 0))
|
||||||
|
{
|
||||||
|
p_180650_3_ = p_180650_3_.func_177226_a(field_176486_a, Integer.valueOf(i + 1));
|
||||||
|
p_180650_1_.func_180501_a(p_180650_2_, p_180650_3_, 2);
|
||||||
|
+ net.minecraftforge.common.ForgeHooks.onCropsGrowPost(p_180650_1_, p_180650_2_, p_180650_3_, p_180650_1_.func_180495_p(p_180650_2_));
|
||||||
|
}
|
||||||
|
|
||||||
super.func_180650_b(p_180650_1_, p_180650_2_, p_180650_3_, p_180650_4_);
|
super.func_180650_b(p_180650_1_, p_180650_2_, p_180650_3_, p_180650_4_);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -22,7 +32,7 @@
|
|||||||
{
|
{
|
||||||
int i = 1;
|
int i = 1;
|
||||||
|
|
||||||
@@ -106,6 +108,26 @@
|
@@ -108,6 +111,26 @@
|
||||||
return ((Integer)p_176201_1_.func_177229_b(field_176486_a)).intValue();
|
return ((Integer)p_176201_1_.func_177229_b(field_176486_a)).intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,15 +1,15 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockNewLeaf.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockNewLeaf.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockNewLeaf.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockNewLeaf.java
|
||||||
@@ -98,7 +98,7 @@
|
@@ -99,7 +99,7 @@
|
||||||
|
|
||||||
public void func_180657_a(World p_180657_1_, EntityPlayer p_180657_2_, BlockPos p_180657_3_, IBlockState p_180657_4_, TileEntity p_180657_5_, ItemStack p_180657_6_)
|
public void func_180657_a(World p_180657_1_, EntityPlayer p_180657_2_, BlockPos p_180657_3_, IBlockState p_180657_4_, @Nullable TileEntity p_180657_5_, @Nullable ItemStack p_180657_6_)
|
||||||
{
|
{
|
||||||
- if (!p_180657_1_.field_72995_K && p_180657_6_ != null && p_180657_6_.func_77973_b() == Items.field_151097_aZ)
|
- if (!p_180657_1_.field_72995_K && p_180657_6_ != null && p_180657_6_.func_77973_b() == Items.field_151097_aZ)
|
||||||
+ if (false && !p_180657_1_.field_72995_K && p_180657_6_ != null && p_180657_6_.func_77973_b() == Items.field_151097_aZ) //Forge: Noop this
|
+ if (false && !p_180657_1_.field_72995_K && p_180657_6_ != null && p_180657_6_.func_77973_b() == Items.field_151097_aZ) //Forge: Noop this
|
||||||
{
|
{
|
||||||
p_180657_2_.func_71029_a(StatList.func_188055_a(this));
|
p_180657_2_.func_71029_a(StatList.func_188055_a(this));
|
||||||
func_180635_a(p_180657_1_, p_180657_3_, new ItemStack(Item.func_150898_a(this), 1, ((BlockPlanks.EnumType)p_180657_4_.func_177229_b(field_176240_P)).func_176839_a() - 4));
|
func_180635_a(p_180657_1_, p_180657_3_, new ItemStack(Item.func_150898_a(this), 1, ((BlockPlanks.EnumType)p_180657_4_.func_177229_b(field_176240_P)).func_176839_a() - 4));
|
||||||
@@ -108,4 +108,10 @@
|
@@ -109,4 +109,10 @@
|
||||||
super.func_180657_a(p_180657_1_, p_180657_2_, p_180657_3_, p_180657_4_, p_180657_5_, p_180657_6_);
|
super.func_180657_a(p_180657_1_, p_180657_2_, p_180657_3_, p_180657_4_, p_180657_5_, p_180657_6_);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockNote.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockNote.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockNote.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockNote.java
|
||||||
@@ -64,7 +64,9 @@
|
@@ -65,7 +65,9 @@
|
||||||
if (tileentity instanceof TileEntityNote)
|
if (tileentity instanceof TileEntityNote)
|
||||||
{
|
{
|
||||||
TileEntityNote tileentitynote = (TileEntityNote)tileentity;
|
TileEntityNote tileentitynote = (TileEntityNote)tileentity;
|
||||||
@@ -10,14 +10,14 @@
|
|||||||
tileentitynote.func_175108_a(p_180639_1_, p_180639_2_);
|
tileentitynote.func_175108_a(p_180639_1_, p_180639_2_);
|
||||||
p_180639_4_.func_71029_a(StatList.field_188087_U);
|
p_180639_4_.func_71029_a(StatList.field_188087_U);
|
||||||
}
|
}
|
||||||
@@ -104,6 +106,10 @@
|
@@ -105,6 +107,10 @@
|
||||||
|
|
||||||
public boolean func_180648_a(World p_180648_1_, BlockPos p_180648_2_, IBlockState p_180648_3_, int p_180648_4_, int p_180648_5_)
|
public boolean func_189539_a(IBlockState p_189539_1_, World p_189539_2_, BlockPos p_189539_3_, int p_189539_4_, int p_189539_5_)
|
||||||
{
|
{
|
||||||
+ net.minecraftforge.event.world.NoteBlockEvent.Play e = new net.minecraftforge.event.world.NoteBlockEvent.Play(p_180648_1_, p_180648_2_, p_180648_3_, p_180648_5_, p_180648_4_);
|
+ net.minecraftforge.event.world.NoteBlockEvent.Play e = new net.minecraftforge.event.world.NoteBlockEvent.Play(p_189539_2_, p_189539_3_, p_189539_1_, p_189539_5_, p_189539_4_);
|
||||||
+ if (net.minecraftforge.common.MinecraftForge.EVENT_BUS.post(e)) return false;
|
+ if (net.minecraftforge.common.MinecraftForge.EVENT_BUS.post(e)) return false;
|
||||||
+ p_180648_4_ = e.getInstrument().ordinal();
|
+ p_189539_4_ = e.getInstrument().ordinal();
|
||||||
+ p_180648_5_ = e.getVanillaNoteId();
|
+ p_189539_5_ = e.getVanillaNoteId();
|
||||||
float f = (float)Math.pow(2.0D, (double)(p_180648_5_ - 12) / 12.0D);
|
float f = (float)Math.pow(2.0D, (double)(p_189539_5_ - 12) / 12.0D);
|
||||||
p_180648_1_.func_184133_a((EntityPlayer)null, p_180648_2_, this.func_185576_e(p_180648_4_), SoundCategory.BLOCKS, 3.0F, f);
|
p_189539_2_.func_184133_a((EntityPlayer)null, p_189539_3_, this.func_185576_e(p_189539_4_), SoundCategory.RECORDS, 3.0F, f);
|
||||||
p_180648_1_.func_175688_a(EnumParticleTypes.NOTE, (double)p_180648_2_.func_177958_n() + 0.5D, (double)p_180648_2_.func_177956_o() + 1.2D, (double)p_180648_2_.func_177952_p() + 0.5D, (double)p_180648_5_ / 24.0D, 0.0D, 0.0D, new int[0]);
|
p_189539_2_.func_175688_a(EnumParticleTypes.NOTE, (double)p_189539_3_.func_177958_n() + 0.5D, (double)p_189539_3_.func_177956_o() + 1.2D, (double)p_189539_3_.func_177952_p() + 0.5D, (double)p_189539_5_ / 24.0D, 0.0D, 0.0D, new int[0]);
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockOldLeaf.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockOldLeaf.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockOldLeaf.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockOldLeaf.java
|
||||||
@@ -103,11 +103,16 @@
|
@@ -104,11 +104,16 @@
|
||||||
if (!p_180657_1_.field_72995_K && p_180657_6_ != null && p_180657_6_.func_77973_b() == Items.field_151097_aZ)
|
if (!p_180657_1_.field_72995_K && p_180657_6_ != null && p_180657_6_.func_77973_b() == Items.field_151097_aZ)
|
||||||
{
|
{
|
||||||
p_180657_2_.func_71029_a(StatList.func_188055_a(this));
|
p_180657_2_.func_71029_a(StatList.func_188055_a(this));
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockOre.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockOre.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockOre.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockOre.java
|
||||||
@@ -59,34 +59,39 @@
|
@@ -61,34 +61,39 @@
|
||||||
public void func_180653_a(World p_180653_1_, BlockPos p_180653_2_, IBlockState p_180653_3_, float p_180653_4_, int p_180653_5_)
|
public void func_180653_a(World p_180653_1_, BlockPos p_180653_2_, IBlockState p_180653_3_, float p_180653_4_, int p_180653_5_)
|
||||||
{
|
{
|
||||||
super.func_180653_a(p_180653_1_, p_180653_2_, p_180653_3_, p_180653_4_, p_180653_5_);
|
super.func_180653_a(p_180653_1_, p_180653_2_, p_180653_3_, p_180653_4_, p_180653_5_);
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockPane.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockPane.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockPane.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockPane.java
|
||||||
@@ -105,7 +105,10 @@
|
@@ -106,7 +106,10 @@
|
||||||
|
|
||||||
public IBlockState func_176221_a(IBlockState p_176221_1_, IBlockAccess p_176221_2_, BlockPos p_176221_3_)
|
public IBlockState func_176221_a(IBlockState p_176221_1_, IBlockAccess p_176221_2_, BlockPos p_176221_3_)
|
||||||
{
|
{
|
||||||
@@ -11,8 +11,8 @@
|
|||||||
+ .func_177226_a(field_176242_M, canPaneConnectTo(p_176221_2_, p_176221_3_, EnumFacing.EAST));
|
+ .func_177226_a(field_176242_M, canPaneConnectTo(p_176221_2_, p_176221_3_, EnumFacing.EAST));
|
||||||
}
|
}
|
||||||
|
|
||||||
public Item func_180660_a(IBlockState p_180660_1_, Random p_180660_2_, int p_180660_3_)
|
@Nullable
|
||||||
@@ -182,4 +185,11 @@
|
@@ -184,4 +187,11 @@
|
||||||
{
|
{
|
||||||
return new BlockStateContainer(this, new IProperty[] {field_176241_b, field_176242_M, field_176244_O, field_176243_N});
|
return new BlockStateContainer(this, new IProperty[] {field_176241_b, field_176242_M, field_176244_O, field_176243_N});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,15 +1,15 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockPistonBase.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockPistonBase.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockPistonBase.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockPistonBase.java
|
||||||
@@ -235,7 +235,7 @@
|
@@ -236,7 +236,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
- if (!flag1 && iblockstate.func_185904_a() != Material.field_151579_a && func_185646_a(iblockstate, p_180648_1_, blockpos, enumfacing.func_176734_d(), false) && (iblockstate.func_185905_o() == EnumPushReaction.NORMAL || block == Blocks.field_150331_J || block == Blocks.field_150320_F))
|
- if (!flag1 && iblockstate.func_185904_a() != Material.field_151579_a && func_185646_a(iblockstate, p_189539_2_, blockpos, enumfacing.func_176734_d(), false) && (iblockstate.func_185905_o() == EnumPushReaction.NORMAL || block == Blocks.field_150331_J || block == Blocks.field_150320_F))
|
||||||
+ if (!flag1 && !iblockstate.func_177230_c().isAir(iblockstate, p_180648_1_, blockpos) && func_185646_a(iblockstate, p_180648_1_, blockpos, enumfacing.func_176734_d(), false) && (iblockstate.func_185905_o() == EnumPushReaction.NORMAL || block == Blocks.field_150331_J || block == Blocks.field_150320_F))
|
+ if (!flag1 && !iblockstate.func_177230_c().isAir(iblockstate, p_189539_2_, p_189539_3_) && func_185646_a(iblockstate, p_189539_2_, blockpos, enumfacing.func_176734_d(), false) && (iblockstate.func_185905_o() == EnumPushReaction.NORMAL || block == Blocks.field_150331_J || block == Blocks.field_150320_F))
|
||||||
{
|
{
|
||||||
this.func_176319_a(p_180648_1_, p_180648_2_, enumfacing, false);
|
this.func_176319_a(p_189539_2_, p_189539_3_, enumfacing, false);
|
||||||
}
|
}
|
||||||
@@ -320,7 +320,7 @@
|
@@ -322,7 +322,7 @@
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -366,7 +366,9 @@
|
@@ -368,7 +368,9 @@
|
||||||
{
|
{
|
||||||
BlockPos blockpos1 = (BlockPos)list2.get(j);
|
BlockPos blockpos1 = (BlockPos)list2.get(j);
|
||||||
IBlockState iblockstate = p_176319_1_.func_180495_p(blockpos1);
|
IBlockState iblockstate = p_176319_1_.func_180495_p(blockpos1);
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockPistonMoving.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockPistonMoving.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockPistonMoving.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockPistonMoving.java
|
||||||
@@ -110,7 +110,7 @@
|
@@ -112,7 +112,7 @@
|
||||||
|
|
||||||
public void func_180653_a(World p_180653_1_, BlockPos p_180653_2_, IBlockState p_180653_3_, float p_180653_4_, int p_180653_5_)
|
public void func_180653_a(World p_180653_1_, BlockPos p_180653_2_, IBlockState p_180653_3_, float p_180653_4_, int p_180653_5_)
|
||||||
{
|
{
|
||||||
@@ -9,15 +9,15 @@
|
|||||||
{
|
{
|
||||||
TileEntityPiston tileentitypiston = this.func_185589_c(p_180653_1_, p_180653_2_);
|
TileEntityPiston tileentitypiston = this.func_185589_c(p_180653_1_, p_180653_2_);
|
||||||
|
|
||||||
@@ -120,6 +120,7 @@
|
@@ -122,6 +122,7 @@
|
||||||
iblockstate.func_177230_c().func_176226_b(p_180653_1_, p_180653_2_, iblockstate, 0);
|
iblockstate.func_177230_c().func_176226_b(p_180653_1_, p_180653_2_, iblockstate, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+ super.func_180653_a(p_180653_1_, p_180653_2_, p_180653_3_, p_180653_4_, p_180653_5_);
|
+ super.func_180653_a(p_180653_1_, p_180653_2_, p_180653_3_, 1, p_180653_5_); // mimic vanilla behavior from above and ignore chance
|
||||||
}
|
}
|
||||||
|
|
||||||
public RayTraceResult func_180636_a(IBlockState p_180636_1_, World p_180636_2_, BlockPos p_180636_3_, Vec3d p_180636_4_, Vec3d p_180636_5_)
|
public RayTraceResult func_180636_a(IBlockState p_180636_1_, World p_180636_2_, BlockPos p_180636_3_, Vec3d p_180636_4_, Vec3d p_180636_5_)
|
||||||
@@ -190,4 +191,16 @@
|
@@ -195,4 +196,16 @@
|
||||||
{
|
{
|
||||||
return new BlockStateContainer(this, new IProperty[] {field_176426_a, field_176425_b});
|
return new BlockStateContainer(this, new IProperty[] {field_176426_a, field_176425_b});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockPumpkin.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockPumpkin.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockPumpkin.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockPumpkin.java
|
||||||
@@ -117,7 +117,7 @@
|
@@ -124,7 +124,7 @@
|
||||||
|
|
||||||
public boolean func_176196_c(World p_176196_1_, BlockPos p_176196_2_)
|
public boolean func_176196_c(World p_176196_1_, BlockPos p_176196_2_)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockQuartz.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockQuartz.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockQuartz.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockQuartz.java
|
||||||
@@ -113,6 +113,26 @@
|
@@ -110,6 +110,26 @@
|
||||||
return new BlockStateContainer(this, new IProperty[] {field_176335_a});
|
return new BlockStateContainer(this, new IProperty[] {field_176335_a});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -9,46 +9,46 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected BlockRailBase(boolean p_i45389_1_)
|
protected BlockRailBase(boolean p_i45389_1_)
|
||||||
@@ -65,7 +65,7 @@
|
@@ -66,7 +66,7 @@
|
||||||
|
|
||||||
public boolean func_176196_c(World p_176196_1_, BlockPos p_176196_2_)
|
public boolean func_176196_c(World p_176196_1_, BlockPos p_176196_2_)
|
||||||
{
|
{
|
||||||
- return p_176196_1_.func_180495_p(p_176196_2_.func_177977_b()).func_185896_q();
|
- return p_176196_1_.func_180495_p(p_176196_2_.func_177977_b()).func_185896_q();
|
||||||
+ return p_176196_1_.func_180495_p(p_176196_2_.func_177977_b()).isSideSolid(p_176196_1_, p_176196_2_, EnumFacing.UP);
|
+ return p_176196_1_.func_180495_p(p_176196_2_.func_177977_b()).isSideSolid(p_176196_1_, p_176196_2_.func_177977_b(), EnumFacing.UP);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void func_176213_c(World p_176213_1_, BlockPos p_176213_2_, IBlockState p_176213_3_)
|
public void func_176213_c(World p_176213_1_, BlockPos p_176213_2_, IBlockState p_176213_3_)
|
||||||
@@ -88,24 +88,24 @@
|
@@ -89,24 +89,24 @@
|
||||||
BlockRailBase.EnumRailDirection blockrailbase$enumraildirection = (BlockRailBase.EnumRailDirection)p_176204_3_.func_177229_b(this.func_176560_l());
|
BlockRailBase.EnumRailDirection blockrailbase$enumraildirection = (BlockRailBase.EnumRailDirection)p_189540_1_.func_177229_b(this.func_176560_l());
|
||||||
boolean flag = false;
|
boolean flag = false;
|
||||||
|
|
||||||
- if (!p_176204_1_.func_180495_p(p_176204_2_.func_177977_b()).func_185896_q())
|
- if (!p_189540_2_.func_180495_p(p_189540_3_.func_177977_b()).func_185896_q())
|
||||||
+ if (!p_176204_1_.func_180495_p(p_176204_2_.func_177977_b()).isSideSolid(p_176204_1_, p_176204_2_.func_177977_b(), EnumFacing.UP))
|
+ if (!p_189540_2_.func_180495_p(p_189540_3_.func_177977_b()).isSideSolid(p_189540_2_, p_189540_3_.func_177977_b(), EnumFacing.UP))
|
||||||
{
|
{
|
||||||
flag = true;
|
flag = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
- if (blockrailbase$enumraildirection == BlockRailBase.EnumRailDirection.ASCENDING_EAST && !p_176204_1_.func_180495_p(p_176204_2_.func_177974_f()).func_185896_q())
|
- if (blockrailbase$enumraildirection == BlockRailBase.EnumRailDirection.ASCENDING_EAST && !p_189540_2_.func_180495_p(p_189540_3_.func_177974_f()).func_185896_q())
|
||||||
+ if (blockrailbase$enumraildirection == BlockRailBase.EnumRailDirection.ASCENDING_EAST && !p_176204_1_.func_180495_p(p_176204_2_.func_177974_f()).isSideSolid(p_176204_1_, p_176204_2_.func_177974_f(), EnumFacing.UP))
|
+ if (blockrailbase$enumraildirection == BlockRailBase.EnumRailDirection.ASCENDING_EAST && !p_189540_2_.func_180495_p(p_189540_3_.func_177974_f()).isSideSolid(p_189540_2_, p_189540_3_.func_177974_f(), EnumFacing.UP))
|
||||||
{
|
{
|
||||||
flag = true;
|
flag = true;
|
||||||
}
|
}
|
||||||
- else if (blockrailbase$enumraildirection == BlockRailBase.EnumRailDirection.ASCENDING_WEST && !p_176204_1_.func_180495_p(p_176204_2_.func_177976_e()).func_185896_q())
|
- else if (blockrailbase$enumraildirection == BlockRailBase.EnumRailDirection.ASCENDING_WEST && !p_189540_2_.func_180495_p(p_189540_3_.func_177976_e()).func_185896_q())
|
||||||
+ else if (blockrailbase$enumraildirection == BlockRailBase.EnumRailDirection.ASCENDING_WEST && !p_176204_1_.func_180495_p(p_176204_2_.func_177976_e()).isSideSolid(p_176204_1_, p_176204_2_.func_177976_e(), EnumFacing.UP))
|
+ else if (blockrailbase$enumraildirection == BlockRailBase.EnumRailDirection.ASCENDING_WEST && !p_189540_2_.func_180495_p(p_189540_3_.func_177976_e()).isSideSolid(p_189540_2_, p_189540_3_.func_177976_e(), EnumFacing.UP))
|
||||||
{
|
{
|
||||||
flag = true;
|
flag = true;
|
||||||
}
|
}
|
||||||
- else if (blockrailbase$enumraildirection == BlockRailBase.EnumRailDirection.ASCENDING_NORTH && !p_176204_1_.func_180495_p(p_176204_2_.func_177978_c()).func_185896_q())
|
- else if (blockrailbase$enumraildirection == BlockRailBase.EnumRailDirection.ASCENDING_NORTH && !p_189540_2_.func_180495_p(p_189540_3_.func_177978_c()).func_185896_q())
|
||||||
+ else if (blockrailbase$enumraildirection == BlockRailBase.EnumRailDirection.ASCENDING_NORTH && !p_176204_1_.func_180495_p(p_176204_2_.func_177978_c()).isSideSolid(p_176204_1_, p_176204_2_.func_177978_c(), EnumFacing.UP))
|
+ else if (blockrailbase$enumraildirection == BlockRailBase.EnumRailDirection.ASCENDING_NORTH && !p_189540_2_.func_180495_p(p_189540_3_.func_177978_c()).isSideSolid(p_189540_2_, p_189540_3_.func_177978_c(), EnumFacing.UP))
|
||||||
{
|
{
|
||||||
flag = true;
|
flag = true;
|
||||||
}
|
}
|
||||||
- else if (blockrailbase$enumraildirection == BlockRailBase.EnumRailDirection.ASCENDING_SOUTH && !p_176204_1_.func_180495_p(p_176204_2_.func_177968_d()).func_185896_q())
|
- else if (blockrailbase$enumraildirection == BlockRailBase.EnumRailDirection.ASCENDING_SOUTH && !p_189540_2_.func_180495_p(p_189540_3_.func_177968_d()).func_185896_q())
|
||||||
+ else if (blockrailbase$enumraildirection == BlockRailBase.EnumRailDirection.ASCENDING_SOUTH && !p_176204_1_.func_180495_p(p_176204_2_.func_177968_d()).isSideSolid(p_176204_1_, p_176204_2_.func_177968_d(), EnumFacing.UP))
|
+ else if (blockrailbase$enumraildirection == BlockRailBase.EnumRailDirection.ASCENDING_SOUTH && !p_189540_2_.func_180495_p(p_189540_3_.func_177968_d()).isSideSolid(p_189540_2_, p_189540_3_.func_177968_d(), EnumFacing.UP))
|
||||||
{
|
{
|
||||||
flag = true;
|
flag = true;
|
||||||
}
|
}
|
||||||
@@ -160,6 +160,81 @@
|
@@ -161,6 +161,98 @@
|
||||||
|
|
||||||
public abstract IProperty<BlockRailBase.EnumRailDirection> func_176560_l();
|
public abstract IProperty<BlockRailBase.EnumRailDirection> func_176560_l();
|
||||||
|
|
||||||
@@ -57,7 +57,7 @@
|
|||||||
+ * Return true if the rail can make corners.
|
+ * Return true if the rail can make corners.
|
||||||
+ * Used by placement logic.
|
+ * Used by placement logic.
|
||||||
+ * @param world The world.
|
+ * @param world The world.
|
||||||
+ * @param pod Block's position in world
|
+ * @param pos Block's position in world
|
||||||
+ * @return True if the rail can make corners.
|
+ * @return True if the rail can make corners.
|
||||||
+ */
|
+ */
|
||||||
+ public boolean isFlexibleRail(IBlockAccess world, BlockPos pos)
|
+ public boolean isFlexibleRail(IBlockAccess world, BlockPos pos)
|
||||||
@@ -69,7 +69,7 @@
|
|||||||
+ * Returns true if the rail can make up and down slopes.
|
+ * Returns true if the rail can make up and down slopes.
|
||||||
+ * Used by placement logic.
|
+ * Used by placement logic.
|
||||||
+ * @param world The world.
|
+ * @param world The world.
|
||||||
+ * @param pod Block's position in world
|
+ * @param pos Block's position in world
|
||||||
+ * @return True if the rail can make slopes.
|
+ * @return True if the rail can make slopes.
|
||||||
+ */
|
+ */
|
||||||
+ public boolean canMakeSlopes(IBlockAccess world, BlockPos pos)
|
+ public boolean canMakeSlopes(IBlockAccess world, BlockPos pos)
|
||||||
@@ -78,10 +78,27 @@
|
|||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
+ /**
|
+ /**
|
||||||
|
+ * Return the rail's direction.
|
||||||
|
+ * Can be used to make the cart think the rail is a different shape,
|
||||||
|
+ * for example when making diamond junctions or switches.
|
||||||
|
+ * The cart parameter will often be null unless it it called from EntityMinecart.
|
||||||
|
+ *
|
||||||
|
+ * @param world The world.
|
||||||
|
+ * @param pos Block's position in world
|
||||||
|
+ * @param state The BlockState
|
||||||
|
+ * @param cart The cart asking for the metadata, null if it is not called by EntityMinecart.
|
||||||
|
+ * @return The direction.
|
||||||
|
+ */
|
||||||
|
+ public EnumRailDirection getRailDirection(IBlockAccess world, BlockPos pos, IBlockState state, @javax.annotation.Nullable net.minecraft.entity.item.EntityMinecart cart)
|
||||||
|
+ {
|
||||||
|
+ return state.func_177229_b(func_176560_l());
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ /**
|
||||||
+ * Returns the max speed of the rail at the specified position.
|
+ * Returns the max speed of the rail at the specified position.
|
||||||
+ * @param world The world.
|
+ * @param world The world.
|
||||||
+ * @param cart The cart on the rail, may be null.
|
+ * @param cart The cart on the rail, may be null.
|
||||||
+ * @param pod Block's position in world
|
+ * @param pos Block's position in world
|
||||||
+ * @return The max speed of the current rail.
|
+ * @return The max speed of the current rail.
|
||||||
+ */
|
+ */
|
||||||
+ public float getRailMaxSpeed(World world, net.minecraft.entity.item.EntityMinecart cart, BlockPos pos)
|
+ public float getRailMaxSpeed(World world, net.minecraft.entity.item.EntityMinecart cart, BlockPos pos)
|
||||||
@@ -94,7 +111,7 @@
|
|||||||
+ * It is called once per update tick that the minecart is on the rail.
|
+ * It is called once per update tick that the minecart is on the rail.
|
||||||
+ * @param world The world.
|
+ * @param world The world.
|
||||||
+ * @param cart The cart on the rail.
|
+ * @param cart The cart on the rail.
|
||||||
+ * @param pod Block's position in world
|
+ * @param pos Block's position in world
|
||||||
+ */
|
+ */
|
||||||
+ public void onMinecartPass(World world, net.minecraft.entity.item.EntityMinecart cart, BlockPos pos)
|
+ public void onMinecartPass(World world, net.minecraft.entity.item.EntityMinecart cart, BlockPos pos)
|
||||||
+ {
|
+ {
|
||||||
@@ -130,7 +147,7 @@
|
|||||||
public static enum EnumRailDirection implements IStringSerializable
|
public static enum EnumRailDirection implements IStringSerializable
|
||||||
{
|
{
|
||||||
NORTH_SOUTH(0, "north_south"),
|
NORTH_SOUTH(0, "north_south"),
|
||||||
@@ -230,6 +305,7 @@
|
@@ -231,6 +323,7 @@
|
||||||
private IBlockState field_180366_e;
|
private IBlockState field_180366_e;
|
||||||
private final boolean field_150656_f;
|
private final boolean field_150656_f;
|
||||||
private final List<BlockPos> field_150657_g = Lists.<BlockPos>newArrayList();
|
private final List<BlockPos> field_150657_g = Lists.<BlockPos>newArrayList();
|
||||||
@@ -138,17 +155,19 @@
|
|||||||
|
|
||||||
public Rail(World p_i45739_2_, BlockPos p_i45739_3_, IBlockState p_i45739_4_)
|
public Rail(World p_i45739_2_, BlockPos p_i45739_3_, IBlockState p_i45739_4_)
|
||||||
{
|
{
|
||||||
@@ -238,7 +314,8 @@
|
@@ -238,8 +331,9 @@
|
||||||
|
this.field_180367_c = p_i45739_3_;
|
||||||
this.field_180366_e = p_i45739_4_;
|
this.field_180366_e = p_i45739_4_;
|
||||||
this.field_180365_d = (BlockRailBase)p_i45739_4_.func_177230_c();
|
this.field_180365_d = (BlockRailBase)p_i45739_4_.func_177230_c();
|
||||||
BlockRailBase.EnumRailDirection blockrailbase$enumraildirection = (BlockRailBase.EnumRailDirection)p_i45739_4_.func_177229_b(this.field_180365_d.func_176560_l());
|
- BlockRailBase.EnumRailDirection blockrailbase$enumraildirection = (BlockRailBase.EnumRailDirection)p_i45739_4_.func_177229_b(this.field_180365_d.func_176560_l());
|
||||||
- this.field_150656_f = this.field_180365_d.field_150053_a;
|
- this.field_150656_f = this.field_180365_d.field_150053_a;
|
||||||
|
+ BlockRailBase.EnumRailDirection blockrailbase$enumraildirection = field_180365_d.getRailDirection(p_i45739_2_, p_i45739_3_, p_i45739_4_, null);
|
||||||
+ this.field_150656_f = !this.field_180365_d.isFlexibleRail(p_i45739_2_, p_i45739_3_);
|
+ this.field_150656_f = !this.field_180365_d.isFlexibleRail(p_i45739_2_, p_i45739_3_);
|
||||||
+ this.canMakeSlopes = this.field_180365_d.canMakeSlopes(p_i45739_2_, p_i45739_3_);
|
+ this.canMakeSlopes = this.field_180365_d.canMakeSlopes(p_i45739_2_, p_i45739_3_);
|
||||||
this.func_180360_a(blockrailbase$enumraildirection);
|
this.func_180360_a(blockrailbase$enumraildirection);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -429,7 +506,7 @@
|
@@ -431,7 +525,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -157,7 +176,7 @@
|
|||||||
{
|
{
|
||||||
if (BlockRailBase.func_176562_d(this.field_150660_b, blockpos.func_177984_a()))
|
if (BlockRailBase.func_176562_d(this.field_150660_b, blockpos.func_177984_a()))
|
||||||
{
|
{
|
||||||
@@ -442,7 +519,7 @@
|
@@ -444,7 +538,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -166,7 +185,7 @@
|
|||||||
{
|
{
|
||||||
if (BlockRailBase.func_176562_d(this.field_150660_b, blockpos3.func_177984_a()))
|
if (BlockRailBase.func_176562_d(this.field_150660_b, blockpos3.func_177984_a()))
|
||||||
{
|
{
|
||||||
@@ -585,7 +662,7 @@
|
@@ -587,7 +681,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -175,7 +194,7 @@
|
|||||||
{
|
{
|
||||||
if (BlockRailBase.func_176562_d(this.field_150660_b, blockpos.func_177984_a()))
|
if (BlockRailBase.func_176562_d(this.field_150660_b, blockpos.func_177984_a()))
|
||||||
{
|
{
|
||||||
@@ -598,7 +675,7 @@
|
@@ -600,7 +694,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
--- ../src-base/minecraft/net/minecraft/block/BlockRailDetector.java
|
||||||
|
+++ ../src-work/minecraft/net/minecraft/block/BlockRailDetector.java
|
||||||
|
@@ -156,6 +156,8 @@
|
||||||
|
{
|
||||||
|
if (((Boolean)p_180641_1_.func_177229_b(field_176574_M)).booleanValue())
|
||||||
|
{
|
||||||
|
+ List<EntityMinecart> carts = this.func_176571_a(p_180641_2_, p_180641_3_, EntityMinecart.class);
|
||||||
|
+ if (!carts.isEmpty() && carts.get(0).getComparatorLevel() > -1) return carts.get(0).getComparatorLevel();
|
||||||
|
List<EntityMinecartCommandBlock> list = this.<EntityMinecartCommandBlock>func_176571_a(p_180641_2_, p_180641_3_, EntityMinecartCommandBlock.class, new Predicate[0]);
|
||||||
|
|
||||||
|
if (!list.isEmpty())
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockRedstoneComparator.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockRedstoneComparator.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockRedstoneComparator.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockRedstoneComparator.java
|
||||||
@@ -310,6 +310,21 @@
|
@@ -312,6 +312,21 @@
|
||||||
return this.func_176223_P().func_177226_a(field_185512_D, p_180642_8_.func_174811_aO().func_176734_d()).func_177226_a(field_176464_a, Boolean.valueOf(false)).func_177226_a(field_176463_b, BlockRedstoneComparator.Mode.COMPARE);
|
return this.func_176223_P().func_177226_a(field_185512_D, p_180642_8_.func_174811_aO().func_176734_d()).func_177226_a(field_176464_a, Boolean.valueOf(false)).func_177226_a(field_176463_b, BlockRedstoneComparator.Mode.COMPARE);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
+ {
|
+ {
|
||||||
+ if (pos.func_177956_o() == neighbor.func_177956_o() && world instanceof World)
|
+ if (pos.func_177956_o() == neighbor.func_177956_o() && world instanceof World)
|
||||||
+ {
|
+ {
|
||||||
+ func_176204_a((World)world, pos, world.func_180495_p(pos), world.func_180495_p(neighbor).func_177230_c());
|
+ func_189540_a(world.func_180495_p(pos), (World)world, pos, world.func_180495_p(neighbor).func_177230_c());
|
||||||
+ }
|
+ }
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockRedstoneOre.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockRedstoneOre.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockRedstoneOre.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockRedstoneOre.java
|
||||||
@@ -92,12 +92,16 @@
|
@@ -94,12 +94,16 @@
|
||||||
public void func_180653_a(World p_180653_1_, BlockPos p_180653_2_, IBlockState p_180653_3_, float p_180653_4_, int p_180653_5_)
|
public void func_180653_a(World p_180653_1_, BlockPos p_180653_2_, IBlockState p_180653_3_, float p_180653_4_, int p_180653_5_)
|
||||||
{
|
{
|
||||||
super.func_180653_a(p_180653_1_, p_180653_2_, p_180653_3_, p_180653_4_, p_180653_5_);
|
super.func_180653_a(p_180653_1_, p_180653_2_, p_180653_3_, p_180653_4_, p_180653_5_);
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
--- ../src-base/minecraft/net/minecraft/block/BlockRedstoneTorch.java
|
||||||
|
+++ ../src-work/minecraft/net/minecraft/block/BlockRedstoneTorch.java
|
||||||
|
@@ -24,7 +24,7 @@
|
||||||
|
|
||||||
|
public class BlockRedstoneTorch extends BlockTorch
|
||||||
|
{
|
||||||
|
- private static final Map<World, List<BlockRedstoneTorch.Toggle>> field_150112_b = Maps.<World, List<BlockRedstoneTorch.Toggle>>newHashMap();
|
||||||
|
+ private static final Map<World, List<BlockRedstoneTorch.Toggle>> field_150112_b = new java.util.WeakHashMap<World, List<BlockRedstoneTorch.Toggle>>(); // FORGE - fix vanilla MC-101233
|
||||||
|
private final boolean field_150113_a;
|
||||||
|
|
||||||
|
private boolean func_176598_a(World p_176598_1_, BlockPos p_176598_2_, boolean p_176598_3_)
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockRedstoneWire.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockRedstoneWire.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockRedstoneWire.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockRedstoneWire.java
|
||||||
@@ -97,15 +97,15 @@
|
@@ -98,15 +98,15 @@
|
||||||
BlockPos blockpos = p_176341_2_.func_177972_a(p_176341_3_);
|
BlockPos blockpos = p_176341_2_.func_177972_a(p_176341_3_);
|
||||||
IBlockState iblockstate = p_176341_1_.func_180495_p(p_176341_2_.func_177972_a(p_176341_3_));
|
IBlockState iblockstate = p_176341_1_.func_180495_p(p_176341_2_.func_177972_a(p_176341_3_));
|
||||||
|
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
{
|
{
|
||||||
if (iblockstate.func_185898_k())
|
if (iblockstate.func_185898_k())
|
||||||
{
|
{
|
||||||
@@ -406,35 +406,30 @@
|
@@ -409,21 +409,16 @@
|
||||||
IBlockState iblockstate = p_176339_1_.func_180495_p(blockpos);
|
IBlockState iblockstate = p_176339_1_.func_180495_p(blockpos);
|
||||||
boolean flag = iblockstate.func_185915_l();
|
boolean flag = iblockstate.func_185915_l();
|
||||||
boolean flag1 = p_176339_1_.func_180495_p(p_176339_2_.func_177984_a()).func_185915_l();
|
boolean flag1 = p_176339_1_.func_180495_p(p_176339_2_.func_177984_a()).func_185915_l();
|
||||||
@@ -34,32 +34,22 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
- protected static boolean func_176346_d(IBlockState p_176346_0_)
|
- protected static boolean func_176346_d(IBlockState p_176346_0_)
|
||||||
+ protected static boolean canConnectTo(IBlockState blockState, EnumFacing side, IBlockAccess world, BlockPos pos)
|
+ protected static boolean canConnectTo(IBlockState p_176343_0_, @Nullable EnumFacing p_176343_1_, IBlockAccess world, BlockPos pos )
|
||||||
{
|
{
|
||||||
- return func_176343_a(p_176346_0_, (EnumFacing)null);
|
- return func_176343_a(p_176346_0_, (EnumFacing)null);
|
||||||
- }
|
- }
|
||||||
+ Block block = blockState.func_177230_c();
|
|
||||||
|
|
||||||
- protected static boolean func_176343_a(IBlockState p_176343_0_, EnumFacing p_176343_1_)
|
|
||||||
- {
|
|
||||||
- Block block = p_176343_0_.func_177230_c();
|
|
||||||
-
|
-
|
||||||
|
- protected static boolean func_176343_a(IBlockState p_176343_0_, @Nullable EnumFacing p_176343_1_)
|
||||||
|
- {
|
||||||
|
Block block = p_176343_0_.func_177230_c();
|
||||||
|
|
||||||
if (block == Blocks.field_150488_af)
|
if (block == Blocks.field_150488_af)
|
||||||
{
|
@@ -437,7 +432,7 @@
|
||||||
return true;
|
|
||||||
}
|
|
||||||
- else if (Blocks.field_150413_aR.func_185547_C(p_176343_0_))
|
|
||||||
+ else if (Blocks.field_150413_aR.func_185547_C(blockState))
|
|
||||||
{
|
|
||||||
- EnumFacing enumfacing = (EnumFacing)p_176343_0_.func_177229_b(BlockRedstoneRepeater.field_185512_D);
|
|
||||||
- return enumfacing == p_176343_1_ || enumfacing.func_176734_d() == p_176343_1_;
|
|
||||||
+ EnumFacing enumfacing = (EnumFacing)blockState.func_177229_b(BlockRedstoneRepeater.field_185512_D);
|
|
||||||
+ return enumfacing == side || enumfacing.func_176734_d() == side;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
- return p_176343_0_.func_185897_m() && p_176343_1_ != null;
|
- return p_176343_0_.func_185897_m() && p_176343_1_ != null;
|
||||||
+ return blockState.func_177230_c().canConnectRedstone(blockState, world, pos, side);
|
+ return p_176343_0_.func_177230_c().canConnectRedstone(p_176343_0_, world, pos, p_176343_1_);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockReed.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockReed.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockReed.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockReed.java
|
||||||
@@ -19,7 +19,7 @@
|
@@ -20,7 +20,7 @@
|
||||||
import net.minecraftforge.fml.relauncher.Side;
|
import net.minecraftforge.fml.relauncher.Side;
|
||||||
import net.minecraftforge.fml.relauncher.SideOnly;
|
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||||
|
|
||||||
@@ -9,7 +9,25 @@
|
|||||||
{
|
{
|
||||||
public static final PropertyInteger field_176355_a = PropertyInteger.func_177719_a("age", 0, 15);
|
public static final PropertyInteger field_176355_a = PropertyInteger.func_177719_a("age", 0, 15);
|
||||||
protected static final AxisAlignedBB field_185701_b = new AxisAlignedBB(0.125D, 0.0D, 0.125D, 0.875D, 1.0D, 0.875D);
|
protected static final AxisAlignedBB field_185701_b = new AxisAlignedBB(0.125D, 0.0D, 0.125D, 0.875D, 1.0D, 0.875D);
|
||||||
@@ -69,7 +69,9 @@
|
@@ -54,6 +54,8 @@
|
||||||
|
{
|
||||||
|
int j = ((Integer)p_180650_3_.func_177229_b(field_176355_a)).intValue();
|
||||||
|
|
||||||
|
+ if(net.minecraftforge.common.ForgeHooks.onCropsGrowPre(p_180650_1_, p_180650_2_, p_180650_3_, true))
|
||||||
|
+ {
|
||||||
|
if (j == 15)
|
||||||
|
{
|
||||||
|
p_180650_1_.func_175656_a(p_180650_2_.func_177984_a(), this.func_176223_P());
|
||||||
|
@@ -63,6 +65,8 @@
|
||||||
|
{
|
||||||
|
p_180650_1_.func_180501_a(p_180650_2_, p_180650_3_.func_177226_a(field_176355_a, Integer.valueOf(j + 1)), 4);
|
||||||
|
}
|
||||||
|
+ net.minecraftforge.common.ForgeHooks.onCropsGrowPost(p_180650_1_, p_180650_2_, p_180650_3_, p_180650_1_.func_180495_p(p_180650_2_));
|
||||||
|
+ }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@@ -70,7 +74,9 @@
|
||||||
|
|
||||||
public boolean func_176196_c(World p_176196_1_, BlockPos p_176196_2_)
|
public boolean func_176196_c(World p_176196_1_, BlockPos p_176196_2_)
|
||||||
{
|
{
|
||||||
@@ -20,7 +38,7 @@
|
|||||||
|
|
||||||
if (block == this)
|
if (block == this)
|
||||||
{
|
{
|
||||||
@@ -162,6 +164,17 @@
|
@@ -165,6 +171,17 @@
|
||||||
return ((Integer)p_176201_1_.func_177229_b(field_176355_a)).intValue();
|
return ((Integer)p_176201_1_.func_177229_b(field_176355_a)).intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockSkull.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockSkull.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockSkull.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockSkull.java
|
||||||
@@ -116,10 +116,6 @@
|
@@ -118,10 +118,6 @@
|
||||||
return new ItemStack(Items.field_151144_bL, 1, i);
|
return new ItemStack(Items.field_151144_bL, 1, i);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
public void func_176208_a(World p_176208_1_, BlockPos p_176208_2_, IBlockState p_176208_3_, EntityPlayer p_176208_4_)
|
public void func_176208_a(World p_176208_1_, BlockPos p_176208_2_, IBlockState p_176208_3_, EntityPlayer p_176208_4_)
|
||||||
{
|
{
|
||||||
if (p_176208_4_.field_71075_bZ.field_75098_d)
|
if (p_176208_4_.field_71075_bZ.field_75098_d)
|
||||||
@@ -127,22 +123,27 @@
|
@@ -129,13 +125,18 @@
|
||||||
p_176208_3_ = p_176208_3_.func_177226_a(field_176417_b, Boolean.valueOf(true));
|
p_176208_3_ = p_176208_3_.func_177226_a(field_176417_b, Boolean.valueOf(true));
|
||||||
p_176208_1_.func_180501_a(p_176208_2_, p_176208_3_, 4);
|
p_176208_1_.func_180501_a(p_176208_2_, p_176208_3_, 4);
|
||||||
}
|
}
|
||||||
@@ -25,16 +25,13 @@
|
|||||||
- if (!p_180663_1_.field_72995_K)
|
- if (!p_180663_1_.field_72995_K)
|
||||||
+ super.func_180663_b(p_180663_1_, p_180663_2_, p_180663_3_);
|
+ super.func_180663_b(p_180663_1_, p_180663_2_, p_180663_3_);
|
||||||
+ }
|
+ }
|
||||||
+ public java.util.List<ItemStack> getDrops(IBlockAccess worldIn, BlockPos pos, IBlockState state, int fortune)
|
+ public java.util.List<ItemStack> getDrops(IBlockAccess p_180663_1_, BlockPos p_180663_2_, IBlockState p_180663_3_, int fortune)
|
||||||
+ {
|
+ {
|
||||||
+ java.util.List<ItemStack> ret = new java.util.ArrayList<ItemStack>();
|
+ java.util.List<ItemStack> ret = new java.util.ArrayList<ItemStack>();
|
||||||
{
|
{
|
||||||
- if (!((Boolean)p_180663_3_.func_177229_b(field_176417_b)).booleanValue())
|
if (!((Boolean)p_180663_3_.func_177229_b(field_176417_b)).booleanValue())
|
||||||
+ if (!((Boolean)state.func_177229_b(field_176417_b)).booleanValue())
|
|
||||||
{
|
{
|
||||||
- TileEntity tileentity = p_180663_1_.func_175625_s(p_180663_2_);
|
@@ -144,7 +145,7 @@
|
||||||
+ TileEntity tileentity = worldIn.func_175625_s(pos);
|
|
||||||
|
|
||||||
if (tileentity instanceof TileEntitySkull)
|
if (tileentity instanceof TileEntitySkull)
|
||||||
{
|
{
|
||||||
TileEntitySkull tileentityskull = (TileEntitySkull)tileentity;
|
TileEntitySkull tileentityskull = (TileEntitySkull)tileentity;
|
||||||
@@ -43,7 +40,7 @@
|
|||||||
|
|
||||||
if (tileentityskull.func_145904_a() == 3 && tileentityskull.func_152108_a() != null)
|
if (tileentityskull.func_145904_a() == 3 && tileentityskull.func_152108_a() != null)
|
||||||
{
|
{
|
||||||
@@ -152,12 +153,11 @@
|
@@ -154,12 +155,11 @@
|
||||||
itemstack.func_77978_p().func_74782_a("SkullOwner", nbttagcompound);
|
itemstack.func_77978_p().func_74782_a("SkullOwner", nbttagcompound);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -57,4 +54,4 @@
|
|||||||
+ return ret;
|
+ return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Item func_180660_a(IBlockState p_180660_1_, Random p_180660_2_, int p_180660_3_)
|
@Nullable
|
||||||
@@ -1,12 +1,15 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockSlab.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockSlab.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockSlab.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockSlab.java
|
||||||
@@ -50,6 +50,16 @@
|
@@ -50,6 +50,19 @@
|
||||||
return this.func_176552_j();
|
return this.func_176552_j();
|
||||||
}
|
}
|
||||||
|
|
||||||
+ @Override
|
+ @Override
|
||||||
+ public boolean doesSideBlockRendering(IBlockState state, IBlockAccess world, BlockPos pos, EnumFacing face)
|
+ public boolean doesSideBlockRendering(IBlockState state, IBlockAccess world, BlockPos pos, EnumFacing face)
|
||||||
+ {
|
+ {
|
||||||
|
+ if (net.minecraftforge.common.ForgeModContainer.disableStairSlabCulling)
|
||||||
|
+ return super.doesSideBlockRendering(state, world, pos, face);
|
||||||
|
+
|
||||||
+ if ( state.func_185914_p() )
|
+ if ( state.func_185914_p() )
|
||||||
+ return true;
|
+ return true;
|
||||||
+
|
+
|
||||||
@@ -17,7 +20,7 @@
|
|||||||
public IBlockState func_180642_a(World p_180642_1_, BlockPos p_180642_2_, EnumFacing p_180642_3_, float p_180642_4_, float p_180642_5_, float p_180642_6_, int p_180642_7_, EntityLivingBase p_180642_8_)
|
public IBlockState func_180642_a(World p_180642_1_, BlockPos p_180642_2_, EnumFacing p_180642_3_, float p_180642_4_, float p_180642_5_, float p_180642_6_, int p_180642_7_, EntityLivingBase p_180642_8_)
|
||||||
{
|
{
|
||||||
IBlockState iblockstate = super.func_180642_a(p_180642_1_, p_180642_2_, p_180642_3_, p_180642_4_, p_180642_5_, p_180642_6_, p_180642_7_, p_180642_8_).func_177226_a(field_176554_a, BlockSlab.EnumBlockHalf.BOTTOM);
|
IBlockState iblockstate = super.func_180642_a(p_180642_1_, p_180642_2_, p_180642_3_, p_180642_4_, p_180642_5_, p_180642_6_, p_180642_7_, p_180642_8_).func_177226_a(field_176554_a, BlockSlab.EnumBlockHalf.BOTTOM);
|
||||||
@@ -77,13 +87,14 @@
|
@@ -77,13 +90,14 @@
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockSnow.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockSnow.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockSnow.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockSnow.java
|
||||||
@@ -73,7 +73,7 @@
|
@@ -75,7 +75,7 @@
|
||||||
{
|
{
|
||||||
IBlockState iblockstate = p_176196_1_.func_180495_p(p_176196_2_.func_177977_b());
|
IBlockState iblockstate = p_176196_1_.func_180495_p(p_176196_2_.func_177977_b());
|
||||||
Block block = iblockstate.func_177230_c();
|
Block block = iblockstate.func_177230_c();
|
||||||
@@ -8,8 +8,8 @@
|
|||||||
+ return block != Blocks.field_150432_aD && block != Blocks.field_150403_cj ? (iblockstate.func_177230_c().isLeaves(iblockstate, p_176196_1_, p_176196_2_.func_177977_b()) ? true : (block == this && ((Integer)iblockstate.func_177229_b(field_176315_a)).intValue() >= 7 ? true : iblockstate.func_185914_p() && iblockstate.func_185904_a().func_76230_c())) : false;
|
+ return block != Blocks.field_150432_aD && block != Blocks.field_150403_cj ? (iblockstate.func_177230_c().isLeaves(iblockstate, p_176196_1_, p_176196_2_.func_177977_b()) ? true : (block == this && ((Integer)iblockstate.func_177229_b(field_176315_a)).intValue() >= 7 ? true : iblockstate.func_185914_p() && iblockstate.func_185904_a().func_76230_c())) : false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void func_176204_a(World p_176204_1_, BlockPos p_176204_2_, IBlockState p_176204_3_, Block p_176204_4_)
|
public void func_189540_a(IBlockState p_189540_1_, World p_189540_2_, BlockPos p_189540_3_, Block p_189540_4_)
|
||||||
@@ -85,7 +85,6 @@
|
@@ -87,7 +87,6 @@
|
||||||
{
|
{
|
||||||
if (!this.func_176196_c(p_176314_1_, p_176314_2_))
|
if (!this.func_176196_c(p_176314_1_, p_176314_2_))
|
||||||
{
|
{
|
||||||
@@ -17,9 +17,9 @@
|
|||||||
p_176314_1_.func_175698_g(p_176314_2_);
|
p_176314_1_.func_175698_g(p_176314_2_);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@@ -97,9 +96,8 @@
|
@@ -99,9 +98,8 @@
|
||||||
|
|
||||||
public void func_180657_a(World p_180657_1_, EntityPlayer p_180657_2_, BlockPos p_180657_3_, IBlockState p_180657_4_, TileEntity p_180657_5_, ItemStack p_180657_6_)
|
public void func_180657_a(World p_180657_1_, EntityPlayer p_180657_2_, BlockPos p_180657_3_, IBlockState p_180657_4_, @Nullable TileEntity p_180657_5_, @Nullable ItemStack p_180657_6_)
|
||||||
{
|
{
|
||||||
- func_180635_a(p_180657_1_, p_180657_3_, new ItemStack(Items.field_151126_ay, ((Integer)p_180657_4_.func_177229_b(field_176315_a)).intValue() + 1, 0));
|
- func_180635_a(p_180657_1_, p_180657_3_, new ItemStack(Items.field_151126_ay, ((Integer)p_180657_4_.func_177229_b(field_176315_a)).intValue() + 1, 0));
|
||||||
+ super.func_180657_a(p_180657_1_, p_180657_2_, p_180657_3_, p_180657_4_, p_180657_5_, p_180657_6_);
|
+ super.func_180657_a(p_180657_1_, p_180657_2_, p_180657_3_, p_180657_4_, p_180657_5_, p_180657_6_);
|
||||||
@@ -27,8 +27,8 @@
|
|||||||
- p_180657_2_.func_71029_a(StatList.func_188055_a(this));
|
- p_180657_2_.func_71029_a(StatList.func_188055_a(this));
|
||||||
}
|
}
|
||||||
|
|
||||||
public Item func_180660_a(IBlockState p_180660_1_, Random p_180660_2_, int p_180660_3_)
|
@Nullable
|
||||||
@@ -109,14 +107,13 @@
|
@@ -112,14 +110,13 @@
|
||||||
|
|
||||||
public int func_149745_a(Random p_149745_1_)
|
public int func_149745_a(Random p_149745_1_)
|
||||||
{
|
{
|
||||||
@@ -44,7 +44,7 @@
|
|||||||
p_180650_1_.func_175698_g(p_180650_2_);
|
p_180650_1_.func_175698_g(p_180650_2_);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -150,6 +147,8 @@
|
@@ -153,6 +150,8 @@
|
||||||
return ((Integer)p_176201_1_.func_177229_b(field_176315_a)).intValue() - 1;
|
return ((Integer)p_176201_1_.func_177229_b(field_176315_a)).intValue() - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,18 +1,30 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockStairs.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockStairs.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockStairs.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockStairs.java
|
||||||
@@ -443,6 +443,17 @@
|
@@ -445,6 +445,29 @@
|
||||||
return new BlockStateContainer(this, new IProperty[] {field_176309_a, field_176308_b, field_176310_M});
|
return new BlockStateContainer(this, new IProperty[] {field_176309_a, field_176308_b, field_176310_M});
|
||||||
}
|
}
|
||||||
|
|
||||||
+ @Override
|
+ @Override
|
||||||
+ public boolean doesSideBlockRendering(IBlockState state, IBlockAccess world, BlockPos pos, EnumFacing face)
|
+ public boolean doesSideBlockRendering(IBlockState state, IBlockAccess world, BlockPos pos, EnumFacing face)
|
||||||
+ {
|
+ {
|
||||||
|
+ if (net.minecraftforge.common.ForgeModContainer.disableStairSlabCulling)
|
||||||
|
+ return super.doesSideBlockRendering(state, world, pos, face);
|
||||||
|
+
|
||||||
+ if ( state.func_185914_p() )
|
+ if ( state.func_185914_p() )
|
||||||
+ return true;
|
+ return true;
|
||||||
+
|
+
|
||||||
|
+ state = this.func_176221_a(state, world, pos);
|
||||||
|
+
|
||||||
+ EnumHalf half = state.func_177229_b(field_176308_b);
|
+ EnumHalf half = state.func_177229_b(field_176308_b);
|
||||||
+ EnumFacing side = state.func_177229_b(field_176309_a);
|
+ EnumFacing side = state.func_177229_b(field_176309_a);
|
||||||
+ return side == face || (half == EnumHalf.TOP && face == EnumFacing.UP) || (half == EnumHalf.BOTTOM && face == EnumFacing.DOWN);
|
+ EnumShape shape = state.func_177229_b(field_176310_M);
|
||||||
|
+ if (face == EnumFacing.UP) return half == EnumHalf.TOP;
|
||||||
|
+ if (face == EnumFacing.DOWN) return half == EnumHalf.BOTTOM;
|
||||||
|
+ if (shape == EnumShape.OUTER_LEFT || shape == EnumShape.OUTER_RIGHT) return false;
|
||||||
|
+ if (face == side) return true;
|
||||||
|
+ if (shape == EnumShape.INNER_LEFT && face.func_176746_e() == side) return true;
|
||||||
|
+ if (shape == EnumShape.INNER_RIGHT && face.func_176735_f() == side) return true;
|
||||||
|
+ return false;
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
public static enum EnumHalf implements IStringSerializable
|
public static enum EnumHalf implements IStringSerializable
|
||||||
|
|||||||
@@ -1,6 +1,15 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockStem.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockStem.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockStem.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockStem.java
|
||||||
@@ -89,9 +89,10 @@
|
@@ -70,7 +70,7 @@
|
||||||
|
{
|
||||||
|
float f = BlockCrops.func_180672_a(this, p_180650_1_, p_180650_2_);
|
||||||
|
|
||||||
|
- if (p_180650_4_.nextInt((int)(25.0F / f) + 1) == 0)
|
||||||
|
+ if(net.minecraftforge.common.ForgeHooks.onCropsGrowPre(p_180650_1_, p_180650_2_, p_180650_3_, p_180650_4_.nextInt((int)(25.0F / f) + 1) == 0))
|
||||||
|
{
|
||||||
|
int i = ((Integer)p_180650_3_.func_177229_b(field_176484_a)).intValue();
|
||||||
|
|
||||||
|
@@ -90,13 +90,15 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
p_180650_2_ = p_180650_2_.func_177972_a(EnumFacing.Plane.HORIZONTAL.func_179518_a(p_180650_4_));
|
p_180650_2_ = p_180650_2_.func_177972_a(EnumFacing.Plane.HORIZONTAL.func_179518_a(p_180650_4_));
|
||||||
@@ -13,7 +22,12 @@
|
|||||||
{
|
{
|
||||||
p_180650_1_.func_175656_a(p_180650_2_, this.field_149877_a.func_176223_P());
|
p_180650_1_.func_175656_a(p_180650_2_, this.field_149877_a.func_176223_P());
|
||||||
}
|
}
|
||||||
@@ -109,24 +110,29 @@
|
}
|
||||||
|
+ net.minecraftforge.common.ForgeHooks.onCropsGrowPost(p_180650_1_, p_180650_2_, p_180650_3_, p_180650_1_.func_180495_p(p_180650_2_));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@@ -110,24 +112,29 @@
|
||||||
public void func_180653_a(World p_180653_1_, BlockPos p_180653_2_, IBlockState p_180653_3_, float p_180653_4_, int p_180653_5_)
|
public void func_180653_a(World p_180653_1_, BlockPos p_180653_2_, IBlockState p_180653_3_, float p_180653_4_, int p_180653_5_)
|
||||||
{
|
{
|
||||||
super.func_180653_a(p_180653_1_, p_180653_2_, p_180653_3_, p_180653_4_, p_180653_5_);
|
super.func_180653_a(p_180653_1_, p_180653_2_, p_180653_3_, p_180653_4_, p_180653_5_);
|
||||||
@@ -46,4 +60,4 @@
|
|||||||
+ return ret;
|
+ return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected Item func_176481_j()
|
@Nullable
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockTallGrass.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockTallGrass.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockTallGrass.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockTallGrass.java
|
||||||
@@ -23,7 +23,7 @@
|
@@ -24,7 +24,7 @@
|
||||||
import net.minecraftforge.fml.relauncher.Side;
|
import net.minecraftforge.fml.relauncher.Side;
|
||||||
import net.minecraftforge.fml.relauncher.SideOnly;
|
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||||
|
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
{
|
{
|
||||||
public static final PropertyEnum<BlockTallGrass.EnumType> field_176497_a = PropertyEnum.<BlockTallGrass.EnumType>func_177709_a("type", BlockTallGrass.EnumType.class);
|
public static final PropertyEnum<BlockTallGrass.EnumType> field_176497_a = PropertyEnum.<BlockTallGrass.EnumType>func_177709_a("type", BlockTallGrass.EnumType.class);
|
||||||
protected static final AxisAlignedBB field_185522_c = new AxisAlignedBB(0.09999999403953552D, 0.0D, 0.09999999403953552D, 0.8999999761581421D, 0.800000011920929D, 0.8999999761581421D);
|
protected static final AxisAlignedBB field_185522_c = new AxisAlignedBB(0.09999999403953552D, 0.0D, 0.09999999403953552D, 0.8999999761581421D, 0.800000011920929D, 0.8999999761581421D);
|
||||||
@@ -41,7 +41,7 @@
|
@@ -42,7 +42,7 @@
|
||||||
|
|
||||||
public boolean func_180671_f(World p_180671_1_, BlockPos p_180671_2_, IBlockState p_180671_3_)
|
public boolean func_180671_f(World p_180671_1_, BlockPos p_180671_2_, IBlockState p_180671_3_)
|
||||||
{
|
{
|
||||||
@@ -18,8 +18,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
public boolean func_176200_f(IBlockAccess p_176200_1_, BlockPos p_176200_2_)
|
public boolean func_176200_f(IBlockAccess p_176200_1_, BlockPos p_176200_2_)
|
||||||
@@ -51,7 +51,7 @@
|
@@ -53,7 +53,7 @@
|
||||||
|
@Nullable
|
||||||
public Item func_180660_a(IBlockState p_180660_1_, Random p_180660_2_, int p_180660_3_)
|
public Item func_180660_a(IBlockState p_180660_1_, Random p_180660_2_, int p_180660_3_)
|
||||||
{
|
{
|
||||||
- return p_180660_2_.nextInt(8) == 0 ? Items.field_151014_N : null;
|
- return p_180660_2_.nextInt(8) == 0 ? Items.field_151014_N : null;
|
||||||
@@ -27,16 +27,16 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
public int func_149679_a(int p_149679_1_, Random p_149679_2_)
|
public int func_149679_a(int p_149679_1_, Random p_149679_2_)
|
||||||
@@ -61,7 +61,7 @@
|
@@ -63,7 +63,7 @@
|
||||||
|
|
||||||
public void func_180657_a(World p_180657_1_, EntityPlayer p_180657_2_, BlockPos p_180657_3_, IBlockState p_180657_4_, TileEntity p_180657_5_, ItemStack p_180657_6_)
|
public void func_180657_a(World p_180657_1_, EntityPlayer p_180657_2_, BlockPos p_180657_3_, IBlockState p_180657_4_, @Nullable TileEntity p_180657_5_, @Nullable ItemStack p_180657_6_)
|
||||||
{
|
{
|
||||||
- if (!p_180657_1_.field_72995_K && p_180657_6_ != null && p_180657_6_.func_77973_b() == Items.field_151097_aZ)
|
- if (!p_180657_1_.field_72995_K && p_180657_6_ != null && p_180657_6_.func_77973_b() == Items.field_151097_aZ)
|
||||||
+ if (false && !p_180657_1_.field_72995_K && p_180657_6_ != null && p_180657_6_.func_77973_b() == Items.field_151097_aZ) // Forge: Noop Taken care of by IShearable
|
+ if (false && !p_180657_1_.field_72995_K && p_180657_6_ != null && p_180657_6_.func_77973_b() == Items.field_151097_aZ) // Forge: Noop Taken care of by IShearable
|
||||||
{
|
{
|
||||||
p_180657_2_.func_71029_a(StatList.func_188055_a(this));
|
p_180657_2_.func_71029_a(StatList.func_188055_a(this));
|
||||||
func_180635_a(p_180657_1_, p_180657_3_, new ItemStack(Blocks.field_150329_H, 1, ((BlockTallGrass.EnumType)p_180657_4_.func_177229_b(field_176497_a)).func_177044_a()));
|
func_180635_a(p_180657_1_, p_180657_3_, new ItemStack(Blocks.field_150329_H, 1, ((BlockTallGrass.EnumType)p_180657_4_.func_177229_b(field_176497_a)).func_177044_a()));
|
||||||
@@ -181,4 +181,22 @@
|
@@ -183,4 +183,22 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockTorch.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockTorch.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockTorch.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockTorch.java
|
||||||
@@ -79,14 +79,14 @@
|
@@ -81,14 +81,14 @@
|
||||||
|
|
||||||
private boolean func_176594_d(World p_176594_1_, BlockPos p_176594_2_)
|
private boolean func_176594_d(World p_176594_1_, BlockPos p_176594_2_)
|
||||||
{
|
{
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -107,7 +107,7 @@
|
@@ -109,7 +109,7 @@
|
||||||
{
|
{
|
||||||
BlockPos blockpos = p_176595_2_.func_177972_a(p_176595_3_.func_176734_d());
|
BlockPos blockpos = p_176595_2_.func_177972_a(p_176595_3_.func_176734_d());
|
||||||
boolean flag = p_176595_3_.func_176740_k().func_176722_c();
|
boolean flag = p_176595_3_.func_176740_k().func_176722_c();
|
||||||
@@ -27,7 +27,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
public IBlockState func_180642_a(World p_180642_1_, BlockPos p_180642_2_, EnumFacing p_180642_3_, float p_180642_4_, float p_180642_5_, float p_180642_6_, int p_180642_7_, EntityLivingBase p_180642_8_)
|
public IBlockState func_180642_a(World p_180642_1_, BlockPos p_180642_2_, EnumFacing p_180642_3_, float p_180642_4_, float p_180642_5_, float p_180642_6_, int p_180642_7_, EntityLivingBase p_180642_8_)
|
||||||
@@ -120,7 +120,7 @@
|
@@ -122,7 +122,7 @@
|
||||||
{
|
{
|
||||||
for (EnumFacing enumfacing : EnumFacing.Plane.HORIZONTAL)
|
for (EnumFacing enumfacing : EnumFacing.Plane.HORIZONTAL)
|
||||||
{
|
{
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
{
|
{
|
||||||
return this.func_176223_P().func_177226_a(field_176596_a, enumfacing);
|
return this.func_176223_P().func_177226_a(field_176596_a, enumfacing);
|
||||||
}
|
}
|
||||||
@@ -153,7 +153,7 @@
|
@@ -155,7 +155,7 @@
|
||||||
EnumFacing enumfacing1 = enumfacing.func_176734_d();
|
EnumFacing enumfacing1 = enumfacing.func_176734_d();
|
||||||
boolean flag = false;
|
boolean flag = false;
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockTrapDoor.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockTrapDoor.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockTrapDoor.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockTrapDoor.java
|
||||||
@@ -241,6 +241,18 @@
|
@@ -240,6 +240,18 @@
|
||||||
return new BlockStateContainer(this, new IProperty[] {field_176284_a, field_176283_b, field_176285_M});
|
return new BlockStateContainer(this, new IProperty[] {field_176284_a, field_176283_b, field_176285_M});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockTripWireHook.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockTripWireHook.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockTripWireHook.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockTripWireHook.java
|
||||||
@@ -77,14 +77,14 @@
|
@@ -79,14 +79,14 @@
|
||||||
|
|
||||||
public boolean func_176198_a(World p_176198_1_, BlockPos p_176198_2_, EnumFacing p_176198_3_)
|
public boolean func_176198_a(World p_176198_1_, BlockPos p_176198_2_, EnumFacing p_176198_3_)
|
||||||
{
|
{
|
||||||
@@ -17,12 +17,12 @@
|
|||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -118,7 +118,7 @@
|
@@ -120,7 +120,7 @@
|
||||||
{
|
{
|
||||||
EnumFacing enumfacing = (EnumFacing)p_176204_3_.func_177229_b(field_176264_a);
|
EnumFacing enumfacing = (EnumFacing)p_189540_1_.func_177229_b(field_176264_a);
|
||||||
|
|
||||||
- if (!p_176204_1_.func_180495_p(p_176204_2_.func_177972_a(enumfacing.func_176734_d())).func_185915_l())
|
- if (!p_189540_2_.func_180495_p(p_189540_3_.func_177972_a(enumfacing.func_176734_d())).func_185915_l())
|
||||||
+ if (!p_176204_1_.func_180495_p(p_176204_2_.func_177972_a(enumfacing.func_176734_d())).isSideSolid(p_176204_1_, p_176204_2_.func_177972_a(enumfacing.func_176734_d()), enumfacing))
|
+ if (!p_189540_2_.func_180495_p(p_189540_3_.func_177972_a(enumfacing.func_176734_d())).isSideSolid(p_189540_2_, p_189540_3_.func_177972_a(enumfacing.func_176734_d()), enumfacing))
|
||||||
{
|
{
|
||||||
this.func_176226_b(p_176204_1_, p_176204_2_, p_176204_3_, 0);
|
this.func_176226_b(p_189540_2_, p_189540_3_, p_189540_1_, 0);
|
||||||
p_176204_1_.func_175698_g(p_176204_2_);
|
p_189540_2_.func_175698_g(p_189540_3_);
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/BlockVine.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockVine.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockVine.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockVine.java
|
||||||
@@ -26,7 +26,7 @@
|
@@ -27,7 +27,7 @@
|
||||||
import net.minecraftforge.fml.relauncher.Side;
|
import net.minecraftforge.fml.relauncher.Side;
|
||||||
import net.minecraftforge.fml.relauncher.SideOnly;
|
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||||
|
|
||||||
@@ -9,16 +9,16 @@
|
|||||||
{
|
{
|
||||||
public static final PropertyBool field_176277_a = PropertyBool.func_177716_a("up");
|
public static final PropertyBool field_176277_a = PropertyBool.func_177716_a("up");
|
||||||
public static final PropertyBool field_176273_b = PropertyBool.func_177716_a("north");
|
public static final PropertyBool field_176273_b = PropertyBool.func_177716_a("north");
|
||||||
@@ -342,7 +342,7 @@
|
@@ -345,7 +345,7 @@
|
||||||
|
|
||||||
public void func_180657_a(World p_180657_1_, EntityPlayer p_180657_2_, BlockPos p_180657_3_, IBlockState p_180657_4_, TileEntity p_180657_5_, ItemStack p_180657_6_)
|
public void func_180657_a(World p_180657_1_, EntityPlayer p_180657_2_, BlockPos p_180657_3_, IBlockState p_180657_4_, @Nullable TileEntity p_180657_5_, @Nullable ItemStack p_180657_6_)
|
||||||
{
|
{
|
||||||
- if (!p_180657_1_.field_72995_K && p_180657_6_ != null && p_180657_6_.func_77973_b() == Items.field_151097_aZ)
|
- if (!p_180657_1_.field_72995_K && p_180657_6_ != null && p_180657_6_.func_77973_b() == Items.field_151097_aZ)
|
||||||
+ if (false && !p_180657_1_.field_72995_K && p_180657_6_ != null && p_180657_6_.func_77973_b() == Items.field_151097_aZ) // Forge: Noop, Covered by IShearable
|
+ if (false && !p_180657_1_.field_72995_K && p_180657_6_ != null && p_180657_6_.func_77973_b() == Items.field_151097_aZ) // Forge: Noop, Covered by IShearable
|
||||||
{
|
{
|
||||||
p_180657_2_.func_71029_a(StatList.func_188055_a(this));
|
p_180657_2_.func_71029_a(StatList.func_188055_a(this));
|
||||||
func_180635_a(p_180657_1_, p_180657_3_, new ItemStack(Blocks.field_150395_bd, 1, 0));
|
func_180635_a(p_180657_1_, p_180657_3_, new ItemStack(Blocks.field_150395_bd, 1, 0));
|
||||||
@@ -457,4 +457,14 @@
|
@@ -460,4 +460,14 @@
|
||||||
|
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,18 @@
|
|||||||
|
--- ../src-base/minecraft/net/minecraft/block/SoundType.java
|
||||||
|
+++ ../src-work/minecraft/net/minecraft/block/SoundType.java
|
||||||
|
@@ -48,7 +48,6 @@
|
||||||
|
return this.field_185861_n;
|
||||||
|
}
|
||||||
|
|
||||||
|
- @SideOnly(Side.CLIENT)
|
||||||
|
public SoundEvent func_185845_c()
|
||||||
|
{
|
||||||
|
return this.field_185862_o;
|
||||||
|
@@ -64,7 +63,6 @@
|
||||||
|
return this.field_185864_q;
|
||||||
|
}
|
||||||
|
|
||||||
|
- @SideOnly(Side.CLIENT)
|
||||||
|
public SoundEvent func_185846_f()
|
||||||
|
{
|
||||||
|
return this.field_185865_r;
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/state/BlockStateBase.java
|
--- ../src-base/minecraft/net/minecraft/block/state/BlockStateBase.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/state/BlockStateBase.java
|
+++ ../src-work/minecraft/net/minecraft/block/state/BlockStateBase.java
|
||||||
@@ -71,4 +71,9 @@
|
@@ -73,4 +73,9 @@
|
||||||
|
|
||||||
return stringbuilder.toString();
|
return stringbuilder.toString();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/state/BlockStateContainer.java
|
--- ../src-base/minecraft/net/minecraft/block/state/BlockStateContainer.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/state/BlockStateContainer.java
|
+++ ../src-work/minecraft/net/minecraft/block/state/BlockStateContainer.java
|
||||||
@@ -55,12 +55,22 @@
|
@@ -57,12 +57,22 @@
|
||||||
|
|
||||||
public BlockStateContainer(Block p_i45663_1_, IProperty<?>... p_i45663_2_)
|
public BlockStateContainer(Block p_i45663_1_, IProperty<?>... p_i45663_2_)
|
||||||
{
|
{
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
map.put(iproperty.func_177701_a(), iproperty);
|
map.put(iproperty.func_177701_a(), iproperty);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -71,7 +81,7 @@
|
@@ -73,7 +83,7 @@
|
||||||
for (List < Comparable<? >> list : Cartesian.func_179321_a(this.func_177620_e()))
|
for (List < Comparable<? >> list : Cartesian.func_179321_a(this.func_177620_e()))
|
||||||
{
|
{
|
||||||
Map < IProperty<?>, Comparable<? >> map1 = MapPopulator. < IProperty<?>, Comparable<? >> func_179400_b(this.field_177624_d.values(), list);
|
Map < IProperty<?>, Comparable<? >> map1 = MapPopulator. < IProperty<?>, Comparable<? >> func_179400_b(this.field_177624_d.values(), list);
|
||||||
@@ -35,7 +35,7 @@
|
|||||||
map2.put(map1, blockstatecontainer$stateimplementation);
|
map2.put(map1, blockstatecontainer$stateimplementation);
|
||||||
list1.add(blockstatecontainer$stateimplementation);
|
list1.add(blockstatecontainer$stateimplementation);
|
||||||
}
|
}
|
||||||
@@ -163,6 +173,13 @@
|
@@ -165,6 +175,13 @@
|
||||||
this.field_177237_b = p_i45660_2_;
|
this.field_177237_b = p_i45660_2_;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -49,9 +49,9 @@
|
|||||||
public Collection < IProperty<? >> func_177227_a()
|
public Collection < IProperty<? >> func_177227_a()
|
||||||
{
|
{
|
||||||
return Collections. < IProperty<? >> unmodifiableCollection(this.field_177237_b.keySet());
|
return Collections. < IProperty<? >> unmodifiableCollection(this.field_177237_b.keySet());
|
||||||
@@ -414,5 +431,86 @@
|
@@ -445,5 +462,86 @@
|
||||||
{
|
{
|
||||||
return this.field_177239_a.func_185481_k(this);
|
this.field_177239_a.func_189540_a(this, p_189546_1_, p_189546_2_, p_189546_3_);
|
||||||
}
|
}
|
||||||
+
|
+
|
||||||
+ //Forge Start
|
+ //Forge Start
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/block/state/IBlockProperties.java
|
--- ../src-base/minecraft/net/minecraft/block/state/IBlockProperties.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/state/IBlockProperties.java
|
+++ ../src-work/minecraft/net/minecraft/block/state/IBlockProperties.java
|
||||||
@@ -25,9 +25,13 @@
|
@@ -28,9 +28,13 @@
|
||||||
|
|
||||||
boolean func_185913_b();
|
boolean func_189884_a(Entity p_189884_1_);
|
||||||
|
|
||||||
+ @Deprecated //Forge location aware version below
|
+ @Deprecated //Forge location aware version below
|
||||||
int func_185891_c();
|
int func_185891_c();
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
boolean func_185895_e();
|
boolean func_185895_e();
|
||||||
@@ -88,5 +92,10 @@
|
@@ -92,5 +96,10 @@
|
||||||
|
|
||||||
RayTraceResult func_185910_a(World p_185910_1_, BlockPos p_185910_2_, Vec3d p_185910_3_, Vec3d p_185910_4_);
|
RayTraceResult func_185910_a(World p_185910_1_, BlockPos p_185910_2_, Vec3d p_185910_3_, Vec3d p_185910_4_);
|
||||||
|
|
||||||
|
|||||||
@@ -1,14 +1,14 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/client/Minecraft.java
|
--- ../src-base/minecraft/net/minecraft/client/Minecraft.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/client/Minecraft.java
|
+++ ../src-work/minecraft/net/minecraft/client/Minecraft.java
|
||||||
@@ -318,7 +318,6 @@
|
@@ -322,7 +322,6 @@
|
||||||
this.field_152355_az = (new YggdrasilAuthenticationService(this.field_110453_aa, UUID.randomUUID().toString())).createMinecraftSessionService();
|
this.field_152355_az = (new YggdrasilAuthenticationService(this.field_110453_aa, UUID.randomUUID().toString())).createMinecraftSessionService();
|
||||||
this.field_71449_j = p_i45547_1_.field_178745_a.field_178752_a;
|
this.field_71449_j = p_i45547_1_.field_178745_a.field_178752_a;
|
||||||
field_147123_G.info("Setting user: " + this.field_71449_j.func_111285_a());
|
field_147123_G.info("Setting user: {}", new Object[] {this.field_71449_j.func_111285_a()});
|
||||||
- field_147123_G.info("(Session ID is " + this.field_71449_j.func_111286_b() + ")");
|
- field_147123_G.debug("(Session ID is {})", new Object[] {this.field_71449_j.func_111286_b()});
|
||||||
this.field_71459_aj = p_i45547_1_.field_178741_d.field_178756_a;
|
this.field_71459_aj = p_i45547_1_.field_178741_d.field_178756_a;
|
||||||
this.field_71443_c = p_i45547_1_.field_178743_b.field_178764_a > 0 ? p_i45547_1_.field_178743_b.field_178764_a : 1;
|
this.field_71443_c = p_i45547_1_.field_178743_b.field_178764_a > 0 ? p_i45547_1_.field_178743_b.field_178764_a : 1;
|
||||||
this.field_71440_d = p_i45547_1_.field_178743_b.field_178762_b > 0 ? p_i45547_1_.field_178743_b.field_178762_b : 1;
|
this.field_71440_d = p_i45547_1_.field_178743_b.field_178762_b > 0 ? p_i45547_1_.field_178743_b.field_178762_b : 1;
|
||||||
@@ -432,10 +431,10 @@
|
@@ -437,10 +436,10 @@
|
||||||
this.field_110451_am = new SimpleReloadableResourceManager(this.field_110452_an);
|
this.field_110451_am = new SimpleReloadableResourceManager(this.field_110452_an);
|
||||||
this.field_135017_as = new LanguageManager(this.field_110452_an, this.field_71474_y.field_74363_ab);
|
this.field_135017_as = new LanguageManager(this.field_110452_an, this.field_71474_y.field_74363_ab);
|
||||||
this.field_110451_am.func_110542_a(this.field_135017_as);
|
this.field_110451_am.func_110542_a(this.field_135017_as);
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
this.field_152350_aA = new SkinManager(this.field_71446_o, new File(this.field_110446_Y, "skins"), this.field_152355_az);
|
this.field_152350_aA = new SkinManager(this.field_71446_o, new File(this.field_110446_Y, "skins"), this.field_152355_az);
|
||||||
this.field_71469_aa = new AnvilSaveConverter(new File(this.field_71412_D, "saves"), this.field_184131_U);
|
this.field_71469_aa = new AnvilSaveConverter(new File(this.field_71412_D, "saves"), this.field_184131_U);
|
||||||
this.field_147127_av = new SoundHandler(this.field_110451_am, this.field_71474_y);
|
this.field_147127_av = new SoundHandler(this.field_110451_am, this.field_71474_y);
|
||||||
@@ -460,7 +459,7 @@
|
@@ -465,7 +464,7 @@
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
}
|
}
|
||||||
catch (Exception exception)
|
catch (Exception exception)
|
||||||
{
|
{
|
||||||
@@ -469,6 +468,8 @@
|
@@ -474,6 +473,8 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.field_71417_B = new MouseHelper();
|
this.field_71417_B = new MouseHelper();
|
||||||
@@ -39,7 +39,7 @@
|
|||||||
this.func_71361_d("Pre startup");
|
this.func_71361_d("Pre startup");
|
||||||
GlStateManager.func_179098_w();
|
GlStateManager.func_179098_w();
|
||||||
GlStateManager.func_179103_j(7425);
|
GlStateManager.func_179103_j(7425);
|
||||||
@@ -482,19 +483,23 @@
|
@@ -487,19 +488,24 @@
|
||||||
GlStateManager.func_179096_D();
|
GlStateManager.func_179096_D();
|
||||||
GlStateManager.func_179128_n(5888);
|
GlStateManager.func_179128_n(5888);
|
||||||
this.func_71361_d("Startup");
|
this.func_71361_d("Startup");
|
||||||
@@ -61,13 +61,15 @@
|
|||||||
this.field_175620_Y = new ItemRenderer(this);
|
this.field_175620_Y = new ItemRenderer(this);
|
||||||
this.field_110451_am.func_110542_a(this.field_175621_X);
|
this.field_110451_am.func_110542_a(this.field_175621_X);
|
||||||
+ bar.step("Loading Entity Renderer");
|
+ bar.step("Loading Entity Renderer");
|
||||||
|
+ net.minecraftforge.fml.client.SplashProgress.pause();
|
||||||
this.field_71460_t = new EntityRenderer(this, this.field_110451_am);
|
this.field_71460_t = new EntityRenderer(this, this.field_110451_am);
|
||||||
this.field_110451_am.func_110542_a(this.field_71460_t);
|
this.field_110451_am.func_110542_a(this.field_71460_t);
|
||||||
this.field_175618_aM = new BlockRendererDispatcher(this.field_175617_aL.func_174954_c(), this.field_184127_aH);
|
this.field_175618_aM = new BlockRendererDispatcher(this.field_175617_aL.func_174954_c(), this.field_184127_aH);
|
||||||
@@ -504,23 +509,26 @@
|
@@ -509,23 +515,27 @@
|
||||||
this.field_71458_u = new GuiAchievement(this);
|
this.field_71458_u = new GuiAchievement(this);
|
||||||
GlStateManager.func_179083_b(0, 0, this.field_71443_c, this.field_71440_d);
|
GlStateManager.func_179083_b(0, 0, this.field_71443_c, this.field_71440_d);
|
||||||
this.field_71452_i = new EffectRenderer(this.field_71441_e, this.field_71446_o);
|
this.field_71452_i = new ParticleManager(this.field_71441_e, this.field_71446_o);
|
||||||
|
+ net.minecraftforge.fml.client.SplashProgress.resume();
|
||||||
+ net.minecraftforge.fml.common.ProgressManager.pop(bar);
|
+ net.minecraftforge.fml.common.ProgressManager.pop(bar);
|
||||||
+ net.minecraftforge.fml.client.FMLClientHandler.instance().finishMinecraftLoading();
|
+ net.minecraftforge.fml.client.FMLClientHandler.instance().finishMinecraftLoading();
|
||||||
this.func_71361_d("Post startup");
|
this.func_71361_d("Post startup");
|
||||||
@@ -94,7 +96,7 @@
|
|||||||
if (this.field_71474_y.field_74353_u && !this.field_71431_Q)
|
if (this.field_71474_y.field_74353_u && !this.field_71431_Q)
|
||||||
{
|
{
|
||||||
this.func_71352_k();
|
this.func_71352_k();
|
||||||
@@ -692,21 +700,23 @@
|
@@ -697,21 +707,23 @@
|
||||||
File file2 = new File(file1, "crash-" + (new SimpleDateFormat("yyyy-MM-dd_HH.mm.ss")).format(new Date()) + "-client.txt");
|
File file2 = new File(file1, "crash-" + (new SimpleDateFormat("yyyy-MM-dd_HH.mm.ss")).format(new Date()) + "-client.txt");
|
||||||
Bootstrap.func_179870_a(p_71377_1_.func_71502_e());
|
Bootstrap.func_179870_a(p_71377_1_.func_71502_e());
|
||||||
|
|
||||||
@@ -121,9 +123,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
public boolean func_152349_b()
|
public boolean func_152349_b()
|
||||||
@@ -899,11 +909,6 @@
|
@@ -904,11 +916,6 @@
|
||||||
|
|
||||||
public void func_147108_a(GuiScreen p_147108_1_)
|
public void func_147108_a(@Nullable GuiScreen p_147108_1_)
|
||||||
{
|
{
|
||||||
- if (this.field_71462_r != null)
|
- if (this.field_71462_r != null)
|
||||||
- {
|
- {
|
||||||
@@ -133,7 +135,7 @@
|
|||||||
if (p_147108_1_ == null && this.field_71441_e == null)
|
if (p_147108_1_ == null && this.field_71441_e == null)
|
||||||
{
|
{
|
||||||
p_147108_1_ = new GuiMainMenu();
|
p_147108_1_ = new GuiMainMenu();
|
||||||
@@ -913,6 +918,17 @@
|
@@ -918,6 +925,17 @@
|
||||||
p_147108_1_ = new GuiGameOver((ITextComponent)null);
|
p_147108_1_ = new GuiGameOver((ITextComponent)null);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -151,7 +153,7 @@
|
|||||||
if (p_147108_1_ instanceof GuiMainMenu || p_147108_1_ instanceof GuiMultiplayer)
|
if (p_147108_1_ instanceof GuiMainMenu || p_147108_1_ instanceof GuiMultiplayer)
|
||||||
{
|
{
|
||||||
this.field_71474_y.field_74330_P = false;
|
this.field_71474_y.field_74330_P = false;
|
||||||
@@ -1051,9 +1067,11 @@
|
@@ -1053,9 +1071,11 @@
|
||||||
|
|
||||||
if (!this.field_71454_w)
|
if (!this.field_71454_w)
|
||||||
{
|
{
|
||||||
@@ -163,7 +165,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.field_71424_I.func_76319_b();
|
this.field_71424_I.func_76319_b();
|
||||||
@@ -1393,9 +1411,9 @@
|
@@ -1398,9 +1418,9 @@
|
||||||
{
|
{
|
||||||
BlockPos blockpos = this.field_71476_x.func_178782_a();
|
BlockPos blockpos = this.field_71476_x.func_178782_a();
|
||||||
|
|
||||||
@@ -175,7 +177,7 @@
|
|||||||
this.field_71439_g.func_184609_a(EnumHand.MAIN_HAND);
|
this.field_71439_g.func_184609_a(EnumHand.MAIN_HAND);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1429,7 +1447,7 @@
|
@@ -1434,7 +1454,7 @@
|
||||||
case BLOCK:
|
case BLOCK:
|
||||||
BlockPos blockpos = this.field_71476_x.func_178782_a();
|
BlockPos blockpos = this.field_71476_x.func_178782_a();
|
||||||
|
|
||||||
@@ -184,25 +186,32 @@
|
|||||||
{
|
{
|
||||||
this.field_71442_b.func_180511_b(blockpos, this.field_71476_x.field_178784_b);
|
this.field_71442_b.func_180511_b(blockpos, this.field_71476_x.field_178784_b);
|
||||||
break;
|
break;
|
||||||
@@ -1473,7 +1491,7 @@
|
@@ -1448,6 +1468,7 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
this.field_71439_g.func_184821_cY();
|
||||||
|
+ net.minecraftforge.common.ForgeHooks.onEmptyLeftClick(this.field_71439_g, this.field_71439_g.func_184614_ca());
|
||||||
|
}
|
||||||
|
|
||||||
|
this.field_71439_g.func_184609_a(EnumHand.MAIN_HAND);
|
||||||
|
@@ -1477,7 +1498,6 @@
|
||||||
switch (this.field_71476_x.field_72313_a)
|
switch (this.field_71476_x.field_72313_a)
|
||||||
{
|
{
|
||||||
case ENTITY:
|
case ENTITY:
|
||||||
-
|
-
|
||||||
+ if(!net.minecraftforge.common.ForgeHooks.onInteractEntityAt(field_71439_g, field_71476_x.field_72308_g, field_71476_x, field_71439_g.func_184586_b(enumhand), enumhand))
|
|
||||||
if (this.field_71442_b.func_187102_a(this.field_71439_g, this.field_71476_x.field_72308_g, this.field_71476_x, this.field_71439_g.func_184586_b(enumhand), enumhand) == EnumActionResult.SUCCESS)
|
if (this.field_71442_b.func_187102_a(this.field_71439_g, this.field_71476_x.field_72308_g, this.field_71476_x, this.field_71439_g.func_184586_b(enumhand), enumhand) == EnumActionResult.SUCCESS)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
@@ -1516,7 +1534,7 @@
|
@@ -1520,7 +1540,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
ItemStack itemstack1 = this.field_71439_g.func_184586_b(enumhand);
|
ItemStack itemstack1 = this.field_71439_g.func_184586_b(enumhand);
|
||||||
-
|
-
|
||||||
+ if (itemstack1 == null) net.minecraftforge.common.ForgeHooks.onEmptyClick(this.field_71439_g, enumhand);
|
+ if (itemstack1 == null && (this.field_71476_x == null || this.field_71476_x.field_72313_a == RayTraceResult.Type.MISS)) net.minecraftforge.common.ForgeHooks.onEmptyClick(this.field_71439_g, enumhand);
|
||||||
if (itemstack1 != null && this.field_71442_b.func_187101_a(this.field_71439_g, this.field_71441_e, itemstack1, enumhand) == EnumActionResult.SUCCESS)
|
if (itemstack1 != null && this.field_71442_b.func_187101_a(this.field_71439_g, this.field_71441_e, itemstack1, enumhand) == EnumActionResult.SUCCESS)
|
||||||
{
|
{
|
||||||
this.field_71460_t.field_78516_c.func_187460_a(enumhand);
|
this.field_71460_t.field_78516_c.func_187460_a(enumhand);
|
||||||
@@ -1623,6 +1641,8 @@
|
@@ -1627,6 +1647,8 @@
|
||||||
--this.field_71467_ac;
|
--this.field_71467_ac;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -211,7 +220,7 @@
|
|||||||
this.field_71424_I.func_76320_a("gui");
|
this.field_71424_I.func_76320_a("gui");
|
||||||
|
|
||||||
if (!this.field_71445_n)
|
if (!this.field_71445_n)
|
||||||
@@ -1734,6 +1754,7 @@
|
@@ -1738,6 +1760,7 @@
|
||||||
this.field_71457_ai = 0;
|
this.field_71457_ai = 0;
|
||||||
this.field_71441_e.func_72897_h(this.field_71439_g);
|
this.field_71441_e.func_72897_h(this.field_71439_g);
|
||||||
}
|
}
|
||||||
@@ -219,7 +228,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.field_71424_I.func_76318_c("gameRenderer");
|
this.field_71424_I.func_76318_c("gameRenderer");
|
||||||
@@ -1821,6 +1842,7 @@
|
@@ -1825,6 +1848,7 @@
|
||||||
this.field_71453_ak.func_74428_b();
|
this.field_71453_ak.func_74428_b();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -227,7 +236,7 @@
|
|||||||
this.field_71424_I.func_76319_b();
|
this.field_71424_I.func_76319_b();
|
||||||
this.field_71423_H = func_71386_F();
|
this.field_71423_H = func_71386_F();
|
||||||
}
|
}
|
||||||
@@ -1927,6 +1949,7 @@
|
@@ -1931,6 +1955,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -235,7 +244,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.func_184117_aA();
|
this.func_184117_aA();
|
||||||
@@ -2166,6 +2189,8 @@
|
@@ -2177,6 +2202,8 @@
|
||||||
{
|
{
|
||||||
while (Mouse.next())
|
while (Mouse.next())
|
||||||
{
|
{
|
||||||
@@ -244,15 +253,15 @@
|
|||||||
int i = Mouse.getEventButton();
|
int i = Mouse.getEventButton();
|
||||||
KeyBinding.func_74510_a(i - 100, Mouse.getEventButtonState());
|
KeyBinding.func_74510_a(i - 100, Mouse.getEventButtonState());
|
||||||
|
|
||||||
@@ -2231,6 +2256,7 @@
|
@@ -2242,6 +2269,7 @@
|
||||||
|
|
||||||
public void func_71371_a(String p_71371_1_, String p_71371_2_, WorldSettings p_71371_3_)
|
public void func_71371_a(String p_71371_1_, String p_71371_2_, @Nullable WorldSettings p_71371_3_)
|
||||||
{
|
{
|
||||||
+ net.minecraftforge.fml.client.FMLClientHandler.instance().startIntegratedServer(p_71371_1_, p_71371_2_, p_71371_3_);
|
+ net.minecraftforge.fml.client.FMLClientHandler.instance().startIntegratedServer(p_71371_1_, p_71371_2_, p_71371_3_);
|
||||||
this.func_71403_a((WorldClient)null);
|
this.func_71403_a((WorldClient)null);
|
||||||
System.gc();
|
System.gc();
|
||||||
ISaveHandler isavehandler = this.field_71469_aa.func_75804_a(p_71371_1_, false);
|
ISaveHandler isavehandler = this.field_71469_aa.func_75804_a(p_71371_1_, false);
|
||||||
@@ -2273,6 +2299,12 @@
|
@@ -2284,6 +2312,12 @@
|
||||||
|
|
||||||
while (!this.field_71437_Z.func_71200_ad())
|
while (!this.field_71437_Z.func_71200_ad())
|
||||||
{
|
{
|
||||||
@@ -265,13 +274,13 @@
|
|||||||
String s = this.field_71437_Z.func_71195_b_();
|
String s = this.field_71437_Z.func_71195_b_();
|
||||||
|
|
||||||
if (s != null)
|
if (s != null)
|
||||||
@@ -2298,8 +2330,14 @@
|
@@ -2309,8 +2343,14 @@
|
||||||
SocketAddress socketaddress = this.field_71437_Z.func_147137_ag().func_151270_a();
|
SocketAddress socketaddress = this.field_71437_Z.func_147137_ag().func_151270_a();
|
||||||
NetworkManager networkmanager = NetworkManager.func_150722_a(socketaddress);
|
NetworkManager networkmanager = NetworkManager.func_150722_a(socketaddress);
|
||||||
networkmanager.func_150719_a(new NetHandlerLoginClient(networkmanager, this, (GuiScreen)null));
|
networkmanager.func_150719_a(new NetHandlerLoginClient(networkmanager, this, (GuiScreen)null));
|
||||||
- networkmanager.func_179290_a(new C00Handshake(107, socketaddress.toString(), 0, EnumConnectionState.LOGIN));
|
- networkmanager.func_179290_a(new C00Handshake(210, socketaddress.toString(), 0, EnumConnectionState.LOGIN));
|
||||||
- networkmanager.func_179290_a(new CPacketLoginStart(this.func_110432_I().func_148256_e()));
|
- networkmanager.func_179290_a(new CPacketLoginStart(this.func_110432_I().func_148256_e()));
|
||||||
+ networkmanager.func_179290_a(new C00Handshake(107, socketaddress.toString(), 0, EnumConnectionState.LOGIN, true));
|
+ networkmanager.func_179290_a(new C00Handshake(210, socketaddress.toString(), 0, EnumConnectionState.LOGIN, true));
|
||||||
+ com.mojang.authlib.GameProfile gameProfile = this.func_110432_I().func_148256_e();
|
+ com.mojang.authlib.GameProfile gameProfile = this.func_110432_I().func_148256_e();
|
||||||
+ if (!this.func_110432_I().hasCachedProperties())
|
+ if (!this.func_110432_I().hasCachedProperties())
|
||||||
+ {
|
+ {
|
||||||
@@ -282,16 +291,16 @@
|
|||||||
this.field_71453_ak = networkmanager;
|
this.field_71453_ak = networkmanager;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2310,6 +2348,8 @@
|
@@ -2321,6 +2361,8 @@
|
||||||
|
|
||||||
public void func_71353_a(WorldClient p_71353_1_, String p_71353_2_)
|
public void func_71353_a(@Nullable WorldClient p_71353_1_, String p_71353_2_)
|
||||||
{
|
{
|
||||||
+ if (field_71441_e != null) net.minecraftforge.common.MinecraftForge.EVENT_BUS.post(new net.minecraftforge.event.world.WorldEvent.Unload(field_71441_e));
|
+ if (field_71441_e != null) net.minecraftforge.common.MinecraftForge.EVENT_BUS.post(new net.minecraftforge.event.world.WorldEvent.Unload(field_71441_e));
|
||||||
+
|
+
|
||||||
if (p_71353_1_ == null)
|
if (p_71353_1_ == null)
|
||||||
{
|
{
|
||||||
NetHandlerPlayClient nethandlerplayclient = this.func_147114_u();
|
NetHandlerPlayClient nethandlerplayclient = this.func_147114_u();
|
||||||
@@ -2322,6 +2362,18 @@
|
@@ -2333,6 +2375,18 @@
|
||||||
if (this.field_71437_Z != null && this.field_71437_Z.func_175578_N())
|
if (this.field_71437_Z != null && this.field_71437_Z.func_175578_N())
|
||||||
{
|
{
|
||||||
this.field_71437_Z.func_71263_m();
|
this.field_71437_Z.func_71263_m();
|
||||||
@@ -310,7 +319,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.field_71437_Z = null;
|
this.field_71437_Z = null;
|
||||||
@@ -2345,6 +2397,7 @@
|
@@ -2356,6 +2410,7 @@
|
||||||
this.field_71456_v.func_181029_i();
|
this.field_71456_v.func_181029_i();
|
||||||
this.func_71351_a((ServerData)null);
|
this.func_71351_a((ServerData)null);
|
||||||
this.field_71455_al = false;
|
this.field_71455_al = false;
|
||||||
@@ -318,7 +327,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.field_147127_av.func_147690_c();
|
this.field_147127_av.func_147690_c();
|
||||||
@@ -2461,159 +2514,8 @@
|
@@ -2473,159 +2528,8 @@
|
||||||
{
|
{
|
||||||
if (this.field_71476_x != null && this.field_71476_x.field_72313_a != RayTraceResult.Type.MISS)
|
if (this.field_71476_x != null && this.field_71476_x.field_72313_a != RayTraceResult.Type.MISS)
|
||||||
{
|
{
|
||||||
@@ -480,7 +489,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2909,18 +2811,8 @@
|
@@ -2927,18 +2831,8 @@
|
||||||
|
|
||||||
public static int func_71369_N()
|
public static int func_71369_N()
|
||||||
{
|
{
|
||||||
@@ -501,7 +510,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
public boolean func_70002_Q()
|
public boolean func_70002_Q()
|
||||||
@@ -3057,15 +2949,16 @@
|
@@ -3077,15 +2971,16 @@
|
||||||
{
|
{
|
||||||
if (Keyboard.getEventKeyState())
|
if (Keyboard.getEventKeyState())
|
||||||
{
|
{
|
||||||
@@ -520,14 +529,16 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -3192,4 +3085,10 @@
|
@@ -3205,6 +3100,12 @@
|
||||||
{
|
|
||||||
return this.field_184127_aH;
|
return this.field_184127_aH;
|
||||||
}
|
}
|
||||||
+
|
|
||||||
+ // FORGE
|
+ // FORGE
|
||||||
+ public ItemColors getItemColors()
|
+ public ItemColors getItemColors()
|
||||||
+ {
|
+ {
|
||||||
+ return this.field_184128_aI;
|
+ return this.field_184128_aI;
|
||||||
+ }
|
+ }
|
||||||
}
|
+
|
||||||
|
public boolean func_189648_am()
|
||||||
|
{
|
||||||
|
return this.field_71439_g != null && this.field_71439_g.func_175140_cp() || this.field_71474_y.field_178879_v;
|
||||||
@@ -16,7 +16,15 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
private synchronized void func_148608_i()
|
private synchronized void func_148608_i()
|
||||||
@@ -338,6 +340,9 @@
|
@@ -205,6 +207,7 @@
|
||||||
|
this.field_148620_e.stop(s);
|
||||||
|
}
|
||||||
|
|
||||||
|
+ this.field_189000_p.clear(); //Forge: MC-35856 Fixed paused sounds repeating when switching worlds
|
||||||
|
this.field_148629_h.clear();
|
||||||
|
this.field_148626_m.clear();
|
||||||
|
this.field_148625_l.clear();
|
||||||
|
@@ -338,6 +341,9 @@
|
||||||
{
|
{
|
||||||
if (this.field_148617_f)
|
if (this.field_148617_f)
|
||||||
{
|
{
|
||||||
@@ -26,7 +34,7 @@
|
|||||||
SoundEventAccessor soundeventaccessor = p_148611_1_.func_184366_a(this.field_148622_c);
|
SoundEventAccessor soundeventaccessor = p_148611_1_.func_184366_a(this.field_148622_c);
|
||||||
ResourceLocation resourcelocation = p_148611_1_.func_147650_b();
|
ResourceLocation resourcelocation = p_148611_1_.func_147650_b();
|
||||||
|
|
||||||
@@ -400,10 +405,12 @@
|
@@ -400,10 +406,12 @@
|
||||||
if (sound.func_188723_h())
|
if (sound.func_188723_h())
|
||||||
{
|
{
|
||||||
this.field_148620_e.newStreamingSource(false, s, func_148612_a(resourcelocation1), resourcelocation1.toString(), flag, p_148611_1_.func_147649_g(), p_148611_1_.func_147654_h(), p_148611_1_.func_147651_i(), p_148611_1_.func_147656_j().func_148586_a(), f);
|
this.field_148620_e.newStreamingSource(false, s, func_148612_a(resourcelocation1), resourcelocation1.toString(), flag, p_148611_1_.func_147649_g(), p_148611_1_.func_147654_h(), p_148611_1_.func_147651_i(), p_148611_1_.func_147656_j().func_148586_a(), f);
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/client/entity/AbstractClientPlayer.java
|
--- ../src-base/minecraft/net/minecraft/client/entity/AbstractClientPlayer.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/client/entity/AbstractClientPlayer.java
|
+++ ../src-work/minecraft/net/minecraft/client/entity/AbstractClientPlayer.java
|
||||||
@@ -148,6 +148,6 @@
|
@@ -152,6 +152,6 @@
|
||||||
f *= 1.0F - f1 * 0.15F;
|
f *= 1.0F - f1 * 0.15F;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/client/entity/EntityPlayerSP.java
|
--- ../src-base/minecraft/net/minecraft/client/entity/EntityPlayerSP.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/client/entity/EntityPlayerSP.java
|
+++ ../src-work/minecraft/net/minecraft/client/entity/EntityPlayerSP.java
|
||||||
@@ -400,6 +400,15 @@
|
@@ -415,6 +415,15 @@
|
||||||
this.field_71159_c.field_71456_v.func_146158_b().func_146227_a(p_146105_1_);
|
this.field_71159_c.field_71456_v.func_146158_b().func_146227_a(p_146105_1_);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
protected boolean func_145771_j(double p_145771_1_, double p_145771_3_, double p_145771_5_)
|
protected boolean func_145771_j(double p_145771_1_, double p_145771_3_, double p_145771_5_)
|
||||||
{
|
{
|
||||||
if (this.field_70145_X)
|
if (this.field_70145_X)
|
||||||
@@ -412,30 +421,34 @@
|
@@ -427,30 +436,34 @@
|
||||||
double d0 = p_145771_1_ - (double)blockpos.func_177958_n();
|
double d0 = p_145771_1_ - (double)blockpos.func_177958_n();
|
||||||
double d1 = p_145771_5_ - (double)blockpos.func_177952_p();
|
double d1 = p_145771_5_ - (double)blockpos.func_177952_p();
|
||||||
|
|
||||||
@@ -56,7 +56,7 @@
|
|||||||
{
|
{
|
||||||
d2 = 1.0D - d1;
|
d2 = 1.0D - d1;
|
||||||
i = 5;
|
i = 5;
|
||||||
@@ -470,7 +483,7 @@
|
@@ -485,7 +498,7 @@
|
||||||
|
|
||||||
private boolean func_175162_d(BlockPos p_175162_1_)
|
private boolean func_175162_d(BlockPos p_175162_1_)
|
||||||
{
|
{
|
||||||
@@ -65,7 +65,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void func_70031_b(boolean p_70031_1_)
|
public void func_70031_b(boolean p_70031_1_)
|
||||||
@@ -515,7 +528,13 @@
|
@@ -530,7 +543,13 @@
|
||||||
|
|
||||||
public void func_184185_a(SoundEvent p_184185_1_, float p_184185_2_, float p_184185_3_)
|
public void func_184185_a(SoundEvent p_184185_1_, float p_184185_2_, float p_184185_3_)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/client/gui/GuiChat.java
|
|
||||||
+++ ../src-work/minecraft/net/minecraft/client/gui/GuiChat.java
|
|
||||||
@@ -250,6 +250,7 @@
|
|
||||||
|
|
||||||
public BlockPos func_186839_b()
|
|
||||||
{
|
|
||||||
+
|
|
||||||
BlockPos blockpos = null;
|
|
||||||
|
|
||||||
if (this.field_186853_g.field_71476_x != null && this.field_186853_g.field_71476_x.field_72313_a == RayTraceResult.Type.BLOCK)
|
|
||||||
@@ -46,5 +46,5 @@
|
|||||||
- if (keybinding.func_151463_i() != keybinding.func_151469_h())
|
- if (keybinding.func_151463_i() != keybinding.func_151469_h())
|
||||||
+ if (!keybinding.isSetToDefaultValue())
|
+ if (!keybinding.isSetToDefaultValue())
|
||||||
{
|
{
|
||||||
flag = false;
|
flag = true;
|
||||||
break;
|
break;
|
||||||
@@ -1,15 +1,15 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/client/gui/GuiCreateWorld.java
|
--- ../src-base/minecraft/net/minecraft/client/gui/GuiCreateWorld.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/client/gui/GuiCreateWorld.java
|
+++ ../src-work/minecraft/net/minecraft/client/gui/GuiCreateWorld.java
|
||||||
@@ -205,6 +205,8 @@
|
@@ -206,6 +206,8 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
+ WorldType.field_77139_a[this.field_146331_K].onGUICreateWorldPress();
|
+ WorldType.field_77139_a[this.field_146331_K].onGUICreateWorldPress();
|
||||||
+
|
+
|
||||||
WorldSettings worldsettings = new WorldSettings(i, WorldSettings.GameType.func_77142_a(this.field_146342_r), this.field_146341_s, this.field_146337_w, WorldType.field_77139_a[this.field_146331_K]);
|
WorldSettings worldsettings = new WorldSettings(i, GameType.func_77142_a(this.field_146342_r), this.field_146341_s, this.field_146337_w, WorldType.field_77139_a[this.field_146331_K]);
|
||||||
worldsettings.func_82750_a(this.field_146334_a);
|
worldsettings.func_82750_a(this.field_146334_a);
|
||||||
|
|
||||||
@@ -311,14 +313,7 @@
|
@@ -312,14 +314,7 @@
|
||||||
}
|
}
|
||||||
else if (p_146284_1_.field_146127_k == 8)
|
else if (p_146284_1_.field_146127_k == 8)
|
||||||
{
|
{
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -370,7 +365,7 @@
|
@@ -371,7 +366,7 @@
|
||||||
this.field_146326_C.field_146125_m = this.field_146344_y;
|
this.field_146326_C.field_146125_m = this.field_146344_y;
|
||||||
this.field_146320_D.field_146125_m = this.field_146344_y;
|
this.field_146320_D.field_146125_m = this.field_146344_y;
|
||||||
this.field_146321_E.field_146125_m = this.field_146344_y;
|
this.field_146321_E.field_146125_m = this.field_146344_y;
|
||||||
|
|||||||
@@ -1,17 +1,16 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/client/gui/GuiIngameMenu.java
|
--- ../src-base/minecraft/net/minecraft/client/gui/GuiIngameMenu.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/client/gui/GuiIngameMenu.java
|
+++ ../src-work/minecraft/net/minecraft/client/gui/GuiIngameMenu.java
|
||||||
@@ -30,8 +30,9 @@
|
@@ -30,7 +30,8 @@
|
||||||
|
|
||||||
this.field_146292_n.add(new GuiButton(4, this.field_146294_l / 2 - 100, this.field_146295_m / 4 + 24 + i, I18n.func_135052_a("menu.returnToGame", new Object[0])));
|
this.field_146292_n.add(new GuiButton(4, this.field_146294_l / 2 - 100, this.field_146295_m / 4 + 24 + -16, I18n.func_135052_a("menu.returnToGame", new Object[0])));
|
||||||
this.field_146292_n.add(new GuiButton(0, this.field_146294_l / 2 - 100, this.field_146295_m / 4 + 96 + i, 98, 20, I18n.func_135052_a("menu.options", new Object[0])));
|
this.field_146292_n.add(new GuiButton(0, this.field_146294_l / 2 - 100, this.field_146295_m / 4 + 96 + -16, 98, 20, I18n.func_135052_a("menu.options", new Object[0])));
|
||||||
|
- GuiButton guibutton = this.func_189646_b(new GuiButton(7, this.field_146294_l / 2 + 2, this.field_146295_m / 4 + 96 + -16, 98, 20, I18n.func_135052_a("menu.shareToLan", new Object[0])));
|
||||||
+ this.field_146292_n.add(new GuiButton(12, this.field_146294_l / 2 + 2, this.field_146295_m / 4 + 96 + i, 98, 20, I18n.func_135052_a("fml.menu.modoptions")));
|
+ this.field_146292_n.add(new GuiButton(12, this.field_146294_l / 2 + 2, this.field_146295_m / 4 + 96 + i, 98, 20, I18n.func_135052_a("fml.menu.modoptions")));
|
||||||
GuiButton guibutton;
|
+ GuiButton guibutton = this.func_189646_b(new GuiButton(7, this.field_146294_l / 2 - 100, this.field_146295_m / 4 + 72 + -16, 200, 20, I18n.func_135052_a("menu.shareToLan", new Object[0])));
|
||||||
- this.field_146292_n.add(guibutton = new GuiButton(7, this.field_146294_l / 2 + 2, this.field_146295_m / 4 + 96 + i, 98, 20, I18n.func_135052_a("menu.shareToLan", new Object[0])));
|
|
||||||
+ this.field_146292_n.add(guibutton = new GuiButton(7, this.field_146294_l / 2 - 100, this.field_146295_m / 4 + 72 + i, 200, 20, I18n.func_135052_a("menu.shareToLan", new Object[0])));
|
|
||||||
this.field_146292_n.add(new GuiButton(5, this.field_146294_l / 2 - 100, this.field_146295_m / 4 + 48 + i, 98, 20, I18n.func_135052_a("gui.achievements", new Object[0])));
|
|
||||||
this.field_146292_n.add(new GuiButton(6, this.field_146294_l / 2 + 2, this.field_146295_m / 4 + 48 + i, 98, 20, I18n.func_135052_a("gui.stats", new Object[0])));
|
|
||||||
guibutton.field_146124_l = this.field_146297_k.func_71356_B() && !this.field_146297_k.func_71401_C().func_71344_c();
|
guibutton.field_146124_l = this.field_146297_k.func_71356_B() && !this.field_146297_k.func_71401_C().func_71344_c();
|
||||||
@@ -74,13 +75,19 @@
|
this.field_146292_n.add(new GuiButton(5, this.field_146294_l / 2 - 100, this.field_146295_m / 4 + 48 + -16, 98, 20, I18n.func_135052_a("gui.achievements", new Object[0])));
|
||||||
|
this.field_146292_n.add(new GuiButton(6, this.field_146294_l / 2 + 2, this.field_146295_m / 4 + 48 + -16, 98, 20, I18n.func_135052_a("gui.stats", new Object[0])));
|
||||||
|
@@ -73,13 +74,19 @@
|
||||||
this.field_146297_k.func_71381_h();
|
this.field_146297_k.func_71381_h();
|
||||||
break;
|
break;
|
||||||
case 5:
|
case 5:
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
public GuiMainMenu()
|
public GuiMainMenu()
|
||||||
{
|
{
|
||||||
@@ -210,13 +212,15 @@
|
@@ -209,13 +211,15 @@
|
||||||
this.field_183503_M.func_183500_a(this.field_146294_l, this.field_146295_m);
|
this.field_183503_M.func_183500_a(this.field_146294_l, this.field_146295_m);
|
||||||
this.field_183503_M.func_73866_w_();
|
this.field_183503_M.func_73866_w_();
|
||||||
}
|
}
|
||||||
@@ -20,13 +20,13 @@
|
|||||||
{
|
{
|
||||||
this.field_146292_n.add(new GuiButton(1, this.field_146294_l / 2 - 100, p_73969_1_, I18n.func_135052_a("menu.singleplayer", new Object[0])));
|
this.field_146292_n.add(new GuiButton(1, this.field_146294_l / 2 - 100, p_73969_1_, I18n.func_135052_a("menu.singleplayer", new Object[0])));
|
||||||
this.field_146292_n.add(new GuiButton(2, this.field_146294_l / 2 - 100, p_73969_1_ + p_73969_2_ * 1, I18n.func_135052_a("menu.multiplayer", new Object[0])));
|
this.field_146292_n.add(new GuiButton(2, this.field_146294_l / 2 - 100, p_73969_1_ + p_73969_2_ * 1, I18n.func_135052_a("menu.multiplayer", new Object[0])));
|
||||||
- this.field_146292_n.add(this.field_175372_K = new GuiButton(14, this.field_146294_l / 2 - 100, p_73969_1_ + p_73969_2_ * 2, I18n.func_135052_a("menu.online", new Object[0])));
|
- this.field_175372_K = this.func_189646_b(new GuiButton(14, this.field_146294_l / 2 - 100, p_73969_1_ + p_73969_2_ * 2, I18n.func_135052_a("menu.online", new Object[0])));
|
||||||
+ this.field_146292_n.add(this.field_175372_K = new GuiButton(14, this.field_146294_l / 2 + 2, p_73969_1_ + p_73969_2_ * 2, 98, 20, I18n.func_135052_a("menu.online", new Object[0]).replace("Minecraft", "").trim()));
|
+ this.field_175372_K = this.func_189646_b(new GuiButton(14, this.field_146294_l / 2 + 2, p_73969_1_ + p_73969_2_ * 2, 98, 20, I18n.func_135052_a("menu.online", new Object[0]).replace("Minecraft", "").trim()));
|
||||||
+ this.field_146292_n.add(modButton = new GuiButton(6, this.field_146294_l / 2 - 100, p_73969_1_ + p_73969_2_ * 2, 98, 20, I18n.func_135052_a("fml.menu.mods")));
|
+ this.field_146292_n.add(modButton = new GuiButton(6, this.field_146294_l / 2 - 100, p_73969_1_ + p_73969_2_ * 2, 98, 20, I18n.func_135052_a("fml.menu.mods")));
|
||||||
}
|
}
|
||||||
|
|
||||||
private void func_73972_b(int p_73972_1_, int p_73972_2_)
|
private void func_73972_b(int p_73972_1_, int p_73972_2_)
|
||||||
@@ -264,6 +268,11 @@
|
@@ -263,6 +267,11 @@
|
||||||
this.field_146297_k.func_71400_g();
|
this.field_146297_k.func_71400_g();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -38,8 +38,8 @@
|
|||||||
if (p_146284_1_.field_146127_k == 11)
|
if (p_146284_1_.field_146127_k == 11)
|
||||||
{
|
{
|
||||||
this.field_146297_k.func_71371_a("Demo_World", "Demo_World", DemoWorldServer.field_73071_a);
|
this.field_146297_k.func_71371_a("Demo_World", "Demo_World", DemoWorldServer.field_73071_a);
|
||||||
@@ -493,6 +502,8 @@
|
@@ -490,6 +499,8 @@
|
||||||
this.func_73729_b(j + 155, k + 0, 0, 45, 155, 44);
|
this.func_73729_b(j + 155, 30, 0, 45, 155, 44);
|
||||||
}
|
}
|
||||||
|
|
||||||
+ this.field_73975_c = net.minecraftforge.client.ForgeHooksClient.renderMainMenu(this, this.field_146289_q, this.field_146294_l, this.field_146295_m, this.field_73975_c);
|
+ this.field_73975_c = net.minecraftforge.client.ForgeHooksClient.renderMainMenu(this, this.field_146289_q, this.field_146294_l, this.field_146295_m, this.field_73975_c);
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
GlStateManager.func_179094_E();
|
GlStateManager.func_179094_E();
|
||||||
GlStateManager.func_179109_b((float)(this.field_146294_l / 2 + 90), 70.0F, 0.0F);
|
GlStateManager.func_179109_b((float)(this.field_146294_l / 2 + 90), 70.0F, 0.0F);
|
||||||
GlStateManager.func_179114_b(-20.0F, 0.0F, 0.0F, 1.0F);
|
GlStateManager.func_179114_b(-20.0F, 0.0F, 0.0F, 1.0F);
|
||||||
@@ -512,7 +523,15 @@
|
@@ -509,7 +520,15 @@
|
||||||
s = s + ("release".equalsIgnoreCase(this.field_146297_k.func_184123_d()) ? "" : "/" + this.field_146297_k.func_184123_d());
|
s = s + ("release".equalsIgnoreCase(this.field_146297_k.func_184123_d()) ? "" : "/" + this.field_146297_k.func_184123_d());
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -62,9 +62,9 @@
|
|||||||
+ }
|
+ }
|
||||||
+ }
|
+ }
|
||||||
String s1 = "Copyright Mojang AB. Do not distribute!";
|
String s1 = "Copyright Mojang AB. Do not distribute!";
|
||||||
this.func_73731_b(this.field_146289_q, s1, this.field_146294_l - this.field_146289_q.func_78256_a(s1) - 2, this.field_146295_m - 10, -1);
|
this.func_73731_b(this.field_146289_q, "Copyright Mojang AB. Do not distribute!", this.field_146294_l - this.field_146289_q.func_78256_a("Copyright Mojang AB. Do not distribute!") - 2, this.field_146295_m - 10, -1);
|
||||||
|
|
||||||
@@ -529,6 +548,7 @@
|
@@ -526,6 +545,7 @@
|
||||||
{
|
{
|
||||||
this.field_183503_M.func_73863_a(p_73863_1_, p_73863_2_, p_73863_3_);
|
this.field_183503_M.func_73863_a(p_73863_1_, p_73863_2_, p_73863_3_);
|
||||||
}
|
}
|
||||||
@@ -72,7 +72,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected void func_73864_a(int p_73864_1_, int p_73864_2_, int p_73864_3_) throws IOException
|
protected void func_73864_a(int p_73864_1_, int p_73864_2_, int p_73864_3_) throws IOException
|
||||||
@@ -549,6 +569,8 @@
|
@@ -546,6 +566,8 @@
|
||||||
{
|
{
|
||||||
this.field_183503_M.func_73864_a(p_73864_1_, p_73864_2_, p_73864_3_);
|
this.field_183503_M.func_73864_a(p_73864_1_, p_73864_2_, p_73864_3_);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/client/gui/GuiMultiplayer.java
|
--- ../src-base/minecraft/net/minecraft/client/gui/GuiMultiplayer.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/client/gui/GuiMultiplayer.java
|
+++ ../src-work/minecraft/net/minecraft/client/gui/GuiMultiplayer.java
|
||||||
@@ -40,6 +40,7 @@
|
@@ -41,6 +41,7 @@
|
||||||
public GuiMultiplayer(GuiScreen p_i1040_1_)
|
public GuiMultiplayer(GuiScreen p_i1040_1_)
|
||||||
{
|
{
|
||||||
this.field_146798_g = p_i1040_1_;
|
this.field_146798_g = p_i1040_1_;
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void func_73866_w_()
|
public void func_73866_w_()
|
||||||
@@ -372,7 +373,7 @@
|
@@ -375,7 +376,7 @@
|
||||||
|
|
||||||
private void func_146791_a(ServerData p_146791_1_)
|
private void func_146791_a(ServerData p_146791_1_)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/client/gui/GuiOverlayDebug.java
|
--- ../src-base/minecraft/net/minecraft/client/gui/GuiOverlayDebug.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/client/gui/GuiOverlayDebug.java
|
+++ ../src-work/minecraft/net/minecraft/client/gui/GuiOverlayDebug.java
|
||||||
@@ -190,6 +190,9 @@
|
@@ -188,6 +188,9 @@
|
||||||
long l = j - k;
|
long l = j - k;
|
||||||
List<String> list = Lists.newArrayList(new String[] {String.format("Java: %s %dbit", new Object[]{System.getProperty("java.version"), Integer.valueOf(this.field_175242_a.func_147111_S() ? 64 : 32)}), String.format("Mem: % 2d%% %03d/%03dMB", new Object[]{Long.valueOf(l * 100L / i), Long.valueOf(func_175240_a(l)), Long.valueOf(func_175240_a(i))}), String.format("Allocated: % 2d%% %03dMB", new Object[]{Long.valueOf(j * 100L / i), Long.valueOf(func_175240_a(j))}), "", String.format("CPU: %s", new Object[]{OpenGlHelper.func_183029_j()}), "", String.format("Display: %dx%d (%s)", new Object[]{Integer.valueOf(Display.getWidth()), Integer.valueOf(Display.getHeight()), GlStateManager.func_187416_u(7936)}), GlStateManager.func_187416_u(7937), GlStateManager.func_187416_u(7938)});
|
List<String> list = Lists.newArrayList(new String[] {String.format("Java: %s %dbit", new Object[]{System.getProperty("java.version"), Integer.valueOf(this.field_175242_a.func_147111_S() ? 64 : 32)}), String.format("Mem: % 2d%% %03d/%03dMB", new Object[]{Long.valueOf(l * 100L / i), Long.valueOf(func_175240_a(l)), Long.valueOf(func_175240_a(i))}), String.format("Allocated: % 2d%% %03dMB", new Object[]{Long.valueOf(j * 100L / i), Long.valueOf(func_175240_a(j))}), "", String.format("CPU: %s", new Object[]{OpenGlHelper.func_183029_j()}), "", String.format("Display: %dx%d (%s)", new Object[]{Integer.valueOf(Display.getWidth()), Integer.valueOf(Display.getHeight()), GlStateManager.func_187416_u(7936)}), GlStateManager.func_187416_u(7937), GlStateManager.func_187416_u(7938)});
|
||||||
|
|
||||||
+ list.add("");
|
+ list.add("");
|
||||||
+ list.addAll(net.minecraftforge.fml.common.FMLCommonHandler.instance().getBrandings(false));
|
+ list.addAll(net.minecraftforge.fml.common.FMLCommonHandler.instance().getBrandings(false));
|
||||||
+
|
+
|
||||||
if (this.func_175236_d())
|
if (this.field_175242_a.func_189648_am())
|
||||||
{
|
{
|
||||||
return list;
|
return list;
|
||||||
@@ -1,21 +1,23 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/client/gui/GuiScreen.java
|
--- ../src-base/minecraft/net/minecraft/client/gui/GuiScreen.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/client/gui/GuiScreen.java
|
+++ ../src-work/minecraft/net/minecraft/client/gui/GuiScreen.java
|
||||||
@@ -141,7 +141,8 @@
|
@@ -147,7 +147,10 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
- this.func_146283_a(list, p_146285_2_, p_146285_3_);
|
- this.func_146283_a(list, p_146285_2_, p_146285_3_);
|
||||||
+ FontRenderer font = p_146285_1_.func_77973_b().getFontRenderer(p_146285_1_);
|
+ FontRenderer font = p_146285_1_.func_77973_b().getFontRenderer(p_146285_1_);
|
||||||
|
+ net.minecraftforge.fml.client.config.GuiUtils.preItemToolTip(p_146285_1_);
|
||||||
+ this.drawHoveringText(list, p_146285_2_, p_146285_3_, (font == null ? field_146289_q : font));
|
+ this.drawHoveringText(list, p_146285_2_, p_146285_3_, (font == null ? field_146289_q : font));
|
||||||
|
+ net.minecraftforge.fml.client.config.GuiUtils.postItemToolTip();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void func_146279_a(String p_146279_1_, int p_146279_2_, int p_146279_3_)
|
protected void func_146279_a(String p_146279_1_, int p_146279_2_, int p_146279_3_)
|
||||||
@@ -151,7 +152,13 @@
|
@@ -157,7 +160,13 @@
|
||||||
|
|
||||||
protected void func_146283_a(List<String> p_146283_1_, int p_146283_2_, int p_146283_3_)
|
protected void func_146283_a(List<String> p_146283_1_, int p_146283_2_, int p_146283_3_)
|
||||||
{
|
{
|
||||||
- if (!p_146283_1_.isEmpty())
|
- if (!p_146283_1_.isEmpty())
|
||||||
+ drawHoveringText(p_146283_1_, p_146283_2_, p_146283_3_, field_146289_q);
|
+ drawHoveringText(p_146283_1_, p_146283_2_, p_146283_3_, field_146289_q);
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
+ protected void drawHoveringText(List<String> p_146283_1_, int p_146283_2_, int p_146283_3_, FontRenderer font)
|
+ protected void drawHoveringText(List<String> p_146283_1_, int p_146283_2_, int p_146283_3_, FontRenderer font)
|
||||||
@@ -25,7 +27,7 @@
|
|||||||
{
|
{
|
||||||
GlStateManager.func_179101_C();
|
GlStateManager.func_179101_C();
|
||||||
RenderHelper.func_74518_a();
|
RenderHelper.func_74518_a();
|
||||||
@@ -421,6 +428,7 @@
|
@@ -427,6 +436,7 @@
|
||||||
{
|
{
|
||||||
this.field_146297_k.field_71456_v.func_146158_b().func_146239_a(p_175281_1_);
|
this.field_146297_k.field_71456_v.func_146158_b().func_146239_a(p_175281_1_);
|
||||||
}
|
}
|
||||||
@@ -33,7 +35,7 @@
|
|||||||
|
|
||||||
this.field_146297_k.field_71439_g.func_71165_d(p_175281_1_);
|
this.field_146297_k.field_71439_g.func_71165_d(p_175281_1_);
|
||||||
}
|
}
|
||||||
@@ -435,9 +443,15 @@
|
@@ -441,9 +451,15 @@
|
||||||
|
|
||||||
if (guibutton.func_146116_c(this.field_146297_k, p_73864_1_, p_73864_2_))
|
if (guibutton.func_146116_c(this.field_146297_k, p_73864_1_, p_73864_2_))
|
||||||
{
|
{
|
||||||
@@ -49,7 +51,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -467,8 +481,12 @@
|
@@ -473,8 +489,12 @@
|
||||||
this.field_146289_q = p_146280_1_.field_71466_p;
|
this.field_146289_q = p_146280_1_.field_71466_p;
|
||||||
this.field_146294_l = p_146280_2_;
|
this.field_146294_l = p_146280_2_;
|
||||||
this.field_146295_m = p_146280_3_;
|
this.field_146295_m = p_146280_3_;
|
||||||
@@ -62,7 +64,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void func_183500_a(int p_183500_1_, int p_183500_2_)
|
public void func_183500_a(int p_183500_1_, int p_183500_2_)
|
||||||
@@ -487,7 +505,9 @@
|
@@ -493,7 +513,9 @@
|
||||||
{
|
{
|
||||||
while (Mouse.next())
|
while (Mouse.next())
|
||||||
{
|
{
|
||||||
@@ -72,7 +74,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -495,7 +515,9 @@
|
@@ -501,7 +523,9 @@
|
||||||
{
|
{
|
||||||
while (Keyboard.next())
|
while (Keyboard.next())
|
||||||
{
|
{
|
||||||
@@ -82,7 +84,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -557,6 +579,7 @@
|
@@ -563,6 +587,7 @@
|
||||||
public void func_146276_q_()
|
public void func_146276_q_()
|
||||||
{
|
{
|
||||||
this.func_146270_b(0);
|
this.func_146270_b(0);
|
||||||
|
|||||||
@@ -8,10 +8,10 @@
|
|||||||
- GlStateManager.func_179131_c(1.0F, 1.0F, 1.0F, 1.0F);
|
- GlStateManager.func_179131_c(1.0F, 1.0F, 1.0F, 1.0F);
|
||||||
- float f = 32.0F;
|
- float f = 32.0F;
|
||||||
- vertexbuffer.func_181668_a(7, DefaultVertexFormats.field_181709_i);
|
- vertexbuffer.func_181668_a(7, DefaultVertexFormats.field_181709_i);
|
||||||
- vertexbuffer.func_181662_b((double)this.field_148152_e, (double)this.field_148154_c, 0.0D).func_187315_a((double)((float)this.field_148152_e / f), (double)((float)(this.field_148154_c + (int)this.field_148169_q) / f)).func_181669_b(32, 32, 32, 255).func_181675_d();
|
- vertexbuffer.func_181662_b((double)this.field_148152_e, (double)this.field_148154_c, 0.0D).func_187315_a((double)((float)this.field_148152_e / 32.0F), (double)((float)(this.field_148154_c + (int)this.field_148169_q) / 32.0F)).func_181669_b(32, 32, 32, 255).func_181675_d();
|
||||||
- vertexbuffer.func_181662_b((double)this.field_148151_d, (double)this.field_148154_c, 0.0D).func_187315_a((double)((float)this.field_148151_d / f), (double)((float)(this.field_148154_c + (int)this.field_148169_q) / f)).func_181669_b(32, 32, 32, 255).func_181675_d();
|
- vertexbuffer.func_181662_b((double)this.field_148151_d, (double)this.field_148154_c, 0.0D).func_187315_a((double)((float)this.field_148151_d / 32.0F), (double)((float)(this.field_148154_c + (int)this.field_148169_q) / 32.0F)).func_181669_b(32, 32, 32, 255).func_181675_d();
|
||||||
- vertexbuffer.func_181662_b((double)this.field_148151_d, (double)this.field_148153_b, 0.0D).func_187315_a((double)((float)this.field_148151_d / f), (double)((float)(this.field_148153_b + (int)this.field_148169_q) / f)).func_181669_b(32, 32, 32, 255).func_181675_d();
|
- vertexbuffer.func_181662_b((double)this.field_148151_d, (double)this.field_148153_b, 0.0D).func_187315_a((double)((float)this.field_148151_d / 32.0F), (double)((float)(this.field_148153_b + (int)this.field_148169_q) / 32.0F)).func_181669_b(32, 32, 32, 255).func_181675_d();
|
||||||
- vertexbuffer.func_181662_b((double)this.field_148152_e, (double)this.field_148153_b, 0.0D).func_187315_a((double)((float)this.field_148152_e / f), (double)((float)(this.field_148153_b + (int)this.field_148169_q) / f)).func_181669_b(32, 32, 32, 255).func_181675_d();
|
- vertexbuffer.func_181662_b((double)this.field_148152_e, (double)this.field_148153_b, 0.0D).func_187315_a((double)((float)this.field_148152_e / 32.0F), (double)((float)(this.field_148153_b + (int)this.field_148169_q) / 32.0F)).func_181669_b(32, 32, 32, 255).func_181675_d();
|
||||||
- tessellator.func_78381_a();
|
- tessellator.func_78381_a();
|
||||||
+ // Forge: background rendering moved into separate method.
|
+ // Forge: background rendering moved into separate method.
|
||||||
+ this.drawContainerBackground(tessellator);
|
+ this.drawContainerBackground(tessellator);
|
||||||
|
|||||||
@@ -1,10 +1,11 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/client/gui/GuiUtilRenderComponents.java
|
--- ../src-base/minecraft/net/minecraft/client/gui/GuiUtilRenderComponents.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/client/gui/GuiUtilRenderComponents.java
|
+++ ../src-work/minecraft/net/minecraft/client/gui/GuiUtilRenderComponents.java
|
||||||
@@ -73,6 +73,7 @@
|
@@ -73,6 +73,8 @@
|
||||||
s3 = s4;
|
s3 = s4;
|
||||||
}
|
}
|
||||||
|
|
||||||
+ s3 = FontRenderer.func_78282_e(s2) + s3; //Forge: Fix chat formatting not surviving line wrapping.
|
+ s3 = FontRenderer.func_78282_e(s2) + s3; //Forge: Fix chat formatting not surviving line wrapping.
|
||||||
TextComponentString textcomponentstring2 = new TextComponentString(s3);
|
+
|
||||||
textcomponentstring2.func_150255_a(itextcomponent1.func_150256_b().func_150232_l());
|
TextComponentString textcomponentstring1 = new TextComponentString(s3);
|
||||||
list1.add(j + 1, textcomponentstring2);
|
textcomponentstring1.func_150255_a(itextcomponent1.func_150256_b().func_150232_l());
|
||||||
|
list1.add(j + 1, textcomponentstring1);
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
--- ../src-base/minecraft/net/minecraft/client/gui/GuiVideoSettings.java
|
||||||
|
+++ ../src-work/minecraft/net/minecraft/client/gui/GuiVideoSettings.java
|
||||||
|
@@ -107,4 +107,12 @@
|
||||||
|
this.func_73732_a(this.field_146289_q, this.field_146500_a, this.field_146294_l / 2, 5, 16777215);
|
||||||
|
super.func_73863_a(p_73863_1_, p_73863_2_, p_73863_3_);
|
||||||
|
}
|
||||||
|
+
|
||||||
|
+ // FORGE: fix for MC-64581 very laggy mipmap slider
|
||||||
|
+ @Override
|
||||||
|
+ public void func_146281_b()
|
||||||
|
+ {
|
||||||
|
+ super.func_146281_b();
|
||||||
|
+ this.field_146297_k.field_71474_y.onGuiClosed();
|
||||||
|
+ }
|
||||||
|
}
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/client/gui/ServerListEntryNormal.java
|
--- ../src-base/minecraft/net/minecraft/client/gui/ServerListEntryNormal.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/client/gui/ServerListEntryNormal.java
|
+++ ../src-work/minecraft/net/minecraft/client/gui/ServerListEntryNormal.java
|
||||||
@@ -82,7 +82,7 @@
|
@@ -82,7 +82,7 @@
|
||||||
boolean flag1 = this.field_148301_e.field_82821_f < 107;
|
boolean flag1 = this.field_148301_e.field_82821_f < 210;
|
||||||
boolean flag2 = flag || flag1;
|
boolean flag2 = flag || flag1;
|
||||||
this.field_148300_d.field_71466_p.func_78276_b(this.field_148301_e.field_78847_a, p_180790_2_ + 32 + 3, p_180790_3_ + 1, 16777215);
|
this.field_148300_d.field_71466_p.func_78276_b(this.field_148301_e.field_78847_a, p_180790_2_ + 32 + 3, p_180790_3_ + 1, 16777215);
|
||||||
- List<String> list = this.field_148300_d.field_71466_p.func_78271_c(this.field_148301_e.field_78843_d, p_180790_4_ - 32 - 2);
|
- List<String> list = this.field_148300_d.field_71466_p.func_78271_c(this.field_148301_e.field_78843_d, p_180790_4_ - 32 - 2);
|
||||||
|
|||||||
@@ -1,20 +1,20 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/client/gui/achievement/GuiAchievements.java
|
--- ../src-base/minecraft/net/minecraft/client/gui/achievement/GuiAchievements.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/client/gui/achievement/GuiAchievements.java
|
+++ ../src-work/minecraft/net/minecraft/client/gui/achievement/GuiAchievements.java
|
||||||
@@ -49,6 +49,10 @@
|
@@ -49,6 +49,10 @@
|
||||||
private StatFileWriter field_146556_E;
|
private final StatisticsManager field_146556_E;
|
||||||
private boolean field_146558_F = true;
|
private boolean field_146558_F = true;
|
||||||
|
|
||||||
+ private int currentPage = -1;
|
+ private int currentPage = -1;
|
||||||
+ private GuiButton button;
|
+ private GuiButton button;
|
||||||
+ private java.util.LinkedList<Achievement> minecraftAchievements = new java.util.LinkedList<Achievement>();
|
+ private java.util.LinkedList<Achievement> minecraftAchievements = new java.util.LinkedList<Achievement>();
|
||||||
+
|
+
|
||||||
public GuiAchievements(GuiScreen p_i45026_1_, StatFileWriter p_i45026_2_)
|
public GuiAchievements(GuiScreen p_i45026_1_, StatisticsManager p_i45026_2_)
|
||||||
{
|
{
|
||||||
this.field_146562_a = p_i45026_1_;
|
this.field_146562_a = p_i45026_1_;
|
||||||
@@ -57,6 +61,14 @@
|
@@ -61,6 +65,14 @@
|
||||||
int j = 141;
|
this.field_146573_x = (double)(AchievementList.field_187982_f.field_75991_b * 24 - 70);
|
||||||
this.field_146569_s = this.field_146567_u = this.field_146565_w = (double)(AchievementList.field_187982_f.field_75993_a * 24 - i / 2 - 12);
|
this.field_146568_t = this.field_146573_x;
|
||||||
this.field_146568_t = this.field_146566_v = this.field_146573_x = (double)(AchievementList.field_187982_f.field_75991_b * 24 - j / 2);
|
this.field_146566_v = this.field_146573_x;
|
||||||
+ minecraftAchievements.clear();
|
+ minecraftAchievements.clear();
|
||||||
+ for (Achievement achievement : AchievementList.field_187981_e)
|
+ for (Achievement achievement : AchievementList.field_187981_e)
|
||||||
+ {
|
+ {
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void func_73866_w_()
|
public void func_73866_w_()
|
||||||
@@ -64,6 +76,7 @@
|
@@ -68,6 +80,7 @@
|
||||||
this.field_146297_k.func_147114_u().func_147297_a(new CPacketClientStatus(CPacketClientStatus.State.REQUEST_STATS));
|
this.field_146297_k.func_147114_u().func_147297_a(new CPacketClientStatus(CPacketClientStatus.State.REQUEST_STATS));
|
||||||
this.field_146292_n.clear();
|
this.field_146292_n.clear();
|
||||||
this.field_146292_n.add(new GuiOptionButton(1, this.field_146294_l / 2 + 24, this.field_146295_m / 2 + 74, 80, 20, I18n.func_135052_a("gui.done", new Object[0])));
|
this.field_146292_n.add(new GuiOptionButton(1, this.field_146294_l / 2 + 24, this.field_146295_m / 2 + 74, 80, 20, I18n.func_135052_a("gui.done", new Object[0])));
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected void func_146284_a(GuiButton p_146284_1_) throws IOException
|
protected void func_146284_a(GuiButton p_146284_1_) throws IOException
|
||||||
@@ -74,12 +87,22 @@
|
@@ -78,12 +91,22 @@
|
||||||
{
|
{
|
||||||
this.field_146297_k.func_147108_a(this.field_146562_a);
|
this.field_146297_k.func_147108_a(this.field_146562_a);
|
||||||
}
|
}
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
{
|
{
|
||||||
this.field_146297_k.func_147108_a((GuiScreen)null);
|
this.field_146297_k.func_147108_a((GuiScreen)null);
|
||||||
this.field_146297_k.func_71381_h();
|
this.field_146297_k.func_71381_h();
|
||||||
@@ -257,7 +280,9 @@
|
@@ -264,7 +287,9 @@
|
||||||
GlStateManager.func_179143_c(518);
|
GlStateManager.func_179143_c(518);
|
||||||
GlStateManager.func_179094_E();
|
GlStateManager.func_179094_E();
|
||||||
GlStateManager.func_179109_b((float)i1, (float)j1, -200.0F);
|
GlStateManager.func_179109_b((float)i1, (float)j1, -200.0F);
|
||||||
@@ -69,7 +69,7 @@
|
|||||||
GlStateManager.func_179098_w();
|
GlStateManager.func_179098_w();
|
||||||
GlStateManager.func_179140_f();
|
GlStateManager.func_179140_f();
|
||||||
GlStateManager.func_179091_B();
|
GlStateManager.func_179091_B();
|
||||||
@@ -331,11 +356,12 @@
|
@@ -338,11 +363,12 @@
|
||||||
GlStateManager.func_179143_c(515);
|
GlStateManager.func_179143_c(515);
|
||||||
this.field_146297_k.func_110434_K().func_110577_a(field_146561_C);
|
this.field_146297_k.func_110434_K().func_110577_a(field_146561_C);
|
||||||
|
|
||||||
@@ -77,14 +77,15 @@
|
|||||||
+ java.util.List<Achievement> achievementList = (currentPage == -1 ? minecraftAchievements : net.minecraftforge.common.AchievementPage.getAchievementPage(currentPage).getAchievements());
|
+ java.util.List<Achievement> achievementList = (currentPage == -1 ? minecraftAchievements : net.minecraftforge.common.AchievementPage.getAchievementPage(currentPage).getAchievements());
|
||||||
+ for (int j5 = 0; j5 < achievementList.size(); ++j5)
|
+ for (int j5 = 0; j5 < achievementList.size(); ++j5)
|
||||||
{
|
{
|
||||||
Achievement achievement1 = (Achievement)AchievementList.field_187981_e.get(j5);
|
- Achievement achievement1 = (Achievement)AchievementList.field_187981_e.get(j5);
|
||||||
|
+ Achievement achievement1 = achievementList.get(j5);
|
||||||
|
|
||||||
- if (achievement1.field_75992_c != null)
|
- if (achievement1.field_75992_c != null)
|
||||||
+ if (achievement1.field_75992_c != null && achievementList.contains(achievement1.field_75992_c))
|
+ if (achievement1.field_75992_c != null && achievementList.contains(achievement1.field_75992_c))
|
||||||
{
|
{
|
||||||
int k5 = achievement1.field_75993_a * 24 - i + 11;
|
int k5 = achievement1.field_75993_a * 24 - i + 11;
|
||||||
int l5 = achievement1.field_75991_b * 24 - j + 11;
|
int l5 = achievement1.field_75991_b * 24 - j + 11;
|
||||||
@@ -389,9 +415,9 @@
|
@@ -396,9 +422,9 @@
|
||||||
GlStateManager.func_179091_B();
|
GlStateManager.func_179091_B();
|
||||||
GlStateManager.func_179142_g();
|
GlStateManager.func_179142_g();
|
||||||
|
|
||||||
@@ -96,7 +97,7 @@
|
|||||||
int l6 = achievement2.field_75993_a * 24 - i;
|
int l6 = achievement2.field_75993_a * 24 - i;
|
||||||
int j7 = achievement2.field_75991_b * 24 - j;
|
int j7 = achievement2.field_75991_b * 24 - j;
|
||||||
|
|
||||||
@@ -432,6 +458,7 @@
|
@@ -439,6 +465,7 @@
|
||||||
|
|
||||||
this.field_146297_k.func_110434_K().func_110577_a(field_146561_C);
|
this.field_146297_k.func_110434_K().func_110577_a(field_146561_C);
|
||||||
|
|
||||||
@@ -104,7 +105,7 @@
|
|||||||
if (achievement2.func_75984_f())
|
if (achievement2.func_75984_f())
|
||||||
{
|
{
|
||||||
this.func_73729_b(l6 - 2, j7 - 2, 26, 202, 26, 26);
|
this.func_73729_b(l6 - 2, j7 - 2, 26, 202, 26, 26);
|
||||||
@@ -440,6 +467,7 @@
|
@@ -447,6 +474,7 @@
|
||||||
{
|
{
|
||||||
this.func_73729_b(l6 - 2, j7 - 2, 0, 202, 26, 26);
|
this.func_73729_b(l6 - 2, j7 - 2, 0, 202, 26, 26);
|
||||||
}
|
}
|
||||||
@@ -112,7 +113,7 @@
|
|||||||
|
|
||||||
if (!this.field_146556_E.func_77442_b(achievement2))
|
if (!this.field_146556_E.func_77442_b(achievement2))
|
||||||
{
|
{
|
||||||
@@ -448,7 +476,7 @@
|
@@ -455,7 +483,7 @@
|
||||||
this.field_146296_j.func_175039_a(false);
|
this.field_146296_j.func_175039_a(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -78,6 +78,15 @@
|
|||||||
int k = -1;
|
int k = -1;
|
||||||
|
|
||||||
if (slot != null)
|
if (slot != null)
|
||||||
|
@@ -488,7 +493,7 @@
|
||||||
|
{
|
||||||
|
for (Slot slot2 : this.field_147002_h.field_75151_b)
|
||||||
|
{
|
||||||
|
- if (slot2 != null && slot2.func_82869_a(this.field_146297_k.field_71439_g) && slot2.func_75216_d() && slot2.field_75224_c == slot.field_75224_c && Container.func_94527_a(slot2, this.field_146994_N, true))
|
||||||
|
+ if (slot2 != null && slot2.func_82869_a(this.field_146297_k.field_71439_g) && slot2.func_75216_d() && slot2.isSameInventory(slot) && Container.func_94527_a(slot2, this.field_146994_N, true))
|
||||||
|
{
|
||||||
|
this.func_184098_a(slot2, slot2.field_75222_d, p_146286_3_, ClickType.QUICK_MOVE);
|
||||||
|
}
|
||||||
@@ -575,7 +580,7 @@
|
@@ -575,7 +580,7 @@
|
||||||
}
|
}
|
||||||
else if (this.field_146297_k.field_71439_g.field_71071_by.func_70445_o() != null)
|
else if (this.field_146297_k.field_71439_g.field_71071_by.func_70445_o() != null)
|
||||||
|
|||||||
+29
-19
@@ -1,6 +1,6 @@
|
|||||||
--- ../src-base/minecraft/net/minecraft/client/gui/inventory/GuiContainerCreative.java
|
--- ../src-base/minecraft/net/minecraft/client/gui/inventory/GuiContainerCreative.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/client/gui/inventory/GuiContainerCreative.java
|
+++ ../src-work/minecraft/net/minecraft/client/gui/inventory/GuiContainerCreative.java
|
||||||
@@ -49,6 +49,8 @@
|
@@ -50,6 +50,8 @@
|
||||||
private Slot field_147064_C;
|
private Slot field_147064_C;
|
||||||
private boolean field_147057_D;
|
private boolean field_147057_D;
|
||||||
private CreativeCrafting field_147059_E;
|
private CreativeCrafting field_147059_E;
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
public GuiContainerCreative(EntityPlayer p_i1088_1_)
|
public GuiContainerCreative(EntityPlayer p_i1088_1_)
|
||||||
{
|
{
|
||||||
@@ -258,6 +260,13 @@
|
@@ -259,6 +261,13 @@
|
||||||
this.func_147050_b(CreativeTabs.field_78032_a[i]);
|
this.func_147050_b(CreativeTabs.field_78032_a[i]);
|
||||||
this.field_147059_E = new CreativeCrafting(this.field_146297_k);
|
this.field_147059_E = new CreativeCrafting(this.field_146297_k);
|
||||||
this.field_146297_k.field_71439_g.field_71069_bz.func_75132_a(this.field_147059_E);
|
this.field_146297_k.field_71439_g.field_71069_bz.func_75132_a(this.field_147059_E);
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -279,7 +288,7 @@
|
@@ -280,7 +289,7 @@
|
||||||
|
|
||||||
protected void func_73869_a(char p_73869_1_, int p_73869_2_) throws IOException
|
protected void func_73869_a(char p_73869_1_, int p_73869_2_) throws IOException
|
||||||
{
|
{
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
{
|
{
|
||||||
if (GameSettings.func_100015_a(this.field_146297_k.field_71474_y.field_74310_D))
|
if (GameSettings.func_100015_a(this.field_146297_k.field_71474_y.field_74310_D))
|
||||||
{
|
{
|
||||||
@@ -317,6 +326,14 @@
|
@@ -318,6 +327,14 @@
|
||||||
GuiContainerCreative.ContainerCreative guicontainercreative$containercreative = (GuiContainerCreative.ContainerCreative)this.field_147002_h;
|
GuiContainerCreative.ContainerCreative guicontainercreative$containercreative = (GuiContainerCreative.ContainerCreative)this.field_147002_h;
|
||||||
guicontainercreative$containercreative.field_148330_a.clear();
|
guicontainercreative$containercreative.field_148330_a.clear();
|
||||||
|
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
for (Item item : Item.field_150901_e)
|
for (Item item : Item.field_150901_e)
|
||||||
{
|
{
|
||||||
if (item != null && item.func_77640_w() != null)
|
if (item != null && item.func_77640_w() != null)
|
||||||
@@ -324,7 +341,13 @@
|
@@ -325,7 +342,13 @@
|
||||||
item.func_150895_a(item, (CreativeTabs)null, guicontainercreative$containercreative.field_148330_a);
|
item.func_150895_a(item, (CreativeTabs)null, guicontainercreative$containercreative.field_148330_a);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -57,11 +57,11 @@
|
|||||||
+ //split from above for custom search tabs
|
+ //split from above for custom search tabs
|
||||||
+ private void updateFilteredItems(GuiContainerCreative.ContainerCreative guicontainercreative$containercreative)
|
+ private void updateFilteredItems(GuiContainerCreative.ContainerCreative guicontainercreative$containercreative)
|
||||||
+ {
|
+ {
|
||||||
+ if (CreativeTabs.field_78032_a[field_147058_w] == CreativeTabs.field_78027_g) // FORGE: Only add enchanted books to the regular search
|
+ if (CreativeTabs.field_78032_a[field_147058_w] == CreativeTabs.field_78027_g) // FORGE: Only add enchanted books to the regular search
|
||||||
for (Enchantment enchantment : Enchantment.field_185264_b)
|
for (Enchantment enchantment : Enchantment.field_185264_b)
|
||||||
{
|
{
|
||||||
if (enchantment != null && enchantment.field_77351_y != null)
|
if (enchantment != null && enchantment.field_77351_y != null)
|
||||||
@@ -332,7 +355,6 @@
|
@@ -333,7 +356,6 @@
|
||||||
Items.field_151134_bR.func_92113_a(enchantment, guicontainercreative$containercreative.field_148330_a);
|
Items.field_151134_bR.func_92113_a(enchantment, guicontainercreative$containercreative.field_148330_a);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -69,7 +69,7 @@
|
|||||||
Iterator<ItemStack> iterator = guicontainercreative$containercreative.field_148330_a.iterator();
|
Iterator<ItemStack> iterator = guicontainercreative$containercreative.field_148330_a.iterator();
|
||||||
String s1 = this.field_147062_A.func_146179_b().toLowerCase();
|
String s1 = this.field_147062_A.func_146179_b().toLowerCase();
|
||||||
|
|
||||||
@@ -364,7 +386,7 @@
|
@@ -365,7 +387,7 @@
|
||||||
{
|
{
|
||||||
CreativeTabs creativetabs = CreativeTabs.field_78032_a[field_147058_w];
|
CreativeTabs creativetabs = CreativeTabs.field_78032_a[field_147058_w];
|
||||||
|
|
||||||
@@ -78,7 +78,7 @@
|
|||||||
{
|
{
|
||||||
GlStateManager.func_179084_k();
|
GlStateManager.func_179084_k();
|
||||||
this.field_146289_q.func_78276_b(I18n.func_135052_a(creativetabs.func_78024_c(), new Object[0]), 8, 6, 4210752);
|
this.field_146289_q.func_78276_b(I18n.func_135052_a(creativetabs.func_78024_c(), new Object[0]), 8, 6, 4210752);
|
||||||
@@ -399,7 +421,7 @@
|
@@ -400,7 +422,7 @@
|
||||||
|
|
||||||
for (CreativeTabs creativetabs : CreativeTabs.field_78032_a)
|
for (CreativeTabs creativetabs : CreativeTabs.field_78032_a)
|
||||||
{
|
{
|
||||||
@@ -87,7 +87,7 @@
|
|||||||
{
|
{
|
||||||
this.func_147050_b(creativetabs);
|
this.func_147050_b(creativetabs);
|
||||||
return;
|
return;
|
||||||
@@ -412,11 +434,13 @@
|
@@ -413,11 +435,13 @@
|
||||||
|
|
||||||
private boolean func_147055_p()
|
private boolean func_147055_p()
|
||||||
{
|
{
|
||||||
@@ -101,7 +101,7 @@
|
|||||||
int i = field_147058_w;
|
int i = field_147058_w;
|
||||||
field_147058_w = p_147050_1_.func_78021_a();
|
field_147058_w = p_147050_1_.func_78021_a();
|
||||||
GuiContainerCreative.ContainerCreative guicontainercreative$containercreative = (GuiContainerCreative.ContainerCreative)this.field_147002_h;
|
GuiContainerCreative.ContainerCreative guicontainercreative$containercreative = (GuiContainerCreative.ContainerCreative)this.field_147002_h;
|
||||||
@@ -487,12 +511,14 @@
|
@@ -488,12 +512,14 @@
|
||||||
|
|
||||||
if (this.field_147062_A != null)
|
if (this.field_147062_A != null)
|
||||||
{
|
{
|
||||||
@@ -117,7 +117,7 @@
|
|||||||
this.func_147053_i();
|
this.func_147053_i();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -562,20 +588,43 @@
|
@@ -563,20 +589,43 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
super.func_73863_a(p_73863_1_, p_73863_2_, p_73863_3_);
|
super.func_73863_a(p_73863_1_, p_73863_2_, p_73863_3_);
|
||||||
@@ -137,7 +137,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
+ if (!rendered && func_147052_b(CreativeTabs.field_78027_g, p_73863_1_, p_73863_2_))
|
+ if (!rendered && !func_147052_b(CreativeTabs.field_78027_g, p_73863_1_, p_73863_2_))
|
||||||
+ {
|
+ {
|
||||||
+ func_147052_b(CreativeTabs.field_78036_m, p_73863_1_, p_73863_2_);
|
+ func_147052_b(CreativeTabs.field_78036_m, p_73863_1_, p_73863_2_);
|
||||||
+ }
|
+ }
|
||||||
@@ -162,7 +162,17 @@
|
|||||||
GlStateManager.func_179131_c(1.0F, 1.0F, 1.0F, 1.0F);
|
GlStateManager.func_179131_c(1.0F, 1.0F, 1.0F, 1.0F);
|
||||||
GlStateManager.func_179140_f();
|
GlStateManager.func_179140_f();
|
||||||
}
|
}
|
||||||
@@ -637,16 +686,35 @@
|
@@ -624,7 +673,9 @@
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
+ net.minecraftforge.fml.client.config.GuiUtils.preItemToolTip(p_146285_1_);
|
||||||
|
this.func_146283_a(list, p_146285_2_, p_146285_3_);
|
||||||
|
+ net.minecraftforge.fml.client.config.GuiUtils.postItemToolTip();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
@@ -638,16 +689,35 @@
|
||||||
RenderHelper.func_74520_c();
|
RenderHelper.func_74520_c();
|
||||||
CreativeTabs creativetabs = CreativeTabs.field_78032_a[field_147058_w];
|
CreativeTabs creativetabs = CreativeTabs.field_78032_a[field_147058_w];
|
||||||
|
|
||||||
@@ -199,7 +209,7 @@
|
|||||||
this.field_146297_k.func_110434_K().func_110577_a(new ResourceLocation("textures/gui/container/creative_inventory/tab_" + creativetabs.func_78015_f()));
|
this.field_146297_k.func_110434_K().func_110577_a(new ResourceLocation("textures/gui/container/creative_inventory/tab_" + creativetabs.func_78015_f()));
|
||||||
this.func_73729_b(this.field_147003_i, this.field_147009_r, 0, 0, this.field_146999_f, this.field_147000_g);
|
this.func_73729_b(this.field_147003_i, this.field_147009_r, 0, 0, this.field_146999_f, this.field_147000_g);
|
||||||
this.field_147062_A.func_146194_f();
|
this.field_147062_A.func_146194_f();
|
||||||
@@ -661,6 +729,14 @@
|
@@ -662,6 +732,14 @@
|
||||||
this.func_73729_b(i, j + (int)((float)(k - j - 17) * this.field_147067_x), 232 + (this.func_147055_p() ? 0 : 12), 0, 12, 15);
|
this.func_73729_b(i, j + (int)((float)(k - j - 17) * this.field_147067_x), 232 + (this.func_147055_p() ? 0 : 12), 0, 12, 15);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -214,7 +224,7 @@
|
|||||||
this.func_147051_a(creativetabs);
|
this.func_147051_a(creativetabs);
|
||||||
|
|
||||||
if (creativetabs == CreativeTabs.field_78036_m)
|
if (creativetabs == CreativeTabs.field_78036_m)
|
||||||
@@ -671,6 +747,14 @@
|
@@ -672,6 +750,14 @@
|
||||||
|
|
||||||
protected boolean func_147049_a(CreativeTabs p_147049_1_, int p_147049_2_, int p_147049_3_)
|
protected boolean func_147049_a(CreativeTabs p_147049_1_, int p_147049_2_, int p_147049_3_)
|
||||||
{
|
{
|
||||||
@@ -229,16 +239,16 @@
|
|||||||
int i = p_147049_1_.func_78020_k();
|
int i = p_147049_1_.func_78020_k();
|
||||||
int j = 28 * i;
|
int j = 28 * i;
|
||||||
int k = 0;
|
int k = 0;
|
||||||
@@ -767,6 +851,8 @@
|
@@ -768,6 +854,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
GlStateManager.func_179140_f();
|
GlStateManager.func_179140_f();
|
||||||
+ GlStateManager.func_179124_c(1F, 1F, 1F); //Forge: Reset color in case Items change it.
|
+ GlStateManager.func_179124_c(1F, 1F, 1F); //Forge: Reset color in case Items change it.
|
||||||
+ GlStateManager.func_179147_l(); //Forge: Make sure blend is enabled else tabs show a white border.
|
+ GlStateManager.func_179147_l(); //Forge: Make sure blend is enabled else tabs show a white border.
|
||||||
this.func_73729_b(l, i1, j, k, 28, j1);
|
this.func_73729_b(l, i1, j, k, 28, 32);
|
||||||
this.field_73735_i = 100.0F;
|
this.field_73735_i = 100.0F;
|
||||||
this.field_146296_j.field_77023_b = 100.0F;
|
this.field_146296_j.field_77023_b = 100.0F;
|
||||||
@@ -793,6 +879,15 @@
|
@@ -794,6 +882,15 @@
|
||||||
{
|
{
|
||||||
this.field_146297_k.func_147108_a(new GuiStats(this, this.field_146297_k.field_71439_g.func_146107_m()));
|
this.field_146297_k.func_147108_a(new GuiStats(this, this.field_146297_k.field_71439_g.func_146107_m()));
|
||||||
}
|
}
|
||||||
|
|||||||
Loaded 100 of 977 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user