This is a tech focused addon for BTW
Slime blocks:
- Behave similarly to modern slime blocks
- Moves adjacent blocks when pushed or pulled
- Bouncy
- Crafted by piston packing 9 slime balls
- Placing from a block dispenser will spring entities
Glue blocks:
- Behave similarly to modern honey blocks
- Moves adjacent blocks when pushed or pulled
- Moves adjacent entities when pushed or pulled
- Sticky
- Hitbox is slightly smaller than a full block
- Crafted by piston packing 4 glue
Both slime and glue blocks:
- Mineable with shovels and piston shovels
- Uncrafted with a stoked cauldron
- Can indefinitely support adjacent blocks that would otherwise fall without morter
Soap blocks:
- Will not stick to slime, glue, or sticky pistons.
- Can only be pushed, not pulled.
- Reduced the crafting cost from 9 soap to 4.
Blocks that can connect to each other:
- Slime blocks connect to anything except soap and glue blocks
- Glue blocks connect to anything except soap and slime blocks
- Platforms connect to other platforms
- Double chests connect their halves
- Doors connect their top/bottom halves
Pistons:
- Modern logic backported and optimized
- Cows can be milked by squeezing them with a piston over an empty bucket
Turntables:
- Can rotate multiple connected blocks.
- Block limit of 12.
- Rotates up to 2 blocks without requiring sticky connections
- Connected blocks may not extend more than 1 block horizontally from the turntable
- More blocks can be rotated:
- Buttons
- Levers
- Fence gates
- Doors
- Trapdoors
- Placed tools
Pulleys:
- Can lift any movable block, including arbitrary connections of slime/glue.
- Block limit of 25.
Block placement changes:
- Relaxed most checks for block opacity, particularly for block placement
- Rails may be placed on top of mechanical hoppers
- Buttons can be placed on floors/ceilings
- Doors have solid faces for placement
Observers:
- Backported from modern versions, complete with their tick timings and detection quirks.
- Crafted at a soul forge similar to buddy blocks, but replacing the redstone torches with quartz
- Detects "shape updates" rather than "block updates"
- Not conductive
- Not ignored by buddy blocks
CUD Block:
- Similar to buddy blocks but detects comparator updates instead of block updates
- Can be used like a target block in contexts that don't need comparator updates
Block placer/breaker:
- Crafted by cutting a block dispenser in half
- Edge triggered rather than level triggered (a.k.a. works like dispensers)
- The placer only places and the breaker only breaks
Redstone changes:
- Most BTW blocks accept weak power instead of only strong power
- Buddy blocks
- Detect block placement
- Ignore buttons, levers, and pressure plates (previously detected updates from multiple tiles away sometimes)
- Ignore moving blocks
- Comparators:
- No longer get BUDed when breaking most BTW blocks
- Detects the current fuel level of ovens rather than only presence of items
- Detects the durability level of placed tools
- Detector blocks no longer send block updates further away than they actually provide power
- Block dispensers prioritize the entity nearest to the center of the block in front of them when sucking up entities instead of choosing a random entity
- Re-enabled vanilla droppers, but reworked them to only eject items like dispensers instead of inserting to containers. Intended to allow normal handling of items that would otherwise have special dispenser behaviors like arrows and eggs.
- Iron spikes and lightning rods will conduct power into blocks they're connected to
- Note blocks create block updates when triggered similar to modern vanilla
Blender:
- New bulk crafting block capable of making raw foods and a few other things
- Crafts items by supplying mechanical power to either the top or bottom of the block.
- Powering both sides will make it craft faster
- Supplying mechanical power to the sides will dump the contents
Rails/minecart features:
- Re-enabled activator rails
- Oven minecarts replace the vanilla furnace minecart
- Can be powered with any item usable as oven fuel instead of only coal
- Can be fueled with mechanical hoppers
- Right clicking normally will make the cart move away from you
- Right click while sneaking will make the cart stop
- Right click while holding alt use will make the cart move towards you
- Moving over a powered activator rail will cause the oven cart to reverse direction
- New rail buffer block
- Crafted with 3 stone bricks, 3 wood moulding, and 2 iron nuggets
- Prevents minecarts that run into it bouncing off of each other until moved by a powered rail
- New rail types:
- Wooden rails have half top speed and can burn, but are cheap to make
- Steel rails have doubled top speed
- Modern rail connection logic when placing/moving rails
- Attempted to fix most of the jank with minecart movement and collisions
Minor changes:
- Added iron trapdoors
- Made the front torch of comparators match modern vanilla positioning
- Buckets correctly drop as items after falling
- Buckets placed by block dispensers always face up
- Restored the hollow hitbox for cisterns (can hold entities when pushed)
Technical/creative features:
- Several debug sticks for inspecting block IDs, manipulating metadata, and other such things
- A placeholder dead coral fan is available in the creative menu. If you know you know.
Commands:
- noclip
- Sort of like spectator mode, but worse
- Make sure you're already flying in creative mode or you'll just fall into the void
- publish
- Added arguments to match modern versions
¯\_(ツ)_/¯
Java is an annoying language and rather than deal with its crap I've wrapped things in C preprocessor macros. The javac folder is the main source folder and java is generated from it dynamically.
To compile this either edit preprocess.bat to reference a clang installation or suffer through manually editing the java folder and all of the stuff like ((long)(z)<<12 +26|(long)((x)&0x3FFFFFF)<<12|((y)&0xFFF)) that I had macro wrapped.
Have fun I guess?