Create Bits 'n' Bobs: Contraptions 'n' control#79
Draft
Conversation
…he haters will sabotage me
(cherry picked from commit 8a8f8a6)
Replace convenience recipe methods (p.stonecutting, p.stairs, p.slab) with manual recipe builders using p.withConditions(BnbFeatureFlag.TILES) so that all palette block recipes (stonecutting, crafting, recycling) are conditioned on the TILES feature flag. Affected recipe types: - Palette variant stonecutting recipes (BnbPalettesVariantEntry) - Base block stonecutting recipes (BnbPalettesVariantEntry) - Stair crafting + stonecutting (Stairs, TileStairs) - Slab crafting + stonecutting + recycling (Slab, TileSlab) - Wall crafting + stonecutting (Wall, TileWall) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add ConfigBool entries for each BnbFeatureGroup (Chain Drives, Lights, Girder Struts, Dyeable Pipes and Tanks) in a 'groups' section of the feature flags config. Group toggles appear in Catnip's config screen as boolean toggles. Behaviour: - Toggling a group to true calls enableAll() on its children - Toggling a group to false calls disableAll() on its children - Group value syncs from children state on load/reload (true = all enabled, false = partial or all disabled) - Guard flag prevents recursive reload when syncing Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Feature/dyed tanks
…ELL. CAKE IM SORRY. ITS SLOP. SO SLOP.
…Modding/Create-Bits-n-Bobs into contraptions-and-control
…Modding/Create-Bits-n-Bobs into contraptions-and-control
… truss - Create TrussEncasedPipeBlock extending Block with IWrenchable, IBE, EncasedBlock, TransformableBlock, and SpecialBlockItemRequirement - Frozen pipe connections: set at encasing time, only break on neighbor removal - Wrench/sneak-wrench reverts to FluidPipeBlock, drops truss item - Full rotation/mirror/transform support for both truss axis and pipe connections - Update TrussBlock.useItemOn to allow inserting fluid pipes into trusses - Add TrussBlock.getEncasedPipeState with frozen connection calculation - Add TrussBlockStateGen.trussEncasedPipeModel using multipart for per-direction cutouts - Register INDUSTRIAL_TRUSS_ENCASED_PIPE in BnbDecorativeBlocks - Add block to ENCASED_PIPE block entity in BnbBlockEntities Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
2.0.0 - Contraptions 'n' Control
Key features:
(Currently includes all features from compat n casings but once merged it should be new content only)