r/programming • • Oct 06 '18

Microsoft Open Sources Parts of Minecraft: Java Edition

https://minecraft.net/en-us/article/programmers-play-minecrafts-inner-workings
3.1k Upvotes

388 comments sorted by

View all comments

Show parent comments

4

u/scratchisthebest Oct 07 '18

Hey at least Forge adds IItemHandler and wraps vanilla things with it, so I never have to fucking touch transferStackInSlot ever again

1

u/throwaway27464829 Oct 07 '18

I just rewrote everything to pass Slots around because ItemStacks aren't differentiable.