These are chat archives for PrismarineJS/prismarine-server

29th
Apr 2015
Alex Cavazos
@AlexKvazos
Apr 29 2015 22:33
hi?
Robin Lambertz
@roblabla
Apr 29 2015 22:37
ohi
Alex Cavazos
@AlexKvazos
Apr 29 2015 22:39
How you guys doing
Will Franzen
@wtfaremyinitials
Apr 29 2015 22:41
Pretty good
Alex Cavazos
@AlexKvazos
Apr 29 2015 22:41
Someone tell me if there is already a way of getting the entire server chat in strings? Not sure if this thing im doing is useless http://hastebin.com/jerulizuwu.js
Parsing all the vanilla messages with it
And that is going to get way longer as I go, that is not even half of the message types
Will Franzen
@wtfaremyinitials
Apr 29 2015 22:41
There is probably an easier way to do that
not 100% sure though
Robin Lambertz
@roblabla
Apr 29 2015 22:42
minecraft keeps a JSON list of those things
with a printf-like syntax for using it
Will Franzen
@wtfaremyinitials
Apr 29 2015 22:42
have you checked the language JSON in the minecraft.jar?
Robin Lambertz
@roblabla
Apr 29 2015 22:42
yeah, that
Will Franzen
@wtfaremyinitials
Apr 29 2015 22:42
thanks rob :p
Alex Cavazos
@AlexKvazos
Apr 29 2015 22:42
Where can I find that list?
That'd be so sweet
Robin Lambertz
@roblabla
Apr 29 2015 22:42
in your minecraft client's assets
eeh not assets
Will Franzen
@wtfaremyinitials
Apr 29 2015 22:43
are you sure it's not assets?
that sounds right to me
Robin Lambertz
@roblabla
Apr 29 2015 22:43
ah maybe assets
urg, assets have a shit structure now
Alex Cavazos
@AlexKvazos
Apr 29 2015 22:44
Robin Lambertz
@roblabla
Apr 29 2015 22:45
it is there
you need to open 1.8.json
find the asset you want (probably minecraft/lang/en_GB.json
and see the associated hash
for me it's 03f31164d234f10a3230611656332f1756e570a9
then it's in assets/bojects/03/03f31164d234f10a3230611656332f1756e570a9
something like that
Will Franzen
@wtfaremyinitials
Apr 29 2015 22:46
(Or en_US ;) )
Robin Lambertz
@roblabla
Apr 29 2015 22:46
jackpot
there's no en_US
Will Franzen
@wtfaremyinitials
Apr 29 2015 22:46
Really? :(
Robin Lambertz
@roblabla
Apr 29 2015 22:46
yeah, i checked
surprised me
container.isLocked=%s is locked!
so yeah, printf syntax
Alex Cavazos
@AlexKvazos
Apr 29 2015 22:47
no en_uS yeah
Robin Lambertz
@roblabla
Apr 29 2015 22:47
well to be correct, it's Java's printf syntax
Will Franzen
@wtfaremyinitials
Apr 29 2015 22:47
huh what
Alex Cavazos
@AlexKvazos
Apr 29 2015 22:47
"minecraft/lang/en_GB.lang": {
      "hash": "03f31164d234f10a3230611656332f1756e570a9",
      "size": 117031
so once I have that..
Will Franzen
@wtfaremyinitials
Apr 29 2015 22:48
where does minecraft use a locked translation?
Robin Lambertz
@roblabla
Apr 29 2015 22:48
it's in .minecraft/assets/objects/03/03f31164d234f10a3230611656332f1756e570a9
@wtfaremyinitials whaat ?
wow...
You guys just saved me a lifetime
Will Franzen
@wtfaremyinitials
Apr 29 2015 22:48
%s is locked!
where does the game use that?
Robin Lambertz
@roblabla
Apr 29 2015 22:49
heh
No idea ? it's a random copy paste from the ini file
Will Franzen
@wtfaremyinitials
Apr 29 2015 22:49
Huh
Robin Lambertz
@roblabla
Apr 29 2015 22:49
it's probably for the tf2 easter egg
but I'm not sure ^^
ah no, there's an nbt tag to lock chests now
Will Franzen
@wtfaremyinitials
Apr 29 2015 22:50
TIL
Lock: Optional. When not blank, prevents the container from being opened unless the opener is holding an item whose name matches this string.
is this... a joke ?
oh, whatever.
Will Franzen
@wtfaremyinitials
Apr 29 2015 22:52
Yeah that makes sense
Alex Cavazos
@AlexKvazos
Apr 29 2015 22:53
Will Franzen
@wtfaremyinitials
Apr 29 2015 22:55
:+1:
Robin Lambertz
@roblabla
Apr 29 2015 22:55
maybe those ini files should find their way into minecraft-data.
(as json, obv)
then again, we run into the problem of internationalization fairly quick...
actually, that could fix a lot of problems
Will Franzen
@wtfaremyinitials
Apr 29 2015 23:00
are we worried about copyright
?