Skip to content

fix(miner): solving #965#11571

Open
muellerjp wants to merge 4 commits intoldtteam:version/mainfrom
muellerjp:fix/hardcoded_miner_ladder_block
Open

fix(miner): solving #965#11571
muellerjp wants to merge 4 commits intoldtteam:version/mainfrom
muellerjp:fix/hardcoded_miner_ladder_block

Conversation

@muellerjp
Copy link
Copy Markdown

  • BuildingConstants.java: renaming NBT Tag
  • BuildingMiner.java: renaming BlockPos var, removing hardcoded requests for cobblestone, renaming var when (de)serializing NBT, renaming getCobbleLocation function
  • EntityAIStructureMiner.java: renamed REQUEST_BATCH, more renaming and adapting to the new naming, removed getLadderBackFillBlock function hardcoding cobble and netherrack, functions now use getMainFillBlock
  • MineColonies.java: Renaming Tag
  • MinerLevelManagementModule.java: renaming function
  • SchematicTagConstants.java: Renaming cobbletag to tag ladderback

Closes #
Closes #

Changes proposed in this pull request

Review please

- BuildingConstants.java: renaming NBT Tag
- BuildingMiner.java: renaming BlockPos var, removing hardcoded requests for cobblestone, renaming var when (de)serializing NBT, renaming getCobbleLocation function
- EntityAIStructureMiner.java: renamed REQUEST_BATCH, more renaming and adapting to the new naming, removed getLadderBackFillBlock function hardcoding cobble and netherrack, functions now use getMainFillBlock
- MineColonies.java: Renaming Tag
- MinerLevelManagementModule.java: renaming function
- SchematicTagConstants.java: Renaming cobbletag to tag ladderback
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Mar 2, 2026

CLA assistant check
All committers have signed the CLA.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 2, 2026

In order for this pull request to be merged, make sure you test whether your changes work.

If the changes are working as intended, remove the https://github.com/ldtteam/minecolonies/labels/undefined label from the pull request.
As long as this label is on the pull request, it will not be merged.
If your pull request made no changes to the source code, the label will not be automatically added to the pull request.

Contributors, please review this pull request!

@muellerjp
Copy link
Copy Markdown
Author

i accidentially linked the wrong ticket...
This one is the correct one:
ldtteam/minecolonies-features#965

- EntityCitizenWalkToProxy.java: referenced getCobbleLocation, fixed
- InteractionValidatorInitializer.java: referenced getCobbleLocation, fixed
- MinerLevel.java: referenced getCobbleLocation, fixed, renamed vars
@muellerjp
Copy link
Copy Markdown
Author

image Tested in with the `gradew runClient`. Redstone block ladders are now possible :D

-> Wiki should recommend to use as fillerblock what ever the style uses as ladderback block. Otherwise when building the central shaft the ladder will be deconstructed and rebuild in the process.

@Raycoms
Copy link
Copy Markdown
Contributor

Raycoms commented Mar 15, 2026

Isn't this the same as: #11573?

What's the dif?

@MotionlessTrain
Copy link
Copy Markdown
Contributor

Target branch

@muellerjp
Copy link
Copy Markdown
Author

muellerjp commented Mar 19, 2026

Isn't this the same as: #11573?

What's the dif?

yeah, the target branch, i got told that if i wanna have it in 1.21.1 i should do a separate PR targeting that version :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants