Uh oh!
There was an error while loading. Please reload this page.
Register Block States - #537
Conversation
Update the registerBlock method to work with 1.8
Lunatrius
commented
Oct 8, 2014
You should use spaces for indentation. You have a few lines that use tabs instead. |
Change tabs to spaces Move register states method
LexManos
commented
Oct 9, 2014
I'll look into what the states relating to IDs are, they seem... bad But it's mojang. |
samsartor
commented
Oct 9, 2014
Indeed, that for loop could have been a lot better, just a quick fix anyway. :P |
Set models for rendering items and block items Clean a nasty for loop
master801
commented
Oct 9, 2014
@eekysam |
Parker8283
commented
Oct 9, 2014
Someone commented that already |
… and clear the list when new snapshots are injected. Modders DO NOT touch the registry in Block directly. Closes#537
OvermindDL1
commented
Dec 4, 2014
@master801 Tabs use significantly less space than spaces and are superior for indentation purposes, however most people are not detailed enough to use them properly, thus spaces tend to be better for the 'general populace' instead of tabs. |
JustGregory-zz
commented
Dec 4, 2014
@OvermindDL1 keep calm, no need to push preferences over coding syntax. I, myself, prefer two-space indents, and dislike newlines just for opening function braces, ... but the point is, everyone has a preference for their coding style. So long as patches are submitted in whatever passes for accepted coding style, 99.99% of us have no problem. |
Currently the GameRegistry.registerBlock method does not add the necessary block states to Block.BLOCK_STATE_IDS for new blocks to work.
This commit fixes that.