#mod-dev-talk Tuesday 3 August 2021
123 messages6 people
- J
- S
Replying toJack PapelTypo on your latest pull request Solly, it should be "wearables", not "wearbles"
Fixed04:50I'm going to get this working before moving on to fixing mixins, access wideners, etc. to avoid diverging too much at once - S
- A05:55Perhaps see if anyone else
cough cough havenhas anything to say - S05:56If I'm not mistaken, it should be replaced with static calls as usual in the bytecode.. although I usually don't call static methods on instances, so idk
- H05:56And what is
B - S05:57
Bis defined in the first screenshot - H
- S
- H
- S
- H
- S
- H
- S
- H
- S
- H
- S
- H
- A
Replying toHaven KingI don't see the issue with doing AetherBlocks.WHATEVER.asItem()
There is a massive issue don't you see, it takes half a second longer to type
- 🙃1
- S
- A
- HBecause then you can have just one method in
AetherBlocksthat's called for each block that needs an item.
(edited)static <T extends Block> T register(Identifier id, T block) { T registered = Registry.register(Registry.BLOCK, id, block); Registry.register(Registry.ITEM, id, new BlockItem(registered, ITEM_SETTINGS); return registered } - S
- A06:05You do not want the answer.
- H
- S
- S
Replying toHaven KingI don't think any of those are major benefits. For the few block items that do look out…
Well it's easy for me to do that instead, if azzy wants me to - A
- H
- S
- A
Replying toSollyWdym it's fucked?
Order ain't great and things aren't really well grouped - A
Replying toHaven KingItem ordering doesn't really matter (functionally). You can just rearrange the entries 🙃
I know there was a way but I forgot how, iirc it was a bit annoying - S06:34Haven't regrouped them though, other than moving a few between groups
- S
- S07:49And swet drops(edited)
- A07:50idk
- S07:51They don't have an inventory model but idc
- S
- J
- S
- S
- J14:30One thing I noticed on github though is that instead of register it says "add". I know it's because you're adding it to a registry queue but I think "register" is more intuitive. In my opinion at least
- J
- C
- J
- J
- K
- S
Replying toJack PapelWhy is this a method rather than a variable?
Because it gets modified, and the two would interfere with each other if it were a variable - S
Replying toKyrptonaughtWhat error are you getting?
21:42Only on ci. It's fine for me - S
Replying toJack PapelStone traps don't have textures anymore (if they had before)
They never did - S
Replying toJack PapelCan't create an aether portal
Hm? The aether portal item is broken, I know that. You mean you can't create one normally either?(edited) - J
- S
- A
- S
- S
- A
- S23:07One block can exist on its own without anything special
- J
- A
- J23:08Just like how command blocks aren't in there
- A
- S
- J
- A
- S
- A
- J







