-
-
Notifications
You must be signed in to change notification settings - Fork 73
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
AR Glasses don't display #358
Comments
I also had just tried clearing the glasses and drawing a string with no results. |
the example code from the website is a bit broken You can try to change the coords of the string, like instead of the ar system is buggy and bad currently, sorry for that |
Its all good. Thank you for workin on it :) |
[10:44:18] [Server thread/ERROR] [minecraft/BlockEntity]: Failed to load data for block entity advancedperipherals:ar_controller Im not sure if this has anything to do with it? |
this is a weird issue |
I'm having issues even getting my game to run right now (Not your mod's fault, optifine being.. Optifine.) I got the AR glasses to work with what you suggested. Thank you! :D |
And to clear any confusion, I was running tests without optifine installed to see if it was that causing the issue. Because I know that's a common cause |
Describe
I took the exact code off the wiki
`local controller = peripheral.find("arController") -- Finds the peripheral if one is connected
if controller == nil then error("arController not found") end
controller.setRelativeMode(true, 1600, 900) -- Convenient Aspect ratio for most screens
while true do
local timer = os.startTimer(1)
local event, id
repeat
event, id = os.pullEvent("timer")
until id == timer
controller.clear() -- If you don't do this, the texts will draw over each other
controller.drawRightboundString(os.date(), -10, 10, 0xffffff)
end`
Linked the glasses, and nothing is displaying. I thought at first it was optifine, but I removed that and still naughta.
Steps to reproduce
Multiplayer?
Yes
Version
1.18.2-0.7.19r (Latest 1.18)
Minecraft, Forge and maybe other related mods versions
Forge 40.1.52 (Whatever the minimum was for the req of the mod)
Screenshots or Videos
No response
Crashlog/log
No response
The text was updated successfully, but these errors were encountered: