VillageCraft

VillageCraft Boards => Off-Topic Discussion => Topic started by: luisc99 on 25 January 2018, 05:43:54 PM

Title: 78 lines, and counting
Post by: luisc99 on 25 January 2018, 05:43:54 PM
Because of Mojang's weird coding, villager farms are broken by disabling mobGriefing, which we use on VCV to stop creepers from breaking blocks. I said rather than trying to get some weird convoluted method of keeping mobGriefing on without creepers breaking blocks, writing a plugin to do it would probably be much easier and quicker than using something like workdguard. I asked for a random number, and @Light_Blue_Man said 78, so I promised I'd do the plugin in 78 lines.

With that being said, the plugin took only 31 lines. I padded it out a bit with comments on stuff and nicer formatting, but I was still too short, so I stuck a nyan cat on the bottom. It also took me about 5 mins. Plus a little longer finding a nice ascii picture for the bottom to fill the rest of the lines

Proof of the plugin code: https://gist.github.com/luisc99/ae69742675943c59fb2faedcc69b5149

(This is now effective on VCV. Let me know if there's any problems.)
Title: Re: 78 lines, and counting
Post by: Akomine on 25 January 2018, 10:47:35 PM
lmao, excellent. Perfect, even.
Title: Re: 78 lines, and counting
Post by: PengBunny on 25 January 2018, 11:52:25 PM
hey look i can still understand java