#2870 fix rnr roof tags, remove framing stair/slab compat with additional placements

This commit is contained in:
Pyritie 2026-01-31 13:09:45 +00:00
parent bd3895e217
commit 14d20f48da
4 changed files with 32 additions and 3 deletions

View file

@ -46,6 +46,7 @@
- Fixed pyrogallol and black and white film developer requiring too high of a heat on the pot recipe (#2909) @Pyritie
- Fixed not being able to fire scraping blade clay mold (#2905) @Pyritie
- Fixed stair and slab versions of road blocks not having speed bonuses (#2912) @Pyritie
- Fixed RNR roofs not having mineable tags, and blocked the stair/slab frame from Additional Placements (#2870) @Pyritie
### Translation updates
- Chinese (simplified) @jmecn
- Russian @Petr211071 + @Nixieeunrare

View file

@ -14,13 +14,13 @@
[startup.types.additionalplacements.slab]
#Blocklist for controlling which blocks (that are valid for this type) will generate variants of this type
#See https://github.com/FirEmerald/AdditionalPlacements/wiki/Blocklist-Format for blocklist format
enabled = ["+*"]
enabled = ["+*", "-rnr:roof_frame_slab"]
#Stairs
[startup.types.additionalplacements.stairs]
#Blocklist for controlling which blocks (that are valid for this type) will generate variants of this type
#See https://github.com/FirEmerald/AdditionalPlacements/wiki/Blocklist-Format for blocklist format
enabled = ["+*"]
enabled = ["+*", "-rnr:roof_frame_stairs"]
#Blocklist to control which blocks will allow for vertical stair connections.
#Keep in mind vertical is RELATIVE to the placement of the stair - "vertical" for a vertically placed stair will be one of the two horizontal directions.
#See https://github.com/FirEmerald/AdditionalPlacements/wiki/Blocklist-Format for blocklist format

View file

@ -87,6 +87,7 @@ ServerEvents.tags('block', event => {
registerMoreRedBlockTags(event)
registerHotOrNotBlockTags(event)
registerRailWaysBlockTags(event)
registerRnrBlockTags(event)
registerSophisticatedBackpacksBlockTags(event)
registerSpeciesBlockTags(event)
registerTACZBlockTags(event)

View file

@ -6,4 +6,31 @@ const registerRnrItemTags = (event) => {
event.removeAllTagsFrom(item)
event.add('c:hidden_from_recipe_viewers', item)
});
};
};
function registerRnrBlockTags(event) {
global.TFC_WOOD_TYPES.forEach(wood => {
event.add('minecraft:mineable/axe', `rnr:wood/shingles/${wood}`)
event.add('minecraft:mineable/axe', `rnr:wood/shingles/${wood}_stairs`)
event.add('minecraft:mineable/axe', `rnr:wood/shingles/${wood}_slab`)
});
global.AFC_WOOD_TYPES.forEach(wood => {
event.add('minecraft:mineable/axe', `rnr:wood/shingles/${wood}`)
event.add('minecraft:mineable/axe', `rnr:wood/shingles/${wood}_stairs`)
event.add('minecraft:mineable/axe', `rnr:wood/shingles/${wood}_slab`)
});
event.add('minecraft:mineable/hoe', `rnr:thatch_roof`)
event.add('minecraft:mineable/hoe', `rnr:thatch_roof_stairs`)
event.add('minecraft:mineable/hoe', `rnr:thatch_roof_slab`)
event.add('minecraft:mineable/pickaxe', `rnr:terracotta_roof`)
event.add('minecraft:mineable/pickaxe', `rnr:terracotta_roof_stairs`)
event.add('minecraft:mineable/pickaxe', `rnr:terracotta_roof_slab`)
event.add('minecraft:mineable/pickaxe', `rnr:ceramic_roof`)
event.add('minecraft:mineable/pickaxe', `rnr:ceramic_roof_stairs`)
event.add('minecraft:mineable/pickaxe', `rnr:ceramic_roof_slab`)
}