Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ltp> Hey aaron!
- <ltp> I'm testing or cloud on iPhone
- <simon816> ok, so you made the commit on master. git checkout master; git log -n 1 <-- show me the last commit
- <ltp> irccloud*
- <Zidane> How is Quantum going ltp?
- <Tzk> ^ Quantum as in Quantum API?
- <Zidane> yes
- <Tzk> ltp = link the player?
- <ltp> Zidane: bit of a halt for now. I have a more important matter to attend to right now.
- <Zidane> Oh?
- <ltp> Tzk: link the programmer
- <HassanS6000> $ git checkout master; git log -n 1
- <HassanS6000> Already on 'master'
- <HassanS6000> Your branch is behind 'origin/master' by 1 commit, and can be fast-forwarded.
- <HassanS6000> (use "git pull" to update your local branch)
- <HassanS6000> commit e247d0fd4ffbe186cf732178d068f076bdab0f1e
- <HassanS6000> Author: bloodshot <jdroque@gmail.com>
- <HassanS6000> Date: Tue Aug 18 18:33:10 2015 -0400
- <HassanS6000> Fix wrong mixin signatures in MixinWorldServer.
- <Zidane> HassanS6000, ...pastie
- * Zirconium has quit (Quit: Zirconium)
- <HassanS6000> Zidane, :P
- <Tzk> aw, sorry ltp. read your mc forums post waaaay back and didn't remember correctly ;)
- <ltp> I updated that old post, you guys should read it
- <Zidane> link?
- <Tzk> ^
- <ltp> One sec
- <simon816> right, so git checkout IgniteableData;git log -n 1
- <HassanS6000> http://pastebin.com/sSNa3uyR
- <ltp> http://bit.ly/1I9Ev3W
- <HassanS6000> simon816, now what
- <simon816> git reset master --soft
- <simon816> git commit -m "IgniteableData blah blah blah"
- <simon816> git push origin IgniteableData -f
- <HassanS6000> simon816, I am on locally cloned branch IgniteableData
- <HassanS6000> and master does not have the igniteabledata stuff
- <simon816> right, it shouldn't do
- <simon816> only the branch IgniteableData should
- <HassanS6000> http://imgur.com/fsjdO2v
- <HassanS6000> master isn't there.
- <simon816> ok, you have the upstream/master as the spongepowered remote?
- <HassanS6000> yes
- <simon816> git reset upstream/master --soft
- <HassanS6000> now whut
- * DDoS is now known as DDoS|Blanking
- <simon816> as above
- <ltp> You guys are reading the post, right Tzk, Zidane ?
- <Zidane> yes
- <Tzk> yes
- <Aaron1011> yes
- <Spongie> [SpongeCommon] hsyyid synchronize PR #136: Implementation of IgniteableData (http://git.io/vsvyp)
- <ltp> I
- <ltp> K*
- <Tzk> ^ looks good, the PR
- <simon816> excellent work, now the same for FlyingData
- <ltp> I must say I get confused when I look at a minecraft or forge class and it contains "Bake(d)" or bake()
- <HassanS6000> thanks simon816
- <simon816> good practice for me remembering how to git without seeing your screen
- <Spongie> [SpongeCommon] hsyyid synchronize PR #139: Implementation of FlyingData (http://git.io/vsIBz)
- <HassanS6000> Haha yeah :D thanks a bunch
- <Zidane> Indeed simon816 , good practice
- <ltp> Can I assume you all finished reading the post by now?
- <Zidane> I like doing git exercises
- <wizjany> learning to use the git cli was probably one of the most empowering things about learning to program
- <Zidane> Yes I have ltp
- * Tzk is stunned seeing simon $gitting blind
- <Tzk> :D
- <wizjany> git is so incredibly powerful in what you can do
- <Zidane> Tzk, I do too lol
- <Zidane> I have to tell Dockter what to do
- <HassanS6000> blood_, tada with help from simon816 I fixed it :D
- <ltp> Anything you want to say about the updates or nah?
- <Tzk> lol
- <Dockter> come again?
- <HassanS6000> Or should I really say simon816 fixed it :P
- <wizjany> shots fired
- <Tzk> ltp: i don't get how you develop an API but will drop support for an older version when the next version is released
- <Tzk> shouldn't an api adress long time stability and compatibility?
- <ltp> That I'm not so sure about anymore
- <simon816> ok so on your master branch, you need to reset hard to PassengerData due to your PR is on master. From there, the branch PassengerData is not needed as it was temporary
- <ltp> I now see myself porting this Api to every version of minecraft, including snapshots, except alpha and beta versions
- <Tzk> yes, basically ;)
- <ltp> So essentially, if I do that, I will update the post and keep support for every version of the api
- <ltp> I believe a backwards and forwards compatible API would be beneficial now as well
- <Tzk> i'd try to preserve backwards compatibility, forwards... well. isn't needed that much
- <Tzk> forwards would require backporting new features, wouldn't do that tbh
- * Tzk finally uncrosses his fingers
- <Tzk> ^ almost forgot :'D
- <Dockter> Zidane, https://code.google.com/p/tortoisegit/
- <ltp> Really to preserve forward compatibility I just update every previous version with the latest OR catch every ClassDefNotFoundException.
- <wizjany> wat
- <ltp> If you run a method that does not exist in a nonexistent class, that exception is thrown
- <Mumfrey> ...
- <Tzk> well... that wouldn't crach MC but will break all newer plugins
- <Zidane> Not a bad idea ltp , you should surround all the calls in a try catch
- <Zidane> Would prevent issues
- <ltp> Oops I mean noclassdeffounderror
- <Mumfrey> ...
- <Tzk> mumfreys reaction is priceless
- <Tzk> :p
- <Zidane> ltp catch Exception and it won't matter
- <zml> nah, you'd have to catch Throwable
- <ltp> But by default the init and run method of a Mod will indeed be wrapped in a multicatch statement
- <ltp> zml: that is bad practice
- <zml> no worse than catching Exception :)
- <Mumfrey> http://media2.giphy.com/media/11TT5yMvJ3btU4/giphy.gif
- <ltp> zml: just as bad
- <evilmidget38> Mumfrey: if you tell him we won't be able to enjoy these as much.
- <Mumfrey> touché
- <ltp> The best approach to keep things from breaking within a mod is not only catching all exceptions related to methods, to to create a pseudo interface
- <ltp> But*
- <Zidane> ltp example?
- <Zidane> Not sure what you mean.
- <Mumfrey> but using a synthetic pseudo-interface would increase your chances of ending up with an intransigent API cross-dependency lock scenario
- <ltp> Basically a bunch of class manipulation shenanigans to ensure each method that doesn't exist that is recognized by the API becomes existent
- <ltp> Or at least appears existent
- <Aaron1011> you'd have to transitively inflect the typeclass of the type-bounded pseudo-enum
- <ltp> I'm not a physicist! What are these big words!?
- <lukegb> But then how would you implement monoids in the category of endofuctors?
- <lukegb> *endofunctors
- <ltp> jk
- * bfoxwell has quit (Remote host closed the connection)
- * bfoxwell (~Foxwell@c-76-110-182-132.hsd1.fl.comcast.net) has joined
- <Zidane> I just realized that the word "Pro" is in "Programmer"
- <lukegb> As is "gram"
- <lukegb> and "me"
- <Aaron1011> and "er"
- <Zidane> and "ram"
- <simon816> so all programmers are pro at grammer, I mean grammar
- <Aaron1011> and "ogr"
- <lukegb> And "prog"
- <Zidane> foul!
- <Aaron1011> and "ammer"
- <Zidane> Yourrrrr out Aaron1011
- <Aaron1011> nooooooo
- <ltp> You know essentially, since each block class is a singleton, all I need to do is create Classes during bootstrap with the exact variables needed to simulate the class I need and then register an instance of that class to the block registry
- <lukegb> and "rog", republic of gamers confirmed worst hardware
- <ryantheleach> Or are they just pro-grammar. Couldn't imagine one that hated grammar.
- <lukegb> I hate grammars. Die, BNF, die.
- <zml> i grammar hate
- <Zidane> How would you simulate Minecraft's singletons ltp?
- <evilmidget38> lukegb: You've been hurt. Try antlr.
- * [ltp] (uid107952@id-107952.highgate.irccloud.com): Andy
- * [ltp] #NovaAPI #spongedev #sponge #minecraftforge #computercraft @#quantumapi #mcp-modding #mcp
- * [ltp] nova.esper.net :A distant star. (Seattle, WA, USA)
- * [ltp] is logged in as ltp
- * [ltp] End of WHOIS list.
- <lukegb> Do I have to cut them off a deer before or after stabbing myself with them
- <ltp> One way to simulate those singletons I just told you how
- <evilmidget38> your choice. Flexibility is key
- <Zidane> At one time I was hurt by a midget. After that day, I deemed him evil.
- <evilmidget38> Zidane: Then it happened 38 more times?
- <Zidane> Uh, yes?
- <zml> antlr has shit docs tho
- <Zidane> You know things...
- <ltp> But if I want a more generic and consistent result, xml files serving as an outline for classes can be turned into class instances, then loaded by the jvm.
- <Mumfrey> ...
- <ryantheleach> Is there a library for that?
- <zml> you know what's better than java? writing XML to generate java
- <evilmidget38> zml: Yeah, I ended up buying the book. The book is by the person who made antlr, so I feel like there's a conflict on interest there.
- <zml> might even use a templating library to autogenerate the XML
- <ltp> zml: 100%
- <ltp> lol
- <zml> evilmidget38: yeah, I need to ILL it at some point
- <Zidane> Very interesting ltp
- <Zidane> Would the API provide the XML?
- <ltp> Wow, I'm actually going to find a way to convert xml into Java classes that can be loaded at runtime... That sounds funny
- <ltp> Zidane: Java.xml* yes, everything would provide the XML
- <ltp> oh you mean...
- <ltp> Then in that case yes!
- <ryantheleach> Oh! You could use XSLT instead of adapter classes too, in order to maintain your forwards compatibility
- <ryantheleach> *XLST
- <Zidane> So you would provide the Block definitions from XML?
- <kenzierocks> i don't feel like reading backlog but make sure you compile all of your xml with a program running in asm.js on rihno in a node.js JVM
- <ltp> Imagine how portable Java would be as well if I made this a real thing... A quick download check for each xml file, download if necessary, and load it like nothing happened! Instant Java! (Haha puns)
- <evilmidget38> How would that make java more portable?
- <zml> don't have to deal with bytecode versions
- <Zidane> Java seems quite portable already
- <Mumfrey> how many chromosomes do you have?
- <ltp> Zidane: every implementation of the Api would have the same Block class
- <zml> could have it generate like different languages
- <Zidane> Then how would old API versions have new things new API versions bring about?
- <ltp> Just download the new xml file for the new class
- <wizjany> >asm.js
- <wizjany> is that what i think it is
- <wizjany> wtf
- <evilmidget38> wizjany: Compile your native code to javascript!
- <simon816> asm.js is the future https://www.destroyallsoftware.com/talks/the-birth-and-death-of-javascript
- <ryantheleach> wat.
- * Rain336 has quit (Ping timeout: 206 seconds)
- <kenzierocks> wizjany: asm.js suprises you more than the javascript based JVM?
- * DeltaBravo (DeltaBravo@nc-71-50-174-180.dhcp.embarqhsd.net) has joined
- <kenzierocks> k
- <ltp> I could make things simpler and copy the most recent minecraft versions's api jar, load the api, then load the downloaded API afterwards to ensure only classes I don't have loaded will work. Every api will use the same method bindings and calls so it is safe to do so
- * kenzierocks out
- <Zidane> You have the Minecraft API ltp?
- <Zidane> Could I see it?
- <ltp> Essentially, merge the new with the old jar
- <ltp> No, lol I don't have the minecraft API
- <kashike> https://github.com/QuantumTheoryMC/QuantumAPI/tree/master/Client%20API/src/org/quantumapi
- <kashike> there's that
- <Zidane> <ltp> I could make things simpler and copy the most recent minecraft versions's api jar
- <Zidane> You just said the API jar
- <Zidane> Unless you meant yours
- <ltp> When I refer to API I mean my quantum API
- <ltp> Though the plans for the Minecraft API are met by my API coincidentally
- * kenzierocks has quit (Ping timeout: 206 seconds)
- <ltp> But yeah essentially you download my API for the latest MC version and merge those classes with the API you are using
- <ltp> ~laziness
- <ltp> Ijdj
- <Aaron1011> ltp: How does the merging work?
- <ltp> Copy the classes of the old and new jar into one jar
- <ltp> Then merge methods from the new jar with the old one
- <Aaron1011> How does the method merging work?
- <ltp> I can cheaply decompile classes , insert the new methods, recompile them, and put them in a new jar
- <Mumfrey> no you can't
- <Aaron1011> I mean, how do you insert the new methods?
- <ltp> Yes, I can
- <ltp> Regex
- <Mumfrey> ...
- <Zidane> ltp that sounds like some advanced bytecode engineering
- <ltp> Yeah, but have you heard of strange brew Java virus? It's very simple to do this stuff
- <Mumfrey> ....
- <Aaron1011> wut
- <Zidane> Well if you brew your Java from a bad source...it could have a virus.
- <evilmidget38> ltp: You've got a decompiler that can always generate a compileable output? How much are you selling it for?
- <Mumfrey> ^
- <ltp> What is MCP?
- <ltp> 😊
- <Mumfrey> what?
- <Mumfrey> MCP isn't a decompiler
- <kashike> The Mod Coder Pack.
- <Mumfrey> kashike: that was his jeopardy-style answer to evilmidget
- <Aaron1011> ltp: What do you do if the regex doesn't work?
- <ltp> MCP is a minecraft decompiler and deobfuscator that can always generate a compilable output
- <Mumfrey> no it isn't
- <Mumfrey> it really, really isn't
- <ltp> No, but it does do those things and vice versa
- <evilmidget38> ltp: You've got no idea what goes into MCP
- <Mumfrey> yes, but it's not magic
- <Mumfrey> it takes a LOT of work from a number of people for each new version
- <Mumfrey> saying "it's a decompiler" like it's some kind of automatic tool is just plain ignorant and disrespectful
- <ltp> So far, every class I've decompiler recompiles
- <wizjany> every class mcp has decompiled you mean
- <ltp> No
- <Zidane> What decompiler do you use ltp?
- * kenzierocks (~kenzieroc@216-219-125-1.expertcity.com) has joined
- <ltp> http://jd.benow.ca/
- <HassanS6000> Woah Mumfrey has returned?
- <wizjany> .-.
- <evilmidget38> ltp: That won't decompile minecraft successfully
- <evilmidget38> Tried it
- <wizjany> ^
- <Aaron1011> ltp: How do you run jd-gui from within Quantum API?
- <ltp> I'm not going to
- <evilmidget38> When Mojang began overriding methods within an enum declaration it broke fernflower and we(Bukkit) looked for any alternatives. In the end we just didn't decompile a couple of classes.
- <mbaxter> evilmidget38: wrong! :3
- <evilmidget38> mbaxter: wat
- <mbaxter> it decompiled fine
- <mbaxter> Well... 'fine'
- <evilmidget38> mbaxter: It sure wouldn't recompile though
- <ltp> Also I'm not going to decompile, I'm going to inject bytecode into the class file
- <evilmidget38> that code was completely invalid
- <evilmidget38> ltp: Okay, that's not what you said earlier
- <mbaxter> Yes
- <wizjany> injecting bytecode has nothing to do with compilers
- <ltp> Same way the strangebrew virus does
- <wizjany> that's unrelated
- <Mumfrey> injecting bytecode is clearly impossible
- <wizjany> lol
- <ltp> evilmidget38: earlier I didn't have this idea
- <evilmidget38> lol
- <ltp> Mumfrey: obviously not
- <kenzierocks> heh, it's this guy again
- * kenzierocks grabs popcorn
- <Mumfrey> anyone who could make a framework for bytecode engineering at that level would be some kind of wizard
- <kashike> pass me some, kenzierocks
- <wizjany> Mumfrey, no way
- <Mumfrey> aww :(
- <wizjany> HARRY WAS A PROGRAMMER?
- <Mumfrey> worth a try :)
- <blood_> I know ChickenBones is a bytecode wizard =) pretty sure it is his RL job though
- * kenzierocks passes a single kernel to kashike
- * kenzierocks kernel panics
- <blood_> and lex has fun yelling at him =)
- <Zidane> Oh chicken bones...
- <wizjany> lol
- <Mumfrey> one might almost say that injecting bytecode that way could be considered "mixing it in" to the other class
- <kashike> I see what you did there
- <kenzierocks> JOKES
- <Aaron1011> Too bad Sponge doesn't take advantage of that...
- <Aaron1011> would be great if it did
- <Mumfrey> yeah, we should do something like that
- <lukegb> I think Mumfrey has issues mixing in his jokes with his normal chatter
- <lukegb> I don't think he likes to mingle with us Sponge common folk
- <Zidane> ltp, what if you mixed in the new API methods into the old API class?
- <Zidane> Using regex
- <DeltaBravo> he laughs at his own jokes, fwiw
- <ltp> Zidane: that isn't possible with bytecode, but decompiler I would look for the last \n char and insert the method there
- <Zidane> ltp what if there is a duplicate?
- <Mumfrey> so, after the closing brace of the class then...
- <evilmidget38> ^
- <ltp> With a superseding closing brace
- <Zidane> You mean remove the brace, put your stuff here, put a new brace?
- <Mumfrey> if one were to do something like this, I think it might feasibly use an infrastructure something along these lines http://eq2.co.uk/minecraft/mixin/mixin_transformer_chain_obf.png
- <Zidane> That is brilliant.
- <Mumfrey> pure speculation of course
- <evilmidget38> Mumfrey: wow, where'd you find that?
- <ltp> Zidane: updated methods are merged into the old ones
- <Zidane> but how are they "merged"
- <Zidane> I'm not understanding that part
- <evilmidget38> Zidane: add it to the end of the method and run a dead code analysis tool :D
- <ltp> Delete the method in the old and replace it
- <Zidane> Thats not a merge though :S
- <Zidane> That is a replace
- <ltp> Well, replace then
- <ltp> Merging methods can be dangerous
- <kenzierocks> merge /all/ the LVTs
- <Mumfrey> kenzierocks, don't talk to me about LVTs!
- <evilmidget38> Mumfrey: You know a thing or two about bytecode?
- <Mumfrey> I still get the nightmarse
- <Mumfrey> *mares
- <Mumfrey> evilmidget38: I read some stuff about it once
- <evilmidget38> Mumfrey: You should check out https://github.com/SpongePowered/Mixin some time. Pretty fancy stuff.
- <Mumfrey> thanks, I'll do that
- <Zidane> I just checked it evilmidget38 , some quack works on it.
- <Mumfrey> is there by any chance some extensive and lavishly-decorated documentation to go with it?
- <Zidane> No but there are pretty squares and circles
- <evilmidget38> Mumfrey: it has graphs.
- <evilmidget38> some tool made a bunch of graphs
- <Mumfrey> yay graphs
- <Mumfrey> ROFL
- <ltp> Ahh finally found it
- <Aaron1011> ltp: I'd recommend checking it out, if you have some spare time
- <ltp> http://spth.virii.lu/cb4/Brew/DOC/prologue.html
- <ltp> This explains injection and understanding of Java bytecode and class files
- <ltp> Aaron1011: what should I check out?
- <Mumfrey> ltp: we already established that bytecode injection is impossible
- <Aaron1011> That project people were talking about
- <ltp> What project?
- <Aaron1011> Mixin, I think
- <Aaron1011> https://github.com/SpongePowered/Mixin
- * jomo has quit (Quit: jomo)
- <Aaron1011> but I don't know if bytecode injection works
- <Zidane> Just because that exists doesn't mean it works lol
- <ltp> http://spth.virii.lu/cb4/Brew/DOC/start.html
- <Aaron1011> yeah, I haven't looked at it
- <Aaron1011> not sure if it works
- <ltp> Look through the chapters
- <ltp> At some point, bytecode injection is described in depth
- <Aaron1011> ltp: Does it work, though?
- <Aaron1011> I should test it out to be sure
- <Mumfrey> the stuff mentioned in that article hasn't been relevant for about 15 years
- <ltp> It should work
- <ltp> Even if it is outdated
- <simon816> major_version 0x002D
- <ltp> The thing that has changed is bytecode verification
- <simon816> lol that's JDK 1.1
- <ltp> So essentially just make another JAR
- <wizjany> if only there was some way to make it ignore the verification
- <Zidane> ltp, when you get back to work on it...how close are you to release builds of Quantum API?
- <Zidane> I see you are at 91.1%
- <Zidane> Sorry
- <Zidane> 90.1%
- <Zidane> My apologies
- <evilmidget38> Zidane: Quantum is at 90.1% completion with one person working on it. What are guys so busy doing with sponge?
- <Zidane> Dunno, I've been seeking to drop this project and was looking elsewhere.
- <ltp> When I get the mod loader working, which is a pain because eclipse doesn't work with agents correctly
- <HassanS6000> blood_, what did you make the max food level? 10 or 20?
- <blood_> max? should be whatever
- <blood_> default is 20
- <ltp> Also, that completion percent is for the current target build, 1.0 alpha
- <Zidane> Right ltp
- <evilmidget38> blood_: What percent done is sponge?
- <HassanS6000> blood_, when I set it to 20, I got an error.
- <blood_> jesus, dont even know
- <HassanS6000> It filled up the player's hunger bar
- <Zidane> evilmidget38, less than 90.1%
- <HassanS6000> But it threw an error with FoodStats
- <blood_> more than half but definitely not 90% =)
- <HassanS6000> ^
- <ltp> Lol, evilmidget38 , are you trying to say sponge is lazy compared to me? 😂
- <evilmidget38> Zidane: wow, you guys just must be really lazy or something. Probably that Mumfrey guy's fault, he seems like he's holding everyone back.
- <blood_> HassanS6000: paste me code and error
- * GUIpsp (~GUIpsp@c-73-164-116-168.hsd1.mn.comcast.net) has joined
- <HassanS6000> blood_, let me first try with 10 and see what happens.
- <HassanS6000> blood_, here's the error
- <HassanS6000> http://pastebin.com/XPEjVz3G
- <HassanS6000> Has nothing to do with what number you specify.
- <Zidane> !gm func_75119_b
- <ltp> Gtg I'm going to watch s8 of Doctor Who
- <blood_> rofl client method
- <blood_> clietn side i mean
- <Zidane> Tsk blood_
- <blood_> why why
- <evilmidget38> lol
- <blood_> it shouldnt be
- <HassanS6000> lol
- <HassanS6000> That's funny
- <blood_> you can getSaturationLevel on server
- <blood_> but set? NOPE
- <blood_> ok i can work around this
- <wizjany> looks like sponge is being held up by those nimrods over at forge
- <ltp> Doctor Who fans ping me!
- <blood_> ill just use the var instead of method
- <wizjany> you should really just drop them and implement on quantum instead
- <kashike> blood_: yeah, I don't understand why so much stuff is Client only with forge :P
- <kashike> (@SideOnly)
- <ltp> Season 9 hype lol k bye
- <blood_> kashike: it is correct most of the time but there are a bunch of cases where it is wrong
- <HassanS6000> blood_, xD nice fix
- * Greenphlem (uid22276@id-22276.tooting.irccloud.com) has joined
- * PaleOff has quit (Ping timeout: 378 seconds)
- <Spongie> [SpongeCommon] bloodmc pushed 1 commit to master: http://git.io/vst3Z
- <Spongie> SpongeCommon/master 33dc0b93: Fix setSaturationLevel failing on client-side with Sponge. (by bloodshot)
- * jakimfett has quit (Read error: Connection reset by peer)
- <Spongie> [Sponge] bloodmc pushed 1 commit to master: http://git.io/vst3z
- <Spongie> Sponge/master e2b4a082: Update SpongeCommon ref. (by bloodshot)
- <blood_> there , should work
- <simon816> I must be getting de ja vu https://github.com/SpongePowered/SpongeCommon/commit/e8ef1295
- <blood_> don't need AT for that
- <blood_> didn't realize there was a ticket
- <blood_> oops
- <simon816> that was for the last data api implementation
- <kashike> hehe
- <blood_> ah fooled me
- * Sonar|Away has quit (Remote host closed the connection)
- <blood_> i guess that explains why it is public =)
- <simon816> yep
- * Mumfrey is now known as mumfrey
- * TheYeti|AFK is now known as TheYeti
- <Spongie> [SpongeCommon] bloodmc assigned PR #85: [WIP] Added implementation of additional world management API's (http://git.io/vqGQD)
- * jakimfett (~overnet@c-73-180-36-141.hsd1.or.comcast.net) has joined
- <HassanS6000> xD
- * PieGuy128 has quit (Quit: Leaving)
- * MarkehMe (~MarkehMe@202-161-84-186.tpgi.com.au) has joined
- * DeltaBravo has quit ()
- * Cervator (~Thunderbi@2601:4c1:4002:9927:3490:8b0:7fb4:8c07) has joined
- <Spongie> [SpongeAPI] JBYoshi synchronize PR #772: Support for the resource pack implementation (http://git.io/vmjtO)
- <Spongie> [SpongeCommon] JBYoshi synchronize PR #100: Implement resource packs. (http://git.io/vmjyJ)
- <blood_> kashike around?
- <kashike> blood_: yup
- <Dockter> Anyone remember in the server where the code is that if a player is standing in a collision box that it damages the player?
- * Zirconium (~robert@cpe-71-70-179-147.nc.res.rr.com) has joined
- <HassanS6000> Dockter, it's in the entity iirc
- <HassanS6000> or whatever the collision box belongs to..
- <HassanS6000> wait no. I misread, you meant what actually damages the player
- <HassanS6000> Sorry, idk
- * kashike does a dance
- <kashike> Showing 28 changed files with 894 additions and 107 deletions
- * HassanS6000 dances too
- * HassanS6000 wants to know why he's dancing
- <kashike> Dockter: for blocks? Entity#doBlockCollisions
- * kenzierocks has quit (Ping timeout: 378 seconds)
- * AlphaModder (~chatzilla@2602:306:37f4:f490:cd9c:1ed7:97b0:4ab9) has joined
- <blood_> kashike: https://gist.github.com/bloodmc/a8a6cf377a84a414dd63
- <kashike> blood_: I assume there is an `unloadWorld` method?
- <blood_> yup
- <kashike> looks good
- <kashike> blood_: line 10
- * AlphaModder has quit (Client Quit)
- <kashike> extra space in the <li>
- <kashike> at the end
- <blood_> k
- * AlphaModder (~chatzilla@2602:306:37f4:f490:cd9c:1ed7:97b0:4ab9) has joined
- <Spongie> [SpongeCommon] gabizou pushed 2 commits to feature/data: http://git.io/vst0Y
- <Spongie> SpongeCommon/feature/data d0035180: Start multi-registration for ValueProcessors. This may change. (by Gabriel Harris-Rouquette)
- <Spongie> [SpongeCommon] gabizou synchronize PR #132: [WIP] Multi Processor Registration (http://git.io/v3AEE)
- <Spongie> SpongeCommon/feature/data dc1cafb7: Forcibly abstract registerStuff for data manipulators. (by Gabriel Harris-Rouquette)
- <HassanS6000> blood_, is there a way to make a lightning strike?
- <blood_> dont believe so
- <blood_> not from API
- <kashike> HassanS6000: spawn a EntityTypes.LIGHTNING
- <kashike> most likely
- <blood_> yea that should work
- <HassanS6000> Thanks kashike
- <HassanS6000> How to create an entity?
- <HassanS6000> Do I need an entitybuilder or something
- <HassanS6000> The method spawnEntity(Entity) in the type EntityUniverse is not applicable for the arguments (EntityType)
- <kashike> https://docs.spongepowered.org/en/plugin/basics/entities/spawning.html
- <kashike> :)
- <HassanS6000> thanks :D
- <Dockter> kashike, can't seem to locate it, btw, this is specifically for 1.7.10
- <kashike> Dockter: 1.7.10 is a year old, move on
- <kashike> :p
- <Dockter> kashike, k, now that the stupid comments are out of the way,
- <gabizou> ok, time to start merging feature/data into master
- <gabizou> because reasons
- * Zirconium has quit (Quit: Zirconium)
- <kashike> gabizou: woooo
- * TheYeti is now known as TheYeti|AFK
- * Zirconium (~robert@cpe-71-70-179-147.nc.res.rr.com) has joined
- * kenzierocks (~kenzieroc@ip98-182-24-67.sb.sd.cox.net) has joined
- <kashike> Dockter: the method exists in 1.7.10 as well
- <Spongie> [SpongeAPI] gabizou pushed 1 commit to feature/data: http://git.io/vstu1
- <Spongie> SpongeAPI/feature/data 58071c21: Several minor changes to Data API. (by Gabriel Harris-Rouquette)
- <kashike> Entity -> protected void doBlockCollisions()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement