IRC.Esper.net - Minecraft IRC Logging service - Channel #minecraftforge

If you want your channel logged here, contact KHobbits on #lain @ Esper.
Other channels Current Log Tail Older Stats

[00:00:09]
[00:00:09] #minecraftforge - Thu Mar 23 00:00:09 2017
[00:00:09] ---
[00:00:19] * Topic is ':Downloads: http://files.minecraftforge.net Documentation: http://mcforge.rtfd.io Rules: http://goo.gl/T2Lz3F'
[00:00:19] * Set by LexLap2 on Sun Dec 04 17:30:28
[00:03:11] * Ashindigo_ (uid202308@2604:8300:100:200b:6667:7:3:1644) Quit (Quit: Connection closed for inactivity)
[00:11:36] * immibis (~chatzilla@125-237-216-38.jetstream.xtra.co.nz) Quit (Ping timeout: 201 seconds)
[00:14:02] * gigaherz|work (~gigaherz@213.red-83-55-14.dynamicip.rima-tde.net) has joined #minecraftforge
[00:17:31] * Darkevilmac is now known as DarkevilAway
[00:17:46] * gigaherz|work (~gigaherz@213.red-83-55-14.dynamicip.rima-tde.net) Quit (Ping timeout: 201 seconds)
[00:21:43] <primetoxinz> why the hell is ItemStack.toString crashing
[00:21:53] <kashike> elaborate
[00:22:09] <killjoy> Is something null?
[00:22:33] <primetoxinz> attempting to attach a capability to certain items via the event and it crashes toString when I try to print it during the event
[00:22:38] <primetoxinz> due to a npe, yes
[00:23:27] <primetoxinz> ah, stack.item is null
[00:23:28] <primetoxinz> that's odd
[00:25:14] <killjoy> Have the blocks been registered?
[00:25:21] <killjoy> which event is this?
[00:26:16] <primetoxinz> AttachCapabilitiesEvent.Item
[00:26:38] <primetoxinz> I am in a completely vanilla instance other than this event
[00:26:42] * KGS (~KGS@h-155-4-129-249.na.cust.bahnhof.se) has joined #minecraftforge
[00:32:25] * tzh (~tzh@c-24-118-228-184.hsd1.mn.comcast.net) has joined #minecraftforge
[00:40:25] * Cooler (~coolerext@42.109.136.242) has joined #minecraftforge
[00:42:11] * zml (~zml@minions.aoeu.xyz) has joined #minecraftforge
[00:44:40] * Cooler (~coolerext@42.109.136.242) Quit (Read error: Connection reset by peer)
[00:54:57] * Purebe (~purebe@2605:a601:90d:f300:b8dd:9e9b:1e9a:89f3) has joined #minecraftforge
[00:56:14] <Purebe> hello
[01:05:31] * Cooler (~coolerext@42.109.198.197) has joined #minecraftforge
[01:16:59] * Cast0077 (~Cast0077@24-151-68-108.dhcp.nwtn.ct.charter.com) has left #minecraftforge
[01:20:16] * Naiten (Naiten@77.35.248.212) has joined #minecraftforge
[01:41:32] * KGS (~KGS@h-155-4-129-249.na.cust.bahnhof.se) Quit (Ping timeout: 206 seconds)
[01:50:47] * DarkevilAway is now known as Darkevilmac
[01:51:26] * Darkevilmac is now known as DarkevilAway
[02:02:49] * Cooler (~coolerext@42.109.198.197) Quit (Read error: Connection reset by peer)
[02:10:42] * edr (~edr@d-65-175-180-73.cpe.metrocast.net) Quit (Quit: Leaving)
[02:10:45] * Cooler (~coolerext@42.109.198.197) has joined #minecraftforge
[02:11:28] * immibis (~chatzilla@125-237-216-38.jetstream.xtra.co.nz) has joined #minecraftforge
[02:13:57] * sinkillerj (~sinkiller@nc-67-232-11-89.dhcp.embarqhsd.net) has joined #minecraftforge
[02:15:23] * gigaherz|work (~gigaherz@213.red-83-55-14.dynamicip.rima-tde.net) has joined #minecraftforge
[02:16:52] * Purebe (~purebe@2605:a601:90d:f300:b8dd:9e9b:1e9a:89f3) Quit (Quit: Leaving)
[02:17:20] * Genuine (~Genuine@66-189-202-200.dhcp.yakm.wa.charter.com) Quit (Read error: Connection reset by peer)
[02:18:26] * gigaherz|work (~gigaherz@213.red-83-55-14.dynamicip.rima-tde.net) Quit (Ping timeout: 180 seconds)
[02:18:46] * Mimiru is now known as Katie
[02:19:22] * Doty1154 (~Doty1154@2601:648:8000:134f:c101:4e81:2484:946d) has joined #minecraftforge
[02:21:18] * Genuine (~Genuine@66-189-202-200.dhcp.yakm.wa.charter.com) has joined #minecraftforge
[02:23:41] * DarkevilAway is now known as Darkevilmac
[02:27:00] * Ashindigo_ (uid202308@2604:8300:100:200b:6667:7:3:1644) has joined #minecraftforge
[02:31:35] * p455w0rd (~p455w0rd@50.102.92.159) Quit (Ping timeout: 201 seconds)
[02:32:10] * p455w0rd (~p455w0rd@50.102.92.159) has joined #minecraftforge
[02:44:51] * Snapples (uid167569@2604:8300:100:200b:6667:8:2:8e91) Quit (Quit: Connection closed for inactivity)
[02:45:12] * Cornelia_ (~Nel@c-75-71-231-133.hsd1.co.comcast.net) has joined #minecraftforge
[02:46:05] * Cornelia (~Nel@c-75-71-231-133.hsd1.co.comcast.net) Quit (Ping timeout: 190 seconds)
[02:58:57] * Purebe (~purebe@2605:a601:90d:f300:a1d2:3192:addd:4b72) has joined #minecraftforge
[03:01:46] * Wastl2 (~Wastl2@x4e34cdf7.dyn.telefonica.de) Quit (Ping timeout: 206 seconds)
[03:04:08] * Wastl2 (~Wastl2@x4e34cc8a.dyn.telefonica.de) has joined #minecraftforge
[03:04:46] * Purebe (~purebe@2605:a601:90d:f300:a1d2:3192:addd:4b72) Quit (Quit: Leaving)
[03:06:48] * Purebe (~purebe@2605:a601:90d:f300:f5e7:85ed:9dd8:7558) has joined #minecraftforge
[03:10:30] * Cornelia_ is now known as Cornelia
[03:25:35] * PieGuy128 (~PieGuy128@mtrlpq5031w-lp140-07-76-69-215-14.dsl.bell.ca) Quit (Remote host closed the connection)
[03:28:56] * xaero (xaero@the.flying.dutchman.panicbnc.net) Quit (Ping timeout: 201 seconds)
[03:29:05] * Dark (~MrDark@cpe-75-185-6-240.columbus.res.rr.com) Quit (Read error: Connection reset by peer)
[03:29:33] * Doty1154 (~Doty1154@2601:648:8000:134f:c101:4e81:2484:946d) Quit (Ping timeout: 201 seconds)
[03:29:42] * Doty1154 (~Doty1154@2601:648:8000:134f:c101:4e81:2484:946d) has joined #minecraftforge
[03:29:46] * Dark (~MrDark@cpe-75-185-6-240.columbus.res.rr.com) has joined #minecraftforge
[03:31:24] * XDjackieXD (~XDjackieX@navi.chaosfield.at) Quit (Ping timeout: 201 seconds)
[03:32:56] * xaero (xaero@the.flying.dutchman.panicbnc.net) has joined #minecraftforge
[03:33:09] * XDjackieXD (~XDjackieX@navi.chaosfield.at) has joined #minecraftforge
[04:00:31] * McJty (~jorrit@94-224-152-129.access.telenet.be) has joined #minecraftforge
[04:08:06] * sinkillerj (~sinkiller@nc-67-232-11-89.dhcp.embarqhsd.net) Quit (Quit: またね)
[04:16:59] * gigaherz|work (~gigaherz@213.red-83-55-14.dynamicip.rima-tde.net) has joined #minecraftforge
[04:20:25] * gigaherz|work (~gigaherz@213.red-83-55-14.dynamicip.rima-tde.net) Quit (Ping timeout: 190 seconds)
[04:29:22] * Doty1154 (~Doty1154@2601:648:8000:134f:c101:4e81:2484:946d) Quit (Ping timeout: 201 seconds)
[04:30:21] * Doty1154 (~Doty1154@2601:648:8000:134f:c101:4e81:2484:946d) has joined #minecraftforge
[04:35:05] * Meronat (uid190493@id-190493.ealing.irccloud.com) has joined #minecraftforge
[04:58:12] * Cooler (~coolerext@42.109.198.197) Quit (Remote host closed the connection)
[04:58:37] * Cooler (~coolerext@42.109.198.197) has joined #minecraftforge
[04:59:56] * Lathanael|Away (~Lathanael@p54960A78.dip0.t-ipconnect.de) Quit (Ping timeout: 180 seconds)
[05:01:39] * Lathanael|Away (~Lathanael@p54960CF6.dip0.t-ipconnect.de) has joined #minecraftforge
[05:03:32] * Cooler (~coolerext@42.109.198.197) Quit (Read error: Connection reset by peer)
[05:03:33] * CoolerZ (~coolerext@59.96.1.47) has joined #minecraftforge
[05:05:16] * CoolerX (~coolerext@42.109.198.197) has joined #minecraftforge
[05:07:25] * CoolerZ (~coolerext@59.96.1.47) Quit (Ping timeout: 190 seconds)
[05:08:47] * npe|office (~NPExcepti@bps-gw.hrz.tu-chemnitz.de) has joined #minecraftforge
[05:24:41] * McJty (~jorrit@94-224-152-129.access.telenet.be) Quit (Quit: Leaving)
[05:31:08] * Necro (~Necro@p200300700D153EE4206764B6D1A36EFA.dip0.t-ipconnect.de) has joined #minecraftforge
[05:37:16] * Necro (~Necro@p200300700D153EE4206764B6D1A36EFA.dip0.t-ipconnect.de) Quit (Ping timeout: 204 seconds)
[05:41:08] * Necro (~Necro@p200300700D153EFFFD06BEC22B058778.dip0.t-ipconnect.de) has joined #minecraftforge
[05:43:11] * Ashindigo_ (uid202308@2604:8300:100:200b:6667:7:3:1644) Quit (Quit: Connection closed for inactivity)
[05:55:38] * Fridtjof (prassel@reporting.live.from.stary2001.co.uk) Quit (Ping timeout: 204 seconds)
[05:55:59] * justJanne (~justJanne@2001:bc8:33e7::1) Quit (Quit: No Ping reply in 180 seconds.)
[05:57:02] * justJanne (~justJanne@2001:bc8:33e7::1) has joined #minecraftforge
[05:57:59] * Fridtjof (prassel@reporting.live.from.stary2001.co.uk) has joined #minecraftforge
[06:01:24] * Ashindigo_ (uid202308@id-202308.hathersage.irccloud.com) has joined #minecraftforge
[06:08:05] * Fridtjof (prassel@reporting.live.from.stary2001.co.uk) Quit (Ping timeout: 190 seconds)
[06:14:13] * Fridtjof (prassel@reporting.live.from.stary2001.co.uk) has joined #minecraftforge
[06:18:36] * gigaherz|work (~gigaherz@213.red-83-55-14.dynamicip.rima-tde.net) has joined #minecraftforge
[06:22:05] * gigaherz|work (~gigaherz@213.red-83-55-14.dynamicip.rima-tde.net) Quit (Ping timeout: 190 seconds)
[06:26:28] * Brokkoli (~Brokkoli@p5b23c1b2.dip0.t-ipconnect.de) Quit (Quit: Die Sprache der Politik ist dafür gemacht, dass Lügen wahr klingen und das Töten angemessen wirkt. (George Orwell))
[06:27:22] <killjoy> Been thinking... Would Deadpool have such a crush on Spider-Man if he knew he was a high schooler?
[06:36:10] * killjoy (~killjoy@cpe-2606-A000-1118-814C-81A9-CF4F-2B24-9D3C.dyn6.twc.com) Quit (Ping timeout: 204 seconds)
[06:38:28] * Hunterz (~hunterz@2001:af0:8000:1c01:6af7:28ff:fe37:5d6a) has joined #minecraftforge
[06:44:25] * AbrarSyed is now known as Abrar|gone
[06:50:44] * Fridtjof (prassel@reporting.live.from.stary2001.co.uk) Quit (Ping timeout: 204 seconds)
[06:51:38] * justJanne (~justJanne@2001:bc8:33e7::1) Quit (Quit: No Ping reply in 180 seconds.)
[06:52:33] * Fridtjof (prassel@reporting.live.from.stary2001.co.uk) has joined #minecraftforge
[06:52:42] * justJanne (~justJanne@2001:bc8:33e7::1) has joined #minecraftforge
[07:00:03] <MCPBot_Reborn> [TEST CSV] Pushing snapshot_20170323 mappings to Forge Maven.
[07:00:07] <MCPBot_Reborn> [TEST CSV] Maven upload successful for mcp_snapshot-20170323-1.11.zip (mappings = "snapshot_20170323" in build.gradle).
[07:00:17] <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/
[07:27:42] * tzh (~tzh@c-24-118-228-184.hsd1.mn.comcast.net) Quit (Quit: zzz)
[07:46:05] * Larry1123 (Larry1123@irc.larry1123.net) Quit (Ping timeout: 201 seconds)
[07:49:43] <Naiten> Hi there. It's first time I'm about to request a feature / create PR for Forge and I'm not sure if it was already suggested or not
[07:50:14] <Naiten> Tried searching on Froge github, but looks like it wasn't suggested before
[07:51:01] <Naiten> May one help me out to check that for sure?
[07:51:16] <ghz|afk> what is it?
[07:53:39] * gigaherz|work (~gigaherz@213.red-83-55-14.dynamicip.rima-tde.net) has joined #minecraftforge
[07:55:49] <Naiten> Currently, swords can't destroy blocks in creative mode, but it's a hardcode in PlayerControllerMP.onPlayerDestroyBlock(): if (this.currentGameType.isCreative() && this.mc.player.getHeldItemMainhand() != null && this.mc.player.getHeldItemMainhand().getItem() instanceof ItemSword)
[07:56:13] <Naiten> I want boolean canDestroyBlocksInCreative() in Item
[07:57:06] <+mezz> makes sense, go for it. you will need to provide an example for why you need it, and an example mod showing that it works
[07:57:14] * gigaherz|work (~gigaherz@213.red-83-55-14.dynamicip.rima-tde.net) Quit (Ping timeout: 204 seconds)
[07:58:01] * Larry1123 (Larry1123@irc.larry1123.net) has joined #minecraftforge
[07:58:18] <+mezz> I'm signing off for tonight but feel free to ask about anything
[07:59:55] <ghz|afk> I have to leave for work but I'll have IRC open ;P
[08:00:55] <Naiten> Welp, i may rtfm for some while now
[08:00:58] * Meronat (uid190493@id-190493.ealing.irccloud.com) Quit (Quit: Connection closed for inactivity)
[08:03:05] * Larry1123 (Larry1123@irc.larry1123.net) Quit (Ping timeout: 190 seconds)
[08:04:01] <Ashindigo_> https://github.com/MinecraftForge/MinecraftForge/wiki/If-you-want-to-contribute-to-Forge
[08:04:09] <Ashindigo_> Naiten
[08:04:31] <Naiten> Yeah, thanks, Ash
[08:04:40] <Ashindigo_> Your welcome
[08:05:36] * Larry1123 (Larry1123@irc.larry1123.net) has joined #minecraftforge
[08:14:57] * Noppes (~Noppes@ip56530f2e.direct-adsl.nl) has joined #minecraftforge
[08:15:45] * smbarbour (~smbarbour@c-73-211-171-154.hsd1.il.comcast.net) Quit (Ping timeout: 190 seconds)
[08:16:05] * cppchriscpp (~cppchrisc@c-76-24-45-127.hsd1.nh.comcast.net) Quit (Read error: Connection reset by peer)
[08:16:20] * cppchriscpp (~cppchrisc@c-76-24-45-127.hsd1.nh.comcast.net) has joined #minecraftforge
[08:18:08] * Larry1123 (Larry1123@irc.larry1123.net) Quit (Ping timeout: 204 seconds)
[08:18:18] * gigaherz|work (~gigaherz@84.89.63.25) has joined #minecraftforge
[08:18:27] * smbarbour (~smbarbour@c-73-211-171-154.hsd1.il.comcast.net) has joined #minecraftforge
[08:20:04] * Larry1123 (Larry1123@irc.larry1123.net) has joined #minecraftforge
[08:20:07] * Snapples (uid167569@id-167569.stonehaven.irccloud.com) has joined #minecraftforge
[08:32:10] * Purebe (~purebe@2605:a601:90d:f300:f5e7:85ed:9dd8:7558) Quit (Read error: Connection reset by peer)
[08:32:20] * Doty1154 (~Doty1154@2601:648:8000:134f:c101:4e81:2484:946d) Quit (Ping timeout: 201 seconds)
[08:33:19] * Doty1154 (~Doty1154@2601:648:8000:134f:c101:4e81:2484:946d) has joined #minecraftforge
[08:40:06] * cpup (~cpup@32.218.116.219) Quit (Ping timeout: 206 seconds)
[08:41:09] * cpup (~cpup@32.218.116.219) has joined #minecraftforge
[08:42:12] * Larry1123 (Larry1123@irc.larry1123.net) Quit (Ping timeout: 204 seconds)
[08:53:10] * Larry1123 (Larry1123@irc.larry1123.net) has joined #minecraftforge
[09:00:10] * Naiten (Naiten@77.35.248.212) Quit (Read error: Connection reset by peer)
[09:04:23] * Naiten (Naiten@77.34.18.56) has joined #minecraftforge
[09:12:25] * Purebe (~purebe@2605:a601:90d:f300:4cb4:6d4:a4d7:8fbd) has joined #minecraftforge
[09:16:25] * fuj1n (~fuj1n@101.190.244.200) has joined #minecraftforge
[09:17:01] * fuj1n (~fuj1n@101.190.244.200) Quit (Read error: Connection reset by peer)
[09:18:09] * KGS (~KGS@h-155-4-129-249.na.cust.bahnhof.se) has joined #minecraftforge
[09:39:06] <Naiten> I'm back with questions... Wanna make that PR for 1.10.2, but not sure about branches
[09:39:49] <Naiten> 1.10.x is still being developed, yea? And what is noci-1.10.2-mezz for?
[09:42:50] <gigaherz|work> ignore that
[09:42:59] <gigaherz|work> only the main branches matter
[09:43:11] <gigaherz|work> however, I'm not sure that making the PR for 1.10.2 is a good idea
[09:43:19] <gigaherz|work> you should probably make it for 1.11.x first
[09:43:28] <gigaherz|work> and then if it's accepted, backport to 1.10.2
[09:43:45] <gigaherz|work> (which, chances are, won't be accepted)
[09:43:52] <gigaherz|work> (but maybe.)
[09:45:24] <Naiten> well, okay
[09:53:09] * Alex_hawks (~Alex_hawk@2001:8003:8483:6300:cd1d:f539:4568:39eb) Quit (Read error: Connection reset by peer)
[09:53:39] * Alex_hawks (~Alex_hawk@2001:8003:8483:6300:cd1d:f539:4568:39eb) has joined #minecraftforge
[10:04:38] <Naiten> MFW i follow the tutorial on forge dev install and find out i now have project inside project http://i.imgur.com/9GShJ5o.jpg
[10:07:07] <Ashindigo_> now put a project in  a project in a project
[10:08:46] * Jezza (~Jezza@92.206.161.17) has joined #minecraftforge
[10:18:25] <Naiten> i'm not that high (stroke out) skilled yet
[10:36:01] * Jezza (~Jezza@92.206.161.17) Quit (Quit: Leaving)
[10:36:38] * CoolerX (~coolerext@42.109.198.197) Quit (Read error: Connection reset by peer)
[10:36:41] * CoolerZ (~coolerext@59.96.1.47) has joined #minecraftforge
[10:45:03] <Purebe> ls
[10:45:13] <Purebe> er sorry, ignore that
[10:48:17] <gigaherz|work> dir
[10:50:53] <Ashindigo_> cd ..
[10:55:26] * KGS (~KGS@h-155-4-129-249.na.cust.bahnhof.se) Quit (Ping timeout: 206 seconds)
[11:01:43] * Cornelia_ (~Nel@c-75-71-231-133.hsd1.co.comcast.net) has joined #minecraftforge
[11:03:20] * Cornelia (~Nel@c-75-71-231-133.hsd1.co.comcast.net) Quit (Ping timeout: 200 seconds)
[11:10:37] <Ashindigo_> i swear world#getEntitiesWithinAABB doesnt make any sense
[11:14:06] <Naiten> Erm, i've set workspace up, how do i proceed to making a java patches?
[11:14:55] <Corosus> the readme on the repo says how, once youve made forge edits run genPatches
[11:16:10] <Corosus> itll update that patches folder in the forge folder
[11:23:06] <Naiten> i know about genPatches, i wondered how to make patches, like i just go to ..\patches\...\PlayerControllerMP.java.patch and edit it or what?
[11:23:25] <Naiten> And what's the syntax for patch?
[11:23:57] * srs_bsns (blk@198-48-175-31.cpe.pppoe.ca) Quit (Read error: Connection reset by peer)
[11:24:05] <quadraxis> edit the code under the Forge project
[11:24:08] * srs_bsns (blk@198-48-175-31.cpe.pppoe.ca) has joined #minecraftforge
[11:24:10] <Corosus> basically you setup a forge development workspace, it has that Clean and Forge folder, you edit mc source files from the Forge folder, then you run genPatches, it automatically updates the patches
[11:24:40] <Corosus> if you run a git status on the folder after you can see itll have changed/made a patch file for the source file you edited
[11:25:04] <Corosus> you dont have to manually tinker with .patch files
[11:25:11] <Corosus> you could be this is easier
[11:26:48] <Naiten> And what's the Clean project for?
[11:27:08] <Corosus> i assume its something to compare against so it knows whats changed in the Forge folder
[11:39:15] * Jezza (~Jezza@92.206.161.17) has joined #minecraftforge
[11:49:38] <masa> does someone have a simple example of using custom baked block models?
[11:49:59] <masa> all I really need is to retexture the sides based on boolean flags
[11:50:53] <masa> and I'd rather not bake all the 256 models, when most likely only 4 of them are used most of the time
[11:51:41] <masa> so I assume I need a custom model loader, and them my custom model class?
[11:52:05] <masa> but can I get the TileEntity when baking, or do I have to add the flags to the blockstate?
[11:52:52] <masa> and what is the proper way to simply re-texture full cubes?
[12:02:12] <Naiten> masa, i guess that can be made with .json variants, can't it?
[12:02:45] <masa> it can, but like I said, I'd like to avoid baking large numbers of models when only a handful are used in most cases
[12:04:37] <Naiten> well, i have some ideas but i have to get clear with these forge PR stuff first
[12:05:02] <Naiten> first time using IDEA VCS and it kinda confuses me
[12:13:28] <masa> you mean git?
[12:18:01] <Naiten> well, i know git from bitbucket and sourcetree, but intellij interface kinda confuses me
[12:19:06] <Naiten> i've made changes to 3 MC classes and 1 forge class, generated all 3 patches but intellij vcs won't show me the state of other mc files i edited
[12:19:42] <Naiten> http://i.imgur.com/jlgoFV3.png
[12:20:27] <Naiten> like, i expect it to show PlayerControllerMP and ItemSword as well in that list
[12:20:32] <Naiten> but it doesn't
[12:23:37] <Naiten> and now even the Item disappeared from the list
[12:23:50] <Naiten> like, waidw?
[12:30:21] <Naiten> And how do i go about the test mod? Just go to ../src/test/java/net/minecraftforge/test/ and create my test mod there?
[12:30:51] <Naiten> Is there any convention on properly naming test mod?
[12:38:45] <gigaherz|work> masa: yo ucan pass the data to the model through an IUNlistedProperty using ExtendedBlockStates
[12:38:59] <gigaherz|work> ideally you want to make an immutable copy of the values
[12:39:03] <gigaherz|work> never pass the TE directly
[12:39:18] <gigaherz|work> because it could change in between retrieving the data and rendering it
[12:39:29] <gigaherz|work> that said
[12:39:35] * BlueMonster (~BlueMonst@cpc23-telf11-2-0-cust237.16-1.cable.virginm.net) has joined #minecraftforge
[12:39:37] <gigaherz|work> if it's a small enough number of values
[12:39:40] <gigaherz|work> you can use blockstate properties
[12:39:44] * BlueMonster (~BlueMonst@cpc23-telf11-2-0-cust237.16-1.cable.virginm.net) Quit (Read error: -0x7880: SSL - The peer notified us that the connection is going to be closed)
[12:39:49] <gigaherz|work> and then you don't have to mess with extended states
[12:39:52] <gigaherz|work> and the whole thing is cleaner
[12:41:04] <masa> right...
[12:41:26] <masa> yeah well basically what this block has, is a horizontal facing, and then a booelan flag for each side
[12:41:49] <gigaherz|work> yep that's fine
[12:42:10] <masa> so I'd just like the simplest way that I can do model on-demand for this
[12:42:16] <gigaherz|work> use blockstates
[12:42:22] <gigaherz|work> read the values from the TE on getActualState
[12:42:26] <gigaherz|work> to return the state for rendering purposes
[12:42:27] <masa> and that flag will just change the texture of each side where it's true
[12:42:31] <gigaherz|work> then,
[12:42:37] <gigaherz|work> get yourself a custom model loader
[12:42:43] <gigaherz|work> that handles a custom MRL
[12:43:02] <gigaherz|work> like "yourmod:models/block/custom/myblock"
[12:43:16] <gigaherz|work> and reference it from the blockstates json as "yourmod:custom/myblock"
[12:43:29] <gigaherz|work> then, from the loader's loadModel, you return a custom IModel
[12:43:36] <gigaherz|work> that enumerates the base model in getDependencies
[12:43:41] <gigaherz|work> and the extra textures in getTextures
[12:43:52] <gigaherz|work> and on bake, you return a custom IBakedModel
[12:44:18] <gigaherz|work> and in the constructor, you give it the base model loadedthrough ModelLoaderRegistry.getModel
[12:44:37] <gigaherz|work> and then in the IBakedModel you can handle getQuads
[12:44:44] <gigaherz|work> check the given IBlockState against the cache
[12:45:07] <gigaherz|work> and if missing, use the base model's IRetexturableModel#retexture
[12:45:12] <gigaherz|work> to obtain a modified base model
[12:45:16] <gigaherz|work> and then call .bake on it
[12:45:22] <gigaherz|work> and then call getQuads on it
[12:45:43] <gigaherz|work> (and put it on the cache)
[12:45:56] <masa> okay, thanks
[12:46:08] <gigaherz|work> you'll also want a resource manager reload listener
[12:46:10] <gigaherz|work> to wipe the cache
[12:46:21] <gigaherz|work> oh and, you'll want a custom statemapper
[12:46:32] <gigaherz|work> that always references like... #normal
[12:46:43] <gigaherz|work> so that all the blockstates use your custom model
[12:46:49] <masa> what did you mean by "enumerates the base model in getDependencies" exactly? what is the base model? the full cube model that I'm using as the base?
[12:47:09] <gigaherz|work> yes
[12:47:20] <gigaherz|work> a model json with like "parent": "cube_all"
[12:47:21] <gigaherz|work> or whatever
[12:47:23] <masa> ok
[12:47:59] <masa> and then "and in the constructor, you give it the base model loadedthrough ModelLoaderRegistry.getModel", which constructor is this?
[12:48:05] <gigaherz|work> this is not the same exact use case as you, but it may help
[12:48:05] <gigaherz|work> https://github.com/gigaherz/Everpipe/blob/master/src/main/java/gigaherz/everpipe/pipe/client/PipeBakedModel.java
[12:48:17] <gigaherz|work> I mean either inside your IModel#bake
[12:48:24] <gigaherz|work> or inside your IBakedModel#constructor
[12:48:32] <masa> okay
[12:48:57] <gigaherz|work> you'll want to call ModelLoaderRegistry.getModel("yourmod:models/block/basemodel") or similar
[12:49:11] <gigaherz|work> (probably without models/
[12:49:15] <masa> can I have this block as part of a block class that has other, "normal" models, or should this become a separate block class?
[12:49:37] <gigaherz|work> hmm well you'll have to override getActualState
[12:49:45] <gigaherz|work> in order to query the TE and build the full state
[12:49:52] <gigaherz|work> other than that
[12:49:57] <gigaherz|work> it's a normal block implementation
[12:49:59] <masa> as in I have different variants based on the metadata, this would be one variant, and only this metadata/variant would have this custom model stuff
[12:50:11] <gigaherz|work> ah
[12:50:13] <gigaherz|work> hm
[12:50:20] <gigaherz|work> that seems to make things unnecessarily complicated, no?
[12:50:27] <masa> yeah probably
[12:50:34] <masa> I'll just make this a separate block then
[12:51:26] * AforAnonymous (bitch2k@dyn-051-015.vix2.mmc.at) has joined #minecraftforge
[12:51:37] <masa> thanks a bunch! I'll now go and try to figure this out :p
[12:52:01] <gigaherz|work> np!
[12:52:04] <gigaherz|work> have fun
[12:52:18] <gigaherz|work> you saw my link, right?
[12:53:39] <masa> yes
[12:53:51] <masa> looking through it atm
[12:54:28] <masa> this is quite similar to some of the custom item models I have, but it has been so lng since I touched them that I had no idea how any of them worked anymore, hehe
[12:58:04] <quadraxis> naiten, the other files don't show up as changes because they're local to your machine
[12:58:18] <quadraxis> they aren't part of the forge repo
[12:58:29] <Naiten> welp, i got it
[12:58:59] <quadraxis> you should generally only have files under patches, src/main and src/test
[12:59:57] <Naiten> how do i set up and run a test though? i've made a simple mod file in src/test/java/net/minecraftforge/test/
[13:00:17] <Naiten> oh wait
[13:00:42] <quadraxis> watch this: https://www.youtube.com/watch?v=pLWQk6ed56Q
[13:00:44] <Naiten> well, i can't see it im mod list
[13:01:03] <quadraxis> it's a follow up to the "how to forge dev" video
[13:01:17] <Naiten> video tutorials >_<
[13:01:27] <quadraxis> that includes how to include the forge tests
[13:01:30] * BlueMonster (uid82864@id-82864.tooting.irccloud.com) has joined #minecraftforge
[13:02:57] <quadraxis> skip to 3:10 if you're bored
[13:04:58] <Naiten> it's not about being bored, it's just that reading is faster and way more handy if you want to scroll back or forth
[13:05:42] <Corosus> someone should really textify his 2 videos, i had to use the video to figure it out too
[13:10:31] <@fry> it's 11 minutes :P
[13:11:19] <@fry> just watch it :P
[13:14:33] <Naiten> You don't get the concept, fry...
[13:15:44] * CoolerX (~coolerext@59.96.1.47) has joined #minecraftforge
[13:18:25] * CoolerZ (~coolerext@59.96.1.47) Quit (Ping timeout: 190 seconds)
[13:22:57] * fatguylaughing (~fatguylau@worx01.meridian-ds.com) has joined #minecraftforge
[13:28:17] * ThePsionic (~Psi@ip5457f909.direct-adsl.nl) has joined #minecraftforge
[13:59:27] * TechnicianLP (~Technicia@p4FE560B1.dip0.t-ipconnect.de) has joined #minecraftforge
[13:59:33] * Javaschreiber (~Thunderbi@46.183.103.8) has joined #minecraftforge
[14:04:55] * Vazkii (~Vazkii@144.134.37.188.rev.vodafone.pt) has joined #minecraftforge
[14:11:31] * Cast0077 (~Cast0077@24-151-30-78.dhcp.nwtn.ct.charter.com) has joined #minecraftforge
[14:12:02] * Javaschreiber (~Thunderbi@46.183.103.8) Quit (Quit: Javaschreiber)