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

Update auto_lighter.sc for v1.21 #416

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

jnovack
Copy link

@jnovack jnovack commented Jan 11, 2025

Updates auto_lighter to check for version, and appropriately use Enchantments (<1.21) vs components (v1.21+) depending on version.

Corrective snipped merged from @YageGeng in #395

Fixes #395
Fixes #405
Fixes #406

Updates auto_lighter to check for version, and appropriately use Enchantments (<1.21) vs components (v1.21+) depending on version.

Corrective snipped merged from @YageGeng in gnembon#395 

Fixes gnembon#395 
Fixes gnembon#405 
Fixes gnembon#406
@Ka1nnn
Copy link

Ka1nnn commented Feb 23, 2025

Hi so this does not seem to work on 1.21.4, Whenever i right click with the torch in my hand all it does is place protection 1 on the torch and when i click again it removes the enchantment? Also this is log from console

[01:53:01] [Render thread/INFO]: [CHAT] auto_lighter app reloaded
[01:53:05] [Server thread/ERROR]: Tried to load invalid item: 'Not a map: "null"'
[01:53:07] [Server thread/ERROR]: Tried to load invalid item: 'Not a map: "null"'
[01:53:07] [Server thread/ERROR]: Tried to load invalid item: 'Not a map: "null"'
[01:53:08] [Server thread/ERROR]: Tried to load invalid item: 'Not a map: "null"'
[01:53:08] [Server thread/ERROR]: Tried to load invalid item: 'Not a map: "null"'
[01:53:09] [Server thread/ERROR]: Tried to load invalid item: 'Not a map: "null"'
[01:53:12] [Server thread/ERROR]: Tried to load invalid item: 'Not a map: "null"'
[01:53:15] [Server thread/ERROR]: Tried to load invalid item: 'Not a map: "null"'
[01:53:16] [Server thread/ERROR]: Tried to load invalid item: 'Not a map: "null"'
[01:53:16] [Server thread/ERROR]: Tried to load invalid item: 'Not a map: "null"'
[01:53:17] [Server thread/ERROR]: Tried to load invalid item: 'Not a map: "null"'
[01:53:17] [Server thread/ERROR]: Tried to load invalid item: 'Not a map: "null"'
[01:53:18] [Server thread/ERROR]: Tried to load invalid item: 'Not a map: "null"'
[01:53:19] [Server thread/ERROR]: Tried to load invalid item: 'Not a map: "null"'
[01:54:54] [Server thread/ERROR]: Tried to load invalid item: 'Not a map: "null"'

Also video for more refference: https://streamable.com/9cfkzk

@jnovack
Copy link
Author

jnovack commented Feb 23, 2025

Two differences, that may be relevant.

  1. You are in creative.
  2. You are in the air, with no blocks (seemingly) within 128.

When in Survival with spawnable blocks within 128 blocks, do you get the same experience?

Can other people confirm or deny they experience the same issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants