<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:01:41] ⇨ Joins: shauncjones (shauncjones!~shauncjon@24.32.58.235)
L2[00:02:45] <shauncjones> hey guys, wondering if anyone could help with a crash I keep getting while trying to add a container to an Item. The game runs but every time I right click the item it crashes and says "Invalid hand null"
L3[00:14:26] ⇦ Quits: Spottedleaf (Spottedleaf!~Spottedle@node-1w7jr9qqos9g03m6l7kcvwkee.ipv6.telus.net) (Killed (NickServ (GHOST command used by Spottedleaf_!~Spottedle@node-1w7jr9qqos9g05ptpkm80ajqc.ipv6.telus.net)))
L4[00:14:30] ⇨ Joins: Spottedleaf (Spottedleaf!~Spottedle@node-1w7jr9qqos9g05ptpkm80ajqc.ipv6.telus.net)
L5[00:22:00] ⇦ Quits: Spottedleaf (Spottedleaf!~Spottedle@node-1w7jr9qqos9g05ptpkm80ajqc.ipv6.telus.net) (Killed (NickServ (GHOST command used by Spottedleaf_!~Spottedle@node-1w7jr9qqos9g377yv9qs4pp0j.ipv6.telus.net)))
L6[00:22:04] ⇨ Joins: Spottedleaf (Spottedleaf!~Spottedle@node-1w7jr9qqos9g377yv9qs4pp0j.ipv6.telus.net)
L7[01:20:17] ⇦ Quits: shauncjones (shauncjones!~shauncjon@24.32.58.235) (Ping timeout: 383 seconds)
L8[01:23:21] ⇦ Quits: Neal (Neal!~Neal@47.146.41.184) (Ping timeout: 207 seconds)
L9[01:40:14] ⇨ Joins: Hunterz (Hunterz!~hunterz@62.182.234.189)
L10[01:49:59] ⇨ Joins: shauncjones (shauncjones!~shauncjon@24.32.58.235)
L11[01:53:46] <gigaherz> shauncjones: you should accompany all requests for help with debug logs :P
L12[01:53:54] ⇦ Quits: Larry1123 (Larry1123!Larry1123@irc.larry1123.net) (Ping timeout: 207 seconds)
L13[01:54:14] ⇦ Quits: Brokkoli (Brokkoli!~Brokkoli@p2E5B1E0E.dip0.t-ipconnect.de) (Remote host closed the connection)
L14[01:54:19] <gigaherz> (and/or source code, depending on the case)
L15[01:55:06] <shauncjones> gigaherz: I actually fixed the crash but my method for implementing it was horrible.. so back to the drawing board! Any advice is appreciated! :P
L16[01:55:35] <gigaherz> well given that I don't know how you did it, I can't really give much advice :P
L17[01:57:37] <shauncjones> Well when I add the GUI to a block I can get it to work quite well, but if I switch it to an item it goes horribly wrong.. I have a feeling its something to do with the TileEntitiy and POS
L18[01:58:58] <gigaherz> hmmm yeah instead of giving the gui handler a location and getting a tileentity from it
L19[01:59:05] <gigaherz> you would probably want to give it a player and a slot number
L20[01:59:49] <gigaherz> then you can get the itemstack from that slot, and the item handler from the itemstack
L21[02:00:03] <MCPBot_Reborn> [TEST CSV] Pushing snapshot_20180114 mappings to Forge Maven.
L22[02:00:07] <MCPBot_Reborn> [TEST CSV] Maven upload successful for mcp_snapshot-20180114-1.12.zip (mappings = "snapshot_20180114" in build.gradle).
L23[02: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/
L24[02:00:51] <shauncjones> so get rid of the tileentity all together?
L25[02:01:21] <gigaherz> well an ItemStack can't have a tileentity
L26[02:01:28] <gigaherz> so there's no point to it
L27[02:01:36] ⇦ Quits: h404bi (h404bi!~h404bi@113.119.8.121) (Ping timeout: 186 seconds)
L28[02:01:42] <gigaherz> ItemStacks would store the data in the stack's NBT
L29[02:02:45] <gigaherz> although assuming you attach the items using a capability, the capability can handle that on its own
L30[02:02:57] <shauncjones> thanks! I'll give it a shot and let you know how it turns out!
L31[02:03:00] <gigaherz> (that is, it can store the items separately without having to upedate the stack's NBT)
L32[02:04:47] <shauncjones> well we will see how it goes. This is my first time playing around with GUIs and I'm just having fun with it.. :[
L33[02:09:41] ⇨ Joins: Umbraco (Umbraco!~Umbraco@121-87-222-159f1.nar1.eonet.ne.jp)
L34[02:12:42] ⇨ Joins: ben_mkiv (ben_mkiv!~ben_mkiv@p4FED4538.dip0.t-ipconnect.de)
L35[02:29:53] ⇨ Joins: Ipsis (Ipsis!~Ipsis@82-69-71-184.dsl.in-addr.zen.co.uk)
L36[02:43:53] ⇨ Joins: Larry1123 (Larry1123!Larry1123@irc.larry1123.net)
L37[02:52:23] <Abastro> Identity?
L38[02:52:30] <Abastro> *ItemEntity?
L39[02:54:43] <ben_mkiv> is it possible to provide own capabilities to any entity?
L40[03:00:36] <Abastro> Yes, use AttachCapabilitiesEvent<Entity?
L41[03:00:45] <Abastro> *<Entity>
L42[03:02:03] ⇦ Quits: Unh0ly_Tigg (Unh0ly_Tigg!~Unh0ly_Ti@c-24-21-196-226.hsd1.or.comcast.net) (Quit: Leaving)
L43[03:18:25] <ben_mkiv> thanks
L44[03:21:19] ⇨ Joins: Noppes (Noppes!~Noppes@ip56530f2e.direct-adsl.nl)
L45[03:28:50] <Abastro> you're welcome
L46[03:31:49] <Abastro> Besides. Why are there no ItemEntity in MC?
L47[03:33:36] <shauncjones> I think an ItemEntity would make what I'm trying to do easier... :(
L48[03:34:45] ⇨ Joins: SquidDev (SquidDev!~SquidDev@ahti-saarelainen.zgrep.org)
L49[03:36:13] ⇦ Quits: Ipsis (Ipsis!~Ipsis@82-69-71-184.dsl.in-addr.zen.co.uk) (Quit: Leaving)
L50[03:39:13] ⇨ Joins: Ipsis (Ipsis!~Ipsis@82-69-71-184.dsl.in-addr.zen.co.uk)
L51[03:47:43] <gigaherz> Abastro: what? why would there be?
L52[03:47:50] <gigaherz> that's pretty much waht the ItemStack is for
L53[03:48:03] <gigaherz> it's an object instance holding data for an item
L54[03:48:17] <gigaherz> if you need MORE data, you can attach a capability.
L55[03:48:35] <Abastro> As it can be extended.
L56[03:48:47] <Abastro> I mean vanilla MC.
L57[03:49:04] <gigaherz> they don't need it
L58[03:49:32] <Abastro> Why? I'd like to hear the reason.
L59[03:49:49] <gigaherz> they don't NEED it
L60[03:49:51] <gigaherz> there's no reason
L61[03:49:59] <gigaherz> they just don't implement things that aren't needed
L62[03:50:13] <Abastro> I mean why they don't need it.
L63[03:50:19] <gigaherz> that's not how things work
L64[03:50:25] <gigaherz> why would they need it?
L65[03:50:36] <gigaherz> everything an itemstack needs, they store in NBT
L66[03:50:39] <gigaherz> it's good enough for them
L67[03:50:50] <gigaherz> so what reason would they have to change that?
L68[03:50:53] <Abastro> So it was a design decision.
L69[03:51:02] <Abastro> I see.
L70[03:51:17] <gigaherz> when notch implemented itemstacks initially
L71[03:51:20] <gigaherz> they didn't even have NBT
L72[03:51:25] <gigaherz> they just had a damage value
L73[03:51:43] <gigaherz> when they needed to have sub-items, such as dyes
L74[03:51:47] <gigaherz> they reused the damage value
L75[03:51:51] <gigaherz> as a metadata value
L76[03:52:07] <gigaherz> when they introduced enchantments, they needed a way to store the enchantment data
L77[03:52:41] <gigaherz> and in order to make it flexible, they used the NBT system to attach data to each ItemStack
L78[03:53:03] <Abastro> That's what I wanted to hear, thanks!
L79[03:53:11] <gigaherz> they could have added a component system at that point
L80[03:53:21] <gigaherz> where different things "register" different components
L81[03:57:33] <Abastro> Before item capabilities, I created ItemEntity for my mod. I was just curious why in the sake of 'symmetry'.
L82[03:58:01] <Abastro> *curious why there was no ItemEntity in MC
L83[04:02:40] <gigaherz> how did you keep track of which ItemEntity belongs to each ItemStack?
L84[04:07:49] ⇦ Quits: Subaraki (Subaraki!~Subaraki@239.ip-158-69-59.net) (Quit: Subaraki used whirlwind. it was super effective !)
L85[04:07:50] ⇦ Quits: Raqbit (Raqbit!~Raqbit@239.ip-158-69-59.net) (Quit: Quitting.)
L86[04:32:20] <Abastro> I checked them every tick. That was the only way, as far as I know.
L87[04:32:50] <Abastro> Fortunately, there are not so many inventory slots, so it doesn't have problems performance-wise.
L88[04:33:13] <Abastro> Also I needed to create world representation of inventory.
L89[04:33:23] <gigaherz> so if someone replaced an item with a different one, it broke?
L90[04:33:33] <Abastro> No
L91[04:34:29] <Abastro> When the item changes, I update the tiles as well.
L92[04:35:02] <Abastro> It took several days to fix all the bugs.
L93[04:46:06] ⇦ Quits: masa (masa!~masa@83-148-205-135.dyndsl.ssp.fi) (Quit: server reboot)
L94[04:47:32] <Abastro> People won't use inventory furnace, right?
L95[05:09:26] ⇨ Joins: BlueMonster (BlueMonster!uid82864@id-82864.ealing.irccloud.com)
L96[05:12:22] <shauncjones> hey guys, wondering if y'all can help with this error "PackContainer cannot be cast to net.minecraft.client.gui.GuiScreen" here is the PackContainer file https://pastebin.com/EKRhJ4Su
L97[05:17:47] <gigaherz> you are returning a Container from something that expects a Gui
L98[05:18:20] <gigaherz> or otherwise trying to cast something that is a Container into GuiScreen
L99[05:18:41] ⇨ Joins: masa (masa!~masa@83-148-205-135.dyndsl.ssp.fi)
L100[05:19:28] <shauncjones> Yeah I had a derp moment and didn't create the GuiContainer class...
L101[05:22:32] <shauncjones> well now I have a new problem maybe you can help. I got the item to make a GUI but when I put items in and close it they are gone when I reopen it.. How can I make them stay?
L102[05:24:50] <gigaherz> you have to store the items into the itemstack
L103[05:26:35] ⇨ Joins: Raycoms (Raycoms!~Raycoms@2804:14d:baa0:96af:7926:c992:f9b3:df17)
L104[05:28:44] ⇦ Quits: immibis (immibis!~chatzilla@122-59-200-50.jetstream.xtra.co.nz) (Ping timeout: 383 seconds)
L105[05:39:19] ⇨ Joins: donington (donington!~jonathan@dsle2.ody.ca)
L106[06:11:07] ⇦ Quits: Shawn|i7-Q720M (Shawn|i7-Q720M!~shawn156@c-76-25-73-212.hsd1.co.comcast.net) (Read error: Connection reset by peer)
L107[06:23:41] ⇨ Joins: malte0811 (malte0811!~malte@185.134.128.197)
L108[06:39:14] <shauncjones> I added some NBT to the item but it still isn't working https://pastebin.com/kcEtTmis there is the item file
L109[06:52:32] ⇦ Quits: Hunterz (Hunterz!~hunterz@62.182.234.189) (Remote host closed the connection)
L110[07:12:41] ⇦ Quits: p455w0rd (p455w0rd!p455w0rd@c-98-220-249-33.hsd1.in.comcast.net) (Ping timeout: 207 seconds)
L111[07:15:56] ⇨ Joins: p455w0rd (p455w0rd!~p455w0rd@c-98-220-249-33.hsd1.in.comcast.net)
L112[07:31:45] <Ordinastie> was there a netty change recently ?
L113[07:32:08] <Ordinastie> or forge change related to packet stuff ?
L114[07:49:31] ⇨ Joins: Nedelosk (Nedelosk!~Nedelosk@ip-37-201-253-118.hsi13.unitymediagroup.de)
L115[07:49:36] ⇦ Quits: Raycoms (Raycoms!~Raycoms@2804:14d:baa0:96af:7926:c992:f9b3:df17) (Remote host closed the connection)
L116[07:51:24] <Ordinastie> ffs, I was trying to debug something and I can't duplicate the bug anymore :/
L117[07:54:28] <shauncjones> Okay I got it to work, not hopefully a simple fix. My custom GUI slots are like 1 pixel off to the left how do I move them
L118[07:59:02] ⇦ Quits: ben_mkiv (ben_mkiv!~ben_mkiv@p4FED4538.dip0.t-ipconnect.de) (Ping timeout: 383 seconds)
L119[08:09:32] *** airbreather_ is now known as airbreather
L120[08:49:18] ⇦ Quits: Ipsis (Ipsis!~Ipsis@82-69-71-184.dsl.in-addr.zen.co.uk) (Ping timeout: 383 seconds)
L121[08:59:32] ⇨ Joins: h404bi (h404bi!~h404bi@119.129.118.14)
L122[09:17:54] ⇦ Quits: covers1624 (covers1624!~covers162@ppp122-232-6.static.internode.on.net) (Read error: Connection reset by peer)
L123[09:20:26] ⇨ Joins: covers1624 (covers1624!~covers162@ppp122-232-6.static.internode.on.net)
L124[09:52:05] ⇦ Quits: BlueMonster (BlueMonster!uid82864@id-82864.ealing.irccloud.com) (Quit: Connection closed for inactivity)
L125[09:54:29] ⇨ Joins: Raycoms (Raycoms!~Raycoms@2804:14d:baa0:96af:7926:c992:f9b3:df17)
L126[09:59:53] ⇦ Quits: brandon3055 (brandon3055!~Brandon@pa49-199-66-134.pa.vic.optusnet.com.au) (Ping timeout: 186 seconds)
L127[10:06:31] ⇨ Joins: Javaschreiber (Javaschreiber!~Thunderbi@88-209-32-73.nga.highspeed-baumann.de)
L128[10:09:10] ⇨ Joins: Neal (Neal!~Neal@47.146.41.184)
L129[10:09:10] ⇨ Joins: BlueMonster (BlueMonster!uid82864@id-82864.ealing.irccloud.com)
L130[10:13:19] ⇨ Joins: raBit (raBit!~raBit@p200300C3CBEB735BB5DCAECB04F9B26A.dip0.t-ipconnect.de)
L131[10:17:31] ⇦ Quits: Dimtree (Dimtree!~dimtree@74.196.33.246) (Quit: Peace)
L132[10:26:39] ⇨ Joins: Dimtree (Dimtree!~dimtree@74-196-33-246.nbrncmtk01.res.dyn.suddenlink.net)
L133[10:35:14] <Raycoms> Hmm I have a problem, I'm drawing a custom sized texture in my GUI but it's not scaling, the other ones I use scale fine but this one
L134[10:37:22] <barteks2x> what do you mean by doesn';t scale?
L135[10:37:25] <barteks2x> screenshots?
L136[10:37:51] <Raycoms> incoming
L137[10:38:08] <Raycoms> https://i.imgur.com/LBrExYH.png
L138[10:38:12] <Raycoms> how it is supposed to look like
L139[10:38:48] <Raycoms> https://i.imgur.com/q3WEMBb.png
L140[10:38:51] <Raycoms> how it looks like
L141[10:39:26] <Raycoms> making in a bit bigger: https://i.imgur.com/GEpDcgV.png
L142[10:40:09] <Raycoms> the image is 32*32 and we want it 16*16 and 24*24
L143[10:40:14] <barteks2x> show the code?
L144[10:42:00] <Raycoms> https://i.imgur.com/d5Hdj4F.png
L145[10:42:15] <Raycoms> And I debugged it, it runs into the customsize one with the correct size params
L146[10:42:38] ⇦ Quits: Umbraco (Umbraco!~Umbraco@121-87-222-159f1.nar1.eonet.ne.jp) (Ping timeout: 207 seconds)
L147[10:42:51] ⇨ Joins: Ipsis (Ipsis!~Ipsis@82-69-71-184.dsl.in-addr.zen.co.uk)
L148[10:43:37] <barteks2x> ao qhT ew thw values?
L149[10:44:39] <barteks2x> ... how did I make so many typos?
L150[10:45:54] <Raycoms> Let me get my crypto software
L151[10:45:58] <Raycoms> I might find out what you meant
L152[10:46:01] ⇦ Quits: cjm721 (cjm721!~cjm721@2601:647:4502:c72d:49a6:cb36:be2b:d4a9) (Ping timeout: 194 seconds)
L153[10:46:28] ⇨ Joins: Brokkoli (Brokkoli!~Brokkoli@p2E5B1E0E.dip0.t-ipconnect.de)
L154[10:46:40] <Raycoms> x,y at the position, the offset is 0, 0 in this case, imageWidth and imageHeight = 0, but getWidth and getHeight = 16
L155[10:46:52] <Raycoms> mapWidth, mapHeight = 32 (original size)
L156[10:52:44] <barteks2x> Raycoms, I don't think drawModalRectWithCustomSizedTexture is the right method to use here
L157[10:52:52] <barteks2x> and I don't think the method is even named correctly
L158[10:53:30] <Raycoms> which one would be?
L159[10:53:49] <barteks2x> actually... try to give it textureWidth/heigth same as width/height
L160[10:55:45] <barteks2x> darwTexturedModalRect might just work
L161[10:56:08] <Raycoms> Nope, I tried that
L162[10:56:22] <barteks2x> ah right it assumes constant texture size
L163[10:56:39] <Raycoms> I just found drawScaledCustomSizeModalRect
L164[10:56:47] <Raycoms> but this one wants a lot more variables
L165[10:57:46] <barteks2x> I also found it
L166[10:58:03] <barteks2x> drawModalRectWithCustomSizedTexture seems to be right but is interpreting the inputs in confusing way
L167[10:58:35] <Raycoms> drawModalRectWithCustomSizedTexture works perfectly for us "upsizing textures" and also works perfectly downsizing them into one direction for now
L168[10:58:42] <Raycoms> but it doesn't seem to work in this case
L169[11:00:15] <barteks2x> it's intended to draw unscaled texture with custom size
L170[11:00:25] <barteks2x> by providing it wrong information you can do whatever you want
L171[11:01:08] <barteks2x> drawScaledCustomSizeModalRect you have additional uWidth and uHeight which are the size of the texture
L172[11:01:13] <barteks2x> try that
L173[11:01:37] <barteks2x> well, by size of the texture I mean how much of the texture in pixels you want to draw
L174[11:01:53] <Raycoms> but what's the difference between the previous textureWidth and textureHeight?
L175[11:02:00] <barteks2x> tileWidth/height is total size of the texture
L176[11:02:25] <barteks2x> in the second method textureWidth/height equivalent is the last 2 arguments
L177[11:02:30] <barteks2x> which specify how big the whole texture is
L178[11:02:40] <barteks2x> uWidth and uHeigth specify how much of that you want to draw
L179[11:03:34] <Raycoms> and then width and height?
L180[11:03:42] <Raycoms> nt uWidth, int vHeight, int width, int height, float tileWidth, float tileHeight
L181[11:03:46] <Raycoms> I mean there are those 6 here
L182[11:03:55] <Raycoms> 2 are the actual size and 2 are the size I want to draw
L183[11:04:00] <Raycoms> but what might the other 2 be? =D
L184[11:04:20] <barteks2x> x, y -> coords on screen, u, v -> start texture coords, uWidth, uHeight -> how much of the texture to draw, widthy, height-> size on screen, textureWidth/height -> total size of the texture
L185[11:05:36] <barteks2x> * textureWidth/height -> tileWidth/height
L186[11:07:37] <Raycoms> ty =D
L187[11:12:00] <Raycoms> Seems to work thanks
L188[11:12:15] <barteks2x> actually is it possible to update the javadoc from mcpbot?
L189[11:12:45] ⇨ Joins: Subaraki (Subaraki!~Subaraki@239.ip-158-69-59.net)
L190[11:12:57] ⇨ Joins: Raqbit (Raqbit!~Raqbit@239.ip-158-69-59.net)
L191[11:14:24] <Raycoms> Idk
L192[11:21:26] ⇨ Joins: Commoble (Commoble!~Commoble@mnpl-04-3331.dsl.iowatelecom.net)
L193[11:46:12] ⇦ Quits: shauncjones (shauncjones!~shauncjon@24.32.58.235) (Ping timeout: 383 seconds)
L194[11:55:52] ⇦ Quits: quadraxis (quadraxis!~quadraxis@cpc77293-basf12-2-0-cust699.12-3.cable.virginm.net) (Ping timeout: 383 seconds)
L195[11:58:32] ⇨ Joins: McJty (McJty!~jorrit@ptr-9197ufnmoqqtigoqqhr.18120a2.ip6.access.telenet.be)
L196[12:08:00] ⇨ Joins: shauncjones (shauncjones!~shauncjon@24-32-58-235.cntrcmtc01.res.dyn.suddenlink.net)
L197[12:15:10] ⇦ Quits: c233 (c233!~c233@164.40.201.125) (Killed (NickServ (GHOST command used by c233_!~c233@164.40.199.221)))
L198[12:15:13] ⇨ Joins: c233 (c233!~c233@164.40.199.221)
L199[12:18:13] <barteks2x> How can I debug a gradle plugin... debug mode just doesn't workj
L200[12:37:20] <barteks2x> half of automated optifine deobfuscation using gradle is done :D
L201[12:37:51] <barteks2x> now I need to make it discard net/minecraftforge part, modify MANIFEST.MF and add the ATs
L202[12:37:55] <barteks2x> and add it to dependencies
L203[12:40:21] ⇦ Quits: Delaxarnyazer (Delaxarnyazer!~Delaxarny@2a02:a44e:91ce:1:50a3:ad04:9869:2e0f) (Read error: Connection reset by peer)
L204[12:43:22] ⇨ Joins: Delaxarnyazer (Delaxarnyazer!~Delaxarny@2a02:a44e:91ce:1:50a3:ad04:9869:2e0f)
L205[12:47:53] ⇦ Quits: McJty (McJty!~jorrit@ptr-9197ufnmoqqtigoqqhr.18120a2.ip6.access.telenet.be) (Quit: Leaving)
L206[12:51:20] ⇨ Joins: brandon3055 (brandon3055!~Brandon@pa49-199-66-134.pa.vic.optusnet.com.au)
L207[12:51:42] ⇦ Quits: e_l1997 (e_l1997!~quassel@194.14.94.16) (Ping timeout: 207 seconds)
L208[12:54:27] ⇨ Joins: zxc (zxc!blk@107.190.101.30)
L209[12:54:27] ⇦ Quits: srs_bsns (srs_bsns!blk@107.190.101.30) (Killed (NickServ (GHOST command used by zxc)))
L210[12:54:28] *** zxc is now known as srs_bsns
L211[12:54:45] ⇨ Joins: mezz_ (mezz_!~mezz@24.6.28.151)
L212[12:54:45] MineBot sets mode: +v on mezz_
L213[12:55:36] ⇦ Quits: StormCloud (StormCloud!~StormClou@S0106000c29fa2152.cg.shawcable.net) (Ping timeout: 207 seconds)
L214[12:56:16] ⇨ Joins: cjm721 (cjm721!~cjm721@c-69-181-255-112.hsd1.ca.comcast.net)
L215[12:57:33] ⇦ Quits: mezz (mezz!~mezz@24.6.28.151) (Ping timeout: 207 seconds)
L216[12:57:36] ⇨ Joins: StormCloud (StormCloud!~StormClou@S0106000c29fa2152.cg.shawcable.net)
L217[13:02:42] ⇨ Joins: Backslash_ (Backslash_!~Backslash@ip-94-114-160-58.unity-media.net)
L218[13:03:33] ⇦ Quits: Backslash (Backslash!~Backslash@ip-94-114-160-58.unity-media.net) (Ping timeout: 198 seconds)
L219[13:28:06] ⇦ Quits: IoP (IoP!jikuja@kapsi.fi) (Ping timeout: 207 seconds)
L220[13:40:47] ⇦ Quits: Spottedleaf (Spottedleaf!~Spottedle@node-1w7jr9qqos9g377yv9qs4pp0j.ipv6.telus.net) (Killed (NickServ (GHOST command used by Spottedleaf_!~Spottedle@node-1w7jr9qqos9fzpw1f8hp47zhq.ipv6.telus.net)))
L221[13:40:53] ⇨ Joins: Spottedleaf (Spottedleaf!~Spottedle@node-1w7jr9qqos9fzpw1f8hp47zhq.ipv6.telus.net)
L222[13:43:06] ⇦ Quits: Spottedleaf (Spottedleaf!~Spottedle@node-1w7jr9qqos9fzpw1f8hp47zhq.ipv6.telus.net) (Killed (NickServ (GHOST command used by Spottedleaf_!~Spottedle@d75-155-207-106.bchsia.telus.net)))
L223[13:43:10] ⇨ Joins: Spottedleaf (Spottedleaf!~Spottedle@d75-155-207-106.bchsia.telus.net)
L224[13:48:41] *** mezz_ is now known as mezz
L225[13:51:03] <cjm721> Ok for rending enchant glint, when it is on my items they look fine but when it is on my armor it borks out. https://youtu.be/62hVuGhxuHk
L226[13:51:36] <gigaherz> that looks fine to me ;P
L227[13:51:42] <gigaherz> makes the armor look high-tech!
L228[13:51:51] ⇦ Quits: Nedelosk (Nedelosk!~Nedelosk@ip-37-201-253-118.hsi13.unitymediagroup.de) (Read error: Connection reset by peer)
L229[13:52:03] <gigaherz> also like a glitch
L230[13:52:06] <gigaherz> but a high-tech glitch!
L231[13:56:26] ⇨ Joins: ben_mkiv (ben_mkiv!~ben_mkiv@p4fed4538.dip0.t-ipconnect.de)
L232[13:58:41] ⇨ Joins: IoP (IoP!jikuja@irc.ioppi.info)
L233[14:02:06] <barteks2x> asking someone who knows a bit of ASM: if I don't use COMPUTE_MAXS | COMPUTE_FRAMES, is it required to specify local variables when creating class from the scratch?
L234[14:04:55] <barteks2x> well, I will see if it explodes later
L235[14:04:55] ⇦ Quits: Upthorn (Upthorn!~ogmar@108-85-88-44.lightspeed.frokca.sbcglobal.net) (Ping timeout: 383 seconds)
L236[14:18:01] <barteks2x> so I just realized... I'm writing asm code that writes a class transformer
L237[14:18:11] <barteks2x> that wraps optifine class transformer
L238[14:21:49] <cjm721> During the day it does the whole turn completely white.
L239[14:27:25] ⇨ Joins: immibis (immibis!~chatzilla@122-59-200-50.jetstream.xtra.co.nz)
L240[14:27:30] <barteks2x> and somehow with each run gradle uses more and more ram, at some point exceeding 1.5GB...
L241[14:27:34] <barteks2x> with 1GB assigned to it
L242[14:45:44] <TechnicianLP> linux? if i had to guess you have a similiar leak to what i have (https://i.imgur.com/pSFibO5.png)
L243[14:46:27] <TechnicianLP> (thats a mc instance though)
L244[14:46:28] <Corosus> what makes that visualization?
L245[14:46:34] <TechnicianLP> jemalloc
L246[14:46:51] <blackgem> Hey guys, what's the fastest you've gotten the player to move without ending up with errors 'cause of it, without changes to vanilla infrastructure?
L247[14:46:51] <Corosus> cool
L248[14:47:19] <TechnicianLP> jemalloc gathers the data - ubut the other program is in the suite
L249[14:47:20] <barteks2x> TechnicianLP, is that MC 1.13?
L250[14:47:41] <TechnicianLP> 1.12
L251[14:47:56] <TechnicianLP> buti expect to to also be the cause of a 1.7.10 leak i had
L252[14:47:57] <barteks2x> well 1.13 snapshots leak a ton of memory for me
L253[14:48:06] <TechnicianLP> didnt try those yet
L254[14:48:10] <barteks2x> like 10+GB before getting into main menu
L255[14:48:24] <TechnicianLP> did you turn off gc? xD
L256[14:48:30] <barteks2x> it's native memory leak
L257[14:48:41] <TechnicianLP> gonna take a look later
L258[14:50:11] <barteks2x> the new snaposhots don't seem to do that but the first 3 or so definitely did
L259[14:50:19] * blackgem squints at the channel
L260[14:51:32] <malte0811> Is there any premade way to apply a matrix to a baked quad?
L261[14:51:59] <gigaherz> you could check how the TRSRTransformation does it
L262[14:53:38] <barteks2x> my autotransformed optifine jar almost works :D
L263[14:54:05] <barteks2x> I found that I do need to specify the locals in bytecode
L264[14:58:41] <barteks2x> it works :D
L265[14:58:57] <barteks2x> I have a gradle plugin that generates dev environment optifine jar
L266[15:01:12] ⇦ Quits: h404bi (h404bi!~h404bi@119.129.118.14) (Ping timeout: 186 seconds)
L267[15:01:27] <TechnicianLP> barteks2x: orking fine for me ...
L268[15:01:35] <TechnicianLP> you still run arch?
L269[15:01:40] <barteks2x> *gentoo
L270[15:15:28] *** Santa|afk is now known as SatanicSanta
L271[15:26:48] ⇦ Quits: Ipsis (Ipsis!~Ipsis@82-69-71-184.dsl.in-addr.zen.co.uk) (Ping timeout: 186 seconds)
L272[16:00:47] ⇨ Joins: h404bi (h404bi!~h404bi@113.119.8.121)
L273[16:09:39] ⇦ Quits: Raycoms (Raycoms!~Raycoms@2804:14d:baa0:96af:7926:c992:f9b3:df17) (Remote host closed the connection)
L274[16:22:49] ⇨ Joins: shauncjoness (shauncjoness!~shauncjon@24.32.58.235)
L275[16:24:51] ⇨ Joins: Upthorn (Upthorn!~ogmar@69.62.144.46)
L276[16:25:11] ⇦ Quits: shauncjones (shauncjones!~shauncjon@24-32-58-235.cntrcmtc01.res.dyn.suddenlink.net) (Ping timeout: 207 seconds)
L277[16:29:58] ⇦ Quits: Noppes (Noppes!~Noppes@ip56530f2e.direct-adsl.nl) (Read error: -0x1: UNKNOWN ERROR CODE (0001))
L278[16:32:05] ⇨ Joins: Doty1154 (Doty1154!~Doty1154@c-73-189-164-179.hsd1.ca.comcast.net)
L279[16:51:05] <cjm721> Ok am I missing something, how do most mods check if an item is enchantable (for things like Auto-enchanter etc). I can enchant my stuff just fine with an anvil but not working in modded enchanters
L280[17:00:10] ⇦ Quits: Javaschreiber (Javaschreiber!~Thunderbi@88-209-32-73.nga.highspeed-baumann.de) (Quit: Javaschreiber)
L281[17:10:58] <gigaherz> cjm721: well, one would presume they do something similar as the anvil, and check enchantment.canApply
L282[17:12:11] <cjm721> Ya I was being stupid and was looking in the wrong class... Had it correct the whole time just never applied it to the class I was trying....
L283[17:20:21] ⇨ Joins: covers1624_ (covers1624_!~covers162@pool-71-178-16-211.washdc.fios.verizon.net)
L284[17:23:21] ⇦ Quits: covers1624 (covers1624!~covers162@ppp122-232-6.static.internode.on.net) (Ping timeout: 198 seconds)
L285[17:25:27] ⇨ Joins: covers1624 (covers1624!~covers162@ppp122-232-6.static.internode.on.net)
L286[17:28:00] ⇦ Quits: covers1624_ (covers1624_!~covers162@pool-71-178-16-211.washdc.fios.verizon.net) (Ping timeout: 186 seconds)
L287[17:29:24] *** SatanicSanta is now known as Santa|afk
L288[18:23:02] ⇨ Joins: diktatorcraft (diktatorcraft!~lnx@177.133.85.142.dynamic.adsl.gvt.net.br)
L289[18:28:09] ⇦ Quits: SquidDev (SquidDev!~SquidDev@ahti-saarelainen.zgrep.org) (Quit: <quit message here>)
L290[18:28:54] ⇨ Joins: Raycoms (Raycoms!~Raycoms@2804:14d:baa0:96af:7926:c992:f9b3:df17)
L291[18:50:36] ⇦ Quits: diktatorcraft (diktatorcraft!~lnx@177.133.85.142.dynamic.adsl.gvt.net.br) (Quit: Some people never go crazy. What truly horrible lives they must lead.)
L292[19:00:25] ⇦ Quits: Raycoms (Raycoms!~Raycoms@2804:14d:baa0:96af:7926:c992:f9b3:df17) (Remote host closed the connection)
L293[19:14:21] ⇨ Joins: Unh0ly_Tigg (Unh0ly_Tigg!~Unh0ly_Ti@c-24-21-196-226.hsd1.or.comcast.net)
L294[19:17:09] ⇦ Quits: Lynndis (Lynndis!~Lynn@c-75-71-231-133.hsd1.co.comcast.net) (Ping timeout: 207 seconds)
L295[19:35:02] ⇦ Quits: shauncjoness (shauncjoness!~shauncjon@24.32.58.235) (Ping timeout: 383 seconds)
L296[19:41:25] ⇨ Joins: shauncjoness (shauncjoness!~shauncjon@24-32-58-235.cntrcmtc01.res.dyn.suddenlink.net)
L297[19:55:09] ⇦ Quits: ben_mkiv (ben_mkiv!~ben_mkiv@p4fed4538.dip0.t-ipconnect.de) (Ping timeout: 198 seconds)
L298[20:09:28] ⇨ Joins: ben_mkiv (ben_mkiv!~ben_mkiv@p4FED4E19.dip0.t-ipconnect.de)
L299[20:12:39] ⇨ Joins: Ferrettomato (Ferrettomato!~Ferrettom@50.34.208.244)
L300[20:13:42] <Ferrettomato> Is there any way to stop Forge from automatically creating potion items when I register a PotionType?
L301[20:14:04] <Ferrettomato> Or, at the very least, to stop those items from appearing in the Creative menu?
L302[20:15:20] ⇨ Joins: abab9579 (abab9579!~Abastro@39.7.54.77)
L303[20:18:05] <Ferrettomato> I'm using my own custom items to apply my potion effect, but I get errors when I try to use it without registering it.
L304[20:18:51] <abab9579> If you aren't using potion items, why do you register it as a potion effect?
L305[20:19:59] ⇦ Quits: Abastro (Abastro!~Abastro@175.117.182.109) (Ping timeout: 383 seconds)
L306[20:22:00] <shauncjoness> Is there any good docs on the Forge Energy system or the RF API?
L307[20:22:26] <Ferrettomato> So I can apply it with other items. That technically works without registering it, but I get errors when I try to create a lingering cloud with it (An Entity type net.minecraft.entity.EntityAreaEffectCloud has thrown an exception trying to write state. It will not persist.)
L308[20:24:57] <abab9579> Oh so you only don't need it on potion items.
L309[20:25:21] <abab9579> Did you look into the potion class creating the item?
L310[20:26:42] <abab9579> I mean PotionType
L311[20:28:30] <Ferrettomato> The vanilla class? I can't see anything to do with it.
L312[20:31:22] <Ferrettomato> I mean, I could try using reflection to register the effect directly in PotionType, but that feels hacky and unstable to me.
L313[20:35:25] <abab9579> I guess you have to substitute ItemPotion for that.
L314[20:37:15] <abab9579> Yeah, ItemPotion loads items for all the potions
L315[20:37:36] <abab9579> So you need to register substitute for ItemPotion.
L316[20:38:11] <Ferrettomato> "register substitute"?
L317[20:40:16] <abab9579> Yes.
L318[20:40:30] <Ferrettomato> I'm not familiar with that.
L319[20:40:36] <abab9579> Something like http://www.minecraftforge.net/forum/topic/61332-1122-no-more-substitution-aliases/
L320[20:41:09] <abab9579> This thread contains how to register substitute on both 1.12.2 and prev versions
L321[20:45:30] <abab9579> It's simple. Just register your item as a substitute.
L322[20:47:04] <abab9579> Yet, it could break some mods.
L323[20:47:18] ⇦ Quits: donington (donington!~jonathan@dsle2.ody.ca) (Quit: Leaving.)
L324[20:48:43] <Ferrettomato> Hm... Maybe I'll just leave the error for now. It isn't causing any major problems, afaik. Thanks for the help, though- I'll have to remember that substitution stuff.
L325[20:51:17] <abab9579> You're welcome. Besides if you don't really need the change, I think it's better to let it be like that.
L326[20:52:18] ⇦ Quits: ben_mkiv (ben_mkiv!~ben_mkiv@p4FED4E19.dip0.t-ipconnect.de) (Remote host closed the connection)
L327[20:55:32] ⇨ Joins: ben_mkiv (ben_mkiv!~ben_mkiv@p4FED4E19.dip0.t-ipconnect.de)
L328[21:01:51] <tterrag> Ferrettomato: what's the issue with having vanilla potion items?
L329[21:01:58] <tterrag> this was always done in vanilla even when some were unobtainable
L330[21:02:05] <tterrag> as long as there's no recipe, what's the harm?
L331[21:02:47] <Ferrettomato> The automatic potion items are showing up in the creative menu. That's the problem.
L332[21:04:04] <Ferrettomato> If I could just get them out of there, everything would be fine.
L333[21:13:39] ⇨ Joins: Lynndis (Lynndis!~Lynn@c-75-71-231-133.hsd1.co.comcast.net)
L334[21:21:46] <ben_mkiv> are "item models" just 2d png images? Oo
L335[21:22:52] <Commoble> they can be
L336[21:23:02] <ben_mkiv> ok, so its the simplest form?
L337[21:23:21] <Commoble> Item models can be 2D or 3D
L338[21:23:49] <Commoble> if it's 2D, it uses a png for the inventory and it generates a 3D model for when it's floating on the ground
L339[21:23:51] <ben_mkiv> 3D also for tools like a shovel?
L340[21:24:06] <Commoble> shovel is 2D
L341[21:24:39] <Commoble> You can alternatively define a 3D model (itemblocks do this but they don't have to use the same model as the block)
L342[21:25:16] <ben_mkiv> kk, thanks
L343[21:25:59] <Commoble> for example I have a block in one project that uses a TileEntitySpecialRenderer for the block and the item model has a simplified 3D model so it still looks sort of like the special-rendered block
L344[21:30:52] ⇦ Quits: c233 (c233!~c233@164.40.199.221) (Killed (NickServ (GHOST command used by c233_!~c233@164.40.198.116)))
L345[21:30:58] ⇨ Joins: c233 (c233!~c233@164.40.198.116)
L346[21:53:07] ⇨ Joins: primetoxinz (primetoxinz!~primetoxi@ip68-107-226-229.hr.hr.cox.net)
L347[21:54:44] ⇨ Joins: Gil (Gil!webchat@78-20-42-14.access.telenet.be)
L348[22:02:12] ⇦ Quits: MikrySoft (MikrySoft!~mikrysoft@89-71-101-248.dynamic.chello.pl) (Killed (NickServ (GHOST command used by MikrySo2)))
L349[22:08:10] ⇨ Joins: McJty (McJty!~jorrit@ptr-9197ufn55bfcpahbl3x.18120a2.ip6.access.telenet.be)
L350[22:29:12] ⇦ Quits: Lathanael|Away (Lathanael|Away!~Lathanael@p54960C05.dip0.t-ipconnect.de) (Ping timeout: 186 seconds)
L351[22:30:54] ⇨ Joins: Lathanael|Away (Lathanael|Away!~Lathanael@p549603DB.dip0.t-ipconnect.de)
L352[22:37:28] ⇦ Quits: Commoble (Commoble!~Commoble@mnpl-04-3331.dsl.iowatelecom.net) (Quit: Leaving)
L353[23:26:34] ⇦ Quits: McJty (McJty!~jorrit@ptr-9197ufn55bfcpahbl3x.18120a2.ip6.access.telenet.be) (Quit: Leaving)
L354[23:30:18] <ben_mkiv> anyone got an idea why raytrace returns a block for me even while facing a entity?
<<Prev Next>> Scroll to Top