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

Custom model data commands not working properly on 1.21.4 build 97 #11955

Closed
Zenologia opened this issue Jan 12, 2025 · 12 comments
Closed

Custom model data commands not working properly on 1.21.4 build 97 #11955

Zenologia opened this issue Jan 12, 2025 · 12 comments
Labels
resolution: cannot reproduce Paper team is unable to replicate the issue. version: 1.21.4 Game version 1.21.4

Comments

@Zenologia
Copy link

Expected behavior

When I run the command:
/minecraft:give Zenologia minecraft:paper[custom_model_data={strings:["bandana1"]}], i expect to see a piece of paper with a custom texture called on from a resource pack.

The attached screenshot is in a 1.21.4 SINGLE PLAYER world with the resource pack in place

Image

Observed/Actual behavior

I get a piece of paper with one more entry for component data, but not the correct texture, and not marked as an "ingredient" with advanced tooltips on.

The following image is from a paper 1.21.4-97 server

Image

Steps/models to reproduce

  1. Enter world with resource pack loaded (either in local files in single player, or through server.properties for the server
  2. Run the command /minecraft:give Zenologia minecraft:paper[custom_model_data={strings:["bandana1"]}] on the server, or /give Zenologia minecraft:paper[custom_model_data={strings:["bandana1"]}] on the single player world

Plugin and Datapack List

n/a - we removed all plugins and datapacks for testing purposes

Paper version

1.21.4-97

[11:22:10 INFO]: This server is running Paper version 1.21.4-97-main@08ac057 (2025-01-12T01:22:25Z) (Implementing API version 1.21.4-R0.1-SNAPSHOT)
You are running the latest version
Previous version: 1.21.4-79-b34ae4f (MC: 1.21.4)

Other

No response

@papermc-sniffer papermc-sniffer bot added the version: 1.21.4 Game version 1.21.4 label Jan 12, 2025
@lynxplay
Copy link
Contributor

Can you please share your paper-global.yml configuration?

@lynxplay lynxplay added resolution: awaiting response Additional information is required from the issue reporter and removed status: needs triage labels Jan 12, 2025
@Zenologia
Copy link
Author

Zenologia commented Jan 13, 2025

GH wont allow me to attach but heres the contents:

This is the global configuration file for Paper.

As you can see, there's a lot to configure. Some options may impact gameplay, so use

with caution, and make sure you know what each option does before configuring.

If you need help with the configuration or have any questions related to Paper,

join us in our Discord or check the docs page.

The world configuration options have been moved inside

their respective world folder. The files are named paper-world.yml

Docs: https://docs.papermc.io/

Discord: https://discord.gg/papermc

Website: https://papermc.io/

_version: 29
anticheat:
obfuscation:
items:
all-models:
also-obfuscate: []
dont-obfuscate:
- minecraft:lodestone_tracker
sanitize-count: true
enable-item-obfuscation: false
model-overrides:
minecraft:elytra:
also-obfuscate: []
dont-obfuscate:
- minecraft:damage
sanitize-count: true
block-updates:
disable-chorus-plant-updates: false
disable-mushroom-block-updates: false
disable-noteblock-updates: false
disable-tripwire-updates: false
chunk-loading:
autoconfig-send-distance: true
enable-frustum-priority: false
global-max-chunk-load-rate: 500.0
global-max-chunk-send-rate: -1.0
global-max-concurrent-loads: 1000.0
max-concurrent-sends: 50
min-load-radius: 2
player-max-chunk-load-rate: -1.0
player-max-concurrent-loads: 10.0
target-player-chunk-send-rate: 100.0
chunk-loading-advanced:
auto-config-send-distance: true
player-max-concurrent-chunk-generates: 0
player-max-concurrent-chunk-loads: 0
chunk-loading-basic:
player-max-chunk-generate-rate: -1.0
player-max-chunk-load-rate: 100.0
player-max-chunk-send-rate: 75.0
chunk-system:
gen-parallelism: default
io-threads: -1
worker-threads: -1
collisions:
enable-player-collisions: true
send-full-pos-for-hard-colliding-entities: true
commands:
fix-target-selector-tag-completion: true
suggest-player-names-when-null-tab-completions: true
time-command-affects-all-worlds: false
console:
enable-brigadier-completions: true
enable-brigadier-highlighting: true
has-all-permissions: false
item-validation:
book:
author: 8192
page: 16384
title: 8192
book-size:
page-max: 2560
total-multiplier: 0.98
display-name: 8192
lore-line: 8192
resolve-selectors-in-books: false
logging:
deobfuscate-stacktraces: true
messages:
kick:
authentication-servers-down: lang:multiplayer.disconnect.authservers_down
connection-throttle: Connection throttled! Please wait before reconnecting.
flying-player: lang:multiplayer.disconnect.flying
flying-vehicle: lang:multiplayer.disconnect.flying
no-permission: I'm sorry, but you do not have permission to perform this command.
Please contact the server administrators if you believe that this is in error.
use-display-name-in-quit-message: false
misc:
chat-threads:
chat-executor-core-size: -1
chat-executor-max-size: -1
client-interaction-leniency-distance: default
compression-level: default
fix-entity-position-desync: true
lag-compensate-block-breaking: true
load-permissions-yml-before-plugins: true
max-joins-per-tick: 3
region-file-cache-size: 256
strict-advancement-dimension-check: false
use-alternative-luck-formula: false
use-dimension-type-for-custom-spawners: false
packet-limiter:
all-packets:
action: KICK
interval: 7.0
max-packet-rate: 500.0
kick-message: lang:disconnect.exceeded_packet_rate
overrides:
ServerboundPlaceRecipePacket:
action: DROP
interval: 4.0
max-packet-rate: 5.0
player-auto-save:
max-per-tick: -1
rate: -1
proxies:
bungee-cord:
online-mode: true
proxy-protocol: false
velocity:
enabled: true
online-mode: true
scoreboards:
save-empty-scoreboard-teams: false
track-plugin-scoreboards: false
spam-limiter:
incoming-packet-threshold: 300
recipe-spam-increment: 1
recipe-spam-limit: 20
tab-spam-increment: 1
tab-spam-limit: 500
spark:
enable-immediately: false
enabled: true
timings:
enabled: false
hidden-config-entries:

  • database
  • proxies.velocity.secret
    history-interval: 300
    history-length: 3600
    really-enabled: false
    server-name: Unknown Server
    server-name-privacy: false
    url: https://timings.aikar.co/
    verbose: true
    unsupported-settings:
    allow-headless-pistons: true
    allow-permanent-block-break-exploits: true
    allow-piston-duplication: true
    allow-unsafe-end-portal-teleportation: false
    compression-format: ZLIB
    perform-username-validation: true
    skip-vanilla-damage-tick-when-shield-blocked: false
    watchdog:
    early-warning-delay: 10000
    early-warning-every: 5000

@Zenologia
Copy link
Author

Zenologia commented Jan 13, 2025

[redacted]

added .txt to the extension

@456dev
Copy link
Contributor

456dev commented Jan 13, 2025

in the future, you can also use a pastebin like https://pastes.dev

@Zenologia
Copy link
Author

got it ok sorry. anything else you need from me on this ?

@Zenologia
Copy link
Author

just fyi still happening with build 107

@lynxplay
Copy link
Contributor

I cannot reproduce this on a fresh environment.

@Zenologia
Copy link
Author

what i noticed is that the piece of paper has the same 9 component data on single player vs multiplayer, but the texture does not render in multiplayer. videos attached are named for the testing, and Ive included the sample resource pack that im testing with.

command ran on server:

/minecraft:give @p minecraft:paper[custom_model_data={strings:["bandana1"]}]

command ran in single player:

/give @p minecraft:paper[custom_model_data={strings:["bandana1"]}]

1.21.4 test rp.zip

@Zenologia
Copy link
Author

https://drive.google.com/drive/folders/1O3ouiBDAJz2wUisbfom9wLgFzB-RfyvW?usp=sharing

video files were too large to attach - please see drive link

@lynxplay
Copy link
Contributor

Can you sanity check this without mods and other resource packs installed?
E.g. a vanilla client without resource packs like vanilla tweaks etc.

@Zenologia
Copy link
Author

https://drive.google.com/file/d/1ueM5LtbQUmtaW3aodVAX64Kk0-KeILof/view?usp=sharing

Sanity Check as requested. First part is single player then I go to the same testing server - which before this video I updated to 1.21.4-111 with the same result

@lynxplay
Copy link
Contributor

Even tested this with a server supplied resource pack, I cannot reproduce this.
Other triage members also were not able to reproduce this either.

There is not much we can do here if we cannot replicate this issue.
I guess ensure the pack sent from the server is up to date?

Given I cannot replicate this, I'll be closing the issue.
Obviously sorry for closing this as you obviously experience some issue, but the github bug tracker is not really the place to debug your personal setup.
Can ask around in paper-help on our discord, maybe someone wants to run through some more potential pitfalls.

@lynxplay lynxplay closed this as not planned Won't fix, can't repro, duplicate, stale Jan 15, 2025
@lynxplay lynxplay added resolution: cannot reproduce Paper team is unable to replicate the issue. and removed resolution: awaiting response Additional information is required from the issue reporter labels Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
resolution: cannot reproduce Paper team is unable to replicate the issue. version: 1.21.4 Game version 1.21.4
Projects
None yet
Development

No branches or pull requests

3 participants