Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alias problem with Bricks and Nether Bricks #7484

Open
1 task done
Dummybell opened this issue Jan 20, 2025 · 4 comments
Open
1 task done

Alias problem with Bricks and Nether Bricks #7484

Dummybell opened this issue Jan 20, 2025 · 4 comments
Labels
bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. PR available Issues which have a yet-to-be merged PR resolving it priority: medium Issues that are detrimental to user experience (prohibitive bugs or lack of useful implementation).

Comments

@Dummybell
Copy link

Skript/Server Version

[19:21:43 INFO] [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases

[19:21:43 INFO] [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/

[19:21:43 INFO] [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials

[19:21:43 INFO] [Skript] Server Version: 1.21.4-118-73f7736 (MC: 1.21.4)

[19:21:43 INFO] [Skript] Skript Version: 2.10.0 (skriptlang-github)

[19:21:43 INFO] [Skript] Installed Skript Addons:

[19:21:43 INFO] [Skript] - skript-reflect v2.6 (https://github.com/SkriptLang/skript-reflect)

[19:21:43 INFO] [Skript] - SkBee v3.8.1 (https://github.com/ShaneBeee/SkBee)

[19:21:43 INFO] [Skript] Installed dependencies: None

Bug Description

There is currently an issue with alias of Bricks and Nether bricks.

Using the alias of Bricks or Nether Bricks currently works for brick/bricks and nether brick/nether bricks

Might be happening with other items but only tested these 2

Expected Behavior

Aliases should be separated so they do not overlap

Steps to Reproduce

!give bricks to player

Will what seems like randomly choose to give either brick or bricks (the block)

Errors or Screenshots

No response

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this report.
@Dummybell
Copy link
Author

Would like to add that both "nether bricks block" & "bricks block" do work correctly and give out the block

@ShaneBeee
Copy link
Contributor

ShaneBeee commented Jan 20, 2025

This is most likely due to when I wrote the auto-aliases, I added a default plural of "s"
so, basically we get this:

for Brick:

  • brick
  • bricks

for Bricks:

  • bricks
  • brickss

Um.... you got this skript!
Image

@Efnilite Efnilite added bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. priority: low Issues that are not harmful to the experience but are related to useful changes or additions. labels Jan 20, 2025
@ShaneBeee
Copy link
Contributor

@Efnilite Im curious why you classified this as "priority: low" without offering a temporary solution?
How is a Skripter supposed to give the brick item?

@Moderocky Moderocky added priority: medium Issues that are detrimental to user experience (prohibitive bugs or lack of useful implementation). and removed priority: low Issues that are not harmful to the experience but are related to useful changes or additions. labels Jan 21, 2025
@yzz17
Copy link

yzz17 commented Jan 26, 2025

similar error, Related to the latest changes? // ps @ShaneBeee (I managed to combine two nbts/strings using vanilla mc system 1.20.4/5 contact me and I'll give you the class (java*))

Image

random changes to this:

Image

no logs errors, I was about to report it, I'll leave it here, I made a test server, it only has skript, latest versions of both things (spigot/skript).
use /test , for see the result, and /op your self

the script code:

on rightclick on a chest:
loop all items in inventory of clicked block:
send "%loop-item's type%" to player
command /test:
trigger:
test(player)
function test(p: player):
set {_ch} to a new chest inventory with 6 row
set slot 0 of {_ch} to 1 of nether bricks
set slot 1 of {_ch} to 1 of resin bricks
set slot 2 of {_ch} to 1 of bricks
open {_ch} to {_p}

the test server: https://mega.nz/file/fs1QAZSA#q93Ds-JxxC4qRllTY-zqo20D5O4dQmwYCmkfDb2_Pw0

Related to the latest changes? = any stone brick¦s = stone bricks, mossy stone bricks, cracked stone bricks, chiseled stone bricks
// I think the real id does not match the aliases //

"brick"
skript-aliases-full-2.10.0\building.sk (82 coincidencias)
line 157: [bottom] brick slab = minecraft:stone_slab {Damage:4}
line 158: [bottom] stone[ ]brick slab = minecraft:stone_slab {Damage:5}
line 159: [bottom] nether brick slab = minecraft:stone_slab {Damage:6}
line 167: (upside-down|top) brick slab = minecraft:stone_slab {Damage:12}
line 168: (upside-down|top) stone[ ]brick slab = minecraft:stone_slab {Damage:13}
line 169: (upside-down|top) nether brick slab = minecraft:stone_slab {Damage:14}
line 177: double brick slab = minecraft:double_stone_slab {Damage:4}
line 178: double stone[ ]brick slab = minecraft:double_stone_slab {Damage:5}
line 179: double nether brick slab = minecraft:double_stone_slab {Damage:6}
line 201: any slab = any wooden slab, stone slab, sandstone slab, petrified oak slab, cobblestone slab, brick slab, stone brick slab, nether brick slab, quartz slab, red sandstone slab
line 206: {stair direction} [red] brick stair¦s = minecraft:brick_stairs
line 207: {stair direction} stone brick stair¦s = minecraft:stone_brick_stairs
line 208: {stair direction} nether brick stair¦s = minecraft:nether_brick_stairs
line 213: [any] stair¦s = oak stairs, spruce stairs, birch stairs, jungle stairs, acacia stairs, dark oak stairs, cobblestone stairs, brick stairs, stone brick stairs, nether brick stairs, quartz stairs, purpur stairs, sandstone stairs, red sandstone stairs
line 216: [red] brick block¦s = minecraft:brick_block
line 217: nether brick [block]¦s = minecraft:nether_brick
line 219: stone brick¦s = minecraft:stonebrick {Damage:0}
line 220: moss[y] stone brick¦s = minecraft:stonebrick {Damage:1}
line 221: cracked stone brick¦s = minecraft:stonebrick {Damage:2}
line 222: chiseled stone brick¦s = minecraft:stonebrick {Damage:3}
line 223: any stone brick¦s = stone bricks, mossy stone bricks, cracked stone bricks, chiseled stone bricks
line 234: prismarine brick¦s = minecraft:prismarine {Damage:1}
line 236: any prismarine = raw prismarine, prismarine bricks, dark prismarine
line 334: prismarine brick¦s = minecraft:prismarine_bricks
line 336: any prismarine [block¦s] = raw prismarine, prismarine bricks, dark prismarine
line 340: stone brick¦s = minecraft:stone_bricks
line 341: moss[y] stone brick¦s = minecraft:mossy_stone_bricks
line 342: cracked stone brick¦s = minecraft:cracked_stone_bricks
line 343: chiseled stone brick¦s = minecraft:chiseled_stone_bricks
line 347: nether brick [block]¦s = minecraft:nether_bricks
line 348: red nether brick¦s = minecraft:red_nether_bricks
line 355: [red] brick block¦s = minecraft:bricks
line 387: end[ ]stone brick¦s = minecraft:end_bricks
line 404: red nether brick¦s = minecraft:red_nether_brick
line 514: end[ ]stone brick¦s = minecraft:end_stone_bricks
line 526: chiseled nether brick¦s = minecraft:chiseled_nether_bricks
line 527: cracked nether brick¦s = minecraft:cracked_nether_bricks
line 529: quartz brick¦s = minecraft:quartz_bricks
line 547: polished blackstone brick¦s = minecraft:polished_blackstone_bricks
line 548: cracked polished blackstone brick¦s = minecraft:cracked_polished_blackstone_bricks
line 580: deepslate brick¦s = minecraft:deepslate_bricks
line 581: cracked deepslate brick¦s = minecraft:cracked_deepslate_bricks
line 582: any deepslate brick¦s = deepslate brick, cracked deepslate brick
line 621: mud bricks = minecraft:mud_bricks
skript-aliases-full-2.10.0\decoration.sk (48 coincidencias)
line 88: nether brick fence¦s = minecraft:nether_brick_fence
line 93: (infested|silverfish) stone brick [block]¦s = minecraft:monster_egg {Damage:2}
line 94: (infested|silverfish) mossy stone brick [block]¦s = minecraft:monster_egg {Damage:3}
line 95: (infested|silverfish) cracked stone brick [block]¦s = minecraft:monster_egg {Damage:4}
line 96: (infested|silverfish) chiseled stone brick [block]¦s = minecraft:monster_egg {Damage:5}
line 213: {waterloggable} nether brick fence¦s = minecraft:nether_brick_fence
line 218: (infested|silverfish) stone brick [block]¦s = minecraft:infested_stone_bricks
line 219: (infested|silverfish) mossy stone brick [block]¦s = minecraft:infested_mossy_stone_bricks
line 220: (infested|silverfish) cracked stone brick [block]¦s = minecraft:infested_cracked_stone_bricks
line 221: (infested|silverfish) chiseled stone brick [block]¦s = minecraft:infested_chiseled_stone_bricks
line 222: [any] (infested|silverfish) block¦s = infested stone, infested cobblestone, infested stone brick, infested mossy stone brick, infested cracked stone brick, infested chiseled stone brick
line 350: {waterloggable} brick wall¦s = minecraft:brick_wall
line 354: {waterloggable} stone brick wall¦s = minecraft:stone_brick_wall
line 355: {waterloggable} mossy stone brick wall¦s = minecraft:mossy_stone_brick_wall
line 359: {waterloggable} nether brick wall¦s = minecraft:nether_brick_wall
line 360: {waterloggable} red nether brick wall¦s = minecraft:red_nether_brick_wall
line 361: {waterloggable} end stone brick wall¦s = minecraft:end_stone_brick_wall
line 362: any wall[s] = any walls, brick wall, prismarine wall, sandstone wall, red sandstone wall, stone brick wall, mossy stone brick wall, granite wall, diorite wall, andesite wall, nether brick wall, red nether brick wall, end stone brick wall
line 416: [any] fence¦s = oak fence, spruce fence, birch fence, jungle fence, acacia fence, dark oak fence, nether brick fence
line 629: [any] fence¦s = oak fence, spruce fence, birch fence, jungle fence, acacia fence, dark oak fence, nether brick fence, crimson fence, warped fence
line 639: {waterloggable} polished blackstone brick wall¦s = minecraft:polished_blackstone_brick_wall
line 640: any wall[s] = any walls, blackstone wall, polished blackstone wall, polished blackstone brick wall
line 737: {waterloggable} deepslate brick wall¦s = minecraft:deepslate_brick_wall
line 739: any wall[s] = any walls, cobbled deepslate wall, polished deepslate wall, deepslate brick wall, deepslate tile wall
line 777: {waterloggable} mud brick wall¦s = minecraft:mud_brick_wall
skript-aliases-full-2.10.0\misc.sk (6 coincidencias)
line 28: nether brick item¦s = minecraft:netherbrick
line 39: nether brick item¦s = minecraft:nether_brick
line 63: [clay] brick [item]¦s = minecraft:brick
skript-aliases-full-2.10.0\slabs.sk (35 coincidencias)
line 15: {waterloggable} {slab} brick slab¦s = minecraft:brick_slab
line 16: {waterloggable} {slab} stone[ ]brick slab¦s = minecraft:stone_brick_slab
line 17: {waterloggable} {slab} nether brick slab¦s = minecraft:nether_brick_slab
line 22: {waterloggable} {slab} prismarine brick slab¦s = minecraft:prismarine_brick_slab
line 25: [any] slab¦s = any wooden slab, stone slab, sandstone slab, petrified oak slab, cobblestone slab, brick slab, stone brick slab, nether brick slab, quartz slab, red sandstone slab, purpur slab, prismarine slab, prismarine brick slab, dark prismarine slab
line 36: {waterloggable} {slab} mossy stone brick slab¦s = minecraft:mossy_stone_brick_slab
line 43: {waterloggable} {slab} red nether brick slab¦s = minecraft:red_nether_brick_slab
line 44: {waterloggable} {slab} end stone brick slab¦s = minecraft:end_stone_brick_slab
line 45: [any] slab¦s = any wooden slab, stone slab, sandstone slab, petrified oak slab, cobblestone slab, brick slab, stone brick slab, nether brick slab, quartz slab, red sandstone slab, purpur slab, prismarine slab, prismarine brick slab, dark prismarine slab, stone slab, smooth stone slab, granite slab, diorite slab, andesite slab, polished granite slab, polished diorite slab, polished andesite slab, mossy stone brick slab, mossy cobblestone slab, smooth sandstone slab, smooth red sandstone slab, cut sandstone slab, cut red sandstone slab, smooth quartz slab, red nether brick slab, end stone brick slab
line 46: any stone slab¦s = stone slab, smooth stone slab, granite slab, diorite slab, andesite slab, polished granite slab, polished diorite slab, polished andesite slab, mossy stone brick slab, mossy cobblestone slab
line 52: {waterloggable} {slab} polished blackstone brick slab¦s = minecraft:polished_blackstone_brick_slab
line 53: any blackstone slab¦s = blackstone slab, polished blackstone slab, polished blackstone brick slab
line 69: {waterloggable} {slab} deepslate brick slab¦s = minecraft:deepslate_brick_slab
line 70: [any] slab¦s = any slab, any copper slab, cobbled deepslate slab, polished deepslate slab, deepslate tile slab, deepslate brick slab
line 74: {waterloggable} {slab} mud brick slab¦s = minecraft:mud_brick_slab
line 76: [any] slab¦s = any slab, mud brick slab, mangrove slab
skript-aliases-full-2.10.0\stairs.sk (34 coincidencias)
line 6: {waterloggable} {stairs} {stairs shape} {directional} [red] brick stair¦s = minecraft:brick_stairs
line 7: {waterloggable} {stairs} {stairs shape} {directional} stone brick stair¦s = minecraft:stone_brick_stairs
line 8: {waterloggable} {stairs} {stairs shape} {directional} nether brick stair¦s = minecraft:nether_brick_stairs
line 14: {waterloggable} {stairs} {stairs shape} {directional} prismarine brick stair¦s = minecraft:prismarine_brick_stairs
line 17: [any] stair¦s = any wood stairs, cobblestone stairs, brick stairs, stone brick stairs, nether brick stairs, quartz stairs, purpur stairs, sandstone stairs, red sandstone stairs, prismarine stairs, prismarine brick stairs, dark prismarine stairs
line 27: {waterloggable} {stairs} {stairs shape} {directional} mossy stone brick stair¦s = minecraft:mossy_stone_brick_stairs
line 32: {waterloggable} {stairs} {stairs shape} {directional} red nether brick stair¦s = minecraft:red_nether_brick_stairs
line 33: {waterloggable} {stairs} {stairs shape} {directional} end stone brick stair¦s = minecraft:end_stone_brick_stairs
line 34: any stone stair¦s = stone stairs, granite stairs, diorite stairs, andesite stairs, polished granite stairs, polished diorite stairs, polished andesite stairs, stone brick stairs, mossy stone brick stairs, cobblestone stairs, mossy cobblestone stairs
line 36: [any] stair¦s = any wood stairs, any stone stairs, any sandstone stairs, brick stairs, nether brick stairs, quartz stairs, purpur stairs, prismarine stairs, prismarine brick stairs, dark prismarine stairs, smooth quartz stairs, red nether brick stairs, end stone brick stairs
line 41: {waterloggable} {stairs} {stairs shape} {directional} polished blackstone brick stair¦s = minecraft:polished_blackstone_brick_stairs
line 42: any blackstone stair¦s = blackstone stairs, polished blackstone stairs, polished blackstone brick stairs
line 58: {waterloggable} {stairs} {stairs shape} {directional} deepslate brick stair¦s = minecraft:deepslate_brick_stairs
line 60: [any] stair¦s = any stair, any copper stairs, cobbled deepslate stairs, polished deepslate stairs, deepslate tile stairs, deepslate brick stairs
line 64: {waterloggable} mud brick stairs = minecraft:mud_brick_stairs
line 65: [any] stairs = any stairs, mud brick stairs, mangrove stairs

@erenkarakal erenkarakal added the PR available Issues which have a yet-to-be merged PR resolving it label Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. PR available Issues which have a yet-to-be merged PR resolving it priority: medium Issues that are detrimental to user experience (prohibitive bugs or lack of useful implementation).
Projects
None yet
Development

No branches or pull requests

6 participants