x12xx12x
x12xx12x
Oh and the reason the is so much new code is that we can't do mathematic operations for rotations anymore but have nested switch statements (eg in the block handlers)
Status update: The PR compiles until Unity file 22 with MVSC
I'm at Unity File 17. 14597 lines of compiler errors to go
I tried to wrap any uneasy to use (like similar blocks like stairs, slabs,...) into functions from the block handlers - this seemed the most convenient way for me
I'm so lookig forward to when this finaly compiles :D
Does anyone have a Idea how to keep track of the testing process. Like a online form service where we enter the status of the blocks?
@tigerw The waterlogged block states seem to be missing. I assume you autogenerated this from the server .jar file. Can we add this? and the default constructors of the blocks...
Or are you thinking about adding some stuff in the Type() function in the BlockSate class? Hm... this might be nice
> I was thinking some manual registry changes, so something like > > ```c++ > case BlockType::BlackBed: return BlackBed::Facing(a_Block); > case BlockType::BlueBed: return BlueBed::Facing(a_Block); > case BlockType::BrownBed: return BrownBed::Facing(a_Block); >...
> Where do you need to constexpr-construct a default block state? I actually forgot that ;D 🤦