<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:00:08] <howtonotwin> rtfd is official to readthedocs, so I doubt it
L2[00:00:16] <McJty> howtonotwin, it is
L3[00:00:18] <kenzierocks> no i'm pretty sure that's it
L4[00:00:20] <McJty> That's what it means
L5[00:00:26] <kenzierocks> considering it's from "read the fucking manual"
L6[00:00:29] <McJty> It is like RTFM
L7[00:00:42] <kenzierocks> of course, there's always "read the fine manual"
L8[00:01:09] <howtonotwin> what is professionalism :p
L9[00:02:00] <howtonotwin> anyway, sleep!
L10[00:02:01] <kenzierocks> guys clearly it's https://en.wikipedia.org/wiki/Rich_Text_Format_Directory
L11[00:02:40] ⇦ Quits: howtonotwin (~howtonotw@r75-110-22-15.gvllcmtc01.gnvlnc.ab.dh.suddenlink.net) (Quit: Pop!)
L12[00:02:56] <illy> if I could I would show you the git logs from my old internship there is some real "professionalism" :P
L13[00:03:13] <mrkirby153> What's the best git workflow to use with a small-ish project between myself and a few others?
L14[00:03:19] <illy> mostly has "fuck and rendering"
L15[00:03:29] <SatanicSanta> eh
L16[00:03:32] <SatanicSanta> better than "Commit"
L17[00:03:42] <mrkirby153> I have one called "stuff"
L18[00:03:54] <LexDesktop> Or, "Update" ;)
L19[00:04:05] <SatanicSanta> Lex: "Update" is acceptable if you are only updating dependencies.
L20[00:04:10] <SatanicSanta> which is what I most often see it used for
L21[00:04:13] <kenzierocks> how about https://github.com/RuedigerMoeller/fast-serialization/commits/master
L22[00:04:17] <kenzierocks> it's a mix of decent commits
L23[00:04:25] ⇦ Quits: Unh0lyTigg (~Robert@c-76-115-95-185.hsd1.or.comcast.net) (Killed (NickServ (GHOST command used by Unh0ly_Tigg)))
L24[00:04:27] ⇨ Joins: Unh0ly_Tigg (~Robert@c-76-115-95-185.hsd1.or.comcast.net)
L25[00:04:27] <illy> haha http://www.commitlogsfromlastnight.com/
L26[00:04:29] <kenzierocks> and "Add files via upload"
L27[00:04:41] <mrkirby153> What's the "mrkirby153 committed with mrkirby153" thing mean?
L28[00:04:58] <LexDesktop> http://starlogs.net/#ReikaKalseki/DragonAPI
L29[00:05:02] <SatanicSanta> lmao
L30[00:05:23] <mrkirby153> Was not expecting the starwars fanfare
L31[00:05:25] <kenzierocks> illy: the ratio of shit:regular words is really high
L32[00:05:31] <SatanicSanta> mrkirby153: Does it say that literally, or is "with mrkirby153" an example?
L33[00:05:36] <mrkirby153> example
L34[00:05:55] <SatanicSanta> http://stackoverflow.com/questions/37245303/what-does-usera-committed-with-userb-13-days-ago-on-github-mean
L35[00:06:17] <illy> kenzierocks: iirc it polls fpr any cuss word
L36[00:06:18] <mrkirby153> Thanks lex for showing me starlogs.net :D
L37[00:06:25] <mrkirby153> This is hiliarous
L38[00:06:35] <SatanicSanta> Anyway, my workflow: "I do all the work and everyone else adds 1 line changes, all on master" :P
L39[00:06:57] <mrkirby153> I did 90% of the work on the last project we did
L40[00:07:20] <kenzierocks> it bothers me that starlogs starts from the recent and goes backwards
L41[00:07:36] <SatanicSanta> kenzierocks: https://github.com/artemave/StarLogs/issues/2
L42[00:07:50] <illy> it bothers me that it only has update...
L43[00:08:14] <kenzierocks> lol
L44[00:08:21] <mrkirby153> "better treadbot"
L45[00:08:29] <mrkirby153> That's some amazing craftsmanship right there
L46[00:08:42] <mrkirby153> "X not working yet"
L47[00:08:49] <mrkirby153> Please save me from my fellow "developers"
L48[00:09:20] <SatanicSanta> I just wish you were able to forbid people from committing on specific branches
L49[00:09:26] <mrkirby153> ^
L50[00:09:29] <SatanicSanta> that way people you dont trust very much were required to branch for everything
L51[00:09:36] <mrkirby153> Gitlab has that option
L52[00:09:39] <SatanicSanta> yeah
L53[00:09:41] <mrkirby153> Github doesn;t
L54[00:09:43] <mrkirby153> I wish it did
L55[00:09:48] <SatanicSanta> yes
L56[00:10:13] <SatanicSanta> You can always just weekly git push origin master -f with a completely rewritten history of that week :P
L57[00:10:25] <illy> I mean how hard is it to do "git commit -m "Fixed X and added feature B" his I get 5 fps with git make 0 sense
L58[00:10:45] <SatanicSanta> Your sentence is struggling
L59[00:10:47] <mrkirby153> illy, Hard for some, apparently
L60[00:11:13] <illy> SatanicSanta: i know and i cry
L61[00:11:22] <kenzierocks> mrkirby153: github has protected branches
L62[00:11:30] <mrkirby153> IK, they lock the branch for everyone
L63[00:11:35] <mrkirby153> Not just certain people
L64[00:11:36] <SatanicSanta> Years ago I would commit before I left the house, rather than when i actually accomplish things
L65[00:11:41] <SatanicSanta> and I didn't know what git diff was
L66[00:11:47] <SatanicSanta> so most of my commits were "Stuff that I forgot"
L67[00:11:59] <mrkirby153> I commit in huge batches
L68[00:12:02] <mrkirby153> It's terrible, IK
L69[00:12:08] <kenzierocks> do you feel any diff-erent now
L70[00:12:09] <SatanicSanta> what do you mean?
L71[00:12:14] <SatanicSanta> kenzierocks: worlds
L72[00:12:22] <kenzierocks> i git ya
L73[00:12:30] <mrkirby153> SatanicSanta, I code for like two hours, then commit everything in like 1m of each other
L74[00:12:35] <SatanicSanta> oh
L75[00:12:52] <mrkirby153> Which is terrible, and I need to change
L76[00:12:56] <SatanicSanta> I do that too, usually when it's late
L77[00:13:03] <mrkirby153> I do that regularly
L78[00:13:29] <illy> kenzierocks: https://www.youtube.com/watch?v=V44kscaJe3M more commit logs from last night
L79[00:13:49] ⇦ Quits: electrolitic (~electroli@104-184-56-125.lightspeed.cicril.sbcglobal.net) (Quit: Leaving)
L80[00:13:57] <mrkirby153> " Did someone say lightning?"
L81[00:14:11] <mrkirby153> I am terrible at commit messages
L82[00:14:21] <LexDesktop> Hey, someone should update this video.. its kinda old... https://www.youtube.com/watch?v=kHuLjaGpmEc
L83[00:14:49] <mrkirby153> I could, in theory
L84[00:14:50] <LexDesktop> Less Michael Bay tho.
L85[00:15:03] <SatanicSanta> mrkirby153: For some reason I feel the need to write essays for my commit messages, especailly in the morning when I havne't had my coffee or other caffeine
L86[00:15:17] <SatanicSanta> like, in cases where writing an essay is really unnecessary
L87[00:15:23] <mrkirby153> I documented a file format in a commit message
L88[00:15:38] <LexDesktop> Itd be cool if it could do Github orgs as well and have all the projects show up.
L89[00:16:07] <LexDesktop> As for commit messages, if its a major change, or if its a new file format, I write long messages, cuz it shows up in the changelog for forge.
L90[00:16:25] <LexDesktop> But one line is enough for 90% of commits.
L91[00:16:29] ⇨ Joins: Hunterz (~hunterz@62.182.234.189)
L92[00:16:43] <mrkirby153> http://i.imgur.com/unhONw9.png Found it
L93[00:16:57] <mrkirby153> I documented a file format in a commit message
L94[00:17:41] <mrkirby153> I got pissed at noteblock studio files so I converted it into a more intuitive format
L95[00:18:12] <illy> still nothing will beat gabizou's isFlowerpot commit messages
L96[00:18:18] <kenzierocks> oh that
L97[00:18:21] <kenzierocks> i have that illy
L98[00:18:45] <kenzierocks> https://github.com/SpongeHistory/SpongeAPI-History/commits/hotfix/instance-checks
L99[00:19:15] <mrkirby153> Did gabizou write that by hand?
L100[00:19:24] <kenzierocks> i'm...not sure
L101[00:19:38] <kenzierocks> there's the matching impl here https://github.com/SpongeHistory/SpongeForge-History/commit/e758569870fc9f884b111bf52fefd4f770c397f3 (warning: large commit)
L102[00:19:42] <illy> we may never know
L103[00:19:56] <masa> SpaceX Falcon 9 launch in a few minutes...
L104[00:20:23] ⇦ Quits: RANKSHANK_mob1 (~RANKSHANK@pa49-195-43-21.pa.nsw.optusnet.com.au) (Ping timeout: 202 seconds)
L105[00:20:32] <mrkirby153> But in all seriousness, what's the best way to deal with a project between me and a few developers (who may or may not know Java or git)?
L106[00:21:45] <kenzierocks> floobits might work
L107[00:21:55] <kenzierocks> https://floobits.com/
L108[00:21:57] <illy> learn git?
L109[00:22:06] <mrkirby153> illy, I know git. They don't
L110[00:31:47] <LexDesktop> There are plently of GUIs for git that are simple as shit.
L111[00:31:54] <LexDesktop> Personally I recomend SmartGit
L112[00:32:22] <mrkirby153> I've told them to use SourceTree if they don't want to do CLI, but even that's a streach
L113[00:32:51] <mrkirby153> I think they rely on me too much
L114[00:33:00] <mrkirby153> I should just say "You broke it, you fix it"
L115[00:34:40] <mrkirby153> And there was this one time where the guys just sat around doing nothing the entire meeting we had because some of my code broke and I was gone
L116[00:35:19] <SatanicSanta> >.>
L117[00:35:54] <mrkirby153> Yeah, that's what my reaction was too
L118[00:35:59] <illy> now when you say meeting...
L119[00:36:18] <mrkirby153> illy, Robotics team
L120[00:36:40] <illy> ahh
L121[00:36:50] <kenzierocks> ohgodrobotics
L122[00:37:01] <illy> first robotcs?
L123[00:37:06] <mrkirby153> yea
L124[00:37:20] <kenzierocks> my team was compentent
L125[00:37:23] <kenzierocks> not great with git
L126[00:37:24] <illy> Ya some of my scouts are in that
L127[00:37:27] <kenzierocks> but decent enough
L128[00:37:36] <mrkirby153> We have a wonderful hardware team
L129[00:37:51] <mrkirby153> The software team is me and 3 other "programmers"
L130[00:38:12] ⇦ Quits: Drullkus (~Dru11kus@c-67-180-188-243.hsd1.ca.comcast.net) (Quit: nini)
L131[00:39:08] ⇦ Quits: KJ4IPS (~KJ4IPS@68-119-116-168.dhcp.jcsn.tn.charter.com) (Ping timeout: 186 seconds)
L132[00:39:23] <illy> I wish we had that back in highschool
L133[00:39:28] ⇦ Quits: raoulvdberge (uid95673@id-95673.richmond.irccloud.com) (Quit: Connection closed for inactivity)
L134[00:39:45] <mrkirby153> I wish my programmers were better (I'm software lead if you haven't guessed)
L135[00:40:24] <mrkirby153> A lot of the meetings involved me holding their hands 90% of the way through the season. It was quite infuriating. Especially because I was doing 9 other things as well
L136[00:40:28] <illy> hahaha its like herding cats isnt it :P
L137[00:40:35] <mrkirby153> Worse
L138[00:40:49] <mrkirby153> I asked them to do something, they googled it, copy-pasted it and called it done
L139[00:41:40] <mrkirby153> I asked them if they understood it, I got blank stares
L140[00:45:00] ⇦ Quits: RawringNymNym (~maria@bmtnon3746w-lp130-05-1176474960.dsl.bell.ca) (Ping timeout: 186 seconds)
L141[00:46:59] ⇨ Joins: RANKSHANK (~Michael@ppp121-44-60-13.lns20.syd4.internode.on.net)
L142[00:51:00] <SatanicSanta> mrkirby153: Reminds me of my Computer Concepts 1 class a couple terms ago
L143[00:51:12] <SatanicSanta> mrkirby153: except the content of that class was equally mind numbing
L144[00:51:18] ⇨ Joins: KJ4IPS|Gone (~KJ4IPS@68-119-116-168.dhcp.jcsn.tn.charter.com)
L145[00:51:27] *** KJ4IPS|Gone is now known as KJ4IPS
L146[00:51:50] <mrkirby153> I would enforce requirements to be a programmer, but then I'd be the only one who could meet them
L147[00:51:57] <SatanicSanta> lol
L148[00:52:17] <mrkirby153> Basically, if I gave you X, could you tell me what it does?
L149[00:52:29] <SatanicSanta> This class wasn't really about programming, just a prereq for the programming classes, and a requirement for all the certificates
L150[00:52:52] <mrkirby153> Does android run java 8 yet?
L151[00:52:54] <SatanicSanta> so people there ranged from programmers to accountants to psych majors
L152[00:54:36] <mrkirby153> I feel like I should give them this; https://github.com/mrkirby153/AntiChatSpam/blob/master/src/main/java/me/mrkirby153/AntiChatSpam/coremod/ACSClassTransformer.java#L59 as a joke
L153[00:55:04] <kenzierocks> lol
L154[00:55:48] <illy> my old professor for intro into programming tried to fail me because I didn't follow his instruction to the T
L155[00:56:01] <mrkirby153> That's silly
L156[00:56:09] <illy> welcome to college
L157[00:56:18] <RANKSHANK> ^
L158[00:56:25] <mrkirby153> ooh, I forget how to read bytecode
L159[00:57:15] ⇦ Quits: alekso56 (~znc@2001:464b:c2aa:0:745d:45ff:fe3b:a098) (Ping timeout: 202 seconds)
L160[00:57:57] <illy> He got mad that I use gcc, used functions, and getChar() instead of System("PAUSE")
L161[00:58:35] <illy> and using Qtcreater instead of V$
L162[00:59:43] <kenzierocks> idea: create a version of VisualStudio called SharpVisuals, abbreviate it #V
L163[00:59:59] <kenzierocks> or VisualSharp, V#
L164[01:00:06] ⇨ Joins: alekso56 (~znc@2001:464b:c2aa:0:745d:45ff:fe3b:a098)
L165[01:00:31] <illy> or i just use monodevelop
L166[01:00:50] ⇨ Joins: RawringNymNym (~maria@BMTNON3746W-LP140-03-845508517.dsl.bell.ca)
L167[01:10:27] ⇦ Quits: McJty (~jorrit@94-225-203-206.access.telenet.be) (Quit: Ik ga weg)
L168[01:14:21] *** mrkirby153 is now known as kirby|gone
L169[01:14:33] ⇦ Quits: Unh0ly_Tigg (~Robert@c-76-115-95-185.hsd1.or.comcast.net) (Killed (NickServ (GHOST command used by Unh0lyTigg)))
L170[01:14:38] ⇨ Joins: Unh0lyTigg (~Robert@c-76-115-95-185.hsd1.or.comcast.net)
L171[01:17:03] *** cpw is now known as cpw|out
L172[01:22:51] ⇦ Quits: MikrySoft (~MikrySoft@89-76-18-43.dynamic.chello.pl) (Ping timeout: 384 seconds)
L173[01:23:50] ⇦ Quits: Brokkoli (~Brokkoli@p5b23cce8.dip0.t-ipconnect.de) (Quit: Die Sprache der Politik ist daf�r gemacht, dass L�gen wahr klingen und das T�ten angemessen wirkt. (George Orwell))
L174[01:26:25] ⇦ Quits: quadraxis (~quadraxis@cpc77293-basf12-2-0-cust699.12-3.cable.virginm.net) (Quit: ChatZilla 0.9.92 [Firefox 48.0/20160726073904])
L175[01:30:08] *** kroeser|away is now known as kroeser
L176[01:39:00] <gabizou> kirby|gone kashike don't forget that I did actually manually write all those commits, and then embedded a link in a series of commits that lead to a super mega awesome youtube video.
L177[01:39:37] <kenzierocks> yea you did manually write them didn't you
L178[01:39:46] <kenzierocks> i remember you spending a few hours on it
L179[01:40:12] <kashike> what
L180[01:44:36] ⇦ Quits: PrinceCat (~PrinceCat@106-69-72-71.dyn.iinet.net.au) (Quit: My Mac has gone to sleep. ZZZzzz…)
L181[01:46:34] <gabizou> yep
L182[01:46:38] <gabizou> wait, kashike i didn't mean to ping you
L183[01:46:42] <gabizou> meant to ping kenzierocks :P
L184[01:46:50] <gabizou> sorry, really super tired.
L185[01:46:53] <gabizou> and just got home.
L186[01:46:57] <kenzierocks> lol
L187[01:53:11] <kashike> ok
L188[02:00:02] <MCPBot_Reborn> [TEST CSV] Pushing snapshot_20160814 mappings to Forge Maven.
L189[02:00:05] <MCPBot_Reborn> [TEST CSV] Maven upload successful for mcp_snapshot-20160814-1.10.2.zip (mappings = "snapshot_20160814" in build.gradle).
L190[02:00:16] <MCPBot_Reborn> Semi-live (every 10 min), Snapshot (daily ~3:00 EST), and Stable (committed) MCPBot mapping exports can be found here: http://export.mcpbot.bspk.rs/
L191[02:10:27] ⇦ Quits: Kaiyouka (~IdiotNono@c-75-71-231-133.hsd1.co.comcast.net) (Ping timeout: 190 seconds)
L192[02:14:17] <luacs1998> god help your demented soul
L193[02:14:18] <luacs1998> https://github.com/MinecraftForge/ForgeGradle/issues/381
L194[02:17:23] <kenzierocks> people why
L195[02:17:33] <kenzierocks> bukkit is killlllll
L196[02:19:56] <TehNut> Did you see https://github.com/MinecraftForge/ForgeGradle/issues/371#issuecomment-239659023
L197[02:20:54] <kenzierocks> wat
L198[02:22:26] <Unh0lyTigg> the repos that oleg599 (the guy in both fg issues) has forked is interesting to look at: https://github.com/oleg599?tab=repositories
L199[02:24:40] <kenzierocks> hahaha https://github.com/oleg599/worldguard/pull/1
L200[02:27:39] <Unh0lyTigg> some web libraries, bukkit plugins, forge mods, bukkit implementations, and a mapping repo...
L201[02:29:02] <boni> when bloodmc tells you to stop fucking around with cauldron... that's something
L202[02:32:56] ⇨ Joins: Ordinastie_ (~Ordinasti@87-231-58-94.rev.numericable.fr)
L203[02:36:26] <TehNut> oh he's from russia
L204[02:36:29] <TehNut> that explains it
L205[02:38:07] <kenzierocks> russia: what's copyright
L206[02:38:09] ⇨ Joins: Ipsis (~Ipsis@82-69-71-184.dsl.in-addr.zen.co.uk)
L207[02:38:58] *** minecreatr is now known as Mine|dreamland
L208[02:40:49] ⇦ Quits: Naiten (Naiten@86.102.205.6) (Read error: Connection reset by peer)
L209[02:41:43] ⇦ Quits: SatanicSanta (~SatanicSa@c-76-115-175-15.hsd1.or.comcast.net) (Ping timeout: 198 seconds)
L210[02:56:38] *** Darkhax is now known as Darkhax_AFK
L211[03:06:01] ⇨ Joins: Techno (~quassel@cpe-72-230-173-5.rochester.res.rr.com)
L212[03:06:08] <LexDesktop> Anyone wanna try doing me a favor?
L213[03:07:51] <LexDesktop> Need a modified version of https://github.com/acaudwell/Gource with 'only use one caption, and keep it forever'
L214[03:10:26] <LexDesktop> Been playing with it, and got this: https://youtu.be/0goY8bp59wc but the captions are dumb
L215[03:10:57] ⇨ Joins: BordListian (~BordListi@chello213047142014.32.11.vie.surfer.at)
L216[03:12:31] *** Vigaro is now known as V
L217[03:12:47] *** kroeser is now known as kroeser|away
L218[03:13:25] ⇦ Quits: Unh0lyTigg (~Robert@c-76-115-95-185.hsd1.or.comcast.net) (Quit: Leaving)
L219[03:14:10] ⇨ Joins: MalkContent (kiwiirc@p4FDCCA6E.dip0.t-ipconnect.de)
L220[03:14:24] ⇨ Joins: Aroma1997 (~Aroma1997@2604:a880:800:10::168:d001)
L221[03:26:41] ⇨ Joins: covers1624 (~covers162@ppp122-232-6.static.internode.on.net)
L222[03:38:50] ⇨ Joins: Naiten (Naiten@77.34.240.26)
L223[03:42:31] ⇨ Joins: Nitrodev (~Nitrodev@85-23-77-207.bb.dnainternet.fi)
L224[03:45:20] <Naiten> kenzierocks, well, that is soviet's legacy. Before 1917 everything was ok with russians in way more aspects than now
L225[03:45:45] <Naiten> not the point though^
L226[03:45:51] ⇨ Joins: Javaschreiber (~Thunderbi@p200300D2F3CDE30070E1153007597819.dip0.t-ipconnect.de)
L227[03:47:01] <Naiten> as a russian, i'd like to use some guides to opensource, coryright, legacy and related questions in the sphere of MC, and more specifically, MCF modding
L228[03:48:01] <Naiten> is such information already collected in some place or do i google every single question as usual?
L229[03:53:20] ⇨ Joins: abab9579 (~Abastro@110.70.57.177)
L230[03:56:59] ⇦ Quits: Abastro (~Abastro@175.117.182.109) (Ping timeout: 384 seconds)
L231[03:57:46] ⇨ Joins: Abastro (~Abastro@175.223.2.78)
L232[03:59:49] ⇦ Quits: abab9579 (~Abastro@110.70.57.177) (Ping timeout: 384 seconds)
L233[04:04:06] ⇦ Quits: bilde2910 (bilde2910@51.174.170.178) (Ping timeout: 195 seconds)
L234[04:05:44] <killjoy> Naiten, there's always tldrlegal
L235[04:05:54] <killjoy> https://tldrlegal.com/
L236[04:06:02] <killjoy> Just search for the license you're interested in.
L237[04:06:03] ⇨ Joins: bilde2910 (bilde2910@51.174.170.178)
L238[04:06:09] <killjoy> It will tell you what you can do with it.
L239[04:06:41] <killjoy> A lot of mods have been using this recently. https://tldrlegal.com/license/mit-license
L240[04:07:30] ⇨ Joins: Kaiyouka (~IdiotNono@c-75-71-231-133.hsd1.co.comcast.net)
L241[04:07:50] * ghz|afk yawns
L242[04:07:54] <Naiten> killjoy, http://i.imgur.com/PJxdDXk.png hell yeah
L243[04:08:04] <ghz|afk> Naiten: mc is not really different than any other software
L244[04:08:11] <killjoy> You should contribute to it
L245[04:08:34] <ghz|afk> if you want to contribute to forge itself
L246[04:08:56] <Naiten> ghz|afk, problem is, i don't know how any other software legal stuff works
L247[04:09:05] <ghz|afk> well
L248[04:09:08] <Naiten> and i'd like to get clear with actual laws
L249[04:09:11] <ghz|afk> there's different kinds of licenses
L250[04:09:12] <Naiten> and principles
L251[04:09:16] <ghz|afk> the idea is
L252[04:09:18] <ghz|afk> by default
L253[04:09:19] <Naiten> instead of using some ready license
L254[04:09:29] <ghz|afk> you own copyright of your works, by virtue of creating them
L255[04:09:32] <ghz|afk> and have all the rights to them
L256[04:09:51] <ghz|afk> then, depending on the country, you are allowed to allow others to do things
L257[04:10:23] <ghz|afk> which things exactly varies, but generally speaking, "making copies" and "making modifications" are part of all the licenses
L258[04:10:51] <ghz|afk> and some also include terms about "selling", things related to patents
L259[04:11:10] <ghz|afk> so you can think in terms of
L260[04:11:23] <ghz|afk> proprietary licenses: they just let you use it, but do nothing else apart from using
L261[04:11:57] <ghz|afk> shared-source licenses: let you see the source code, but with no edits
L262[04:12:11] <ghz|afk> open-source licenses: let you see, edit and redistribute the source code
L263[04:12:14] <LexDesktop> This wasnt meant to spark a legal debate, the issue is hes a retard who is remaking a dead project and has no idea what hes doing
L264[04:14:11] <killjoy> I think curse gives you some options when you create a project.
L265[04:14:21] <killjoy> and so does github
L266[04:14:21] <Naiten> I know, Lex. But I'm close to releasing a new update for my mod (after a period of stagnation), and I want to do things properly now.
L267[04:14:48] <killjoy> In fact, if you create a file LICENSE in github, it will give you some template options
L268[04:14:55] <sham1> I see that there is some debate about licences
L269[04:15:14] <Naiten> sham1, no, there is not.
L270[04:15:14] <killjoy> All licenses are great and I love them
L271[04:15:24] <killjoy> Discussion, not debate
L272[04:15:35] <sham1> Same difference
L273[04:16:06] <Naiten> And 'do things properly' includes 'work out a proper license' which will cover my interests and provide some freedoms to users, like making texturepacks for the mod or whatever.
L274[04:16:29] <sham1> have you considered apache
L275[04:16:31] <killjoy> Do licenses cover texture packs?
L276[04:16:48] <Naiten> ^ wrong quotation mark placement
L277[04:16:54] <Naiten> well
L278[04:17:05] <killjoy> Yeah, it can cover the assets you made, but from others?
L279[04:17:13] <LexDesktop> If thats what you want to do then its just a matter of reading licenses and picking the one you like.,
L280[04:17:27] <LexDesktop> LGPL is a favorite, MIT is a bit more 'free' tho
L281[04:17:43] <killjoy> http://choosealicense.com/
L282[04:18:03] <LexDesktop> Licenses can cover everything but not every license covers what you want
L283[04:18:08] <sham1> I personally would go ISC
L284[04:18:16] <killjoy> You can always edit the license to fit your needs
L285[04:18:21] <killjoy> Just be sure to change the name.
L286[04:18:29] <killjoy> because license names are sometimes trademarked
L287[04:18:37] <killjoy> probably
L288[04:18:38] <sham1> A simple licence made in the spirit of the BSD one
L289[04:18:41] <LexDesktop> I would advise NOT editing a license
L290[04:19:08] <Naiten> Lex, I'm not the person who's happy after picking a ready solution. I prefer to get clear with how things works and create something what will suit my needs. That's why I started all this epopoeia with train mod for Minecraft five years ago, and you can see why it was worth doing that.
L291[04:19:45] <sham1> Well, if you don't want a ready licence, be prepared to research legal text
L292[04:19:53] <LexDesktop> Are you a lawyer with years of copyright law practice and indepth knowledge of the type of material you're licensing under your belt?
L293[04:19:57] <LexDesktop> If not, use a prefab license
L294[04:20:02] <killjoy> the wtfpl is always a good choice
L295[04:20:31] <killjoy> http://www.wtfpl.net/
L296[04:21:42] <Naiten> sham1, what I basically was going to do. Lex, well. I'm goning to at least try to get clear with things before picking some ready license and changing it to my needs.
L297[04:21:48] <Naiten> *going
L298[04:21:53] <LexDesktop> That license, tho funny, is highly interpretable and could get a lot of people in trouble.
L299[04:22:09] <LexDesktop> Again, DO NOT CHANGE LICENSES
L300[04:22:22] <LexDesktop> If you need something else, pick a diff license
L301[04:22:40] <LexDesktop> There is literally every combination of permissiosn you could ever think of out there in a license.
L302[04:23:10] <LexDesktop> And there are plenty of tools to give you the 'TLDR' of licenses to help you choose. Tho I would always advise reading the entire thing before finalizing on something.
L303[04:25:32] <Naiten> Why is 'do thing by yourself' and option in modding, but not in licensing? I'm not trying to argue, just want to get the reason instead of 'do this and don't do that'.
L304[04:25:56] <LexDesktop> Because Legal shit is fucking complicated and can ruien your life if you do it wrong.
L305[04:26:14] <LexDesktop> And the entire legal system is designed to have people fall into 'gotcha' situations and fuck you over.
L306[04:26:40] <Naiten> ^ why I'm going to learn the stuff before doing things.
L307[04:27:20] <Naiten> I got your point, Lex. Thanks for clearing things for me
L308[04:27:35] <sham1> have fun having legal studies
L309[04:27:51] <LexDesktop> See you in 8 years when you get your first degree.
L310[04:27:54] <sham1> And remember, copyright is specific to every country
L311[04:29:33] <Naiten> I meant 'google stuff and ask my real-life lawyer-friends a lot' not 'get a degree'. Like self-educating is not a thing anymore
L312[04:30:09] <Naiten> sham1, yeah, I know. Russia is a member of WIPO since 2009, what an irony
L313[04:30:12] <LexDesktop> self-educating is fine, except for legal areas.
L314[04:30:50] <Naiten> I'll try to be carefull with these matters
L315[04:31:02] <LexDesktop> What I advise, is learning as much as you can.
L316[04:31:08] <LexDesktop> And then picking a prefab one.
L317[04:32:08] <killjoy> most of the licenses I'm seeing allow you to modify and distribute
L318[04:32:43] <killjoy> I think I like this license. https://tldrlegal.com/license/the-don't-ask-me-about-it-license
L319[04:32:51] <Naiten> Sounds rational. Gonna try that. @Lex
L320[04:33:35] <Naiten> killjoy, thanks for the link to this site, it'll be useful
L321[04:33:42] <killjoy> np
L322[04:33:43] <LatvianModder> killjoy: wtfpl best alternative is MIT
L323[04:33:48] <killjoy> yup
L324[04:34:16] <LatvianModder> Basically use that if you dont care about anything that can be done with your code
L325[04:34:52] <LexDesktop> kj that one is intersting but also doesnt fall into legally binding in any way, the author can still be sued for damages and shit.
L326[04:35:23] <LexDesktop> However, in 99% of the cases, its not a issue, but dear god help you if you fall into the 1%
L327[04:35:34] <killjoy> Found another one. It's a copy of MIT, but a clause was added saying you must use this program for good, not evil.
L328[04:35:50] <killjoy> I think iTunes has a clause like that
L329[04:36:04] <killjoy> Yadda yadda don't use this program to create nuclear weapons
L330[04:36:15] <LexDesktop> evil/good are not legally definable terms, so that license is invalid, or atleast that clause is
L331[04:36:47] <killjoy> Unless you're Santa
L332[04:36:51] <LexDesktop> {A good lawyer could argue that if one part is invalid all parts are invalid}
L333[04:37:14] <LexDesktop> Im a stickler for these things because I've had to deal with them.
L334[04:37:22] <killjoy> I'm not looking for a new license. Just browsing them and laughing at the concept
L335[04:37:28] <LexDesktop> So take my advise and be very cautious.
L336[04:37:42] <killjoy> I just use either Apache or MIT
L337[04:37:51] <Abastro> Can one change license of one's product?
L338[04:37:59] <ghz|afk> Abastro: of course
L339[04:38:04] <killjoy> as long as you get every contributer's permission
L340[04:38:08] <ghz|afk> buit you can't change the licenses people got it as
L341[04:38:11] <killjoy> @see forge
L342[04:38:14] <ghz|afk> so
L343[04:38:22] <ghz|afk> if someone got the files the day before
L344[04:38:23] <LexDesktop> welll
L345[04:38:25] <LexDesktop> Sorta.
L346[04:38:26] <ghz|afk> and they were GPL
L347[04:38:30] <ghz|afk> you can't remove the GPL from them
L348[04:38:31] <sham1> I think that there are some licenses you cannot get out of
L349[04:38:32] <Abastro> Used CCL;,
L350[04:38:34] <LexDesktop> Its a pain to change license.
L351[04:38:47] <killjoy> I've been wondering. What does it mean to sub-license?
L352[04:38:57] <IoP> And those kind of extra clauses like that "no evil" makes that lisence automatical OSI/Libre incompatible
L353[04:39:02] <Abastro> I know. (+heard that GPL is not allowed in my country)
L354[04:39:12] <LatvianModder> About my PR. Any example you give should be doable, i will look trough previous issue and your comments. You want me to write test mods or just one line example is fine?
L355[04:39:23] <LexDesktop> test mods
L356[04:39:26] <LexDesktop> code or stfu
L357[04:39:32] <LatvianModder> Right
L358[04:39:51] <IoP> killjoy: that jsonlib license?
L359[04:39:58] <killjoy> no, any license
L360[04:40:10] <LatvianModder> Well, I can link my own code, since I already use that same api, but fine, I will write test mods
L361[04:40:16] <killjoy> Some licenses allow it (Apache) while others don't (GPL)
L362[04:40:49] <IoP> killjoy: meant this: <killjoy> Found another one...
L363[04:41:02] <killjoy> No, I stopped browsing
L364[04:41:11] <killjoy> sub-license is just a thing I've seen around
L365[04:41:50] <LexDesktop> It means to give someone else rights that you have to the work.
L366[04:41:55] <LexDesktop> When you are not the first party.
L367[04:41:58] <IoP> Google removed multiple projects with that "no evil" shit licenses from their code repository because those projects were not OSI compliant <3
L368[04:42:09] <LexDesktop> Think of it like the case of music.
L369[04:42:28] <killjoy> That makes sense
L370[04:42:30] <LexDesktop> The artist owns all rights, and licenses it to itunes to distribute
L371[04:42:43] <LexDesktop> itunes sub-licenses it to the end user to lisen to {not distribute}
L372[04:42:47] <killjoy> "Do you need to ask permission to use"
L373[04:43:08] <IoP> see http://wonko.com/post/jsmin-isnt-welcome-on-google-code for ref. moral story: don't play with licenses
L374[04:43:36] <Naiten> Lex, btw, do you have a blog where you write articles to share your expirience with common mortals like us? Google shows all the tinsel but not useful info
L375[04:44:16] <Naiten> ^ on the search request 'xxx blog'
L376[04:44:20] <killjoy> There's his twitter
L377[04:44:41] <killjoy> I don't know if his ask.fm is still active
L378[04:44:44] *** kroeser|away is now known as kroeser
L379[04:44:52] <killjoy> Last answer was 8 months ago.
L380[04:45:12] <LexDesktop> No I cant write
L381[04:45:14] <Naiten> Twitter is for twitting, not for long 'what was and what's the moral' articles, killjoy
L382[04:45:20] <killjoy> http://ask.fm/LexManos
L383[04:45:23] <LexDesktop> ask.fm is still active, I just dont get many questions
L384[04:45:28] <killjoy> He's written some stuff.
L385[04:45:31] <LexDesktop> or, atleast my phone isnt notifying me that i do
L386[04:45:32] <Naiten> Lex, :C
L387[04:46:05] <LexDesktop> But ya, I can rant, I cant write. If I try to make something that readable I fuck it all to hell.
L388[04:46:08] <LexDesktop> So no blocks.
L389[04:46:11] <LexDesktop> blogs*
L390[04:46:43] <killjoy> there's always asie's blog
L391[04:47:14] <killjoy> http://blog.asie.pl/
L392[04:47:46] <killjoy> Ooh, a blog post about licenses
L393[04:48:10] <boni> you can't possible compile the pile of frustration that comes with communicating with people who don't know the internals but think they know better into a blogpost
L394[04:48:10] <Naiten> Well, okay than. I had a blog for my mod news, it was kinda fine. Maybe i'll have time to write some things on the actual modding process when i reconstruct the blog (my website is down, and it happened so that i have no backups left)
L395[04:48:37] <LexDesktop> asie... god...
L396[04:48:45] <LexDesktop> hes a fucking retard.
L397[04:48:58] <killjoy> no comment
L398[04:49:17] ⇨ Joins: founderio (~Thunderbi@p200300C4E3CD60008882567188E19FA3.dip0.t-ipconnect.de)
L399[04:49:25] <LexDesktop> I mean, in our community we all have social issues. We're all fucked up in some ways. But him, there are times I just want to reach through the screen and smack him.
L400[04:50:34] <Naiten> ^ what i feel about some of the competing developers, basically
L401[04:51:32] <LexDesktop> Oh fuck he has a post about killing forge! Lets see how this goes!
L402[04:51:48] <LexDesktop> First off, misinformation about MCP/mappings, but hey whatever.
L403[04:51:49] <boni> last post on there was on may 30th
L404[04:51:51] <Naiten> well, thanks everybody for helping out, i'm afk for supper and back to coding the mod afterwards
L405[04:51:51] <killjoy> he talks about how hard it is
L406[04:51:55] ⇨ Joins: Jolteffect (~Jolteffec@host86-175-44-51.range86-175.btcentralplus.com)
L407[04:51:57] <boni> lex: months past
L408[04:52:51] <LexDesktop> I remember Enigma, nice toy, no use to me/mcp, but nice to mess with
L409[04:53:02] <killjoy> Ah. That post is promoting Meddle
L410[04:54:54] <LexDesktop> DynamicMappings, interesting, wrote something like it 4 years ago, not really useful for anything as large as a full API/Compat layer but another cool achemdemic task.
L411[04:55:27] <killjoy> It think mcpatcher used a similar method
L412[04:55:32] <LexDesktop> "Mojang has made it a lot easier with the new launcher and Minecraft 1.6, as the game now includes the LaunchWrapper"
L413[04:55:39] <LexDesktop> Your welcome - cpw/FML
L414[04:55:49] <ghz|afk> xd
L415[04:55:49] <killjoy> I wouldn't say "includes,' but it's available
L416[04:56:12] <LexDesktop> They did, tho on a smaller point it essentially made a regex language for bytecode.
L417[04:56:25] <LexDesktop> ANd LaunchWrapper is literally FML copy pasted.
L418[04:56:53] <LexDesktop> cpw gave it to grum to make the new launcher work with old shit the easiest, it also makes Forge's life easier, yay for cooperation!
L419[04:58:16] <LatvianModder> is auto-assigning block/item ids only from forge? I thought that vanilla does that now, but seems like they still use numeric ids for new blocks
L420[04:58:29] <LexDesktop> Actually no vanilla hardcodes IDs
L421[04:58:51] <LexDesktop> and doesnt do anything to negotiate unmatched id maps.
L422[04:59:17] <ghz|afk> vanilla doesn't need it -- they know it will match
L423[04:59:31] <LexDesktop> Its actually one of the most powerful parts of Forge. Registry management, its also REALLY flexible and easily extended into many things {Protip it'll be extended to entities in 1.11 if the snapshots stay!}
L424[05:00:07] <LexDesktop> Again, another system that came from cooperation between Forge and Mojang. We've had the registry system long before they started on it.
L425[05:00:28] <LexDesktop> We talked, and developed, and both sides got a better system out of it.
L426[05:04:20] *** kroeser is now known as kroeser|away
L427[05:04:28] <Abastro> Would this work without breaking backward compatibility? World -> Provider -> Capability -> World Body
L428[05:04:30] *** kroeser|away is now known as kroeser
L429[05:04:47] <LexDesktop> ?
L430[05:04:53] <LexDesktop> Oh its you
L431[05:05:04] * LexDesktop smacks Abastro, your PR had a NPE!
L432[05:05:23] <Abastro> Wow, that cant be
L433[05:05:33] <LexDesktop> see my latest commit
L434[05:06:09] <killjoy> Might as well tack on a @Nullable now
L435[05:06:51] <ghz|afk> oh nice, worldcaps got merged :)
L436[05:07:47] <Abastro> Sorry, I didnt test it :(
L437[05:07:53] <killjoy> ...
L438[05:08:11] <ghz|afk> not testing if things still work without caps is a big big oversight ;P
L439[05:08:11] * LexDesktop face palms.
L440[05:08:27] <LexDesktop> This, This is why I have issues pulling prs
L441[05:08:50] ⇦ Quits: MalkContent (kiwiirc@p4FDCCA6E.dip0.t-ipconnect.de) (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
L442[05:09:03] ⇨ Joins: MalkContent (kiwiirc@p4FDCCFC0.dip0.t-ipconnect.de)
L443[05:09:21] <Abastro> I know, why did I these kind of mistake
L444[05:09:30] <ghz|afk> it happens, though. onceyou spend enough time working om something
L445[05:09:37] <ghz|afk> your mind narrows
L446[05:09:54] <ghz|afk> which is why tests are good and necessary
L447[05:10:05] <ghz|afk> but hard to design
L448[05:10:18] <ghz|afk> in hindsight, it's easy to say you should have included a test that checks like
L449[05:10:28] <LexDesktop> Its funny, because he had null protection on the function above it...
L450[05:10:40] <ghz|afk> a capability that is only on the overworld, but not the nether, see if the nether works
L451[05:11:52] <LexDesktop> BTW: thats basically what I changed the test to: https://github.com/MinecraftForge/MinecraftForge/commit/0e286f880ec64190c3aa7db73fcafb45b991ee28#diff-e7fb900569883c4461ecd6d9deb10e20L47
L452[05:11:52] <Abastro> I remember I tested before the latest commit. It did work for nether. And last commit wont change much on it.
L453[05:13:20] <ghz|afk> yeap, one of the many bias of the brain -- assuming things still work even though the conditions that madeit work have changed
L454[05:13:21] <LexDesktop> Side note, I also screw up at times, Wrote the Test for caps way before I made sub-type events. So i was attaching ExtraSleep to every world/TE whoops, https://github.com/MinecraftForge/MinecraftForge/commit/0e286f880ec64190c3aa7db73fcafb45b991ee28#diff-0d1ebd72460fda0bcbb71fc1f0f6c924L77
L455[05:14:01] <ghz|afk> heh
L456[05:14:06] ⇨ Joins: rebecca (~rebecca@93.fa.5177.ip4.static.sl-reverse.com)
L457[05:14:28] <LexDesktop> Also, When debugging the NPE {trying to figure out why it WASNT erroring} I stepped through the event handler.
L458[05:14:46] <LexDesktop> SO much nicer to just jump to the handler then it is to go through reflection's handlers.
L459[05:14:54] <LexDesktop> <3 my event bus!
L460[05:15:09] <ghz|afk> heh
L461[05:16:56] <LatvianModder> then there could be EventPermission lol.. with.. GameProfile, IContext and.. actually that doesnt even sound that bad. but that means multiple mods could catch it instead of one and thats bad :/
L462[05:17:07] ⇦ Quits: killjoy (~killjoy@cpe-2606-A000-1118-C191-B48A-8D9F-8D28-8E6F.dyn6.twc.com) (Ping timeout: 198 seconds)
L463[05:19:08] <LexDesktop> Ya no events
L464[05:19:31] <LexDesktop> the permission mod would listen for events like break, and then check itself, before wrecking the event
L465[05:19:33] <LexDesktop> -self
L466[05:20:10] <LatvianModder> ok, so the only place you actually mentioned permission example is here https://github.com/MinecraftForge/MinecraftForge/issues/2899#issuecomment-222331289 so im gonna write a test mod for exactly that, and few more
L467[05:21:42] <LexDesktop> the more test cases you can think of when it comes to real world examples
L468[05:21:43] <LexDesktop> the better
L469[05:21:53] <LexDesktop> think of all the permissions that happen in a server
L470[05:24:16] <sham1> "Is allowed to break stuff, what about placing stuff, etc."
L471[05:24:40] <LatvianModder> placing one is the only one that doesnt have event
L472[05:25:11] <sham1> Well maybe you should fix that
L473[05:25:53] <LatvianModder> things that have event, doesnt need permission. basically, we want permissionapi for better cross-mod interaction. mostly, simply "modify_block" permission or smth, for custom stuff like Gravity Gun picking up block. But yeah, ill try to think of as many as possible
L474[05:26:01] <Abastro> Would the system allow player getting rewards from observation?
L475[05:26:02] <LexDesktop> placing has an event, the interact evetns
L476[05:26:05] <LatvianModder> well I tried. My event PR god dissed :P
L477[05:26:26] <LatvianModder> https://github.com/MinecraftForge/MinecraftForge/pull/3158
L478[05:28:18] <LatvianModder> <Abastro> Would the system allow player getting rewards from observation? -wot?
L479[05:28:50] <Abastro> Like interacting with mod-only objects
L480[05:29:09] <Abastro> Aside from items, blocks and entities
L481[05:30:01] <LatvianModder> if its server side, sure, it can *prevent* players from interacting with them. thats what PermissionAPI mostly is about. Like denying to modify claimed chunk or teleporting somewhere or smth like that
L482[05:30:39] <Abastro> So does it allow custom objects?
L483[05:30:58] <LatvianModder> it allows anything. you just need to make up your permission node
L484[05:31:48] <LatvianModder> like, lets say gravity gun pickin up block would be "gravitygun.block.lift" and with added BlockPos in context
L485[05:32:22] <Abastro> That's nice, if it get pulled i should edit my observation system to go through it.
L486[05:33:13] <Abastro> So players will have to observe a star before a nebula
L487[05:33:16] <LatvianModder> its only server side though. but that shouldnt be a problem
L488[05:34:32] ⇨ Joins: Eleria (~Eleria@p4FE6383B.dip0.t-ipconnect.de)
L489[05:36:49] <ghz|afk> Abastro: can't you do that through achievements? If the stat count for the achievement is < 1, don't allow it ;P
L490[05:36:49] *** MrKick|Away is now known as MrKickkiller
L491[05:37:28] <Abastro> I dont like all of them to be achievement.
L492[05:46:33] <LatvianModder> better to be achievements
L493[05:47:02] <LatvianModder> doesnt have to be displayable. it can be StatBase or whatever that class was
L494[05:47:24] <Abastro> Ah achievement-like system
L495[05:48:39] <ghz|afk> why not actual achievements? it's a nice way to show progression
L496[05:48:55] <ghz|afk> and you can know the next steps you need to perform
L497[05:49:14] <Abastro> One thing is, I dont want them to know that.
L498[05:50:08] <ghz|afk> then make your achievements display 0 in advance
L499[05:50:17] <ghz|afk> and they'll show as garbled text
L500[05:51:18] <Abastro> Also, some of them could be repeated.
L501[05:51:45] <Abastro> Ah thats not related with the problem
L502[05:51:58] <LatvianModder> well they can be either way, when someone writes a wiki up or smth :P
L503[05:52:06] <ghz|afk> yeah
L504[05:52:24] <LatvianModder> Its almost pointless to hide something in minecraft. unless its randomly generated like bees or thaumcraft research
L505[05:52:25] <ghz|afk> also achievement descriptions don't need to be spoilers ;P
L506[05:52:28] <ghz|afk> they ca nbe hints
L507[05:52:37] <LatvianModder> or puns. mostly puns :P
L508[05:52:40] <Abastro> Hm.. I just dont like the achievements minecraft provides.
L509[05:52:50] <ghz|afk> that's a whole other story ;P
L510[05:53:02] <LatvianModder> You can just create your own page. and yeah ^
L511[05:53:04] <Abastro> Cant say why.
L512[05:53:48] <Abastro> Is achievement system stable?
L513[05:54:17] <ghz|afk> achievements are statistics
L514[05:54:19] <ghz|afk> that only grow to 1
L515[05:54:28] <Abastro> Won't it be broken when achievement changed?
L516[05:54:35] <ghz|afk> what do you mean changed?
L517[05:55:03] <ghz|afk> if you suddenly want to change the progression conditions
L518[05:55:04] <Abastro> Since mine should be configured
L519[05:55:16] <ghz|afk> oh if you want it to be configurable, that's a whole other story
L520[05:57:38] <LatvianModder> "that only grow to 1" unless you attach json object to it. then its almost like capabilities
L521[05:58:06] ⇦ Parts: Eleria (~Eleria@p4FE6383B.dip0.t-ipconnect.de) (See ya ^^))
L522[05:59:14] <LexDesktop> So, for some reason google is telling me development on simple monopoly games died in 2002...
L523[05:59:25] <LexDesktop> I mean they still work, but ya...
L524[05:59:52] <LexDesktop> Anyone know of a free multiplayer monopoly game with no frills?
L525[06:00:26] <ghz|afk> can't say I have ever heard of any
L526[06:01:01] <LexDesktop> Im half tempted to write a system myself... I just need to buy a copy of monopoly so I can read the official rules/count the contents of the box...
L527[06:01:39] <ghz|afk> actually I did play one game ages ago during christmas
L528[06:01:44] <ghz|afk> but it wasn't a new game at all
L529[06:01:47] <ghz|afk> so it may be the one you said
L530[06:03:14] <LexDesktop> GtkAtlantic is the one I used to use, the server seem to still be up. But its like 2002, soo old..
L531[06:06:21] <LatvianModder> how do I run test mods?
L532[06:06:23] ⇦ Quits: Abastro (~Abastro@175.223.2.78) (Quit: Bye)
L533[06:06:45] <ghz|afk> LatvianModder: if they are in tests or debug, they should load automatically?
L534[06:06:46] <LatvianModder> from main/test/java
L535[06:06:56] ⇨ Joins: Abastro (~Abastro@175.223.2.78)
L536[06:08:41] <LatvianModder> by running "Forge Client" run config?
L537[06:08:43] ⇦ Quits: Abastro (~Abastro@175.223.2.78) (Read error: Connection reset by peer)
L538[06:17:38] <Jolteffect> hey guys, have a small problem with my NBT write. console log is saying "tileentity.TileEntityPowerCube is missing a mapping! This is a bug!" it's registered just the same as my other TE's, any pointers on what this so called bug is?
L539[06:18:06] <Ordinastie_> it's not registered
L540[06:18:51] <Jolteffect> ty
L541[06:25:41] <LatvianModder> ghz|afk: nnop http://ss.latmod.com/pc/2016-08-14_14.25.25.png
L542[06:25:59] <ghz|afk> LatvianModder: maybe only the ones on the debug folder are, then
L543[06:26:38] <LatvianModder> http://ss.latmod.com/pc/2016-08-14_14.26.34.png
L544[06:26:43] ⇦ Quits: alekso56 (~znc@2001:464b:c2aa:0:745d:45ff:fe3b:a098) (Ping timeout: 202 seconds)
L545[06:27:10] <LatvianModder> I can just change it to source folder type I guess
L546[06:27:10] ⇨ Joins: Abastro (~Abastro@175.223.2.78)
L547[06:29:14] ⇨ Joins: alekso56 (~znc@2001:464b:c2aa:0:745d:45ff:fe3b:a098)
L548[06:29:17] ⇦ Quits: Abastro (~Abastro@175.223.2.78) (Client Quit)
L549[06:31:04] *** amadornes[OFF] is now known as amadornes
L550[06:35:34] ⇨ Joins: Hawaii_Beach (~Hawaii_Be@c80-216-156-69.bredband.comhem.se)
L551[06:42:53] <Hawaii_Beach> how on earth does the canBeDeactivated() thingy work?
L552[06:43:29] <Hawaii_Beach> looking at https://github.com/MinecraftForge/FML/blob/master/src/main/java/net/minecraftforge/fml/common/Mod.java - line 182-192
L553[06:44:22] ⇨ Joins: Abastro (~Abastro@175.223.2.78)
L554[06:44:37] <Ordinastie_> good thing the javadoc tells you everything you need to know
L555[06:44:38] ⇦ Quits: Abastro (~Abastro@175.223.2.78) (Read error: Connection reset by peer)
L556[06:46:42] <Hawaii_Beach> well FMLDeactivationEvent isn't a thing
L557[06:46:50] <Hawaii_Beach> "cannot resolve symbol"
L558[06:47:33] <Ordinastie_> FMLModDisabledEvent ?
L559[06:48:12] <Hawaii_Beach> oh, still getting used to IDEA
L560[06:48:36] ⇨ Joins: MikrySoft (~MikrySoft@89-76-18-43.dynamic.chello.pl)
L561[06:49:35] <Hawaii_Beach> any documentation on it? found nothing
L562[06:49:50] ⇦ Quits: airbreather (~airbreath@d149-67-99-43.nap.wideopenwest.com) (Read error: Connection reset by peer)
L563[06:49:51] <Ordinastie_> well, it's a FML event
L564[06:50:09] <Hawaii_Beach> basicly (for now) i'm registering a recipe, so if the mod is inactivated how do i deactivate the recipe?
L565[06:50:45] <Ordinastie_> you don't
L566[06:50:50] ⇨ Joins: TechRo_ (~TechRo@ip51cffd48.direct-adsl.nl)
L567[06:50:52] <Ordinastie_> you can't deactivate server mods afaik
L568[06:51:05] <Hawaii_Beach> ah, only guis?
L569[06:51:20] ⇨ Joins: airbreather (~airbreath@d149-67-99-43.nap.wideopenwest.com)
L570[06:51:25] <Ordinastie_> * If your mod doesn't have a runtime persistent effect on the state of the game, and can be disabled without side effects
L571[06:51:43] <Hawaii_Beach> guess a recipe counts
L572[06:52:04] <Ordinastie_> maybe test it
L573[06:52:25] <Hawaii_Beach> then how on earth do i delete a recipe?
L574[06:52:35] <Hawaii_Beach> unregister it or whatever
L575[06:52:49] ⇨ Joins: Necr0 (~Necr0@p200300700D6EAA8D9490F7F68924F904.dip0.t-ipconnect.de)
L576[06:52:59] <LatvianModder> you CAN remove recipes
L577[06:53:22] <LatvianModder> Just cache your recipe and later remove it from recipe list
L578[06:54:05] <Ordinastie_> except I don't see disabling a mod on a server would work anway
L579[06:54:13] <Hawaii_Beach> yeah
L580[06:54:19] ⇨ Joins: raoulvdberge (uid95673@id-95673.richmond.irccloud.com)
L581[06:54:23] <LatvianModder> WHY Idea WHY. I accidently deleted everything in MinecrafForge repo
L582[06:54:24] <Hawaii_Beach> there's no GameRegistry.UnregisterRecipe
L583[06:54:49] <LatvianModder> yeah
L584[06:54:58] <LatvianModder> but there is getRecipeList().remove(myIRecipe)
L585[06:55:13] <LatvianModder> Ive done that, works perfectly fine
L586[06:55:34] ⇦ Quits: TechRo_ (~TechRo@ip51cffd48.direct-adsl.nl) (Remote host closed the connection)
L587[06:55:45] ⇨ Joins: Abastro (~Abastro@175.223.2.78)
L588[06:55:55] ⇨ Joins: TechRo_ (~TechRo@ip51cffd48.direct-adsl.nl)
L589[06:55:56] ⇦ Quits: Abastro (~Abastro@175.223.2.78) (Read error: Connection reset by peer)
L590[06:56:06] <Hawaii_Beach> CraftingManager ?
L591[06:56:20] <LatvianModder> yes
L592[06:56:58] <Hawaii_Beach> how do i declare a myIRecipe ?
L593[06:57:10] <Ordinastie_> with java
L594[06:57:18] <LatvianModder> >.<
L595[06:58:46] <LatvianModder> public static IRecipe myRecipe;
L596[06:58:46] <LatvianModder> *somewhere in postInit* myRecipe = new ShapedOreRecipe(...);
L597[06:58:46] <LatvianModder> GameRegistry.addRecipe(myRecipe) or whatever, and later CraftingManager#getRecipeList().remove(myRecipe)
L598[06:59:18] <Hawaii_Beach> wat IRecipe is a thing?
L599[06:59:38] <Ordinastie_> yeah, why learn programming when you can get people to mouth feed code directly
L600[07:00:15] <LatvianModder> right?
L601[07:00:40] <LatvianModder> or read code. reading code is also something noone does
L602[07:01:04] <Ordinastie_> <LatvianModder> right?
L603[07:01:07] <Ordinastie_> are you joking ?
L604[07:01:14] <Ordinastie_> you just wrote the code for him
L605[07:01:34] <Ordinastie_> it's too late to agree
L606[07:01:34] <LatvianModder> well yeah. And I agree with you
L607[07:01:49] <LatvianModder> If Im against it, doesnt mean I wont help
L608[07:01:55] <LatvianModder> I always help :P
L609[07:02:14] <Hawaii_Beach> how about furnace smelting then?
L610[07:02:16] <Ordinastie_> you're part of the problem
L611[07:02:54] <MalkContent> well people using minecraft to learn coding could also be seen as a good thing
L612[07:03:00] * MalkContent sprints into his panic room
L613[07:03:19] * sham1 shouts GET OVER HERE
L614[07:03:19] <LatvianModder> hehe
L615[07:03:39] <LatvianModder> Im literally part of solution not problem. I helped :P
L616[07:03:58] <sham1> By giving him the code
L617[07:04:12] <sham1> Instead of letting him figure it out while nudging him
L618[07:04:16] <LatvianModder> exactly. Because how can you learn when you have nothing to learn from
L619[07:05:02] <LatvianModder> thats how I did. I copy-pasted helluva lot of code until I figured out how it works
L620[07:05:05] <sham1> While it is pedagogically a good thing to provide examples
L621[07:05:06] <Ordinastie_> oh, you want to learn to drive using this F1 race car ? hum bad idea. Here is the wheel, here is the brake pedal, have fun
L622[07:05:28] <Hawaii_Beach> IFuelHandler?
L623[07:05:33] <sham1> It also it good to let the student understand the problem themselves
L624[07:05:38] <LatvianModder> is it not how you learn? because thats exactly how you learn to drive..
L625[07:06:06] <Ordinastie_> first of all
L626[07:06:08] <Ordinastie_> NO!
L627[07:06:16] <Ordinastie_> first you learn the code
L628[07:06:27] <Ordinastie_> or whatever it's called in other countries
L629[07:06:33] * LatvianModder has started flame war and now disappears
L630[07:06:34] <Ordinastie_> the rules of conduct
L631[07:06:50] <Ordinastie_> then you learn to drive in dedicated cars
L632[07:06:55] <MalkContent> I have an open spot in my panic room if you want to
L633[07:06:57] <Ordinastie_> not race cars
L634[07:07:14] <LatvianModder> what? noone learns rules at age 10
L635[07:07:30] <Jolteffect> we have a saying here in UK, "Learn to walk before trying to run"
L636[07:07:31] <LatvianModder> or in my case, 9, when I was driving a tractor
L637[07:08:20] <Ordinastie_> LatvianModder, and of course you were allowed to drive it in the city streets...
L638[07:08:33] <MalkContent> the issue is that people see that "walking" gets you where you want to be
L639[07:08:39] <MalkContent> and don't even know how to stand yet :P
L640[07:08:50] <LatvianModder> city? I live in city sometimes. I was a country side boy :P
L641[07:08:54] <MalkContent> however they have 0 interest in learning how to stand
L642[07:09:03] <MalkContent> because standing does not get you from a to b
L643[07:09:17] <Ordinastie_> MalkContent, and why would they, each time they ask, somebody carry them to b
L644[07:09:28] <LatvianModder> Digging potatoes, lifting hay cubes, feeding chicken. that was daily life for me most of the time
L645[07:09:32] <Ordinastie_> "but I always help"
L646[07:09:34] <MalkContent> i think of it more like a dragging
L647[07:09:52] <Ordinastie_> if only it was on gravel...
L648[07:09:59] <MalkContent> either they die of their wounds from it
L649[07:10:18] <Ordinastie_> at least I would be like "hey, that's how you learn it"
L650[07:10:24] <Jolteffect> some people provide help, some people whine and provide help, some people just get dam right rude and provide no help.
L651[07:10:24] <MalkContent> or the dragger stops losing interest because the draggee was a bitch
L652[07:10:32] <MalkContent> oooor they start using their feet
L653[07:10:44] <LatvianModder> Jolteffect: which one you prefer?
L654[07:10:45] <MalkContent> and once they can kind of walk you tell them to do it on their own and fuck off
L655[07:11:47] <sham1> providing help /= doing the other person's job for them
L656[07:12:06] <Jolteffect> well, as a new person to the scene I am most grateful of any help at all, so the first 2 i appreciate, however I do not take offence if people are rude and offer no help.
L657[07:12:10] <LatvianModder> why not, it makes their life easier
L658[07:12:35] <sham1> Because they learn slower that way
L659[07:12:44] <LatvianModder> they have something to learn from
L660[07:12:50] <MalkContent> that's only if you do everything for them
L661[07:13:05] <sham1> It's like if your maths teacher just gives you all the exercise answers ready made
L662[07:13:18] <MalkContent> up to a point there is merit in doing their job for them, for demonstrative purposes
L663[07:13:42] <Jolteffect> i never ask for code, I always ask for pointer to the right area so i can work out the code myself.
L664[07:13:49] <sham1> That's good
L665[07:14:00] <Ordinastie_> Jolteffect, that's probably why you get helped
L666[07:14:03] <sham1> That's the kind of person I personally like to helå
L667[07:14:05] <MalkContent> it's more like you got the problems 1+3 = a; 2+4 = b; and a + b = c
L668[07:14:09] <sham1> s/helå/help
L669[07:14:27] <MalkContent> and the teacher demonstrates how to calculate a and b
L670[07:14:35] <Jolteffect> and I will only ask for help as a last resort, not a first resort.
L671[07:14:50] <MalkContent> and then leaves you alone with a+b
L672[07:14:50] *** V is now known as Vigaro
L673[07:16:33] ⇨ Joins: OrionOnline (~OrionOnli@ip-80-236-237-169.dsl.scarlet.be)
L674[07:16:54] <Hawaii_Beach> enough already
L675[07:17:01] <sham1> nevah
L676[07:17:08] <Hawaii_Beach> and yes, i know jack shit about the minecraft sources
L677[07:17:46] <LatvianModder> well you were catalyst for this conversation sooo
L678[07:18:11] <sham1> more like the cause
L679[07:19:02] <LatvianModder> whats the difference?
L680[07:19:23] <sham1> Stuff and things
L681[07:19:39] <LatvianModder> oh. right. noted
L682[07:20:00] <sham1> Anyway
L683[07:20:01] <MalkContent> catalysts require a preexisting condition
L684[07:20:04] <sham1> discord
L685[07:20:32] <Jolteffect> channel has a discord?
L686[07:20:51] <Hawaii_Beach> haha
L687[07:21:12] ⇦ Quits: Javaschreiber (~Thunderbi@p200300D2F3CDE30070E1153007597819.dip0.t-ipconnect.de) (Quit: Javaschreiber)
L688[07:21:19] <sham1> Well we just had one
L689[07:21:41] <sham1> But I am talking about the voip+irc thing
L690[07:21:54] <Hawaii_Beach> wat
L691[07:21:58] <Hawaii_Beach> voip over irc?!
L692[07:21:59] <MalkContent> ?
L693[07:22:05] <MalkContent> lol no
L694[07:22:14] <Hawaii_Beach> good luck
L695[07:22:26] <sham1> Well I could send data over
L696[07:22:37] <sham1> In the end, it's just bytes
L697[07:23:11] ⇦ Quits: Necr0 (~Necr0@p200300700D6EAA8D9490F7F68924F904.dip0.t-ipconnect.de) (Ping timeout: 202 seconds)
L698[07:23:13] <MalkContent> encoding sound in textchat. kill me now
L699[07:23:19] <Hawaii_Beach> send the bytes over ASCII
L700[07:23:25] <Hawaii_Beach> haha
L701[07:25:02] <sham1> Well text is just one of the representations of the data one could theoretically send over the wire
L702[07:25:10] ⇨ Joins: Abastro (~Abastro@112.166.128.227)
L703[07:25:42] <sham1> It only depends on how the other side interprets the data
L704[07:26:08] <MalkContent> could have a fun morse-style voip through text chat
L705[07:26:17] <MalkContent> where you record segments
L706[07:26:19] <MalkContent> then send them
L707[07:26:36] <sham1> MM
L708[07:26:38] <MalkContent> start of file is marked by the word "Well"
L709[07:26:51] <MalkContent> and end of file by ". I think."
L710[07:27:03] <MalkContent> rest is encoded in real words
L711[07:27:10] <MalkContent> take that NSA
L712[07:27:22] <MalkContent> security through obscurity :D
L713[07:27:22] <sham1> When I said voip+irc, I really meant https://en.wikipedia.org/wiki/Discord_(software)
L714[07:27:35] <sham1> Because that's what it feels like
L715[07:28:05] <Hawaii_Beach> lol the wiki page
L716[07:28:14] <Hawaii_Beach> still no one have mentioned the shady EULA
L717[07:29:55] <Hawaii_Beach> wait what they changed their privacy policy?
L718[07:30:09] <LatvianModder> pfft, curse ftw
L719[07:30:34] <Hawaii_Beach> curse, really?
L720[07:30:54] <LatvianModder> yep
L721[07:32:03] <sham1> What I don't get is how Curse knows my steam account
L722[07:32:37] <sham1> And my friends at that steam account
L723[07:32:54] <Hawaii_Beach> mumble ftw
L724[07:32:55] <LatvianModder> steam api?
L725[07:33:21] <Hawaii_Beach> open source hosted on github, great devs and FAST bug fixing
L726[07:33:34] <sham1> But I never linked curse to my steam
L727[07:33:46] <LatvianModder> you can disable that
L728[07:34:15] <Hawaii_Beach> lol only mumble is open source
L729[07:36:21] <sham1> The annoying thing about discord for me is that there is no native Linux client
L730[07:36:30] <sham1> I need to use the web interface
L731[07:38:21] <Abastro> World -> Provider -> Capability -> World Body methods, will it break backward-compatibility?
L732[07:38:35] <LatvianModder> you asked this before and.. what that even means?
L733[07:38:40] ⇦ Parts: Aroma1997 (~Aroma1997@2604:a880:800:10::168:d001) ())
L734[07:39:37] ⇨ Joins: LexLap (~LexManos@172.76.2.58)
L735[07:39:37] MineBot sets mode: +o on LexLap
L736[07:39:45] <Abastro> Propagation of method call.
L737[07:40:46] ⇨ Joins: sinkillerj (~sinkiller@nc-67-232-14-224.dhcp.embarqhsd.net)
L738[07:42:15] <sweetpi> sham1: https://discordapp.com/api/download/canary?platform=linux
L739[07:42:56] <sham1> Ah, nice
L740[07:43:36] <sweetpi> and tarball https://discordapp.com/api/download/canary?platform=linux&format=tar.gz
L741[07:43:45] <sham1> Hmm
L742[07:44:32] <sham1> I hope I can get that work on my distro
L743[07:46:17] <Abastro> What I meant by the World -> ..., is that propagation of methods in world to the capabilities.
L744[07:54:39] <illy> sham1: what distro?
L745[07:54:45] <sham1> Gentoo
L746[07:55:45] <illy> gentoo builds from source right or can it also use binaries?
L747[07:56:07] ⇦ Quits: Jolteffect (~Jolteffec@host86-175-44-51.range86-175.btcentralplus.com) (Ping timeout: 384 seconds)
L748[07:57:15] ⇨ Joins: JoltEffect (~Jolteffec@host86-175-44-51.range86-175.btcentralplus.com)
L749[07:57:58] <sweetpi> the tarball should work, if not just install dpkg and use the .deb
L750[07:58:07] ⇨ Joins: PrinceCat (~PrinceCat@106-69-72-71.dyn.iinet.net.au)
L751[07:59:41] <sham1> It can also use binaries
L752[07:59:57] <sham1> But the main install method is from portage using sourcess
L753[08:01:14] <illy> heh im to lazy to maintain a gentoo system :P
L754[08:05:36] ⇦ Quits: Hawaii_Beach (~Hawaii_Be@c80-216-156-69.bredband.comhem.se) (Quit: Hawaii_Beach)
L755[08:07:27] ⇦ Quits: sweetpi (~sweetpi@c-67-172-57-82.hsd1.pa.comcast.net) (Quit: Leaving)
L756[08:10:17] ⇦ Quits: turmfalke (~turmfalke@p20030056CF06BAB1B8190056947759F2.dip0.t-ipconnect.de) (Ping timeout: 384 seconds)
L757[08:13:02] <LatvianModder> whats the best name for a command that has subcommands?
L758[08:13:21] <LatvianModder> CommandSubBase maybe?
L759[08:13:48] <luacs1998> FE uses descriptive names for the overall command
L760[08:14:13] <luacs1998> or the "master" command - like /auth login and /auth kick are under CommandAuth class
L761[08:14:54] <LatvianModder> luacs1998: what do you think about this? still needs polishing (like removing my own stuff obviously), but gonna try to PR into forge: https://github.com/LatvianModder/FTBLib/blob/1.9/src/main/api/com/feed_the_beast/ftbl/api/cmd/CommandSubBase.java
L762[08:15:16] <luacs1998> 1) why would i need this
L763[08:15:16] <LatvianModder> https://github.com/LatvianModder/FTBLib/blob/1.9/src/main/java/com/feed_the_beast/ftbl/cmd/CmdFTB.java
L764[08:15:25] <LatvianModder> heres example
L765[08:15:40] <LatvianModder> to make life easier
L766[08:16:42] <LatvianModder> you can create a tree of commands. like /ftb chunk set, etc.
L767[08:16:57] <luacs1998> 2) https://github.com/ForgeEssentials/ForgeEssentials/blob/develop/src/main/java/com/forgeessentials/util/CommandParserArgs.java
L768[08:17:02] <luacs1998> and https://github.com/ForgeEssentials/ForgeEssentials/blob/develop/src/main/java/com/forgeessentials/core/commands/ParserCommandBase.java
L769[08:17:31] <LatvianModder> oh god, thats huge
L770[08:18:31] <LatvianModder> well this is just abstraction level. Im not adding anything new, just using what vanilla already provides
L771[08:18:50] <luacs1998> heh
L772[08:19:24] <luacs1998> but i'm gonna tell you not to waste your time getting it past lex
L773[08:19:35] <luacs1998> because of what you can do with switching string args
L774[08:20:15] <LatvianModder> what can you do?
L775[08:21:24] ⇨ Joins: turmfalke (~turmfalke@p20030056CF06BAE057E90E0F37FD0C42.dip0.t-ipconnect.de)
L776[08:21:51] <LatvianModder> I wont be wasting my time, just copy-pasting what I already have :P
L777[08:22:19] <luacs1998> behold https://github.com/ForgeEssentials/ForgeEssentials/blob/develop/src/main/java/com/forgeessentials/permissions/commands/PermissionCommandParser.java
L778[08:22:39] <luacs1998> the utter abomination that olee has created
L779[08:23:14] <LatvianModder> yeesh
L780[08:24:09] <LatvianModder> help me to think of tests for permission api, aside from those 2 that lex mentioned :D
L781[08:24:39] <luacs1998> eh, i wish i could
L782[08:24:42] <luacs1998> exams are coming :(
L783[08:25:11] <LatvianModder> ah, ok, no prob. gl with hours of depressing studying! :P
L784[08:25:41] <LatvianModder> I did none. got grunk day before and aced exams anyway :D
L785[08:32:15] ⇦ Quits: alekso56 (~znc@2001:464b:c2aa:0:745d:45ff:fe3b:a098) (Ping timeout: 202 seconds)
L786[08:33:58] ⇨ Joins: alekso56 (~znc@2001:464b:c2aa:0:745d:45ff:fe3b:a098)
L787[08:33:59] <heldplayer> What is studying?
L788[08:34:27] <heldplayer> Is it that thing other people do?
L789[08:36:04] ⇦ Quits: PrinceCat (~PrinceCat@106-69-72-71.dyn.iinet.net.au) (Quit: My Mac has gone to sleep. ZZZzzz…)
L790[08:36:27] ⇨ Joins: hasunwoo (~hasunwoo@14.50.209.200)
L791[08:37:13] <LatvianModder> ive seen it from distance. its weird
L792[08:41:09] ⇨ Joins: EzR3aL (~EzR3aL@hsi-kbw-078-042-011-087.hsi3.kabel-badenwuerttemberg.de)
L793[08:41:30] <EzR3aL> Hey guys.
L794[08:42:02] <EzR3aL> Just updated my server with a few mods and updated tp the latest version of forge. After the first run everything was working fine but after restarting the server is crashing all the time.
L795[08:42:15] <EzR3aL> http://pastebin.com/b6Q7B54W
L796[08:42:19] <LatvianModder> what a coinsidence. I am listening to song with ezreal in it...
L797[08:42:23] <EzR3aL> Anything i can do about that?
L798[08:42:35] <EzR3aL> from rameses b ?
L799[08:43:07] <LatvianModder> This is War 2
L800[08:43:15] <LatvianModder> Abastro: I guess this one is yours ^
L801[08:43:30] <IoP> few mods, 20?
L802[08:43:44] <LatvianModder> thats few tbh
L803[08:44:10] <EzR3aL> *16 mods
L804[08:44:11] <EzR3aL> ^^
L805[08:44:11] <LatvianModder> its not minimal. but normal is usually Unstable level
L806[08:44:42] <EzR3aL> Its working fine in ssp and on the first server start everything was working fine too.
L807[08:46:53] <Ordinastie_> how do I get a stream from a multimap ?
L808[08:47:05] <LatvianModder> do you have to?
L809[08:47:37] <LatvianModder> EzR3aL: I think its a forge bug, you can downgrade it until its fixed. I blame Abastro
L810[08:47:43] <Ordinastie_> I think so
L811[08:47:53] <Ordinastie_> even if I don't, still curious how to anyway
L812[08:48:07] <Ordinastie_> I guess I could asMap() first
L813[08:48:22] <EzR3aL> LatvianModder, Any advice on a lower version that i should use?
L814[08:48:30] <Abastro> EzR3aL, Is the server forge only?
L815[08:48:39] <LatvianModder> probably previous one. World Capabilities were added yesterday
L816[08:48:50] <EzR3aL> Abastro, yes it is. no plugin shit or anything like that..^^
L817[08:49:10] <LatvianModder> is that the NPE that Lex was talking about?
L818[08:49:32] <Abastro> Nope
L819[08:49:54] <EzR3aL> So i should try 2061?
L820[08:50:02] <Abastro> It says that gathered capability provider is 'null'
L821[08:50:15] <LatvianModder> hm. so its a mod doing it?
L822[08:50:36] <Abastro> I think so
L823[08:50:40] <LatvianModder> really, the log could be a bit more descriptive. like printing the class that does so :P
L824[08:50:45] <EzR3aL> Hard to tell which mod hm? :/
L825[08:51:57] <LatvianModder> nah, lets to some intensive debugging
L826[08:52:07] <Abastro> Welp, sorry my bad
L827[08:52:09] <LatvianModder> ...by going to curseforge page and looking up newsest updated mods
L828[08:52:18] <LatvianModder> oh, so its yours after all?
L829[08:52:48] ⇦ Quits: aef (~aef@schweinehegel.raxys.net) (Remote host closed the connection)
L830[08:52:59] <EzR3aL> newest updated mods wont help at all i think. It could be an old mod doing that after updating forge?
L831[08:53:33] <LatvianModder> well the feature was added yesterday so..
L832[08:55:04] ⇨ Joins: Javaschreiber (~Thunderbi@p200300D2F3D84700D0C2DE23F6D77F32.dip0.t-ipconnect.de)
L833[08:56:30] <Abastro> gatherCapabilities give null when there are no caps. So a null check might be neede
L834[08:56:34] <Abastro> Needed?
L835[08:57:26] <LatvianModder> wait, you didnt even check how others do it? :P
L836[08:57:31] ⇦ Quits: Javaschreiber (~Thunderbi@p200300D2F3D84700D0C2DE23F6D77F32.dip0.t-ipconnect.de) (Read error: Connection reset by peer)
L837[08:57:40] ⇨ Joins: Javaschreiber (~Thunderbi@p200300D2F3D84700D0C2DE23F6D77F32.dip0.t-ipconnect.de)
L838[08:57:47] <Abastro> I did check.
L839[08:58:25] <Abastro> But can't found it till now.. something should have happened to me
L840[08:58:42] <LatvianModder> capabilities = net.minecraftforge.event.ForgeEventFactory.gatherCapabilities(this); (from TileEntity)
L841[08:58:48] <LatvianModder> and capabilities can be null
L842[09:00:32] ⇦ Quits: Javaschreiber (~Thunderbi@p200300D2F3D84700D0C2DE23F6D77F32.dip0.t-ipconnect.de) (Client Quit)
L843[09:01:52] <EzR3aL> after downgrading to 2061 enderio is crashing the server on startup :(
L844[09:02:22] <LatvianModder> so its enderio doing it..
L845[09:02:56] <EzR3aL> ah actually its something with enderio redstone conduit and rftools stuff whats causing the crash on 2061.
L846[09:03:10] <EzR3aL> *rftools timer
L847[09:03:18] <EzR3aL> but thats only happening on 2061.
L848[09:03:31] <LatvianModder> hm
L849[09:03:36] <EzR3aL> Its working on 2063 but forge itself is crashing there for me :D
L850[09:05:41] <TechRo_> Does a BlockCrop know its own position in the world? I'd like to spawn a item every ten or so minits from a special crop
L851[09:06:04] <Abastro> Posted fix as PR.. very sorry for that.
L852[09:09:07] ⇦ Quits: Katrix (~Katrix@2a02:fe0:cb10:2420:c412:ac33:5560:52db) (Ping timeout: 202 seconds)
L853[09:09:33] <ghz|afk> TechRo_: blocks are not "in the world"
L854[09:09:35] <ghz|afk> they just manage
L855[09:09:38] <ghz|afk> there's only one instance of each
L856[09:09:45] <ghz|afk> that manages ALL the blocks in the world
L857[09:09:56] ⇨ Joins: Katrix (~Katrix@2a02:fe0:cb10:2420:bdf5:e3ad:3cdc:31dd)
L858[09:10:41] ⇨ Joins: Aroma1997 (~Aroma1997@2604:a880:800:10::168:d001)
L859[09:11:32] <TechRo_> Okay, how should I do this? Make a function in the instance that spawns the item
L860[09:12:36] ⇨ Joins: Brokkoli (~Brokkoli@p5B23CCE8.dip0.t-ipconnect.de)
L861[09:12:37] <Ordinastie_> so, I have a stream of elements, and I need to find the key for that element in another hashmap...
L862[09:13:29] ⇨ Joins: Nentify (uid14943@id-14943.highgate.irccloud.com)
L863[09:16:51] <MalkContent> if i draw one texture after another inside drawGuiContainerBackgroundLayer, does that result in z-fighting?
L864[09:20:11] <ghz|afk> depends on the depth testing function
L865[09:20:27] ⇦ Quits: TechRo_ (~TechRo@ip51cffd48.direct-adsl.nl) (Read error: Connection reset by peer)
L866[09:20:32] <ghz|afk> but no, generally, it shouldn't
L867[09:20:39] <Ordinastie_> doesn't quite feel right : http://puu.sh/qB0EW.png
L868[09:20:48] <MalkContent> k
L869[09:21:04] <ghz|afk> that feels like code that would make sense using standard loops
L870[09:21:32] <MalkContent> went ahead with "a, ill just try it" now am having fun getting the proper coordinates from a slot. sigh. friggin guis
L871[09:23:28] ⇨ Joins: TechRo_ (~TechRo_@ip51cffd48.direct-adsl.nl)
L872[09:23:46] <Ordinastie_> something something MalisisCore
L873[09:27:59] <Ordinastie_> ghz|afk, better ? http://puu.sh/qB0Zs.png
L874[09:28:37] <ghz|afk> definitely easier to read ;p
L875[09:29:00] <LatvianModder> yeah. not always streams make code prettier
L876[09:29:02] <Ordinastie_> that's often true with streams :/
L877[09:30:05] <Ordinastie_> fine, I'll keep the loops
L878[09:30:13] <Ordinastie_> it'll be easier to debug anyway
L879[09:32:47] *** cpw|out is now known as cpw
L880[09:34:01] ⇦ Quits: VikeStep (~VikeStep@101.184.243.180) (Read error: Connection reset by peer)
L881[09:38:27] ⇦ Parts: Redrield (~Redrield@i.dont.know.what.to.put.here.redrield.tk) (ERC (IRC client for Emacs 24.5.1)))
L882[09:40:02] <LatvianModder> https://github.com/MinecraftForge/MinecraftForge/pull/3193
L883[09:40:20] <LatvianModder> luacs1998: I did it anyway! ^ :P
L884[09:40:33] <ghz|afk> LatvianModder: what's the purpose of it?
L885[09:40:37] <ghz|afk> you don't even explain ;p
L886[09:41:05] <LatvianModder> Its pretty self explanitory. Helper class. So you can create tree of commands easily
L887[09:41:24] <LatvianModder> /my_command subcmd subcmd subcmd. There is a Test class there to show how it works
L888[09:41:49] <ghz|afk> yes but TL;DR
L889[09:41:59] <LatvianModder> That is TL;DR
L890[09:42:03] <ghz|afk> telling people to read the code isn't a good way to gain interest ;P
L891[09:42:16] <ghz|afk> itw as a suggestion for you to explain that in the PR description ;P
L892[09:42:35] <LatvianModder> Alright, gonna try to be as desrciptive as possible
L893[09:43:34] ⇨ Joins: howtonotwin (~howtonotw@r75-110-22-15.gvllcmtc01.gnvlnc.ab.dh.suddenlink.net)
L894[09:45:11] <sham1> But is java, you cannot be expressive
L895[09:48:39] <EzR3aL> Abastro `?
L896[09:49:07] ⇨ Joins: IceDragon (~ThatGuy@184.170.45.86)
L897[09:50:28] <ghz|afk> EzR3aL: World Capabilities were merged recently
L898[09:50:36] <ghz|afk> and there have been a couple places where it NPEs
L899[09:50:51] <ghz|afk> apparently there's one left ;p
L900[09:51:06] <ghz|afk> try using a build right before worldcaps were merged, it should work
L901[09:51:51] <EzR3aL> With 2063 forge is crashing. If i downgrade to 2061 enderio/rftools is crashing. Downgrading them doesnt work.
L902[09:52:20] <EzR3aL> I tried the enderio, rftools and forge version i was using the last days but i cant start the server anymore.
L903[09:53:02] <ghz|afk> :/
L904[09:53:54] <LatvianModder> CommandTreeBase does look a lot better
L905[09:54:04] <EzR3aL> i'm just wondering the the PR from abastro is maybe fixing this issue?
L906[09:54:16] <LatvianModder> its not merged yet
L907[09:54:21] <EzR3aL> i know :P
L908[09:54:29] <EzR3aL> Else i could just test it ;D
L909[09:54:36] <ghz|afk> lex is probably sleeping, so it may be some hours ;P
L910[09:54:44] <Abastro> I tested it, it fixes that.
L911[09:54:54] <LatvianModder> he went to sleep at like 4 am
L912[09:55:30] <EzR3aL> Any way for me to check if enderio/rftools are crashing if the forge bug is fixed? Or do i have to wait?
L913[09:55:52] <LatvianModder> wait few hours.. or days..
L914[09:56:00] <EzR3aL> thanks :D
L915[09:56:03] <LatvianModder> *years later* its merged!
L916[09:56:06] ⇦ Quits: IceDragon (~ThatGuy@184.170.45.86) (Quit: Thou hast been banish)
L917[10:00:15] *** kroeser is now known as kroeser|away
L918[10:08:12] ⇦ Quits: sinkillerj (~sinkiller@nc-67-232-14-224.dhcp.embarqhsd.net) (Ping timeout: 186 seconds)
L919[10:08:13] ⇦ Quits: AnrDaemon (~ZNC@ppp95-165-144-62.pppoe.spdop.ru) (Quit: q)
L920[10:08:27] ⇨ Joins: AnrDaemon (~ZNC@ppp95-165-144-62.pppoe.spdop.ru)
L921[10:10:54] <MalkContent> can i use the GlStateManager to remember if blend is enabled or not and return it to its original value after i'm done?
L922[10:11:17] <MalkContent> or should i just hardcode enableBlend disableBlend
L923[10:14:14] ⇨ Joins: IceDragon (~ThatGuy@184.170.45.86)
L924[10:15:50] <MalkContent> a. push/popAttrib do the thing?
L925[10:19:24] <MalkContent> nope
L926[10:22:47] <howtonotwin> pushMatrix -> enableBlend -> popMatrix?
L927[10:23:25] ⇨ Joins: sinkillerj (~sinkiller@nc-67-232-14-224.dhcp.embarqhsd.net)
L928[10:24:32] <MalkContent> no thats just for the matrix
L929[10:24:41] <sham1> I don't think that enableblend does anything for matrices
L930[10:25:05] <MalkContent> glstatemanager only seems to push a single attrib, which you cannot chose
L931[10:25:23] <MalkContent> gl11.pushattrib might be able to do it, but i'm not gonna do that
L932[10:25:32] <MalkContent> hard code it is \o/
L933[10:25:41] <LatvianModder> it doesnt push single attrib
L934[10:25:45] <sham1> This is not going to end well
L935[10:25:46] <LatvianModder> attrbs are bits
L936[10:25:51] <LatvianModder> and dont use it
L937[10:26:01] <LatvianModder> it actually pushes ENABLE_BIT | LIGHTING_BIT, iirc
L938[10:26:57] ⇦ Quits: hasunwoo (~hasunwoo@14.50.209.200) (Quit: Bye)
L939[10:27:11] <MalkContent> GL11.glPushAttrib(8256) is what GlStateManager does for me :P
L940[10:27:42] <LatvianModder> yeah, thats multiple bits combined
L941[10:28:00] <MalkContent> hmm. i guess
L942[10:28:15] <MalkContent> google said it's WGL_DEPTH_FLOAT_EXT
L943[10:28:24] <sham1> 0xF0 | 0x0F
L944[10:28:26] <LatvianModder> no its not :P
L945[10:29:39] <LatvianModder> GL_LIGHTING_BIT | GL_ENABLE_BIT
L946[10:29:54] <MalkContent> anyways, if i & it with blend, i get a value different from blend
L947[10:30:00] <MalkContent> so it don't do the thing for me
L948[10:30:07] <LatvianModder> aka 64 | 8192. anyway, dont use attrib, it will probably screw up everything
L949[10:39:28] ⇦ Quits: raoulvdberge (uid95673@id-95673.richmond.irccloud.com) (Quit: Connection closed for inactivity)
L950[10:40:30] ⇦ Quits: Waterpicker (~Waterpick@2602:306:35ba:ca40:308c:4c99:2ad2:a0ad) (Read error: Connection reset by peer)
L951[10:47:05] <Ordinastie_> godamn it mojang :x
L952[10:47:50] <ghz|afk> so apparently in the pre-expansion stuff in wow
L953[10:47:59] <ghz|afk> there's these NPCs that hand out pamphlets
L954[10:48:17] <ghz|afk> and if you get the 12 different ones, you get a "feat of strength"
L955[10:48:25] <ghz|afk> (hidden achievement)
L956[10:48:42] <ghz|afk> they have a 15min cooldown timer, but someone discovered if you die, it resets
L957[10:48:45] <ghz|afk> leading to... https://youtu.be/6Tfr1S_aE84?t=54
L958[10:48:49] <MalkContent> stronk char. carrying all those pamphlets
L959[10:50:56] *** cpw is now known as cpw|out
L960[10:51:02] *** kroeser|away is now known as kroeser
L961[10:56:12] ⇦ Quits: Nitrodev (~Nitrodev@85-23-77-207.bb.dnainternet.fi) (Read error: Connection reset by peer)
L962[10:58:38] *** willieaway is now known as williewillus
L963[11:02:18] *** manmaed|AFK is now known as manmaed
L964[11:13:10] ⇨ Joins: Javaschreiber (~Thunderbi@p200300D2F3D84700D0C2DE23F6D77F32.dip0.t-ipconnect.de)
L965[11:15:34] <Javaschreiber> I'm using the SPacketUpdateTileEntity to send updates to the client, some times every tick. But now, when a player joins the game, a bunch of NPEs are thrown from NetHandlerPlayClient.handleUpdateTileEntity(). Any ideas how to prevent that or is there another (better) solution to syncing TEs?
L966[11:17:55] <diesieben07> how are you sending them?
L967[11:18:22] <Javaschreiber> mp.connection.sendPacket(entity.getUpdatePacket()); when necessary. MP is the player.
L968[11:18:45] <diesieben07> yeah i don't think you should send those packets manually
L969[11:19:04] <Javaschreiber> How else?
L970[11:19:49] <diesieben07> World::notifyBlockUpdate afaik
L971[11:20:20] <diesieben07> yep that's it
L972[11:20:27] <ghz|afk> yep you call notifyBlockUpdate
L973[11:20:28] <diesieben07> call that if you want to re-send the TE to all players that see it
L974[11:20:40] <ghz|afk> and mc will schedule an update for as soon as possible
L975[11:20:45] <williewillus> you are getting the NPE's because the client doesn't know about the TE's yet when you first login
L976[11:21:03] <ghz|afk> also if you use 1.9.4 or higher
L977[11:21:17] <ghz|afk> all you have to do is also implement getUpdateTag and handleUpdateTag
L978[11:21:21] <ghz|afk> on top of the isuaul
L979[11:21:24] <Javaschreiber> OK. Thanks.
L980[11:21:25] <ghz|afk> getupdatePacket and onDataPacket
L981[11:21:44] <williewillus> notifyBlockUpdate is a terrible name -.-
L982[11:22:07] <diesieben07> yeah i don't know why it was changed from markBlockForUpdate
L983[11:22:11] <ghz|afk> yeh the old markblockforupdate was better
L984[11:22:15] <williewillus> it has nothign to do with actual "block updates"
L985[11:22:22] <ghz|afk> or markBlockDirty at least
L986[11:23:17] <diesieben07> damnit kashike.
L987[11:24:39] <Javaschreiber> What are the flag values? Do they still matter?
L988[11:25:16] <diesieben07> on the server they don't do anything
L989[11:26:27] <diesieben07> on the client flag 0b1000 (8) means actually do something
L990[11:26:38] <diesieben07> if you pass 0 on the client, nothign happens as far as i can tell
L991[11:26:58] <williewillus> well it runs but it tells the renderer to not re-render it :P
L992[11:28:01] <ghz|afk> on the client
L993[11:28:04] <ghz|afk> flag 8 means "asap"
L994[11:28:15] <ghz|afk> as in, it will make the render update happen a bit earlier
L995[11:28:22] <ghz|afk> but it will draw regardless
L996[11:28:32] <ghz|afk> on the server, no bits are used at all
L997[11:28:37] ⇦ Quits: airbreather (~airbreath@d149-67-99-43.nap.wideopenwest.com) (Read error: Connection reset by peer)
L998[11:29:14] <diesieben07> ah right
L999[11:29:19] <diesieben07> no flags doens't do NOTHING
L1000[11:29:42] <Javaschreiber> Can I prevent render updates?
L1001[11:29:53] <ghz|afk> suredon't call it on the client
L1002[11:29:57] ⇨ Joins: airbreather (~airbreath@d149-67-99-43.nap.wideopenwest.com)
L1003[11:30:11] <williewillus> well won't the server sync it?
L1004[11:30:16] <williewillus> or would the client not redraw it
L1005[11:30:21] <ghz|afk> notifyblockUpdate only syncs the TE data
L1006[11:30:29] <ghz|afk> but unless you call notifyblockupdate from within onDataPacket
L1007[11:30:31] <ghz|afk> the render cache doesn't know
L1008[11:31:15] <diesieben07> thats strange though
L1009[11:31:21] <williewillus> no it doesn't 0.o notifyBlockUpdate sends SPacketBlockChange I thought
L1010[11:31:25] <diesieben07> ^
L1011[11:31:35] <williewillus> which directly calls setBlockState on client
L1012[11:31:40] <diesieben07> ah
L1013[11:31:49] <diesieben07> but setBlockState doesnt do anything if the state doesnt chagne
L1014[11:32:04] <williewillus> the code region that sends SPacketBlockChange also happens to send SpacketUpdateTileEntity
L1015[11:35:14] <MalkContent> drats. i got a lamba expression in this and gradlew build apparently wants to build it with java 1.6
L1016[11:35:24] <williewillus> did you set java 8 in your gradle?
L1017[11:35:56] <MalkContent> looking for it
L1018[11:36:01] <MalkContent> not finding it
L1019[11:36:26] <diesieben07> https://git.io/v6zgF
L1020[11:36:31] <diesieben07> thats what you need MalkContent
L1021[11:38:07] ⇦ Quits: Kaiyouka (~IdiotNono@c-75-71-231-133.hsd1.co.comcast.net) (Ping timeout: 190 seconds)
L1022[11:38:20] ⇨ Joins: EliteMasterEric (webchat@c-68-55-96-74.hsd1.mi.comcast.net)
L1023[11:38:31] ⇨ Joins: Kaiyouka (~IdiotNono@c-75-71-231-133.hsd1.co.comcast.net)
L1024[11:38:43] <williewillus> !gm func_77946_l
L1025[11:38:45] <MalkContent> thanks
L1026[11:38:49] <MalkContent> how come he uses 1.6 without that line?
L1027[11:39:09] <diesieben07> because that's the default FG sets it to i think
L1028[11:39:13] <diesieben07> because that's what Mojang tartgets
L1029[11:39:37] <MalkContent> pretty sure i got home set to 1.8. come to think of it afaik i dont even have 1.6 anymore
L1030[11:39:37] <MalkContent> a.
L1031[11:39:37] <MalkContent> fair enough
L1032[11:40:22] ⇨ Joins: McJty (~jorrit@94-225-203-206.access.telenet.be)
L1033[11:40:29] <williewillus> anyone seen something like this?
L1034[11:40:41] <williewillus> the offending line just calls to the IStorage of CapabilityItemHandler
L1035[11:41:18] <williewillus> `return CapabilityItemHandler.ITEM_HANDLER_CAPABILITY.writeNBT(<IItemHandler that is never null>, null);`
L1036[11:41:38] ⇨ Joins: istasi (webchat@2E203A8D.rev.sefiber.dk)
L1037[11:41:39] <IoP> MalkContent: Did you configure gradle to build for java 8?
L1038[11:42:58] <MalkContent> now, yea :) diesieben got to me before you
L1039[11:44:39] *** Darkhax_AFK is now known as Darkhax
L1040[11:45:08] ⇦ Quits: istasi (webchat@2E203A8D.rev.sefiber.dk) (Quit: Web client closed)
L1041[11:45:32] ⇨ Joins: istasi (~istasi@2E203A8D.rev.sefiber.dk)
L1042[11:46:20] ⇦ Quits: EliteMasterEric (webchat@c-68-55-96-74.hsd1.mi.comcast.net) (Quit: Web client closed)
L1043[11:46:58] ⇨ Joins: EliteMasterEric (~EliteMast@c-68-55-96-74.hsd1.mi.comcast.net)
L1044[11:49:09] <istasi> Hello, trying to learn how to make mods for 1.10.2, found https://shadowfacts.net/tutorials/forge-modding-1102/, though trying to get it to work with eclipse instead, so took the eclipse setup from http://bedrockminer.jimdo.com/modding-tutorials/set-up-minecraft-forge/set-up-advanced-setup/ now whenever i run the code it opens minecraft alright, however it's completely ignoring the code i've written, doesn't matter if its non-sense or if
L1045[11:49:09] <istasi> its working code from the first guide ... wondering if anyone can help or redirect to a guide that works
L1046[11:49:22] ⇦ Quits: EliteMasterEric (~EliteMast@c-68-55-96-74.hsd1.mi.comcast.net) (Client Quit)
L1047[11:50:02] <ghz|afk> http://mcforge.readthedocs.io/en/latest/gettingstarted/
L1048[11:50:07] ⇦ Quits: RichardG (~richardg8@201.37.252.77) (Ping timeout: 202 seconds)
L1049[11:50:11] <diesieben07> istasi, sorry to say but that 2nd tutorial is absolute bullshit
L1050[11:50:14] <diesieben07> don't follow that
L1051[11:50:20] ⇨ Joins: RichardG (~richardg8@201.37.252.77)
L1052[11:50:21] MineBot sets mode: +v on RichardG
L1053[11:51:17] ⇨ Joins: MasterEric (~EliteMast@c-68-55-96-74.hsd1.mi.comcast.net)
L1054[11:51:25] <MasterEric> hey
L1055[11:51:39] <MasterEric> What's causing this? No errors in the console
L1056[11:51:40] <MasterEric> http://gfycat.com/JoyfulUnhealthyChrysomelid
L1057[11:52:05] <MasterEric> As soon as I step on my mod block I sink into the ground. If I'm in creative I can fly verically but I can't move horizontally until I use /kill
L1058[11:53:25] <MasterEric> Also apparently I can't talk in the channel if my nickname is too long (I had 15)
L1059[11:54:42] ⇦ Quits: AnrDaemon (~ZNC@ppp95-165-144-62.pppoe.spdop.ru) (Quit: q)
L1060[11:54:56] ⇨ Joins: AnrDaemon (~ZNC@ppp95-165-144-62.pppoe.spdop.ru)
L1061[11:54:59] *** kirby|gone is now known as mrkirby153
L1062[11:56:55] ⇦ Quits: Javaschreiber (~Thunderbi@p200300D2F3D84700D0C2DE23F6D77F32.dip0.t-ipconnect.de) (Quit: Javaschreiber)
L1063[11:58:21] <McJty> MasterEric, show us your block code
L1064[12:00:15] ⇨ Joins: Nitrodev (~Nitrodev@85-23-77-207.bb.dnainternet.fi)
L1065[12:03:38] <MasterEric> https://gist.github.com/MasterEric/259b582cea1a06dccb0472a69ff83d05
L1066[12:04:00] <MasterEric> I commented out the "decay" code and it stopped doing it
L1067[12:04:08] <MasterEric> so it must be that
L1068[12:06:01] <McJty> Bah, 1.7.10 code...
L1069[12:07:43] ⇦ Quits: JoltEffect (~Jolteffec@host86-175-44-51.range86-175.btcentralplus.com) (Ping timeout: 384 seconds)
L1070[12:10:32] ⇨ Joins: JoltEffect (~Jolteffec@host86-175-44-51.range86-175.btcentralplus.com)
L1071[12:13:17] <MasterEric> yeah
L1072[12:13:24] <LatvianModder> boo
L1073[12:16:19] <MasterEric> Welp, now after commenting it out and uncommenting it out I can't reproduce the error
L1074[12:16:22] <MasterEric> but the blocks don't decay
L1075[12:20:47] <sham1> 1.7.x
L1076[12:20:49] <sham1> Please
L1077[12:20:52] <sham1> Go outside
L1078[12:21:09] <JoltEffect> evening guys, wonder if you can help/assist me again please, I have a "java.util.concurrent.ExecutionException: java.lang.NullPointerException" log error when reading from my containers NBT. Items are stored/saed after load, but this error will not go away :)
L1079[12:21:25] <sham1> Show your NBT code
L1080[12:22:13] <JoltEffect> http://pastebin.com/w6k0upA9
L1081[12:22:33] <MalkContent> finally. first mod with more complex stuff done. a whole 2 items big! x)
L1082[12:23:04] <MalkContent> well. i guess it's done, placeholder textures aside
L1083[12:23:27] <sham1> JoltEffect, what is the stacktrace
L1084[12:23:52] <JoltEffect> http://pastebin.com/0T1PT1XU
L1085[12:25:20] <LatvianModder> thats odd
L1086[12:25:37] <sham1> Hmm
L1087[12:25:50] <sham1> Looking at the deserializeNBT
L1088[12:25:51] <LatvianModder> setSize(nbt.hasKey("Size", Constants.NBT.TAG_INT) ? nbt.getInteger("Size") : stacks.length);
L1089[12:25:57] <sham1> exactly
L1090[12:26:01] <LatvianModder> so.. could it be that your item handler is null?
L1091[12:26:02] <JoltEffect> when i place break points i cannot find anything which is null :)
L1092[12:26:08] <istasi> What am i missing if CommonProxy cannot resolve to a type? -.-
L1093[12:26:21] <sham1> Be a little more specific
L1094[12:26:41] <LatvianModder> you must initialize your IItemHandler. and it can be final aswell
L1095[12:26:46] <LatvianModder> show full tileentity code
L1096[12:26:47] <istasi> https://github.com/McJty/ModTutorials/blob/1.10.2/src/main/java/mcjty/modtut/ModTut.java line 30, drops something like Caused by: java.lang.Error: Unresolved compilation problem:
L1097[12:26:47] <istasi> CommonProxy cannot be resolved to a type
L1098[12:26:54] <JoltEffect> sure
L1099[12:27:15] <McJty> istasi, that compiles fine for me though
L1100[12:27:21] <JoltEffect> http://pastebin.com/KrKVNN3w
L1101[12:27:49] <McJty> istasi, what forge are you using?
L1102[12:27:54] <LatvianModder> there it is
L1103[12:27:55] <LatvianModder> (NBTTagCompound) compound.getTag("items")
L1104[12:28:07] <LatvianModder> dont do that. use compound.getCompoundTag("items")
L1105[12:28:14] <sham1> I still don't understand why keeping your clientproxy at the same class as your common @Mod class would be a good idea
L1106[12:28:38] <LatvianModder> anyone does that?
L1107[12:28:42] <istasi> newest 2063
L1108[12:28:49] <sham1> In the code that istasi linked
L1109[12:29:03] <LatvianModder> ew. https://github.com/McJty/ModTutorials/blob/1.10.2/src/main/java/mcjty/modtut/ModTut.java#L59-L113
L1110[12:29:05] <JoltEffect> LatvianModder. is it easy to explain why i cannot use that context?
L1111[12:29:37] <LatvianModder> it creates new NBTTagCompound, that is never null if you use getCompoundTag()
L1112[12:29:53] <JoltEffect> ok
L1113[12:30:09] <LatvianModder> it Shouldnt be a problem there, but I dunno. try that
L1114[12:30:20] <JoltEffect> sure i will now thanks
L1115[12:32:38] <LatvianModder> *writes Forge code* uses switch(string) "Not supported". OH CMON
L1116[12:32:48] <sham1> Yeah
L1117[12:32:58] ⇦ Quits: MasterEric (~EliteMast@c-68-55-96-74.hsd1.mi.comcast.net) (Quit: Leaving)
L1118[12:33:01] <sham1> java6 does not support switches on strings
L1119[12:33:22] <LatvianModder> yeah, I always forget how begind forge is:/
L1120[12:33:41] <istasi> mcjty, nvm was me messing up
L1121[12:34:15] <LatvianModder> also. split up yer damn proxie classes into seperate ones :P
L1122[12:34:29] <sham1> separate files
L1123[12:34:50] <LatvianModder> (is proxie plural of proxy? y is such a weird letter.)
L1124[12:34:54] <istasi> i'll do all mod in 1 file!, and make it the biggest mod of all time!
L1125[12:34:59] <LatvianModder> NOO
L1126[12:35:09] <LatvianModder> Well it will actually be smaller
L1127[12:35:11] <sham1> May god have mercy on your git
L1128[12:35:14] <diesieben07> proxies
L1129[12:35:16] <diesieben07> ;)
L1130[12:35:26] <LatvianModder> since you skip package and imports
L1131[12:35:39] <LatvianModder> so in theory that one mod class would be smaller than multiple files
L1132[12:36:15] <sham1> the diffs will be grand
L1133[12:37:00] <LatvianModder> wouldnd they anyway? its just adding/removing lines. does it matter in which file?
L1134[12:37:18] <LatvianModder> #SeriousDiscussionAboutPuttingWholeModInOneClass
L1135[12:38:19] ⇦ Quits: JoltEffect (~Jolteffec@host86-175-44-51.range86-175.btcentralplus.com) (Ping timeout: 384 seconds)
L1136[12:39:07] ⇦ Quits: TechRo_ (~TechRo_@ip51cffd48.direct-adsl.nl) (Ping timeout: 202 seconds)
L1137[12:39:41] <mrkirby153> What's a tickrate that would be considered low? 10?
L1138[12:39:49] ⇨ Joins: JoltEffect (~leetorwee@host86-175-44-51.range86-175.btcentralplus.com)
L1139[12:40:27] <JoltEffect> Sorry Lat, I got DC'ed, if you never saw my message, your assistence fixed my issue right up, thank you.
L1140[12:40:52] <MalkContent> there a way to add an overlay to any itemstack when its rendered?
L1141[12:41:40] <MalkContent> i have an nbt tag and i want to alert the player to it, when it's on an item
L1142[12:42:34] <diesieben07> even not your items?
L1143[12:42:51] <MalkContent> especially those :D
L1144[12:43:00] <diesieben07> then yeah no, not easily
L1145[12:43:02] <MalkContent> already am displaying stuff in the tooltip
L1146[12:43:16] <MalkContent> fair enough
L1147[12:43:26] <diesieben07> if it's your own you can do it via a model
L1148[12:43:54] <MalkContent> as i said, I mostly need it for when it's not on my own
L1149[12:44:13] ⇨ Joins: JamEngulfer (~JamEngulf@host5-81-242-203.range5-81.btcentralplus.com)
L1150[12:44:51] <MalkContent> but if there isn't really a way, that's fine
L1151[12:45:04] <MalkContent> i just don't want to not do it, if it was easy
L1152[12:45:13] <MalkContent> were*
L1153[12:45:41] <sham1> can't he apply his overlay model to any item model
L1154[12:46:56] <diesieben07> yeah
L1155[12:46:57] <diesieben07> hrm
L1156[12:47:00] <diesieben07> what you could do is
L1157[12:47:20] <diesieben07> make an IItemPropertyGetter, apply it to every item,
L1158[12:47:36] <diesieben07> and then add your own override to every model
L1159[12:48:18] <diesieben07> but that would mean you need a custom model loader to provide the combined model and... yeah it gets pretty involved
L1160[12:48:21] <diesieben07> but yes, its possible
L1161[12:52:19] <LatvianModder> "every item" EVERY ITEM
L1162[12:53:06] <diesieben07> ?
L1163[12:53:43] <MalkContent> yea i think that's a bit over the top
L1164[12:54:30] <mrkirby153> What's the best way to lag a dimension?
L1165[12:54:31] <sham1> But it woks
L1166[12:54:43] <sham1> mrkirby153, a lot of ticking tile entities
L1167[12:54:58] <mrkirby153> What's the easiest on a dev instance?
L1168[12:55:18] <TehNut> thread.sleep
L1169[12:57:52] <mrkirby153> Also, what would be considered a "low" tps?
L1170[12:58:37] ⇦ Quits: JamEngulfer (~JamEngulf@host5-81-242-203.range5-81.btcentralplus.com) (Quit: JamEngulfer)
L1171[12:58:50] <sham1> 5
L1172[12:59:25] <TehNut> <20 >.>
L1173[12:59:32] <sham1> <60
L1174[12:59:37] <TehNut> tru
L1175[12:59:45] ⇨ Joins: JamEngulfer (~JamEngulf@host5-81-242-203.range5-81.btcentralplus.com)
L1176[12:59:49] <kenzierocks> <60 is a low fps, not tps
L1177[12:59:58] <sham1> joke
L1178[13:00:00] <sham1> your head
L1179[13:00:10] <howtonotwin> Close enough honestly
L1180[13:00:18] <howtonotwin> Needs more empty line :P
L1181[13:00:34] <sham1> well it still is over the head
L1182[13:00:37] <mrkirby153> I was using 10 as a baseline for testing
L1183[13:00:45] <mrkirby153> But I have no idea how to get it that low :P
L1184[13:00:48] <sham1> what are you doing
L1185[13:01:15] <howtonotwin> Thread.sleep for 25 ms would certainly crash tps to 10
L1186[13:01:56] <howtonotwin> But at that point the server will start to skip ticks
L1187[13:03:04] <howtonotwin> Are you trying to slow down ticks so you can closely study/test something? Like slow-motion?
L1188[13:03:09] <mrkirby153> nope
L1189[13:03:26] <mrkirby153> I'm writing a thing that alerts everyone that a dimension's TPS has fallen below a threshold
L1190[13:03:39] <sham1> /tps
L1191[13:03:54] <mrkirby153> I use that, everyone else doesn't
L1192[13:04:01] <mrkirby153> They just call it "lag"
L1193[13:04:12] <blood_> install SpongeForge and use timings
L1194[13:04:17] <sham1> :P
L1195[13:04:17] <blood_> it will show you what is causing the lag
L1196[13:04:20] <sham1> Shameless plug
L1197[13:04:32] <blood_> not at all, it improves perf by a good amount
L1198[13:04:34] <blood_> prove me wrong :P
L1199[13:04:43] <mrkirby153> The issue, is that sometimes it's server lag, but other times it's network lag
L1200[13:04:53] <mrkirby153> And my friends honestly don't know the difference between the two
L1201[13:04:53] <blood_> just do what i said mrkirby153
L1202[13:04:59] <blood_> run /sponge timings on
L1203[13:05:02] <blood_> leave it for like 5-10min
L1204[13:05:06] <blood_> then /sponge timings paste
L1205[13:05:16] <mrkirby153> blood_, I've used timings before w/ Spigot.
L1206[13:05:19] <sham1> network lag and server lag
L1207[13:05:20] <gabizou> blood_ timings only samples for 3 minutes
L1208[13:05:22] <sham1> both are lag
L1209[13:05:24] <gabizou> by default
L1210[13:05:25] ⇨ Joins: Yamakaja (~yamakaja@p2003007A0B5CB53496DE80FFFEB0323A.dip0.t-ipconnect.de)
L1211[13:05:27] <gabizou> would have to change the config
L1212[13:06:00] <blood_> mrkirby153: spigot has nothing to do with sponge
L1213[13:06:01] <Yamakaja> So after generating intellij runs i get this exception when trying to start the minecraft client: Exception in thread "main" java.lang.ClassNotFoundException: GradleStart. Any ideas?
L1214[13:06:10] <mrkirby153> blood_, I know that, but the timings system is similar
L1215[13:06:18] <blood_> the timings system in spigot is v1
L1216[13:06:21] <blood_> Paper/Sponge use v2
L1217[13:06:36] <Yamakaja> I assume that "GradleStart" isn't a valid main class ... but what should be there instead?
L1218[13:06:37] <blood_> and i added extra hooks for mod stuff
L1219[13:06:56] <blood_> http://files.minecraftforge.net/spongepowered
L1220[13:07:02] <blood_> grab latest build and throw it in mods
L1221[13:07:49] <blood_> and it wont hurt to backup before using
L1222[13:07:54] <kenzierocks> lol
L1223[13:08:02] <kenzierocks> Yamakaja: it is
L1224[13:08:11] <kenzierocks> have you done genIntellijRuns?
L1225[13:08:26] <kenzierocks> as well as "Under the run configs Use classpath of module option, select <ModuleName>_main instead of <ModuleName>."
L1226[13:09:25] <Yamakaja> Ok, the use classpath of module did the trick. Thanks
L1227[13:09:52] <Yamakaja> http://mcforge.readthedocs.io/en/latest/gettingstarted/ should probably be anjusted for that
L1228[13:14:16] <gabizou> mrkirby153 sponge's timings are pretty extensive to tell you exactly what is taking time to some granularity
L1229[13:14:32] <mrkirby153> How specific are they?
L1230[13:14:36] <gabizou> sec.
L1231[13:15:31] <gabizou> https://timings.aikar.co/v2/?id=d346fb6ffaf240ed863444ad1b8fdbbb&section=all
L1232[13:15:33] <gabizou> for example
L1233[13:16:01] <gabizou> you can see the duration of the tasks per tick as well
L1234[13:16:23] <gabizou> so all entity ticks in that timings are averaging 1.21ms of an overall tick of 3.35
L1235[13:16:39] <gabizou> and you can click on the lines where there's a + to expand
L1236[13:16:39] <mrkirby153> Ah, okay
L1237[13:17:41] <gabizou> you can configure the duration of timings and the intervals for the graph in global.conf
L1238[13:28:12] ⇦ Quits: Kaiyouka (~IdiotNono@c-75-71-231-133.hsd1.co.comcast.net) (Ping timeout: 186 seconds)
L1239[13:36:39] <williewillus> wtf this logic in block beacon
L1240[13:50:28] <RANKSHANK> willie wat?
L1241[13:51:00] ⇨ Joins: theFlaxbeard (~theFlaxbe@184.97.183.232)
L1242[14:06:37] ⇨ Joins: shadekiller666 (~shadekill@adsl-108-71-34-183.dsl.lsan03.sbcglobal.net)
L1243[14:06:47] <williewillus> RANKSHANK look at the end of the BlockBeacon class
L1244[14:06:48] <williewillus> lol
L1245[14:07:45] <shadekiller666> does anyone know if there is a way to visually rename a method/parameter/variable in intellij without actually renaming it? (ie. make obfuscated variables have different names visually if they aren't covered by the mcp mappings)
L1246[14:08:24] ⇨ Joins: pig (~iChun@209-133-197-242.static.hvvc.us)
L1247[14:08:35] <pig> stupid esper kicked me out of here
L1248[14:08:55] ⇦ Quits: Disconsented (~core@disconsented.com) (Quit: No Ping reply in 180 seconds.)
L1249[14:09:04] <pig> anyone know how to register an IBakedModel to use TESRs instead?
L1250[14:09:16] <kenzierocks> don't think so shadekiller666
L1251[14:09:17] <pig> been poking around and I still haven't really found a clear answer
L1252[14:09:22] <kenzierocks> just contribute a mapping!
L1253[14:09:23] <ghz|afk> yo udon't register an ibakedmodel
L1254[14:09:26] <ghz|afk> you register the TileEntity
L1255[14:09:33] <McJty> pig, they are different things
L1256[14:09:44] <ghz|afk> they work separately
L1257[14:09:48] <pig> for use in item/hand
L1258[14:09:49] <williewillus> ForgeHooksClient.registerTESRItemStack or something
L1259[14:10:03] <ghz|afk> again: you register the TileEntity ;p
L1260[14:10:15] <pig> already did that but MC is still whining about it
L1261[14:10:17] ⇨ Joins: Disconsented (~core@disconsented.com)
L1262[14:10:22] <williewillus> additionally you also need to setCustomMrl to a builtin/entity json for it
L1263[14:10:31] ⇦ Quits: Yamakaja (~yamakaja@p2003007A0B5CB53496DE80FFFEB0323A.dip0.t-ipconnect.de) (Ping timeout: 198 seconds)
L1264[14:10:31] <williewillus> like how the vanilla chest does it
L1265[14:10:42] <pig> yeah I've been looking for where MC does it for chests
L1266[14:10:43] <ghz|afk> yeh make setcustomMRL point to a model json
L1267[14:10:48] <ghz|afk> that has "parent":"builtin/entity"
L1268[14:10:56] <RANKSHANK> williewillus I have no idea what they're thinking lol
L1269[14:11:29] <pig> where do I find setCustomMrl?
L1270[14:11:37] <shadekiller666> no no no
L1271[14:12:08] <shadekiller666> you just need to call ClientRegistry.bindTileEntitySpecialRenderer(TileEntity class, TESR instance)
L1272[14:12:16] <shadekiller666> in preInit()
L1273[14:12:22] <pig> shadekiller666: that's not what I'm looking for
L1274[14:13:21] <ghz|afk> shadekiller666: he said he wants it for an item
L1275[14:13:26] <ghz|afk> pig: note that the method IS deprecated
L1276[14:13:29] <ghz|afk> and is discouraged
L1277[14:13:38] <ghz|afk> you will not have access to a TE from the TESR
L1278[14:13:44] <ghz|afk> args will be null,0,0,0,0
L1279[14:14:00] <pig> yeah I've seen that, already sorted
L1280[14:14:09] <shadekiller666> an item that doesn't have a block associated with it?
L1281[14:14:17] <ghz|afk> you SHOULD make a static version of the model
L1282[14:14:29] <ghz|afk> shadekiller666: TileEntityItemStackRenderers use a TESR to draw an ItemStack
L1283[14:14:37] <ghz|afk> use a TE's renderer, specifically
L1284[14:14:42] <shadekiller666> ok
L1285[14:14:53] <ghz|afk> since you register them as "use the renderer for Class<? extends TileEntity>
L1286[14:15:02] <shadekiller666> ok
L1287[14:15:04] <ghz|afk> it's how vanilla does chests and such
L1288[14:15:10] <ghz|afk> while in the hand
L1289[14:15:10] <Wuppy> ugh being drunk-ish at this time is annoying :<
L1290[14:15:12] <ghz|afk> it's an ugly hack
L1291[14:15:19] <ghz|afk> and everyone who resorts to it should feel bad
L1292[14:15:22] <Wuppy> it's 9PM and I'm too lazy/tired to do stuff
L1293[14:15:31] <williewillus> ghz|afk: its necessary :P
L1294[14:15:37] <ghz|afk> no it isn't
L1295[14:15:44] <williewillus> until fry gets actual sane docs for the animation api
L1296[14:15:50] <ghz|afk> no
L1297[14:15:52] <williewillus> because I'm not using the barely documented mess
L1298[14:15:52] <istasi> mmh, i cant load an existing world when i start minecraft though eclipse, i get nullpointerexception at net.minecraftforge.common.util.WorldCapabilityData.setCapabilities(WorldCapabilityData.java:61) ~[WorldCapabilityData.class:?], thats not my firstblock that causes that right? -.-
L1299[14:15:53] <ghz|afk> it CAN'T be used for that
L1300[14:15:56] <ghz|afk> there's no state info
L1301[14:16:02] <williewillus> okay fine
L1302[14:16:08] <Naiten> well, on the note of animations
L1303[14:16:09] <ghz|afk> TEISR doesn't tell you the item
L1304[14:16:10] <williewillus> how do i render my dynamic animated TE
L1305[14:16:13] <williewillus> in hand
L1306[14:16:15] <ghz|afk> you don't
L1307[14:16:15] <williewillus> without remaking the model
L1308[14:16:17] <ghz|afk> you can't
L1309[14:16:18] <williewillus> exactly
L1310[14:16:20] <williewillus> it sucks
L1311[14:16:31] ⇦ Quits: cpup (~cpup@32.218.119.173) (Ping timeout: 198 seconds)
L1312[14:16:31] <williewillus> and you can use the animation API for items the forge test mod has one
L1313[14:16:33] <ghz|afk> yes it sucks
L1314[14:16:35] <williewillus> it's just 0-documented
L1315[14:16:51] <ghz|afk> it's also extremely awkward to use
L1316[14:17:08] <shadekiller666> it also uses a b3d model, which is also foreign to most people
L1317[14:17:15] <williewillus> no, it uses json..
L1318[14:17:18] <williewillus> look at it
L1319[14:17:19] <ghz|afk> nah oyu can use animation with .json models
L1320[14:17:26] <shadekiller666> oh
L1321[14:17:31] <ghz|afk> you can animate json elements
L1322[14:17:36] <ghz|afk> OR specify b3d frame data
L1323[14:17:44] <Naiten> it's 4am, i just finished modding some features into my mod, and decided to check the forum. and since i'm subbed to TC thread, i see some guy stating literally "Let me add to it also, .java/.json are the ONLY formats you can actually animate in the minecraft engine."
L1324[14:17:52] <shadekiller666> can you specify different models for different frames
L1325[14:17:56] <ghz|afk> you weren't around to add support for animating .obj parts
L1326[14:18:05] <williewillus> either way I hate "you should feel bad for using it" when the alternative is not documented and the other alternative is losing feature parity to older mc versions
L1327[14:18:14] <ghz|afk> no, animation means rotating/scaling/translating named parts
L1328[14:18:37] <shadekiller666> my changes to the obj loader would have to be pulled in before i thought about implementing animation for it anyway
L1329[14:18:47] <pig> wait where does MC register the chest item renderer?
L1330[14:18:54] <williewillus> it doesnt register it per se
L1331[14:18:56] <williewillus> it's hardcoded in
L1332[14:19:02] <shadekiller666> because of course it is
L1333[14:19:08] <williewillus> because that's all they need
L1334[14:19:14] <williewillus> it's not necessarily a bad thing in a vnailla scope
L1335[14:19:24] <shadekiller666> because mojang is terrible at writing systems that work well for everything they need
L1336[14:19:26] <williewillus> and thye have no obligation to make things nice for us
L1337[14:19:27] <ghz|afk> pig: there's an if/else chain
L1338[14:19:29] <williewillus> THEY DONT NEED IT
L1339[14:19:30] <ghz|afk> where it has "if chest"
L1340[14:19:40] <pig> yeah found that much as well
L1341[14:19:44] * Naiten sips his teas watching the buhurt in the IRC and planing to continue watching the buhurt at TC thread
L1342[14:19:46] <pig> still looking for the setCustomMrl function
L1343[14:19:50] <ghz|afk> forge sneaks in a "if has teisr" in it
L1344[14:19:54] <williewillus> shadekiller666: an if chain is as simple as it gets and it serves their purposes completely :P
L1345[14:19:59] <ghz|afk> ModelLoader.setCustomModelResourceLocation
L1346[14:20:04] <kenzierocks> Naiten: looks like you dropped your t's :)
L1347[14:20:05] <ghz|afk> you should already be using it?
L1348[14:20:07] ⇨ Joins: Koward (~Koward@2a02:2788:7d4:4dd:521:e503:a0d4:8538)
L1349[14:20:11] <howtonotwin> MRL is normally short for ModelResourceLocation
L1350[14:20:17] <pig> oh. that helps
L1351[14:20:27] <Naiten> kenzierocks, haha, nice one
L1352[14:20:50] <williewillus> 1. ForgeHooksClient.registerTESRItemStack 2. ModelLoader.setCustomMRL to a json that is "{ "parent": "builtin/entity" }" 3. profit
L1353[14:20:56] ⇦ Quits: McJty (~jorrit@94-225-203-206.access.telenet.be) (Quit: Ik ga weg)
L1354[14:21:01] <howtonotwin> willie: What's so strange about BlockBeacon.updateColorAsync? (Aside from using the downloader to run async code. That's a legit WTF.)
L1355[14:21:11] <williewillus> why is it async in the first place
L1356[14:21:36] <howtonotwin> placing glass calls this
L1357[14:21:48] <howtonotwin> so maybe to help with placing lots of glass idk?
L1358[14:21:50] <pig> urgh do I still have to create a silly json file for it?
L1359[14:22:00] <williewillus> yes it's just a marker to the model system
L1360[14:22:38] ⇨ Joins: cpup (~cpup@32.218.118.145)
L1361[14:22:43] <Naiten> kenzierocks, though 'buhurt' means 'melee' in old-high-german and also was used in english in some ages, and this fact makes things even funnier
L1362[14:22:50] <kenzierocks> lol
L1363[14:23:01] <kenzierocks> never bring a knife to a blowtorch fight
L1364[14:23:06] ⇨ Joins: sww1235 (~sww1235@bananas.cs.colostate.edu)
L1365[14:24:58] <Naiten> welp, things look like i should write some kind of a guide to 1.10.2 block rendering, as well as a guide to hardcode animations
L1366[14:25:07] <Naiten> or maybe some kind of a library
L1367[14:25:20] <ghz|afk> there's libraries already
L1368[14:25:27] <Naiten> or wait until fry is back and help him out with stuff
L1369[14:25:38] <Naiten> ghz|afk, which are?
L1370[14:27:05] <ghz|afk> Ordinastie_ was writing an animation api for his library I think
L1371[14:27:52] *** williewillus is now known as willieaway
L1372[14:27:56] <Ordinastie_> yup
L1373[14:28:10] <Ordinastie_> to be fair, animations have been working for some time already
L1374[14:28:35] <Ordinastie_> but now, no TE/TESR is needed, not making the animations in code
L1375[14:28:55] <pig> wait what's the difference between ModelLoader.setCustomModelResourceLocation and Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register
L1376[14:29:45] <ghz|afk> the later is the ancient way that only works sometimes and gets called from preinit
L1377[14:29:58] <ghz|afk> eh from init*
L1378[14:30:00] <pig> so setCustomMRL is the way to go now?
L1379[14:30:02] <ghz|afk> the former is the proper way that forge adds which gets calledfrom preinit and works better
L1380[14:30:03] <ghz|afk> yes
L1381[14:30:06] <ghz|afk> since early 1.8
L1382[14:30:09] <ghz|afk> which is when it was added
L1383[14:30:14] <pig> wait fuck, am I THAT outdated now
L1384[14:30:16] <ghz|afk> so the "now" part is relative
L1385[14:30:21] <ghz|afk> tutorials are
L1386[14:30:32] <ghz|afk> blame all the crappy tutorials.
L1387[14:30:46] <pig> i haven't followed any tutorials
L1388[14:30:48] <pig> that's the thing
L1389[14:30:54] <ghz|afk> setCustomMRL was added around april last year or so
L1390[14:31:08] <pig> I just don't do block work much
L1391[14:31:08] <ghz|afk> we ahve been telling people to use it for over a year ;P
L1392[14:31:16] <ghz|afk> that's for items too ;P
L1393[14:31:28] <ghz|afk> or actually
L1394[14:31:31] <ghz|afk> that's ONLY for items
L1395[14:31:36] <ghz|afk> including blocks in their itemblock form
L1396[14:31:40] <pig> I don't do block/item stuff much
L1397[14:31:54] <pig> I mainly manhandle entities
L1398[14:31:59] <ghz|afk> heh
L1399[14:32:01] <ghz|afk> I'm the opposite
L1400[14:32:03] <ghz|afk> I avoid entities
L1401[14:32:08] <howtonotwin> Shameless plug for my PR (report any mistakes too!): https://github.com/howtonotwin/MCForgeDocumentation/blob/models/docs/models/using.md#using-item-models
L1402[14:32:22] <pig> I love how I'm now getting an MC crash because I changed my mod ID to lowercase instead of previously mixed case
L1403[14:33:26] <ghz|afk> howtonotwin: given that it's a pr that benefits forge, it's not a "shameless plug" it's a proper request ;p
L1404[14:33:52] <howtonotwin> was posting it to help pig out so he could read it :P
L1405[14:35:30] *** cpw|out is now known as cpw
L1406[14:39:05] ⇨ Joins: secknv (~androirc@46.50.38.92)
L1407[14:39:59] <Naiten> Ordinastie_, there are cases you want a dynamic animation (well, looks like it's only me wanting it) where some API will be helpfull.
L1408[14:40:06] ⇨ Joins: KnightMiner (~KnightMin@adsl-75-5-70-237.dsl.emhril.sbcglobal.net)
L1409[14:40:18] <Naiten> and yeah, what about animating entities?
L1410[14:40:34] <Ordinastie_> nothing prevents you to code the animations
L1411[14:41:02] ⇦ Quits: secknv (~androirc@46.50.38.92) (Client Quit)
L1412[14:41:06] <Ordinastie_> that would look like that : https://github.com/Ordinastie/MalisisCoreDemos/blob/1.9.4/source/net/malisis/demo/stargate/StargateRenderer.java#L102
L1413[14:42:47] <pig> lol Caused by: java.io.FileNotFoundException: minecraft:models/item/builtin/entity.json
L1414[14:42:57] <pig> derp
L1415[14:43:41] <Naiten> i'm not saying coding them is better and yet i know how to hardcode the locomotive steam gear (pistons, cranks, shafts and so on), not just opening chest
L1416[14:44:01] <Naiten> Ordinastie_, i just want to get clear with what is already done
L1417[14:44:15] <Naiten> and how can i contribute to community
L1418[14:44:20] <Naiten> and if anybody needs that
L1419[14:46:06] <ghz|afk> pig: you have to create a model json, and then in it use "parent":"builtin/entity"
L1420[14:46:13] <pig> yeah I did that
L1421[14:46:15] <ghz|afk> literally the file has to be {"parent":"builtin/entity"}
L1422[14:46:23] <ghz|afk> and then you call setcustommrl with the path to that
L1423[14:46:23] <pig> still sorting out kinks. Haven't even gotten it to work ingame yt
L1424[14:46:29] <pig> what do I for the variant?
L1425[14:46:33] <ghz|afk> also MODEL json, not blockstates
L1426[14:46:42] <ghz|afk> as in models/item/wahtever.json
L1427[14:46:50] <ghz|afk> variant "inventory"
L1428[14:46:56] <pig> yeah it's the item one that was making MC upset
L1429[14:47:49] ⇨ Joins: secknv (~androirc@46.50.38.92)
L1430[14:47:54] <pig> yeah MC is still bitching. Does anyone have a working example where I can just look at and figure out what I did wrong rather?
L1431[14:47:56] <Koward> Do JSON models store animations ?
L1432[14:48:12] <ghz|afk> nope
L1433[14:48:27] <ghz|afk> you can use the animation api but no one will be able to help you
L1434[14:48:27] <ghz|afk> ;P
L1435[14:49:47] ⇦ Quits: Naiten (Naiten@77.34.240.26) (Quit: Leaving)
L1436[14:49:54] <pig> oh hey stuff stopped whining
L1437[14:49:56] <pig> :O
L1438[14:49:59] <pig> it might work now :O
L1439[14:50:24] <pig> oh look it works, alright thanks you guys
L1440[14:50:27] <pig> cheers o/
L1441[14:50:29] <pig> I gotta run
L1442[14:57:44] ⇦ Quits: EzR3aL (~EzR3aL@hsi-kbw-078-042-011-087.hsi3.kabel-badenwuerttemberg.de) (Quit: Leaving)
L1443[14:57:48] ⇦ Quits: secknv (~androirc@46.50.38.92) (Ping timeout: 186 seconds)
L1444[14:58:01] ⇦ Quits: Nitrodev (~Nitrodev@85-23-77-207.bb.dnainternet.fi) (Read error: Connection reset by peer)
L1445[15:04:12] ⇨ Joins: secknv (~androirc@46.50.32.207)
L1446[15:05:42] ⇨ Joins: Doty1154 (~Doty1154@c-73-189-164-179.hsd1.ca.comcast.net)
L1447[15:07:28] <secknv> So I want to make the compass point at a mod block if the block is powered and the compass is within 3 blocks of it. Looking at ItemCompass I noticed the most easy way of doing this was adding an if statement that tests for the above conditions and passes my block's blockpos instead of the world's spawnpoint to the method that calculates the angle to spawn
L1448[15:08:01] <secknv> Is there any way you guys can think of doing this without modifying minecraft code?
L1449[15:08:55] <secknv> And if I do modify ItemCompass, what happens to my mod? I wont be able to just drop the jar in the mods folder and have it work right?
L1450[15:09:14] <kenzierocks> could you possibly swap the compass out for your own item when they are nearby?
L1451[15:09:28] ⇦ Quits: MalkContent (kiwiirc@p4FDCCFC0.dip0.t-ipconnect.de) (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
L1452[15:10:10] <kenzierocks> player walks near block -> compass switches to ItemCustomCompass -> player walks out of range -> compass switches back to ItemCompass
L1453[15:10:18] <secknv> Actually you just gave me the most obvious solution which is just make my own mod compass lol
L1454[15:10:44] <secknv> But I d like to try and use vanilla compass tho
L1455[15:11:06] *** Keridos is now known as Keridos|away
L1456[15:11:10] ⇦ Quits: Hunterz (~hunterz@62.182.234.189) (Quit: Leaving.)
L1457[15:11:12] <secknv> And I have no idea how I'd swap compasses like you suggested
L1458[15:11:50] <secknv> Code it on the mod block class maybe
L1459[15:11:53] ⇦ Quits: Abastro (~Abastro@112.166.128.227) (Ping timeout: 384 seconds)
L1460[15:13:04] <RANKSHANK> you'd have to substitute your own compass for the 'nilla one most likely
L1461[15:14:03] ⇨ Joins: CoderPuppy (~cpup@32.218.119.34)
L1462[15:14:35] <Lumien> You could replace the compass texture probably
L1463[15:14:55] <Lumien> Oh nevermind, the compass isn't like that anymore xd
L1464[15:15:32] <Lumien> You could reflect Item.properties of the compass
L1465[15:15:37] <Lumien> and replace the vanilla one
L1466[15:16:07] ⇦ Quits: cpup (~cpup@32.218.118.145) (Ping timeout: 190 seconds)
L1467[15:18:19] ⇦ Quits: secknv (~androirc@46.50.32.207) (Ping timeout: 198 seconds)
L1468[15:20:21] ⇨ Joins: secknv (~androirc@2001:8a0:ef3a:8f01:a001:bcd8:a7bc:1bef)
L1469[15:20:29] <secknv> Omg dis net
L1470[15:20:36] <secknv> I'm back
L1471[15:21:21] <secknv> So I remember some1 saying I should replace Vanilla's compass with my version
L1472[15:21:33] <secknv> How would I do that
L1473[15:24:21] <Lumien> You can just replace the property override of the vanilla compass
L1474[15:24:28] <Lumien> Item.properties
L1475[15:24:39] ⇦ Quits: secknv (~androirc@2001:8a0:ef3a:8f01:a001:bcd8:a7bc:1bef) (Quit: AndroIRC - Android IRC Client ( http://www.androirc.com ))
L1476[15:25:01] ⇨ Joins: secknv (~androirc@46.50.2.130)
L1477[15:25:41] <secknv> btw in the Topic, it should be spelled "necessary"
L1478[15:25:53] ⇨ Joins: Kaiyouka (~IdiotNono@c-75-71-231-133.hsd1.co.comcast.net)
L1479[15:26:32] <Ordinastie_> I think it's on purpose, he writes it that way everywhere
L1480[15:27:44] <secknv> Thanks for explaining
L1481[15:28:21] <secknv> So I guess I could also just make a coremod and deal with it
L1482[15:28:29] <secknv> On the compass thing
L1483[15:28:54] <Ordinastie_> just call addPropertyOverride() on the compass
L1484[15:30:04] ⇨ Joins: minot (~minot@pool-100-1-168-123.nwrknj.fios.verizon.net)
L1485[15:30:10] <BordListian> oh you can do that?
L1486[15:30:14] <secknv> From where do I call it
L1487[15:30:22] <Ordinastie_> that's what the compass does
L1488[15:30:51] <Ordinastie_> shouldn't even matter when you call it
L1489[15:31:28] <secknv> I am noob
L1490[15:31:47] <secknv> I see the .addPropertyOverride in ItemCompass
L1491[15:32:24] ⇦ Parts: Aroma1997 (~Aroma1997@2604:a880:800:10::168:d001) ())
L1492[15:32:28] <secknv> But you're telling me I can write my own version of that and call it on the conpass without modifying mc code
L1493[15:32:49] <secknv> Basically that's what you're saying I should do?
L1494[15:33:21] ⇨ Joins: OnyxDarkKnight (~OnyxDarkK@wlan-t-174-31-nat.CSUChico.EDU)
L1495[15:33:37] <Ordinastie_> from the code I read, yes
L1496[15:33:48] <Ordinastie_> have your own implementation of the getter
L1497[15:34:54] ⇨ Joins: Gil (uid147942@id-147942.brockwell.irccloud.com)
L1498[15:36:02] <secknv> This maybe dumb but what's confusing me is where do I do all that
L1499[15:36:12] <Lumien> Did you not read what i wrote?
L1500[15:36:15] ⇦ Quits: Doty1154 (~Doty1154@c-73-189-164-179.hsd1.ca.comcast.net) (Ping timeout: 384 seconds)
L1501[15:36:16] <Lumien> (Or missed it)
L1502[15:36:27] ⇨ Joins: Doty1154 (~Doty1154@2601:648:8000:134f:187:6fe6:bb91:2515)
L1503[15:36:34] <secknv> I lost connection a few mins back
L1504[15:36:37] <secknv> sry
L1505[15:36:50] <secknv> Can you say again
L1506[15:37:50] <Ordinastie_> http://sbnc.khobbits.co.uk/log/logs/minecraftforge.htm
L1507[15:38:25] <secknv> wow that's really usefull
L1508[15:38:28] <secknv> Thanks
L1509[15:40:09] <secknv> So the key thing is "reflecting"
L1510[15:40:19] <Ordinastie_> no
L1511[15:40:29] <Ordinastie_> just call what ItemCompass calls
L1512[15:41:14] <secknv> So "replace the property override"
L1513[15:41:28] <Ordinastie_> <Ordinastie_> just call what ItemCompass calls
L1514[15:42:01] <secknv> this maybe really dumb but what do you mean by that
L1515[15:42:12] <Lumien> Item.addPropertyOverride
L1516[15:42:23] <kenzierocks> look at the code for ItemCompass, look at what it calls
L1517[15:42:23] <Lumien> Just override angle again
L1518[15:42:28] <kenzierocks> when it does anything
L1519[15:43:02] ⇨ Joins: KGS (~KGS@h-155-4-129-249.na.cust.bahnhof.se)
L1520[15:43:22] ⇦ Quits: Doty1154 (~Doty1154@2601:648:8000:134f:187:6fe6:bb91:2515) (Ping timeout: 182 seconds)
L1521[15:43:33] <secknv> So I can just go up to my mod and literally do ItemCompass.add property override
L1522[15:43:41] <secknv> And it'll work?
L1523[15:43:59] ⇨ Joins: Doty1154 (~Doty1154@c-73-189-164-179.hsd1.ca.comcast.net)
L1524[15:44:05] <secknv> neat I guess
L1525[15:45:12] <secknv> I may loose connection any minute now so better thank you for help right now
L1526[15:45:45] <secknv> Thanks!
L1527[15:46:02] ⇨ Joins: MalkContent (kiwiirc@p4FDCF20A.dip0.t-ipconnect.de)
L1528[15:46:24] ⇦ Quits: MalkContent (kiwiirc@p4FDCF20A.dip0.t-ipconnect.de) (Client Quit)
L1529[15:48:09] ⇦ Quits: secknv (~androirc@46.50.2.130) (Quit: AndroIRC - Android IRC Client ( http://www.androirc.com ))
L1530[15:51:23] ⇦ Quits: KGS (~KGS@h-155-4-129-249.na.cust.bahnhof.se) (Quit: Leaving)
L1531[15:56:46] ⇨ Joins: MalkContent (kiwiirc@p4FDCF20A.dip0.t-ipconnect.de)
L1532[15:58:08] ⇨ Joins: Abastro (~Abastro@112.166.128.227)
L1533[15:59:07] <Ordinastie_> man I love Zero Punctuation
L1534[16:01:27] ⇦ Quits: Ipsis (~Ipsis@82-69-71-184.dsl.in-addr.zen.co.uk) (Ping timeout: 190 seconds)
L1535[16:01:30] ⇨ Joins: secknv (~secknv@bl18-84-203.dsl.telepac.pt)
L1536[16:01:48] <secknv> ok I'm back with more stable net lol
L1537[16:02:04] <secknv> gonna try and follow up on your tips
L1538[16:04:07] ⇦ Quits: minot (~minot@pool-100-1-168-123.nwrknj.fios.verizon.net) (Ping timeout: 190 seconds)
L1539[16:07:19] ⇨ Joins: quadraxis (~quadraxis@cpc77293-basf12-2-0-cust699.12-3.cable.virginm.net)
L1540[16:08:33] ⇦ Quits: Abastro (~Abastro@112.166.128.227) (Ping timeout: 384 seconds)
L1541[16:09:19] ⇦ Quits: founderio (~Thunderbi@p200300C4E3CD60008882567188E19FA3.dip0.t-ipconnect.de) (Quit: founderio)
L1542[16:11:20] ⇦ Quits: glasspelican (~quassel@stanley.glasspelican.ca) (Remote host closed the connection)
L1543[16:14:04] ⇦ Quits: CoderPuppy (~cpup@32.218.119.34) (Ping timeout: 186 seconds)
L1544[16:14:14] ⇦ Quits: Jezza (~Jezza@92.206.5.6) (Ping timeout: 202 seconds)
L1545[16:16:15] ⇨ Joins: glasspelican (~quassel@stanley.glasspelican.ca)
L1546[16:19:22] ⇨ Joins: cpup (~cpup@32.218.119.162)
L1547[16:19:52] *** willieaway is now known as williewillus
L1548[16:20:03] ⇦ Quits: secknv (~secknv@bl18-84-203.dsl.telepac.pt) (Quit: Leaving)
L1549[16:20:29] ⇦ Quits: MalkContent (kiwiirc@p4FDCF20A.dip0.t-ipconnect.de) (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
L1550[16:21:34] ⇦ Quits: OrionOnline (~OrionOnli@ip-80-236-237-169.dsl.scarlet.be) (Read error: Connection reset by peer)
L1551[16:23:43] ⇨ Joins: secknv (~secknv@bl18-84-203.dsl.telepac.pt)
L1552[16:23:53] <secknv> ok time for stupid questions
L1553[16:24:32] <secknv> I have no idea how to override the compass' angle again
L1554[16:24:46] <williewillus> 1.10?
L1555[16:24:48] <secknv> yes
L1556[16:25:20] <Ordinastie_> what's hard to understand calling addPropertyOverride with your own implementation ?
L1557[16:25:33] <williewillus> there you go with your tone again haha
L1558[16:25:36] <williewillus> it uses the 1.9 override system
L1559[16:25:39] <williewillus> see the ItemCompass constructor
L1560[16:25:42] <secknv> yes
L1561[16:26:07] <secknv> I understand the english
L1562[16:26:16] <secknv> but I don't know what i should write in java
L1563[16:26:17] <williewillus> you can call it again with the same resloc and it'll replace the default implementation
L1564[16:26:31] <williewillus> see the ItemCompass constructor
L1565[16:26:33] <secknv> so i need to write a compass constructor
L1566[16:26:36] <williewillus> no you don't
L1567[16:26:41] <williewillus> you need to do what the compass constructor does
L1568[16:26:59] <williewillus> look at it and understand what it's doing
L1569[16:27:01] <williewillus> then do the same thing
L1570[16:27:07] <diesieben07> that is a very incompatible way of doing it
L1571[16:27:14] <secknv> but where do I do that and how do I tell forge "look put this in the game"
L1572[16:27:18] <williewillus> well he did say override it
L1573[16:27:22] <williewillus> unless he wants a separate item
L1574[16:27:35] <williewillus> which was not made clear
L1575[16:27:53] <diesieben07> well, if you want it to be what you want ALWAYS then yes, do that
L1576[16:28:01] <diesieben07> but if you only want to override it sometimes, there is better ways
L1577[16:28:05] <secknv> diesieben07 the screenshot i had where you told me what i should do is kinda on a pc 200km away from me
L1578[16:28:16] <diesieben07> lol
L1579[16:28:43] *** williewillus is now known as willieaway
L1580[16:29:05] <secknv> basically i would like to have the compass point at a specific block if block powered and player in set range of block
L1581[16:29:27] <secknv> I looked at ItemCompass and saw the method where angle to spawnpoit is calculated
L1582[16:29:53] <secknv> If i was able to pass the blockpos of my block instead of spawnpoint when the conditions i want are met
L1583[16:29:56] <secknv> that would do it
L1584[16:30:10] <secknv> but idk how to do that without modifying ItemCompass
L1585[16:30:15] <diesieben07> thats not how its gonna work :D
L1586[16:30:19] <diesieben07> do you want me to write this down again?
L1587[16:30:26] <secknv> yes please
L1588[16:30:45] <diesieben07> let me make a pastebin
L1589[16:30:57] <secknv> I buy you a beer next time I find myself on your neighbourhood
L1590[16:31:08] <diesieben07> lol
L1591[16:33:03] <sham1> Meanwhile, I am code golfing
L1592[16:33:41] <secknv> also another funny thing is whenever I try to move the forge mdk folder and open it up o eclipse again it always says the .project file is missing any1 got ideas
L1593[16:33:51] <secknv> what is code golfing
L1594[16:34:12] <RANKSHANK> ^
L1595[16:34:39] <sham1> Trying to make code that does a specific task and then try to trim it so it uses the least bytes possible
L1596[16:35:00] <Ordinastie_> secknv don't move the mdk folder
L1597[16:35:15] <sham1> I am using Haskell for it
L1598[16:35:25] <sham1> it is fun to see how obscure I can make my code
L1599[16:35:35] <secknv> I've been rebuilding it every time I need it on another pc
L1600[16:35:49] <secknv> ./gradlew setupDecomp etc
L1601[16:35:49] ⇨ Joins: KGS (~KGS@h-155-4-129-249.na.cust.bahnhof.se)
L1602[16:36:02] <secknv> sham1 what does that have to do with kicking a ball into a hole with a stick
L1603[16:36:26] <sham1> https://en.wikipedia.org/wiki/Code_golf
L1604[16:36:47] <sham1> because you try to get the ball to the hole with the smallest numbers of hits
L1605[16:36:59] <secknv> I went for that but it took 1 min to load
L1606[16:37:23] * secknv smiles at the electromagnetic little internets going around
L1607[16:38:04] <sham1> Look at this beauty of a function
L1608[16:38:07] <sham1> f=(=<<)(\c->if isAlphaNum c&&isAscii c||elem c"-_.~"then[c]else '%':(showHex $ ord c)"")
L1609[16:38:15] <secknv> is that even java
L1610[16:38:18] <sham1> No
L1611[16:38:27] <sham1> Java is not that compact
L1612[16:38:36] <secknv> thought so ahaha
L1613[16:38:38] <secknv> what is it
L1614[16:38:42] <sham1> Haskell
L1615[16:38:46] <secknv> oh lol
L1616[16:38:46] <Ordinastie_> I'm kinda worried if you had to ask that question :s
L1617[16:38:58] <sham1> It percent encodes a given string
L1618[16:39:07] <diesieben07> secknv, https://gist.github.com/diesieben07/b4723fa5542c1082d1fce8b319973899
L1619[16:39:13] <diesieben07> should work™
L1620[16:39:17] <secknv> thanks
L1621[16:39:25] <secknv> and it looks so pretty
L1622[16:39:27] <secknv> omg
L1623[16:40:14] <sham1> So yeah, I am trying to get rid of the lamda parameter c
L1624[16:40:17] <Ordinastie_> diesieben07, can't you reuse vanilla models ?
L1625[16:40:20] <secknv> I will take some time to try and follow it then comeback because my fail brain unallowed me to understand one of the simple steps
L1626[16:40:22] <diesieben07> of course
L1627[16:41:47] <sham1> Welp, this newest code I have is 121 bytes long
L1628[16:43:16] <sham1> I don't think I can compact it any further
L1629[16:45:19] ⇦ Quits: Koward (~Koward@2a02:2788:7d4:4dd:521:e503:a0d4:8538) (Quit: Leaving)
L1630[16:46:13] <LexDesktop> Compacting code...
L1631[16:46:17] <LexDesktop> That's a compilers job...
L1632[16:46:57] <sham1> It's a very artificial exercise I admit
L1633[16:47:07] ⇦ Quits: JamEngulfer (~JamEngulf@host5-81-242-203.range5-81.btcentralplus.com) (Quit: JamEngulfer)
L1634[16:47:18] <LexDesktop> Admitting is always the first step.
L1635[16:48:01] ⇨ Joins: Ipsis (~Ipsis@82-69-71-184.dsl.in-addr.zen.co.uk)
L1636[16:49:38] <sham1> But it can be fun to just to see how much one can reduce stuff from the code and have it still work
L1637[16:50:31] <sham1> And as far as I am concerned, it is a nice learning exercise
L1638[16:53:45] <secknv> what's the method that gives you the blockpos of a placed block
L1639[16:54:12] <diesieben07> define "placed block"
L1640[16:54:23] *** MrKickkiller is now known as MrKick|Away
L1641[16:54:35] <secknv> like I said I want the compass to point a mod block when powered right
L1642[16:54:40] <secknv> so I need to know where it is
L1643[16:54:45] <secknv> to calculate the angle
L1644[16:54:47] <diesieben07> what if there is multiple? :D
L1645[16:55:00] <secknv> that's to advanced for me atm
L1646[16:55:06] <diesieben07> basically you need to search around the player for the block
L1647[16:55:13] *** MrKick|Away is now known as MrKickkiller
L1648[16:55:17] <diesieben07> if your block is a TE that is a) Much simpler and b) less resource intensive
L1649[16:55:25] <secknv> my idea was to check if the block was in a 3 block radius
L1650[16:55:33] <diesieben07> thats not very far
L1651[16:55:46] <ghz|afk> may as well just make it shiny, then ;P
L1652[16:56:03] <secknv> well I think I'll probably need it to be a TE later on so I should just do that now
L1653[16:56:41] <diesieben07> when it's a TE you just search Chunk::getTileEntityMap for all possible chunks
L1654[16:56:49] <diesieben07> otherwise you'd have to scan the entire world
L1655[16:57:03] <secknv> ok this is my block's class rn http://pastebin.com/a43RyzYt
L1656[16:57:08] <secknv> dont rage if stupid code
L1657[16:57:17] <secknv> and I'm gonna watch some TE tutorials
L1658[16:57:23] <diesieben07> don't
L1659[16:57:30] <diesieben07> just override hasTileEntity & createTileEntity
L1660[16:57:42] <diesieben07> make a class that extends TileEntity and register it with GameRegistry.registerTileEnitty
L1661[16:57:44] <diesieben07> thats it :D
L1662[16:58:07] <RANKSHANK> Or do something hacky and have a set of active BlockPos ;) add and remove from it in the block set as you go
L1663[16:58:26] <diesieben07> eww :D
L1664[16:58:34] <secknv> ok I knew I had seen someth like that when i watched 1.7 tutorials
L1665[16:58:38] <secknv> 1 sec
L1666[16:59:42] <Ordinastie_> RANKSHANK, even as hacky as it is, it would still be a pain to have that data client side
L1667[17:00:04] ⇦ Quits: OnyxDarkKnight (~OnyxDarkK@wlan-t-174-31-nat.CSUChico.EDU) (Quit: I must leave, my people need me!)
L1668[17:00:10] <RANKSHANK> not if you update it on a dual sided function ;D
L1669[17:00:32] <Ordinastie_> go try it
L1670[17:00:44] <diesieben07> plus it screams memory leka
L1671[17:00:47] <diesieben07> leak
L1672[17:00:56] <secknv> leka is such a cool word though
L1673[17:01:04] <secknv> memory leka
L1674[17:01:27] <diesieben07> has so little meaning though :D
L1675[17:02:16] <masa> leka ~ hammer
L1676[17:02:30] <masa> in finnish
L1677[17:03:15] <masa> I guess leka would be a big hammer, which is vasara
L1678[17:03:15] <diesieben07> memory hammer
L1679[17:03:21] <diesieben07> interesting
L1680[17:03:23] <secknv> ahaha
L1681[17:03:55] ⇦ Quits: KGS (~KGS@h-155-4-129-249.na.cust.bahnhof.se) (Ping timeout: 198 seconds)
L1682[17:04:07] <sham1> "leka"
L1683[17:04:08] <masa> bad sentence is bad... hammer = vasara, leka is a bigger hammer
L1684[17:04:11] <sham1> well then
L1685[17:04:42] <diesieben07> BIG memory hammer
L1686[17:04:54] <sham1> You hammer the memory
L1687[17:04:58] <sham1> Well
L1688[17:05:00] <masa> hammering that memory
L1689[17:05:14] <sham1> Isn't that what the cosmic particles hitting the memory are already doing?
L1690[17:05:29] <secknv> so deep
L1691[17:05:32] <howtonotwin> pretty sure they don't last that long
L1692[17:05:36] <Ordinastie_> only if you code in butterfly
L1693[17:05:36] <secknv> hammering that memory so deep
L1694[17:05:40] <howtonotwin> even with relativity
L1695[17:05:44] <secknv> nonono
L1696[17:05:50] <sham1> M-x butterfly
L1697[17:05:54] <secknv> they sure reach us fine
L1698[17:06:13] <sham1> I could actually activate M-x butterfly on this emacs instance
L1699[17:06:59] <Ordinastie_> but what if you typoed and do M-x moth instead ?
L1700[17:07:02] <sham1> Yes, the one I am using IRC in
L1701[17:07:10] <sham1> No match
L1702[17:07:32] <Ordinastie_> and here I though emacs could do everything
L1703[17:07:36] <secknv> my mod block class need to implement something for tile ent right
L1704[17:07:52] <Ordinastie_> <diesieben07> just override hasTileEntity & createTileEntity
L1705[17:08:01] <sham1> "There's a plugin for it" - Steve Jobs
L1706[17:08:01] <masa> no, just override hasTileEntity and createTileENtity
L1707[17:08:04] <sham1> Wait
L1708[17:08:13] <secknv> So I don't needd to implement ITileEntityProvider
L1709[17:08:16] ⇦ Quits: Vasher (~Vasher@c-67-182-50-119.hsd1.ca.comcast.net) (Remote host closed the connection)
L1710[17:08:17] <sham1> No
L1711[17:08:17] <masa> no
L1712[17:08:31] <diesieben07> no.
L1713[17:08:35] <sham1> ^
L1714[17:08:40] <Ordinastie_> (I still prefer to implement ITEP, but that's me)
L1715[17:08:46] * diesieben07 slaps Ordinastie_
L1716[17:08:49] <masa> wtf
L1717[17:08:52] <masa> why?
L1718[17:08:52] <LexDesktop> technically you do
L1719[17:08:55] <LexDesktop> but every block does
L1720[17:09:11] <LexDesktop> or something like thgat
L1721[17:09:14] <diesieben07> ITEP is stupid though, it gives you the int meta
L1722[17:09:17] <diesieben07> not the IBlockState
L1723[17:09:36] <Ordinastie_> yes, but I've yet to have the case when I need different TE based on state
L1724[17:10:33] <diesieben07> but so many processor cycles are wasted by it having to call getMetaFromState!!!111
L1725[17:10:47] <diesieben07> You are ruining everything!
L1726[17:11:42] <sham1> It's like using regex on HTML
L1727[17:11:43] <masa> EVERYTHING
L1728[17:12:16] <secknv> I am a pro html regexer
L1729[17:12:16] <kenzierocks> http://stackoverflow.com/a/1732454/436524 for context
L1730[17:12:26] <howtonotwin> XML is not a regular language, therefore it is technically impossible to regex HTML
L1731[17:12:31] *** amadornes is now known as amadornes[OFF]
L1732[17:12:37] <diesieben07> HTML is not even XML
L1733[17:12:42] <sham1> But HTML =/= XML
L1734[17:12:49] <secknv> !=
L1735[17:12:49] <sham1> Unless polyglot
L1736[17:12:51] <diesieben07> HTML is XML + human
L1737[17:12:54] <sham1> Hey
L1738[17:13:00] <sham1> In Haskell != is /=
L1739[17:13:04] <sham1> Resebles maths
L1740[17:13:13] <masa> ~=
L1741[17:13:13] <secknv> =/=?
L1742[17:13:17] <secknv> lua love
L1743[17:13:20] <secknv> ahaha
L1744[17:13:23] <sham1> No
L1745[17:13:27] <masa> yeah... lua is horrible :D
L1746[17:13:59] <masa> they are too cool to have the same syntax as everyone else
L1747[17:14:11] <Ordinastie_> well, that escalated quickly
L1748[17:14:16] <sham1> I have had enough LUA using ComputerCraft(yes I know that lua is not an acronym)
L1749[17:14:27] <howtonotwin> in scala, for some godforsaken reason, <> are used for XML LITERALS
L1750[17:14:51] <sham1> Gotta have that special syntax for XML
L1751[17:15:01] <kenzierocks> what about the spaceship operator
L1752[17:15:10] <secknv> well i get the ~= because in maths I we used "~" for "not" many times
L1753[17:15:15] <secknv> so "not"=
L1754[17:15:19] <howtonotwin> APL anyone :P
L1755[17:15:35] <secknv> I'm portuguese, same language they speak in brazil where lua was developed
L1756[17:15:39] <secknv> so maybe it's a thing
L1757[17:15:49] <secknv> to use "~" for "not"
L1758[17:16:10] <ghz|afk> isn't "~x" bitwise negation?
L1759[17:16:19] <ghz|afk> in C-like langauges
L1760[17:16:22] <howtonotwin> si
L1761[17:16:25] ⇨ Joins: Reika (~Reika@reika.kalseki.mods.abrarsyed.com)
L1762[17:16:32] <secknv> si si hermano
L1763[17:16:39] <sham1> ¬
L1764[17:16:48] <ghz|afk> that's a logical negation
L1765[17:16:48] <ghz|afk> ;P
L1766[17:16:53] <secknv> yes
L1767[17:16:55] <sham1> Yes
L1768[17:17:01] <howtonotwin> ~no
L1769[17:17:02] <sham1> ¬No
L1770[17:17:20] ⇦ Parts: RANKSHANK (~Michael@ppp121-44-60-13.lns20.syd4.internode.on.net) ())
L1771[17:17:23] <LexDesktop> ~= <> !=
L1772[17:17:31] <secknv> but since in we are poor and schools dont have a lot of funding we cant afford "¬"
L1773[17:17:33] <ghz|afk> P v ¬Q
L1774[17:17:39] <secknv> so we use "~" many times
L1775[17:17:46] <sham1> Yeah, I have seen <> as well
L1776[17:17:59] <diesieben07> <> is BASIC for example
L1777[17:18:17] <secknv> in portugal*
L1778[17:18:31] <ghz|afk> portiguese keyboards don't have ¬?
L1779[17:18:35] <ghz|afk> portuguese*
L1780[17:18:41] <ghz|afk> spanish layout does
L1781[17:18:45] <ghz|afk> altgr-6
L1782[17:19:21] <ghz|afk> ¬_¬
L1783[17:19:32] <secknv> ¬
L1784[17:19:33] <ghz|afk> smiley for "are you f*ing kidding me?"
L1785[17:19:38] <secknv> lol it's here on altgr6
L1786[17:19:45] <secknv> but not on the keyboard
L1787[17:19:48] <secknv> like they didnt draw it
L1788[17:19:48] <ghz|afk> heh
L1789[17:19:50] <quadraxis> ⌐_⌐
L1790[17:19:52] <secknv> its hidden
L1791[17:19:58] <sham1> I just use the look of dissapointment for "you kidding me m8"
L1792[17:20:00] <ghz|afk> yeah ours has the euro sign in two places
L1793[17:20:06] <ghz|afk> altgr-5 and altgr-e
L1794[17:20:09] <secknv> idk my maths books come with ~ a lot of times
L1795[17:20:09] <ghz|afk> both do €
L1796[17:20:09] ⇨ Joins: KGS (~KGS@h-155-4-129-249.na.cust.bahnhof.se)
L1797[17:20:11] <ghz|afk> and in fact
L1798[17:20:24] <secknv> ½
L1799[17:20:28] <ghz|afk> I always use the altgr-5 one, even though only the e one is drawn on the kb
L1800[17:20:29] <secknv> this is my alt gr 5
L1801[17:20:41] <istasi> https://shadowfacts.net/tutorials/forge-modding-1102/crops/ im trying to get this bit working, but the blockstate bit doesnt want to. Im getting that "no texture" texture once planted instead of the images suggested in the guide, just wondering if anyone could see if he's missing something?
L1802[17:20:42] <ghz|afk> we don't have that one at all
L1803[17:20:46] <sham1> ‰
L1804[17:20:53] <sham1> Can someone tell me what that is
L1805[17:20:58] <ghz|afk> wtf is that? a snail riding an infinite?
L1806[17:21:26] <ghz|afk> oh it looks like
L1807[17:21:28] <ghz|afk> 0%00
L1808[17:21:30] <ghz|afk> 0/00
L1809[17:21:32] <howtonotwin> permille or something
L1810[17:21:33] <ghz|afk> it's a per-thousand
L1811[17:21:38] <howtonotwin> 1/100 instead of 1/100
L1812[17:21:39] <diesieben07> yep, permille
L1813[17:21:53] <ghz|afk> howtonotwin: you typed /100 twice ;P
L1814[17:22:10] <howtonotwin> ._.
L1815[17:22:14] <ghz|afk> meh
L1816[17:22:18] <ghz|afk> it's a snail riding the infinity
L1817[17:22:18] <diesieben07> there is even ‱
L1818[17:22:31] <secknv> we call it "permil"
L1819[17:22:43] <ghz|afk> yeah "pormil" vs "porcien"
L1820[17:22:43] <secknv> as it "per a thousand"
L1821[17:22:50] <ghz|afk> in spanish
L1822[17:22:55] <sham1> promille
L1823[17:22:58] <sham1> prosentti
L1824[17:23:19] <secknv> lol i think we also say "pormil" but when we want to say like "percentage" we say "permilage"
L1825[17:23:22] <ghz|afk> a snail riding the infinite.
L1826[17:23:25] ⇨ Joins: OnyxDarkKnight (~OnyxDarkK@wlan-t-174-31-nat.CSUChico.EDU)
L1827[17:23:25] <secknv> permilagem
L1828[17:23:37] <ghz|afk> I know the concept exists
L1829[17:23:45] <ghz|afk> but I don't believe I have ever come across any actual use of the word
L1830[17:23:53] <secknv> i've seen it alot
L1831[17:24:00] <secknv> on statistics reports
L1832[17:24:04] <secknv> and stuff
L1833[17:24:35] <secknv> like 1/1000 people take coffe with a cupcake
L1834[17:24:35] <ghz|afk> I guess
L1835[17:24:39] <ghz|afk> although when they speak it
L1836[17:25:12] <ghz|afk> it's often "uno de cada mil" or similar
L1837[17:25:18] <ghz|afk> I mean on news and such
L1838[17:25:45] <sham1> wait, what does that mean
L1839[17:25:46] <howtonotwin> "one of every thousand" direct translation
L1840[17:25:51] <sham1> Ah, thanks
L1841[17:26:01] <sham1> "Joka tuhannesosa"
L1842[17:26:15] <secknv> so I overrode has tile ent to return true
L1843[17:26:22] <secknv> and added a create tile ent method
L1844[17:26:23] <sham1> Feel the vowels
L1845[17:26:25] <secknv> in the block class
L1846[17:26:32] <ghz|afk> and createTE to return your TE class?
L1847[17:26:36] <secknv> yes
L1848[17:26:44] <secknv> also made the register method
L1849[17:26:50] <ghz|afk> and you called registerTileEntity on preinit?
L1850[17:26:58] <ghz|afk> (next to your block's registration or so)
L1851[17:27:07] <secknv> about to write that in preinit
L1852[17:27:18] <secknv> (it's on a modtileentities class)
L1853[17:27:30] ⇦ Quits: BordListian (~BordListi@chello213047142014.32.11.vie.surfer.at) (Ping timeout: 202 seconds)
L1854[17:27:34] <ghz|afk> so long as it gets called during the pre-init phase, it's ok ;P
L1855[17:27:48] <ghz|afk> then if so, congratulations, your block has a tileentity :)
L1856[17:28:05] <secknv> GameRegistry.registerTileEntity(TileEntityCoil.class, "coil_tile_entity");
L1857[17:28:12] <secknv> this is the only thing i need to register right
L1858[17:28:19] <ghz|afk> yes
L1859[17:28:20] <ghz|afk> although
L1860[17:28:27] <ghz|afk> it recently came to my attention
L1861[17:28:35] <ghz|afk> that the string passed in that function isn't mod-specific
L1862[17:28:51] <secknv> meaning I should...
L1863[17:29:00] <ghz|afk> include your modid in the name, to avoid conflicts
L1864[17:29:11] <howtonotwin> You can use your block's registry name for it.
L1865[17:29:41] <secknv> btw now that we have setRegistryName why do we still need the unlocalized name?
L1866[17:29:56] <ghz|afk> because the unlocalized name is exclusively for translation purposes
L1867[17:29:59] <TehNut> Unlocalized names are for translation. registry names are for identification
L1868[17:30:00] <ghz|afk> and doesn't need to match the registry name
L1869[17:30:02] <ghz|afk> also
L1870[17:30:09] <ghz|afk> unlocalized names are also not mod-specific
L1871[17:30:16] <ghz|afk> so you should also include your modid in your registry names
L1872[17:30:21] <secknv> oh
L1873[17:30:22] <ghz|afk> i like to do like
L1874[17:30:25] <howtonotwin> *unlocalized names
L1875[17:30:32] <secknv> my registry name rn is "copper_coil"
L1876[17:30:34] <ghz|afk> unlocalized names**
L1877[17:30:37] <ghz|afk> setUnlocalizedName(MODID + "." + blockName)
L1878[17:30:54] <ghz|afk> in fact, I use this as a base class for all my blocks
L1879[17:30:54] <secknv> so conventions is modid.name
L1880[17:31:07] <howtonotwin> Or just the registry name directly.
L1881[17:31:11] <ghz|afk> https://github.com/gigaherz/Survivalist/blob/master/src/main/java/gigaherz/survivalist/base/BlockRegistered.java
L1882[17:31:17] <ghz|afk> I prefer the "."
L1883[17:31:17] <howtonotwin> Don't think there's a convention just yet
L1884[17:31:18] ⇦ Quits: Ordinastie_ (~Ordinasti@87-231-58-94.rev.numericable.fr) (Quit: Leaving)
L1885[17:31:21] <ghz|afk> because then the final string is
L1886[17:31:26] <howtonotwin> Your choice really
L1887[17:31:32] <ghz|afk> tile.modidhere.blocknamehere.name=Name
L1888[17:31:39] <ghz|afk> item.modidhere.itemnamehere.name=Name
L1889[17:31:45] <ghz|afk> while if you use your modid
L1890[17:31:49] <ghz|afk> eh registry name
L1891[17:31:53] <ghz|afk> item.modidhere:itemnamehere.name=Name
L1892[17:31:55] <ghz|afk> looks weird
L1893[17:31:58] <TehNut> And if you use variants, tile.modid.blockname.variantname.name
L1894[17:32:00] <ghz|afk> as if it were two separate parts
L1895[17:32:29] <secknv> hm so far I've been doing private final String name = "copper_coil"; and then setRegistryName(name); setUnlocalizedName(name);
L1896[17:32:45] <ghz|afk> secknv: https://github.com/gigaherz/Survivalist/blob/master/src/main/java/gigaherz/survivalist/base/BlockRegistered.java
L1897[17:32:48] <ghz|afk> this is my base class
L1898[17:32:55] <ghz|afk> oops I already pasted
L1899[17:32:57] <ghz|afk> I thought I didn't
L1900[17:32:57] <ghz|afk> XD
L1901[17:33:13] <secknv> yes but why you only add modid on the unlocalized
L1902[17:33:21] <ghz|afk> because the registry name adds it for you
L1903[17:33:29] <secknv> i c
L1904[17:33:33] <ghz|afk> setRegistryName(String) does
L1905[17:33:42] <shadekiller666> if i'm trying to add entries to a List that is marked as private, when is it better to use ASM instead of ReflectionHelper?
L1906[17:33:44] <ghz|afk> setRegistryName(currentmod,string)
L1907[17:33:47] <secknv> it adds it with a dot?
L1908[17:33:50] <ghz|afk> no
L1909[17:33:53] <LatvianModder> I prefer to put "modid." before my unlocalized name. just because it can potentially mess with other mod item names
L1910[17:33:58] <ghz|afk> it ends up as a ResourceLocation
L1911[17:34:05] <ghz|afk> which is "modid:namehere"
L1912[17:34:16] <secknv> oh right
L1913[17:34:33] <LatvianModder> I still prefer new ResourceLocation(id, name) :P
L1914[17:34:50] <secknv> Imma add modid to unlocalized names brb
L1915[17:35:03] <secknv> that shadekiller also looks like he needs some tips
L1916[17:35:17] <ghz|afk> shadekiller666: no it's never better to use ASM
L1917[17:35:42] <ghz|afk> it's slightly faster, but never better ;P
L1918[17:35:51] <ghz|afk> and basically
L1919[17:35:52] <LatvianModder> you mean AccessTransormers vs Reflection?
L1920[17:36:01] <ghz|afk> if you call it enough times that Reflection is a big performance hit
L1921[17:36:06] <ghz|afk> then you should probably reconsider
L1922[17:36:22] <LatvianModder> for example, a private field in render tick
L1923[17:36:30] <ghz|afk> because it's only ike 20-30% slower to invoke vs native call
L1924[17:36:37] <shadekiller666> i'm likely going to be updating said list in a for loop, so...
L1925[17:36:43] <ghz|afk> (most of the load is in lookups)
L1926[17:36:57] <ghz|afk> shadekiller666: dude get the list once
L1927[17:37:00] <LatvianModder> for loop doesnt matter. WHERE that for loop is located is important
L1928[17:37:03] <ghz|afk> and use the same reference over and over?
L1929[17:37:09] <LatvianModder> yeah
L1930[17:37:14] <shadekiller666> right...
L1931[17:37:25] <ghz|afk> or is there something that prevents you from reusing that list reference?
L1932[17:37:40] <ghz|afk> in which case wtf are you doing? XD
L1933[17:37:47] <LatvianModder> is it the list itself you are trying to reflect?
L1934[17:37:59] <LatvianModder> like private List<String> someList;
L1935[17:38:20] <ghz|afk> if you need to call a method over and over, then use a MethodHandle
L1936[17:38:23] <ghz|afk> bind it to the instance
L1937[17:38:26] <LatvianModder> because then you can just 'bind' your own list with that one
L1938[17:38:28] <ghz|afk> and then call the mh itself
L1939[17:38:42] <LatvianModder> Since which version MethodHandle is in java?
L1940[17:38:48] <diesieben07> 7
L1941[17:38:50] <ghz|afk> 7?
L1942[17:38:51] <sham1> 7
L1943[17:39:06] <diesieben07> i am an expert in 7.
L1944[17:39:23] <LatvianModder> lol im yet to see a method with more than 250 arguments
L1945[17:39:32] <LatvianModder> "if a static JVM method accepts exactly 255 arguments, a method handle cannot be created for it"
L1946[17:39:33] <sham1> Spring
L1947[17:39:35] <sham1> Come here
L1948[17:39:51] <ghz|afk> a method with more than 4 arguments is a reason to refactor.
L1949[17:40:02] <ghz|afk> each extra arg is one reason to refactor
L1950[17:40:05] <diesieben07> a method with that many arguments must perform horribly...
L1951[17:40:09] <howtonotwin> but main has infinity arguments :3
L1952[17:40:11] <LatvianModder> well my permission api has 4 arguments...
L1953[17:40:18] <ghz|afk> at that point, you may as well pass an object
L1954[17:40:21] <ghz|afk> and just make it one arg
L1955[17:40:28] <diesieben07> "ok get me parameter 125". "ok, to main memory it is!!"
L1956[17:40:41] <ghz|afk> LatvianModder: that's ok
L1957[17:40:43] <ghz|afk> 4 is ok
L1958[17:40:43] <LatvianModder> GameProfile, String, boolean and IContext..
L1959[17:40:45] <diesieben07> "ok, imma wait 200 clock cycles!"
L1960[17:40:46] <ghz|afk> 5 is okish
L1961[17:40:50] <ghz|afk> 6 is eh, areyou sure?
L1962[17:40:59] <LatvianModder> Then there is.. *ahem(
L1963[17:41:02] <ghz|afk> 7 is uhhh that's a lot, reconsider
L1964[17:41:04] <LatvianModder> onActivated in Block
L1965[17:41:09] <ghz|afk> 8 is uhm refactor that already
L1966[17:41:17] <ghz|afk> 9 is wtf take that thing out of my face
L1967[17:41:18] <LatvianModder> oh wait its no fun anymore. in 1.7.10 it was
L1968[17:41:20] <LatvianModder> int x, int y, int z
L1969[17:41:22] <ghz|afk> 10 is AHH MY EYES ARE BLEEDING
L1970[17:42:09] <sham1> What about variadic functions
L1971[17:42:19] <sham1> Infinite arguments
L1972[17:42:22] <ghz|afk> those get compiled int oarrays
L1973[17:42:23] <quadraxis> Block#onBlockActivated
L1974[17:42:32] <LatvianModder> onBlockActivated(World worldIn, BlockPos pos, IBlockState state, EntityPlayer playerIn, EnumHand hand, @Nullable ItemStack heldItem, EnumFacing side, float hitX, float hitY, float hitZ)
L1975[17:42:36] <ghz|afk> to the compiler it's just func(Object[] args)
L1976[17:42:44] <ghz|afk> to the jvm*
L1977[17:43:07] <secknv> I am literally sitting on the street outside of a coffeeshop with free wifi because there isnt even mobile coverage on this godforsaken tiny village where I am rn
L1978[17:43:14] <sham1> Polyvariadic functions are fun
L1979[17:43:15] <secknv> the point is 5% battery
L1980[17:43:16] <ghz|afk> sucks
L1981[17:43:34] <LatvianModder> download more battery
L1982[17:43:46] <sham1> Especially in languages that do not support them
L1983[17:43:53] <secknv> so Imma go home and maybe comeback in 2-3h full of stupid "why isnt this working" questions
L1984[17:43:57] <secknv> later ahah
L1985[17:44:02] ⇦ Quits: secknv (~secknv@bl18-84-203.dsl.telepac.pt) (Quit: Leaving)
L1986[17:44:31] * ghz|afk feels grateful of his 300mbps ftth connection
L1987[17:44:59] ⇦ Quits: jackmcbarn (jackmcbarn@gateway.insomnia247.nl) (Ping timeout: 192 seconds)
L1988[17:45:32] <kenzierocks> wow ghz|afk
L1989[17:45:35] <kenzierocks> i get like 6
L1990[17:46:03] <ghz|afk> it's the best thing of having competition
L1991[17:46:25] ⇨ Joins: jackmcbarn (jackmcbarn@gateway.insomnia247.nl)
L1992[17:49:43] *** kroeser is now known as kroeser|away
L1993[17:49:51] *** kroeser|away is now known as kroeser
L1994[17:50:53] ⇨ Joins: minot (~minot@pool-100-1-168-123.nwrknj.fios.verizon.net)
L1995[17:51:15] <masa> FTTH is nice, you get rather low latency too :p
L1996[17:51:50] * sham1 is salty because Sonera has not given him fiber yet
L1997[17:52:02] <sham1> Seriously
L1998[17:53:28] <SquareWheel> tterrag - think your reddit account has been compromised. If you're available check your password ASAP.
L1999[17:53:49] <kenzierocks> tterrag|away:
L2000[17:54:07] <SquareWheel> I know, but hoping the ping would be effective.
L2001[17:54:37] <kenzierocks> well i wanted to ping him with active nick as well :P
L2002[17:55:05] <SquareWheel> Ah gotchya.
L2003[17:55:31] ⇦ Quits: KGS (~KGS@h-155-4-129-249.na.cust.bahnhof.se) (Ping timeout: 198 seconds)
L2004[17:56:01] <masa> You must be invited to visit this community
L2005[17:56:01] <masa> r/feedthebeast
L2006[17:56:01] <masa> Hacked by @TeamFireyFkrs
L2007[17:56:07] <masa> uhh?
L2008[17:57:12] <SquareWheel> Yeah, defaced the sub and posted a hacked message on his account.
L2009[17:57:22] <SquareWheel> Internet is serious business, you know. Gotta be dicks for "fame".
L2010[17:57:56] <shadekiller666> ReflectionHelper needs to be given both the deobf name and the srg name of whatever it is you're looking for right?
L2011[17:58:13] <quadraxis> https://twitter.com/tterrag1098
L2012[17:58:32] <quadraxis> could try tweeting
L2013[17:58:49] ⇨ Joins: Abastro (~Abastro@112.166.128.227)
L2014[17:59:13] *** kroeser is now known as kroeser|away
L2015[17:59:48] <howtonotwin> relevant: https://www.reddit.com/r/talesfromtechsupport/2qoqdy
L2016[18:00:13] <sham1> well then
L2017[18:00:20] <sham1> r/feedthebeast
L2018[18:01:22] <SquareWheel> The nice thing is it's easy to roll back CSS edits. So it's only really an inconvenience.
L2019[18:01:53] <sham1> The real damage is the fact that the people got access to someone's user account in the first place
L2020[18:02:08] *** MrKickkiller is now known as MrKick|Away
L2021[18:02:17] *** Kolatra|away is now known as Kolatra
L2022[18:02:19] ⇦ Quits: howtonotwin (~howtonotw@r75-110-22-15.gvllcmtc01.gnvlnc.ab.dh.suddenlink.net) (Quit: Pop!)
L2023[18:05:45] <shadekiller666> ghz|afk, by "get the list" you mean get the Field from the ReflectionHelper?
L2024[18:05:54] ⇨ Joins: RANKSHANK (~Michael@ppp121-44-60-13.lns20.syd4.internode.on.net)
L2025[18:07:44] <shadekiller666> does setting a variable to the return value of ReflectionHelper.getPrivateValue() update the variable when the reflected variable changes?
L2026[18:08:26] ⇨ Joins: raoulvdberge (uid95673@id-95673.richmond.irccloud.com)
L2027[18:10:51] <ghz|afk> shadekiller666: lists are objects, you obtain a reference
L2028[18:11:15] <ghz|afk> any other variable field or whatever that happens to contain the same reference, sees the same list
L2029[18:11:17] <ghz|afk> modifications and all
L2030[18:11:24] *** kroeser|away is now known as kroeser
L2031[18:11:25] <ghz|afk> hence the ConcurrentModificationExceptions
L2032[18:11:54] <shadekiller666> so yes, getPrivateValue() would update
L2033[18:13:03] *** manmaed is now known as manmaed|AFK
L2034[18:14:22] ⇨ Joins: PBlock96 (~PBlock96@64.53.13.215)
L2035[18:15:19] <diesieben07> if you use getPrivateValue for more than one-off things you are doing it wrong
L2036[18:21:33] *** kroeser is now known as kroeser|away
L2037[18:43:13] ⇦ Quits: JoltEffect (~leetorwee@host86-175-44-51.range86-175.btcentralplus.com) ()
L2038[18:54:11] ⇨ Joins: Coolway99 (~cway@66.212.212.2)
L2039[18:57:07] ⇦ Quits: minot (~minot@pool-100-1-168-123.nwrknj.fios.verizon.net) (Ping timeout: 190 seconds)
L2040[18:57:07] ⇨ Joins: secknv (~secknv@bl18-84-203.dsl.telepac.pt)
L2041[18:57:16] <secknv> ok I'm back in the street
L2042[18:58:25] <secknv> first stupid question: is createNewTileEntity supposed to override ?
L2043[18:58:33] <ghz|afk> only the interface
L2044[18:58:39] <ghz|afk> but we usually recommend not using that method
L2045[18:58:45] <ghz|afk> and not implementing ITileEntityProvider
L2046[18:58:46] <secknv> so since I dont implement that it's cool
L2047[18:58:56] <ghz|afk> if you don't implement
L2048[18:58:59] <ghz|afk> then it won't get called
L2049[18:59:03] <ghz|afk> so you don't want that method
L2050[18:59:07] <secknv> so why do I need it
L2051[18:59:13] <ghz|afk> override createTileEntity instead
L2052[18:59:25] <secknv> oh lol
L2053[18:59:29] <ghz|afk> the one with an IBlockstate parameter
L2054[18:59:36] <secknv> I got the wrong method
L2055[18:59:38] <secknv> ahah
L2056[19:01:46] ⇦ Quits: Gil (uid147942@id-147942.brockwell.irccloud.com) (Quit: Connection closed for inactivity)
L2057[19:02:14] <secknv> so what should I put in the body of that
L2058[19:03:21] <secknv> the body of createTileEntity
L2059[19:05:01] <ghz|afk> what do you think?
L2060[19:06:21] <secknv> return new MyTileEntity() ?
L2061[19:06:55] *** willieaway is now known as williewillus
L2062[19:07:16] ⇨ Joins: howtonotwin (~howtonotw@r75-110-22-15.gvllcmtc01.gnvlnc.ab.dh.suddenlink.net)
L2063[19:07:57] ⇨ Joins: Noc7is (~Noc7is@cpe-76-85-180-43.neb.res.rr.com)
L2064[19:08:06] <williewillus> so I have some big string `a`. I want to get a list of every character after sequence `b`. People suggested using `b`(.) then group(), but it's slow as hell for me
L2065[19:08:17] <williewillus> would split() and charAt(0) be any faster?
L2066[19:08:31] <williewillus> this isnt related to modding btw, something else :P
L2067[19:08:39] <secknv> by that I mean MyBlockTileEntity()
L2068[19:09:15] <williewillus> there's an edge case where `b` isn't at the start of `a` so the first split would be bogus but otherwise that should be equivalent right? if it is I mgiht try it :P
L2069[19:09:43] <kenzierocks> yea that should work williewillus
L2070[19:09:51] <kenzierocks> and be faster
L2071[19:10:20] <williewillus> can you think of any other edge cases? I can only think of that one I just mentioned
L2072[19:10:27] <Noc7is> If I wanted to render a block in the world using a TESR, how might one do that? Tried RenderBlocks.getInstance().renderBlockAllFaces(), renderStandardBlock(). Both methods didn't work until I started drawing quads using the tessellator, at which point they drew it inverted, in the wrong spot, moving, and with no lighting. Also tried rendering the block faces individually, with success, but I'm trying to find a better way.
L2073[19:10:39] <williewillus> Noc7is: mc version?
L2074[19:10:42] <ghz|afk> secknv: yes that's what you want ;P
L2075[19:10:44] <Noc7is> 1.7.10
L2076[19:11:07] <ghz|afk> williewillus: I'd do it the simple way
L2077[19:11:18] <williewillus> the simple way being
L2078[19:11:21] <ghz|afk> make a loop, if you found a 'b' on one iteration, then record what came next
L2079[19:11:46] <ghz|afk> boolean previouswasb = false; for (...) { if (b) previouswasb=true; else afterb.add(current); }
L2080[19:12:09] <ghz|afk> not the most elegant, but effective enough
L2081[19:12:13] <kenzierocks> that sounds more complicated than split + charAt
L2082[19:12:14] <ghz|afk> no array creation and no bs
L2083[19:12:23] <williewillus> this is in clojure so i don't want to loop :P
L2084[19:12:30] *** kroeser|away is now known as kroeser
L2085[19:12:31] <ghz|afk> you should specify that ;P
L2086[19:13:27] <williewillus> the top entry is the regex "<searchingforthis>(.)" gobbling time https://gyazo.com/023bf572a34fe56946658e042af59600
L2087[19:14:57] <williewillus> i'll try the split + charat
L2088[19:17:07] <Noc7is> What I'm trying to achieve is basically just rendering a block where the tile entity is, but not the block from the tile entity itself, a block stored by said tile entity.
L2089[19:17:26] <williewillus> you probably don't want to use a tesr, for performance reasons
L2090[19:17:35] <williewillus> if this is just a camo block just use getIcon
L2091[19:17:42] <ghz|afk> Noc7is: when you say "render a block in the world"
L2092[19:17:47] <Noc7is> Its not a camo block, theres more to it than that
L2093[19:17:52] <ghz|afk> you mean render it yourself, without using minecraft's rendering process?
L2094[19:17:59] <Noc7is> Yes
L2095[19:18:03] <ghz|afk> ....why?
L2096[19:18:11] <Noc7is> I'll get a screenshot.
L2097[19:20:04] <secknv> while that screenshot doesnt come: do I need to also override breakBlock and put a world.removeTileEnt inside it
L2098[19:20:14] <secknv> or is that some old 1.8 crap
L2099[19:20:28] <ghz|afk> I don't believe you ahve ever needed to do that?
L2100[19:20:30] <williewillus> you don't need to do that
L2101[19:20:35] <williewillus> and probably have never had to :P
L2102[19:20:39] <ghz|afk> but even if you ever had to
L2103[19:20:41] <ghz|afk> you don't now.
L2104[19:20:47] <secknv> #blamecrappytutorialsnotme
L2105[19:20:50] <howtonotwin> Botania's platforms do something similar, and willie wrote a primer on 1.8 (SHOULD work in 1.9) and how the platforms work here: https://gist.github.com/williewillus/57d7093efa80163e96e0
L2106[19:20:53] <williewillus> don't use tutorials :P
L2107[19:20:59] <ghz|afk> don't worry we blame the tutorials.
L2108[19:21:02] <ghz|afk> all the tutorials
L2109[19:21:10] <williewillus> mcjty's aren't half bad
L2110[19:21:11] <ghz|afk> they are always wrong in one way or another, and mislead people into bad habits
L2111[19:21:16] <williewillus> because he actually makes effort to update them...
L2112[19:21:31] <williewillus> the rest get outdated within weeks or months
L2113[19:21:36] <ghz|afk> (most notably, copypaste without understanding ;P)
L2114[19:21:42] <williewillus> worse if it's a video or daresay a book
L2115[19:21:54] *** kroeser is now known as kroeser|away
L2116[19:22:16] <diesieben07> am I stupid or is EnumHelper.addArmorMaterial broken at the moment?
L2117[19:22:26] <diesieben07> I am stupid.
L2118[19:22:27] <williewillus> i thought that got fixed
L2119[19:22:37] <diesieben07> yeah enums have names...
L2120[19:22:52] <williewillus> hmmm split/charAt isn't doing much better
L2121[19:22:55] <williewillus> maybe a bit better
L2122[19:22:59] <williewillus> but string manipulation is always meh
L2123[19:23:00] ⇦ Quits: Nentify (uid14943@id-14943.highgate.irccloud.com) (Quit: Connection closed for inactivity)
L2124[19:23:23] <ghz|afk> williewillus: is clojure a functional langauge?
L2125[19:23:26] <Noc7is> Got the screenshot. The tile entity "covers" blocks. It actually replaces them and draws the block that was originally there in its place, along with some extra rendering for the "roots": http://i.imgur.com/5x1M4nF.png
L2126[19:23:28] <williewillus> yes
L2127[19:23:44] <Noc7is> As you see it there, I am individually drawing all block faces in the TESR
L2128[19:23:50] <ghz|afk> does it have stuff like haskell where you can "drop" one element from a list and get the tail?
L2129[19:23:52] <Noc7is> And of course im looking for a better way
L2130[19:23:54] <williewillus> yes
L2131[19:24:08] <howtonotwin> Noc7is: Did you see the link I posted above?
L2132[19:24:13] <williewillus> Noc7is: can't you just do that using getIcon/isbrh?
L2133[19:24:17] <williewillus> howtonotwin: he's on 1.7
L2134[19:24:20] <howtonotwin> oh derp
L2135[19:24:29] <ghz|afk> then wouldn't the best way to approach it be like, if head == b return recurseB(tail) else return recurseNotB(tail)
L2136[19:24:39] <secknv> so how do I test for a nearby tile ent and get it's blockpos again?
L2137[19:24:55] <Noc7is> I could probably do it using an ISBRH, but I wanted to see if there was another better way first
L2138[19:25:11] <RANKSHANK> -_- damn ide keeps importing the scala equivalents :P
L2139[19:25:11] <williewillus> better than doing it in a tesr taht's for sure
L2140[19:25:48] <secknv> if(player within 3 blocks of myblock which has a tile ent) sort of thing
L2141[19:25:54] <ghz|afk> Noc7is: sounds like exactly what an ISBRH was for
L2142[19:26:08] <ghz|afk> although I'd personally use extra blocks for the root bits
L2143[19:26:20] <williewillus> secknv: in your te: world.getEntitiesInAABB(EntityPlayer.class, <AABB>)
L2144[19:26:22] <ghz|afk> but that's up to you
L2145[19:26:27] ⇦ Quits: rebecca (~rebecca@93.fa.5177.ip4.static.sl-reverse.com) (Ping timeout: 190 seconds)
L2146[19:26:42] <ghz|afk> secknv: you'll have to make your TE ITickable
L2147[19:26:54] <ghz|afk> and then every few ticks, do what williewillus suggests
L2148[19:27:12] <williewillus> note that if you have a huge AABB it's going to perform terribly
L2149[19:27:30] <ghz|afk> yep if you ahve a big area, better to scan small sections at a time
L2150[19:27:42] <ghz|afk> like in a spiral shape growing outward, then resetting back to 0
L2151[19:27:45] <secknv> AABB stands for?
L2152[19:27:45] <williewillus> and past some point it's better to just iterate the player list and do distanceSq
L2153[19:27:48] <williewillus> AxisAlignedBB
L2154[19:27:52] <ghz|afk> Axis-Aligned bounding Box
L2155[19:28:05] <secknv> I think i've seen that in mc source somewhere ahah
L2156[19:28:08] <secknv> sounds familiar
L2157[19:28:10] <williewillus> ghz|afk: yeah i didn't care for that complexity so I just switched to iterating the player list
L2158[19:28:23] <williewillus> distanceSq on ~50-100 players isn't too expensive
L2159[19:28:32] <ghz|afk> true
L2160[19:28:33] <ghz|afk> also
L2161[19:28:43] <ghz|afk> can't you get access to the list of players watching a chunk?
L2162[19:28:43] ⇨ Joins: rebecca (~rebecca@93.fa.5177.ip4.static.sl-reverse.com)
L2163[19:28:52] <williewillus> probably
L2164[19:28:57] <ghz|afk> that's a good starting point ;p
L2165[19:29:01] <ghz|afk> that'd be*
L2166[19:29:27] ⇨ Joins: vastatio (~vastation@104.243.104.121)
L2167[19:30:21] <secknv> "I"Tickable because it's an interface right
L2168[19:30:38] <ghz|afk> yes
L2169[19:30:41] <secknv> how clever
L2170[19:30:45] <williewillus> heh
L2171[19:30:47] <ghz|afk> it's a naming convention used in other languages
L2172[19:30:51] <ghz|afk> that many java programmers dislike
L2173[19:30:54] <williewillus> thank the .net guys ;p
L2174[19:30:59] <ghz|afk> don't
L2175[19:31:08] <ghz|afk> MS did it first in C++ ;P
L2176[19:31:18] <ghz|afk> .NEt just stuck to it
L2177[19:31:22] <secknv> hm I seems really nice tho
L2178[19:31:24] ⇦ Quits: Noc7is (~Noc7is@cpe-76-85-180-43.neb.res.rr.com) (Ping timeout: 384 seconds)
L2179[19:31:47] <RANKSHANK> I've always found it to be a sensible convention :)
L2180[19:31:53] <ghz|afk> https://msdn.microsoft.com/en-us/library/windows/desktop/bb774328(v=vs.85).aspx
L2181[19:31:56] <secknv> because I noob like me knew right away all I had to do to make it ITickable was implement that
L2182[19:31:58] <ghz|afk> yeah but
L2183[19:32:00] <ghz|afk> in COM
L2184[19:32:04] <ghz|afk> classes get C* also
L2185[19:32:20] <ghz|afk> class CFSFolder : public IShellFolder
L2186[19:32:34] <ghz|afk> yep
L2187[19:32:51] <ghz|afk> the I-for-interface convention lets you decide between extends and implements without a second thought
L2188[19:32:54] <secknv> there are 2 ITickables, im guessing I want the one from minecraft.util
L2189[19:32:56] <ghz|afk> which funnily
L2190[19:33:00] <ghz|afk> isn't an issue in C++ nor C#
L2191[19:33:03] <ghz|afk> since they both just use
L2192[19:33:15] <ghz|afk> class Name : superclasses, and, superinterfaces
L2193[19:33:34] <ghz|afk> secknv: yes you'll notice the other one is related to textures and stuff
L2194[19:33:36] <ghz|afk> wouldn't make sense
L2195[19:33:51] <secknv> there are a lot of things that dont make sense to me in java
L2196[19:34:09] <secknv> #justnoobthings
L2197[19:34:21] <ghz|afk> that's just an indication of lack of knowledge ;P
L2198[19:34:22] <williewillus> well it doesn't help you're on a decompiled deobfed codebase
L2199[19:34:35] <ghz|afk> ugh
L2200[19:34:39] <williewillus> which is why i personally think people shouldn't use Forge modding to get into programming/java :P
L2201[19:34:41] <ghz|afk> i wouldn't be able to just work on a codebase like that
L2202[19:34:48] <secknv> basically I'm self-taught so yeah
L2203[19:34:54] <ghz|afk> every time I copy from vanilla
L2204[19:35:07] <ghz|afk> I reformat, decrappify, and then make the code do what I want
L2205[19:35:23] <williewillus> eh I do the opposite, whenever I need a snippet from it
L2206[19:35:34] <williewillus> I copy it, stick "// [VanillaCopy]" on top
L2207[19:35:37] <williewillus> then keep it exactly as is
L2208[19:35:46] <williewillus> if I make changes I basically "patch" them in
L2209[19:35:54] <williewillus> and every major version recheck everything to see if it changed
L2210[19:36:33] <secknv> ok anything special I need to put in update()'s body'
L2211[19:36:36] <williewillus> because even worse than copying vanilla is retaining an outdated version of what you copied
L2212[19:36:43] <ghz|afk> secknv: special, no
L2213[19:36:47] <ghz|afk> just do whatever you WANT it to do
L2214[19:36:55] <secknv> I cry
L2215[19:36:59] <ghz|afk> keep in mind scanning for entities is slow
L2216[19:37:03] <ghz|afk> so you may want to throttle it a bit
L2217[19:37:32] <secknv> so what is the best way of knowing when a player is within 3 blocks of my block
L2218[19:37:41] <ghz|afk> williewillus told you
L2219[19:37:49] <ghz|afk> there's methods in world, for scanning
L2220[19:38:03] <secknv> but you said it's slow
L2221[19:38:06] <ghz|afk> yes
L2222[19:38:10] <secknv> slow is not best :\
L2223[19:38:12] <ghz|afk> but you have limited java knowledge
L2224[19:38:18] <secknv> i cry
L2225[19:38:20] <williewillus> i sense xy
L2226[19:38:30] <ghz|afk> so just scan for entities
L2227[19:38:32] <ghz|afk> it's 3 blocks
L2228[19:38:34] <ghz|afk> it won't be TOO slow
L2229[19:38:38] <ghz|afk> jsut don't do it every single tick
L2230[19:38:40] <ghz|afk> do it once a second
L2231[19:38:50] <ghz|afk> keep in mind there's 20 ticks in a second
L2232[19:39:05] <ghz|afk> and it should be easy to work out how to make it only happen once a second ;P
L2233[19:39:06] ⇨ Joins: minot (~minot@pool-100-1-168-123.nwrknj.fios.verizon.net)
L2234[19:39:18] <secknv> so the update method is triggered every tick?
L2235[19:39:23] <ghz|afk> yep
L2236[19:39:32] <ghz|afk> and exactly once every tick
L2237[19:39:39] <ghz|afk> so 20 per second
L2238[19:39:49] <secknv> ok I'll try and do it on my own but don't blame me if you get stupidoverload when you see how I did it
L2239[19:39:57] <ghz|afk> oh I won't
L2240[19:39:58] <williewillus> lol
L2241[19:39:59] <ghz|afk> i'm going to sleep ;P
L2242[19:40:05] <TehNut> Unless you have a mod that does tick accelleration. But in a normal environment, yes 1 time per tick
L2243[19:40:19] <secknv> tick accel sounds crazy
L2244[19:40:23] <ghz|afk> it is.
L2245[19:40:26] <ghz|afk> night ppl
L2246[19:40:28] * ghz|afk poofs
L2247[19:40:30] <secknv> night
L2248[19:40:34] <TehNut> It's stupid and I only use it for debugging
L2249[19:40:38] <TehNut> But it's there
L2250[19:45:13] <secknv> btw what's an ItemOverride instance
L2251[19:49:33] <williewillus> rendering stuff
L2252[19:53:47] <secknv> I am supposed to create an ItemOverride instance for every compass angle
L2253[19:53:54] <williewillus> no..
L2254[19:54:18] <secknv> what do you mean no
L2255[19:54:21] <williewillus> look at the ItemCompass constructor. can you tell me what it's doing and what an IItemPropertyOverride is?
L2256[19:54:34] <secknv> sortof
L2257[19:54:41] <williewillus> give it a shot
L2258[19:54:52] <secknv> ok
L2259[19:56:00] <secknv> so first thing is it takes the ItemCompass object and .addPropertyOverride on it
L2260[19:56:12] <williewillus> yup, and what is it adding?
L2261[19:56:24] ⇦ Quits: theFlaxbeard (~theFlaxbe@184.97.183.232) (Killed (NickServ (GHOST command used by theFlaxbeard2)))
L2262[19:57:43] <secknv> it's the class defined and instantiated right there using that SomeInterface{new class here} magic
L2263[19:57:55] <williewillus> okay that's the syntax
L2264[19:57:59] <williewillus> but what about the semantics
L2265[19:58:05] <williewillus> what *is* a IItemPropertyGetter?
L2266[19:58:15] <williewillus> it's something that turns a stack, world, and living into a float
L2267[19:58:25] <secknv> thank you
L2268[19:58:38] <williewillus> and that float is used in the json model
L2269[19:58:44] <secknv> yes the angle for the compass is in that float
L2270[19:59:34] <secknv> and the idea of what I think you guys told me to was make my own IItemPropertyGetter that returns floats with the angle I want and -1 for vanilla usage
L2271[19:59:47] <secknv> the idea i got*
L2272[19:59:58] <williewillus> are you making your own compass or overriding the vanilla one?
L2273[20:00:17] <secknv> I think I am adding my own property override to the vanilla one
L2274[20:00:29] <williewillus> don't say you think, what are you doing? :P
L2275[20:00:34] <williewillus> are you making your own compass
L2276[20:00:37] <williewillus> or changing the existing one?
L2277[20:00:48] <secknv> well I want to change the existing one
L2278[20:00:54] <vastatio> what is a FMLControlledNamespacedRegistry?
L2279[20:01:03] <secknv> no idea
L2280[20:01:04] <williewillus> vastatio: a Registry that has FML magic on it
L2281[20:01:11] <williewillus> that lets it auto-assign int ids and stuff
L2282[20:01:21] <secknv> oh lol I though that was willie testing me again
L2283[20:01:24] <vastatio> so what is it commonly used for?
L2284[20:01:31] <williewillus> the core registries
L2285[20:01:38] <williewillus> Block/item/biome/potion/etc.
L2286[20:02:06] <williewillus> secknv: now look at the compass's json model. the numbers you see after "angle" were returned from that IItemPropertyGetter
L2287[20:02:14] <williewillus> that coincidentally, was registered to the name "angle"
L2288[20:02:45] <vastatio> why does OpenBlocks use it for their pages: https://github.com/OpenMods/OpenModsLib/blob/f372200faa621c3b832786da01b7e33f6fdc555c/src/main/java/openmods/infobook/PageBuilder.java
L2289[20:03:01] ⇨ Joins: Drullkus (~Dru11kus@c-67-180-188-243.hsd1.ca.comcast.net)
L2290[20:03:07] <williewillus> it's scanning the block/item registries
L2291[20:03:36] <williewillus> "addPages("item", GameData.getItemRegistry(), provider)"
L2292[20:03:41] <vastatio> I normally use GSON for an info book, is openblocks's way more efficient?
L2293[20:04:00] ⇨ Joins: PrinceCat (~PrinceCat@106-69-72-71.dyn.iinet.net.au)
L2294[20:04:12] <williewillus> i doubt it matters
L2295[20:04:22] <secknv> williewillus inside the models/item there are 32 compass jsons
L2296[20:04:33] <williewillus> secknv: look at the main one, compass.json
L2297[20:04:50] <secknv> omg how did I miss that
L2298[20:05:08] <secknv> the overrides
L2299[20:05:13] <secknv> those are the override i want
L2300[20:05:16] <secknv> arent they
L2301[20:05:35] <williewillus> yes so "angle" is what minecraft returned from that IItemPropertyGetter in the ItemCompass class
L2302[20:05:59] <williewillus> you want to replace that with your own so call Items.compass.addPropertyOverride(<"angle">, <your own IItemPropertyOverride>)
L2303[20:06:03] <williewillus> you can "wrap" the old one
L2304[20:06:11] <secknv> "angle": float that came from getter i see
L2305[20:06:11] <williewillus> so you can fall back to it if you don't want to run your own
L2306[20:08:08] <secknv> IItemPropertyOverride = IItemPropertyGetter ?
L2307[20:08:27] <williewillus> oh yeah, mistyped
L2308[20:08:37] <secknv> np
L2309[20:09:24] <secknv> so basically my deal is I make an IItempropertyGetter that gives the mod behaviour when i want it and returns vanilla normal floats when i dont want it
L2310[20:09:33] <williewillus> yup
L2311[20:09:40] <williewillus> so you want to get and hold on to the vanilla one
L2312[20:09:49] <williewillus> so your custom one can call it when it doesn't want to do anything
L2313[20:10:20] <williewillus> incidentally there's a getPropertyGetter(ResourceLocation) that lets you get an existing IItemPropertyGetter
L2314[20:10:41] <secknv> omg when you guys open you mouths it feels like the clouds open and a light comes down from the heavens
L2315[20:10:50] <williewillus> lol wat
L2316[20:10:52] <secknv> like
L2317[20:10:59] <secknv> it all seems so logic and simple
L2318[20:11:02] <secknv> after you explain it
L2319[20:11:12] <williewillus> that's good i guess :P
L2320[20:12:05] <secknv> in case you didnt catch it when i said it before I am literally sitting on the street outside a sorta-bar with wifi
L2321[20:12:24] <secknv> because not even mobile coverage reaches the godforsaken village I am in rn
L2322[20:12:36] <secknv> sattelite net they have
L2323[20:12:55] <secknv> the point is battery = 5% again ahaha
L2324[20:13:09] <secknv> and this time is sorta late so i guess it's gnight
L2325[20:13:14] <williewillus> night
L2326[20:13:45] ⇦ Quits: secknv (~secknv@bl18-84-203.dsl.telepac.pt) (Quit: Leaving)
L2327[20:31:59] ⇨ Joins: electrolitic (~electroli@104-184-56-125.lightspeed.cicril.sbcglobal.net)
L2328[20:34:17] ⇦ Quits: howtonotwin (~howtonotw@r75-110-22-15.gvllcmtc01.gnvlnc.ab.dh.suddenlink.net) (Quit: Pop!)
L2329[20:39:24] ⇨ Joins: Naiten (Naiten@77.35.1.118)
L2330[20:39:53] ⇦ Quits: sinkillerj (~sinkiller@nc-67-232-14-224.dhcp.embarqhsd.net) (Quit: またね)
L2331[20:40:14] ⇦ Quits: Coolway99 (~cway@66.212.212.2) (Remote host closed the connection)
L2332[20:43:12] *** PrinceCat is now known as PrinceCat`Away
L2333[20:43:28] *** PrinceCat`Away is now known as PrinceCat
L2334[20:43:28] *** PrinceCat is now known as PrinceCat`Away
L2335[20:58:26] ⇦ Quits: PrinceCat`Away (~PrinceCat@106-69-72-71.dyn.iinet.net.au) (Ping timeout: 202 seconds)
L2336[21:04:29] ⇨ Joins: theFlaxbeard (~theFlaxbe@184.97.183.232)
L2337[21:05:31] <theFlaxbeard> How do I ensure that a field in my entity class is synchronized on load between client and server?
L2338[21:05:41] <theFlaxbeard> Looks like readFromNBT is only called on the server?
L2339[21:05:44] <williewillus> datawatcher
L2340[21:05:48] <williewillus> or sync it yourself
L2341[21:05:55] <williewillus> what sort of field is it?
L2342[21:05:59] <theFlaxbeard> Just a bool
L2343[21:06:01] <theFlaxbeard> set on spawn
L2344[21:06:11] <theFlaxbeard> Two variants of a mob
L2345[21:06:13] <williewillus> use the datawatcher then
L2346[21:06:36] <theFlaxbeard> Is it the dataManager stuff that EntitySkeleton uses for its variants?
L2347[21:06:41] <williewillus> yes
L2348[21:07:10] ⇦ Quits: Abastro (~Abastro@112.166.128.227) (Ping timeout: 384 seconds)
L2349[21:08:46] <RANKSHANK> Yeah that data manager is a wonderful thing :D
L2350[21:09:07] <theFlaxbeard> Cool, thanks
L2351[21:16:41] ⇦ Quits: quadraxis (~quadraxis@cpc77293-basf12-2-0-cust699.12-3.cable.virginm.net) (Quit: ChatZilla 0.9.92 [Firefox 48.0/20160726073904])
L2352[21:21:15] *** Vigaro is now known as V
L2353[21:25:21] *** Keridos|away is now known as Keridos
L2354[21:30:13] ⇨ Joins: PrinceCat (~PrinceCat@124-148-56-11.dyn.iinet.net.au)
L2355[21:35:55] <SquareWheel> So, crafting with a water bucket doesn't consume the bucket. Is there a recommended way to override that? Right now I have an item dupe bug.
L2356[21:36:10] <williewillus> not really, no
L2357[21:36:52] <SquareWheel> Hrmm. I could try to find a bucket in the player's inventory, but that wouldn't work for Applied Energistics crafting and such.
L2358[21:40:33] <SquareWheel> diesieben has a possible fix here: http://www.minecraftforge.net/forum/index.php/topic,21837.msg204807.html#msg204807
L2359[21:40:49] ⇦ Quits: PrinceCat (~PrinceCat@124-148-56-11.dyn.iinet.net.au) (Quit: Textual IRC Client: www.textualapp.com)
L2360[21:41:08] ⇨ Joins: Abastro (~Abastro@112.166.128.227)
L2361[21:42:22] <SquareWheel> I don't exactly know what it means, but I'll push buttons in my IDE until something compiles.
L2362[21:47:33] <shadekiller666> does tile entity nbt get saved into the level.dat?
L2363[21:48:23] ⇨ Joins: TTFTCUTS (~ttftcuts@ns3366511.ovh.net)
L2364[21:48:44] <TTFTCUTS> why was I even out of this channel... bouncer probably got me kicked with a name change
L2365[21:48:47] ⇦ Quits: minot (~minot@pool-100-1-168-123.nwrknj.fios.verizon.net) (Ping timeout: 190 seconds)
L2366[21:51:55] <williewillus> shadekiller666: no, it's in the chunk data :P
L2367[21:52:16] <shadekiller666> ok
L2368[21:52:24] <williewillus> level.dat is save-wide metadata (save name, SP player.dat, forge id map, etc.)
L2369[21:53:35] <TTFTCUTS> ok, so question to those of you using IDEA: what do you have to do to get it to recognise a change to the assets during debug? with eclipse I had to refresh the folder in the project tree, but I'm pretty lost about idea.
L2370[21:55:28] <shadekiller666> TTFTCUTS, its called "Reload Changed Classes"
L2371[21:55:43] <williewillus> you have to run in debug mode
L2372[21:55:43] <TTFTCUTS> yeah, I literally just realised, thanks
L2373[21:55:49] <williewillus> then after changing something I hit make all again
L2374[21:55:51] <williewillus> and it reloads
L2375[21:55:51] <TTFTCUTS> already am williewillus, always was
L2376[21:55:54] <TTFTCUTS> yeah
L2377[21:55:54] <shadekiller666> i have mine pinned to an icon next to the icon for saving, i don't remember where it is in the menus though
L2378[21:56:04] <TTFTCUTS> I had that down for code but not for changed assets
L2379[21:56:21] ⇨ Joins: Zorn_Taov (~Greenfox@c-71-231-217-41.hsd1.wa.comcast.net)
L2380[21:56:35] <shadekiller666> i just made it a habit to hit save & reload any time i change anything whilst in debug mode
L2381[21:56:38] ⇨ Joins: howtonotwin (~howtonotw@r75-110-22-15.gvllcmtc01.gnvlnc.ab.dh.suddenlink.net)
L2382[21:56:54] <Zorn_Taov> is there any reason the netty library doesn't get loaded wen you launch minecraft with forge?
L2383[21:56:59] <williewillus> wat
L2384[21:57:00] <williewillus> it is
L2385[21:57:06] <williewillus> the game requires it to work
L2386[21:57:28] <Zorn_Taov> then I am totally confused because my game loads when it's not there, and doesn't when it is x.x
L2387[21:57:33] <Zorn_Taov> gaaaah
L2388[21:57:36] <williewillus> what do you mean "is there"
L2389[21:57:42] <williewillus> all dependency stuff should not need managing
L2390[21:57:45] <williewillus> gradle does it all
L2391[21:57:55] <Zorn_Taov> I have no idea why my launch code isn't working now
L2392[21:58:06] <williewillus> are you making a launcher or what :P
L2393[21:58:11] <Zorn_Taov> this is for making a mc launcher, ye
L2394[21:58:24] <williewillus> oh then in that case gradle doesn't do it all, you do it all ;p
L2395[21:58:31] ⇦ Quits: Kaiyouka (~IdiotNono@c-75-71-231-133.hsd1.co.comcast.net) (Ping timeout: 198 seconds)
L2396[21:58:36] <williewillus> i don't know crap about launcher-making so I guess refer to the vanilla one
L2397[21:58:44] <Zorn_Taov> and I just went from hardcoding the launch code to reading what the version.json and 1.7.10.json says to use
L2398[21:59:12] <Zorn_Taov> I'm so close, but something is missing and I get the "javaw usage" response instead'
L2399[21:59:46] <williewillus> or to multimc
L2400[21:59:51] <Zorn_Taov> I can post the two command lines, they're supposed to be the same
L2401[21:59:56] <Zorn_Taov> blergle
L2402[22:00:13] <williewillus> i doubt most people here know about launcher-making :P
L2403[22:00:32] <Naiten> remind me people, extending BlockContainer to make a TE is an old way, right?
L2404[22:00:35] <williewillus> yes
L2405[22:00:46] <Corosus> ooooo
L2406[22:00:51] * Corosus adjusts that in his code
L2407[22:00:55] <williewillus> just use Block.hasTileEntity(IBlockState) and Block.createTileEntity(World, IBlockState)
L2408[22:00:57] <Naiten> implementing ITileEntityProvider is top-notch, tight?
L2409[22:01:03] <williewillus> no, just use the block methods
L2410[22:01:47] <Naiten> okay, just asking because such method names are overloaded and i didnt knew which exactly to use
L2411[22:02:08] <williewillus> the newest ones that should be used take IBlockState
L2412[22:02:15] <williewillus> iirc the old ones still have meta
L2413[22:03:22] ⇦ Quits: Snapples (uid167569@id-167569.highgate.irccloud.com) (Quit: Connection closed for inactivity)
L2414[22:07:20] <Naiten> welp, that worked, Will. thanks
L2415[22:08:23] <Naiten> another stupid question, what's the difference between listedProperties and unlistedProperties in BlockStateContainer createBlockState()?
L2416[22:10:03] ⇨ Joins: Gil (uid147942@id-147942.brockwell.irccloud.com)
L2417[22:13:04] <blood_> williewillus: you can close that SF ticket, fixed it
L2418[22:13:09] <blood_> same issue as the last
L2419[22:13:18] <blood_> probably running into client only methods with no SideOnly :P
L2420[22:13:58] ⇨ Joins: Unh0ly_Tigg (~Robert@c-76-115-95-185.hsd1.or.comcast.net)
L2421[22:14:23] <williewillus> probably x.x
L2422[22:19:54] <Unh0ly_Tigg> So, I'm working on a side project that should eventually be able to create as many class name mappings as possible for new minecraft versions (including snapshots), and I'm currently working on mapping the HttpUtil class via analyzing the Snooper class, and I'm looking at the inner class names (according to asm), and there are 2 inner classes visible. The first is an anonymous class, which is expected because of the timer
L2423[22:19:54] <Unh0ly_Tigg> task, but there's a second unexpected one, called Entry, which is weird because jd-gui doesn't show it, and it's not got an obfuscated name, there's also no secondary inner class present in the 1.10.2 versions...
L2424[22:20:32] <williewillus> do other decompilers show it?
L2425[22:21:02] <williewillus> (use BCV btw it's a much better gui and you can switch between procyon/ff/krakatau/jdgui/other decompilers)
L2426[22:24:23] <Unh0ly_Tigg> so, in 16w32b, net.minecraft.profiler.Snooper is obfuscated to rj. there only exists rj.class and rj$1.class
L2427[22:25:32] <Unh0ly_Tigg> well
L2428[22:26:32] <Unh0ly_Tigg> apparently, the end of the rj.class bytecode decompiler view says "//the following inner classes couldn't be decompiled: java/util/Map$Entry"...
L2429[22:26:44] <williewillus> what decompiler?
L2430[22:27:03] <williewillus> try with ff or procyon
L2431[22:27:19] <Unh0ly_Tigg> http://i.imgur.com/XulWEYu.png
L2432[22:28:08] <williewillus> try procyon, view->Pane 1->Procyon->Java
L2433[22:28:36] <LexDesktop> ?
L2434[22:28:49] <williewillus> lex: he's poking around in the sdnapshot
L2435[22:29:06] <LexDesktop> ya, protip, achademic project only.
L2436[22:29:14] <LexDesktop> Dont plan on it ever being actually used.
L2437[22:29:31] <Unh0ly_Tigg> figured as much
L2438[22:30:00] <Unh0ly_Tigg> considering that I'm dealing with close to 3k classes in the 16w32b snapshot.
L2439[22:30:01] <LexDesktop> As for your issue, your compiler doesnt know about all of the JRE, so its thinks the Entry class is internal
L2440[22:30:02] <LexDesktop> its not
L2441[22:30:41] <Zorn_Taov> how am I supposed to allow whitespaces in the -classpath flag for launching java programs
L2442[22:30:45] <Unh0ly_Tigg> I'm not compiling, I'm literally just referring to what asm is telling me with ClassNode.innerClasses
L2443[22:30:58] <williewillus> Zorn_Taov: double quote it?
L2444[22:31:05] <LexDesktop> yes
L2445[22:31:12] <LexDesktop> Inner classes isnt just inner classes
L2446[22:31:16] <LexDesktop> its REFERENCED inner classes
L2447[22:31:31] <Zorn_Taov> java gives me the java usage blob if I have "'s
L2448[22:32:01] <Zorn_Taov> like if I have "C:\library files\commons-codec\commons-codec\1.9\commons-codec-1.9.jar"; in the middle of other classpath jars
L2449[22:32:31] <LexDesktop> no
L2450[22:32:36] <LexDesktop> you either wrap the entire param in it
L2451[22:32:37] <LexDesktop> or none
L2452[22:32:47] <Zorn_Taov> lemme try
L2453[22:33:10] <Unh0ly_Tigg> then why is there an inner class reference to java.util.Map.Entry as if it's an inner class of the Snooper class?
L2454[22:33:29] *** williewillus is now known as willieaway
L2455[22:34:03] <LexDesktop> As I just said
L2456[22:34:14] ⇨ Joins: killjoy (~killjoy@cpe-2606-A000-1118-C191-6D86-4B37-E05-3380.dyn6.twc.com)
L2457[22:34:15] <LexDesktop> its not referencing it as if its a inner class of Snooper
L2458[22:34:27] <LexDesktop> It's referencing it as its an Inner class that is referenced somewhere in code.
L2459[22:35:04] *** Keridos is now known as Keridos|away
L2460[22:35:07] ⇦ Quits: Lathanael|Away (~Lathanael@p54960EA5.dip0.t-ipconnect.de) (Ping timeout: 198 seconds)
L2461[22:35:19] <Unh0ly_Tigg> well, that just seems weird that it gets packed in with the references to the classes inner classes (like Util.EnumOS, or Snooper$1)
L2462[22:35:20] ⇨ Joins: McJty (~jorrit@94-225-203-206.access.telenet.be)
L2463[22:36:26] <Unh0ly_Tigg> because in this case, java.util.Map.Entry is being referenced in-code like any other class does.
L2464[22:36:39] <LexDesktop> yes
L2465[22:36:51] <LexDesktop> The compiler decides to add it
L2466[22:36:53] <LexDesktop> why? No clue
L2467[22:36:58] <LexDesktop> But hey it does
L2468[22:37:45] <Unh0ly_Tigg> welp, time to put in exceptions in my project then, to ignore inner class references not stored in supplied jar data...
L2469[22:40:10] ⇦ Quits: foxy (~gravityfo@cpe-23-242-168-28.socal.res.rr.com) (Read error: Connection reset by peer)
L2470[22:41:55] <Zorn_Taov> if the path given to -Djava.library.path= has a space, how should I wrap that in "'s?
L2471[22:42:14] <killjoy> escape it
L2472[22:42:22] <killjoy> \
L2473[22:42:32] ⇨ Joins: Lathanael|Away (~Lathanael@84.150.12.33)
L2474[22:43:00] <Unh0ly_Tigg> just curious, but do you guys have anything that auto generates at least some of the mappings for new minecraft versions, lex?
L2475[22:43:30] ⇦ Quits: OnyxDarkKnight (~OnyxDarkK@wlan-t-174-31-nat.CSUChico.EDU) (Ping timeout: 182 seconds)
L2476[22:43:49] <LexDesktop> yes we have a few of the things.
L2477[22:46:00] <LexDesktop> "-Djava.library.path=Something With Spaces"
L2478[22:46:08] <LexDesktop> The command line is stright forward.
L2479[22:46:12] <Unh0ly_Tigg> what I'd really like to eventually do, is also take in a previous minecraft version and its mcp mappings and be able to use that to generate methods of finding mappings for as much of a new version as possible.
L2480[22:46:20] <LexDesktop> Anything you want to have as 'one parameter' needs to be in quotes
L2481[22:46:57] ⇦ Quits: Zorn_Taov (~Greenfox@c-71-231-217-41.hsd1.wa.comcast.net) (Ping timeout: 182 seconds)
L2482[22:47:35] <Unh0ly_Tigg> hopefully they saw that before their connection timed out...
L2483[22:48:25] ⇨ Joins: AnrDaemon_ (~ZNC@darkdragon-nln.starlink.ru)
L2484[22:49:32] ⇨ Joins: ntwitch (~ntwitch@69-92-221-194.cpe.cableone.net)
L2485[22:50:26] ⇦ Quits: ntwitch (~ntwitch@69-92-221-194.cpe.cableone.net) (Quit: ntwitch)
L2486[22:51:27] ⇦ Quits: AnrDaemon (~ZNC@ppp95-165-144-62.pppoe.spdop.ru) (Ping timeout: 190 seconds)
L2487[22:51:37] *** AnrDaemon_ is now known as AnrDaemon
L2488[22:56:55] ⇦ Quits: PBlock96 (~PBlock96@64.53.13.215) (Ping timeout: 182 seconds)
L2489[23:03:07] <TTFTCUTS> ok, so how exactly are you meant to translate strings for stuff in 1.10? I'm looking all over and ending up back at I18n which is deprecated
L2490[23:03:18] <TTFTCUTS> and getting thoroughly confused in the process
L2491[23:03:56] <Corosus> i think you still use it if you totally need to translate something server side
L2492[23:04:43] <LexDesktop> Protip
L2493[23:04:50] <LexDesktop> YOU DONT need to translate things on the server side
L2494[23:04:59] <LexDesktop> Who is gunna fucking see them?
L2495[23:05:07] <TTFTCUTS> I'm trying to work out how to do it for a custom tooltip
L2496[23:05:13] <TTFTCUTS> I'm not sure how I should be doing it clientside
L2497[23:05:14] <LexDesktop> Thats client side
L2498[23:05:18] <TTFTCUTS> yes
L2499[23:05:21] <Corosus> some fancy server side service that sends to some web server maybe
L2500[23:05:24] <LexDesktop> which is where the client side I18N comes in
L2501[23:05:48] <Corosus> i recal ichun had a reason, maybe he worked around it
L2502[23:06:04] <TTFTCUTS> ah, format
L2503[23:06:23] <LexDesktop> If they send to some web server
L2504[23:06:28] <LexDesktop> then the web server should translate
L2505[23:06:33] <Corosus> mmmm true that
L2506[23:06:44] <LexDesktop> Seriously the only time you need human readable things, or translated things is when displaying them to the user
L2507[23:06:55] <LexDesktop> If you start translating log entries, I WILL shank a bitch.
L2508[23:06:58] <Corosus> lang files are easy enough to parse too
L2509[23:07:11] <TTFTCUTS> thanks Lex, there being multiples was what got me
L2510[23:07:12] <LexDesktop> Yes, but dont do it on the server.
L2511[23:07:14] <TTFTCUTS> it's all fine now
L2512[23:08:45] <killjoy> Someone just tried to recover my curse account.
L2513[23:09:28] ⇦ Quits: raoulvdberge (uid95673@id-95673.richmond.irccloud.com) (Quit: Connection closed for inactivity)
L2514[23:17:23] <mallrat208> Curse did it themselves?
L2515[23:17:42] <killjoy> unless it happened to anyone else, it's unlikely
L2516[23:17:57] <killjoy> It's a good thing I have 2 step with google
L2517[23:18:33] <killjoy> At least it wasn't the message you get when you change your password.
L2518[23:18:39] <killjoy> or worse, main email
L2519[23:24:07] ⇦ Quits: AnrDaemon (~ZNC@darkdragon-nln.starlink.ru) (Quit: q)
L2520[23:24:29] ⇦ Quits: KnightMiner (~KnightMin@adsl-75-5-70-237.dsl.emhril.sbcglobal.net) (Ping timeout: 186 seconds)
L2521[23:25:23] <Lord_Ralex> killjoy, " Yes, you'll be getting an email explaining it soon." is a reply i saw, and since it's not just you getting it
L2522[23:25:31] ⇨ Joins: AnrDaemon (~ZNC@darkdragon-nln.starlink.ru)
L2523[23:25:44] <killjoy> I feel like this has happened before.
L2524[23:25:50] <luacs1998> wait what's going on
L2525[23:27:03] <luacs1998> killjoy, well i also got an email saying someoone requested to change my curse password
L2526[23:28:50] ⇦ Quits: Doty1154 (~Doty1154@c-73-189-164-179.hsd1.ca.comcast.net) (Ping timeout: 384 seconds)
L2527[23:29:11] ⇨ Joins: Doty1154 (~Doty1154@46.246.124.44)
L2528[23:37:22] <tterrag|away> https://twitter.com/ZeldoKavira/status/765039132317921280
L2529[23:37:28] *** tterrag|away is now known as tterrag
L2530[23:37:39] *** cpw is now known as cpw|out
L2531[23:37:57] <Naiten> That feeling you get after converting your 'rotateByYAxis' to 'rotateByAzimuthPitchRoll'. http://i.imgur.com/iOiCw6z.png http://i.imgur.com/YEcN42T.png
L2532[23:38:10] <Naiten> "quaternions"
L2533[23:47:28] ⇦ Quits: McJty (~jorrit@94-225-203-206.access.telenet.be) (Quit: Ik ga weg)
L2534[23:49:40] ⇨ Joins: McJty (~jorrit@94-225-203-206.access.telenet.be)
L2535[23:56:01] ⇨ Joins: Kaiyouka (~IdiotNono@c-75-71-231-133.hsd1.co.comcast.net)
L2536[23:59:14] ⇦ Quits: electrolitic (~electroli@104-184-56-125.lightspeed.cicril.sbcglobal.net) (Quit: Leaving)
<<Prev Next>> Scroll to Top