
Update 0.6.5: Plugin API (EN)
-
-
Is it possible to send player changes made with WorldEditBatch or with World.setTerrainData? Looks like changes are applied on server side, but not on client side, and in singleplayer they are not stored
Basically these edits are supposed to be synced with the client automatically
If that doesn't work it must be a bug
Could you maybe send me the code that causes the desync?
I'm not sure why all calculations require chunk position and manually calculated chunk position doesn't work. Is it possible to have method that accepts only block positions and calculate chunk positions automatically?
It's basically just how internal world edits work in the game
But does that mean you want to use a global block position instead? With the WorldEditBatch, that should already work: You could just provide 0 for chunk coordinates and use an arbitrary block position - the game should calculate the chunk positions automatically then.
For the setTerrainData() method, I'm not sure if that works (but we could change that ofc). But alternatively you could use the Utils.ChunkUtils.getChunkAndBlockPosition() method to get the chunk and block pos from a world position
Cannot find symbol.
The method you're looking for is called showLocationTicker()
-
player.setLocationTickerText("Test", true);
Looks like this method is not mentioned in javadocs, and is missing in player, are you sure that it is correct?
-
It's just how internal world edits work in the game
But does that mean you want to use a global block position instead? With the WorldEditBatch, that should work: You could just provide 0 for chunk coordinates and use an arbitrary block position - the game should calculate the chunk positions automatically.
Yes, global position, since chunk position can be calculated from it. The strange thing is when I manually calculate chunk position and relative block position - it fails to create anything, but if I use chunk position from the player and just offsets from player block position - that works fine. Probably something is wrong with my calculations
A "cave":
-
-
Yes, global position, since chunk position can be calculated from it. The strange thing is when I manually calculate chunk position and relative block position - it fails to create anything, but if I use chunk position from the player and just offsets from player block position - that works fine. Probably something is wrong with my calculations
That's weird
Yes, maybe the calculation is wrong, I'll take a closer look at this issue!
I'm assuming 0.0f will show it indefinatly?
-1 is supposed to show the text indefinitely, but I think 0 also works (not sure about that)
-
Small bug report:
- Main menu screen still can be black/dark, sometimes after leaving caves (probably related to some post effects)
- Game sometimes can crash on world rejoining after plugins get update (EXCEPTION_ACCESS_VIOLATION)
Actually both bugs existed in previous version (0.6.5), I just forgot about the last one
Edit: animals will fall underground on world launch
-
That's weird
Yes, maybe the calculation is wrong, I'll take a closer look at this issue!
-1 is supposed to show the text indefinitely, but I think 0 also works (not sure about that)
Yes it does
-
- Main menu screen still can be black/dark, sometimes after leaving caves (probably related to some post effects)
Yes, unfortunately we haven't touched this issue yet
But it's on our to-do list^^
- Game sometimes can crash on world rejoining after plugins get update (EXCEPTION_ACCESS_VIOLATION)
Oh, I wasn't aware of this issue
Does that only happen when replacing a plugin?
As a workaround, you could try the unloadplugins command, replace the jar, then type rp to reload the plugins (until this issue is fixed)
Edit: animals will fall underground on world launch
Hmm... there is a chance that old animals that got stuck somewhere prior to the update now fall through the ground, but if this happens any other animals, that's a serious issue
-
Oh, I wasn't aware of this issue
Does that only happen when replacing a plugin?
It happens when plugin event is triggered, sometimes it can happen on player join (probably related to player join event)
Hmm... there is a chance that old animals that got stuck somewhere prior to the update now fall through the ground, but if this happens any other animals, that's a serious issue
With any, and on each world launch. I'm testing things underground and see a rain from cows and chickens on each world launch
-
Confirmed, all animals fell through ground upon launch (only animals touching surface or terrain .. other animals in buildings on block floors are fine).
-
I'm sorry about the animal issue, this is indeed a bug
A hotfix is on its way. Unfortunately it takes rougly 1-2 hours until it's ready (if everything goes well)... (I really miss the old Java times, where building the game for all platforms just took ~10 minutes)
-
Another hotfix is now available which fixes the bug causing animals to fall through the ground! This update is optional for multiplayer servers. If you still experience any issues, please let us know!
Hotfix (2023-04-23):
- [Change] Added missing PluginSDK.unitypackage
- [Bugfix] Fixed luminous blocks not working properly
- [Bugfix] Fixed bug that caused animals to fall through the ground
-
[Bugfix] Fixed bug that caused animals to fall through the ground
I'm not sure about this
Looks like this still can happen (when player moves and new animals are spawning)
-
There is also a bug with UI (plant selection and element shape selection) - if you will open it on the second time it will show wrong place in catalogue with missing icons, and for element shapes it will show not all available shapes. Simple movement of a slider fixes this, so looks like it is a visual bug
-
I'm not sure about this
Looks like this still can happen (when player moves and new animals are spawning)
Thanks for bringing this to my attention! There seem to be indeed some situations where animals may still fall through the ground
I'll take a closer look at this issue!
There is also a bug with UI (plant selection and element shape selection) - if you will open it on the second time it will show wrong place in catalogue with missing icons, and for element shapes it will show not all available shapes. Simple movement of a slider fixes this, so looks like it is a visual bug
This is unfortunately a bug in Unitys UI Toolkit in the recent Unity versions
It no longer updates the scroll position properly (it scrolls to the desired position, but as you can see, the scroll bar on the right thinks it's still at the top) - this also results in certain callbacks not being triggered anymore. Entries which aren't visible atm are hidden (at least their texture is hidden) for reasons of performance, but because they don't get proper callbacks anymore (at least if setting the scroll position from code), they remain hidden until you scroll manually...
We'll update to the latest Unity version for the next update. If that bug isn't fixed in newer Unity versions, we probably have to find a workaround for this
-
Nice to see all the progress that this game has made since I started playing in 2017
-
Hii RED, I have some doubts about the new version, could you answer this post if you have a chance to read my observations and my questions? Thank you for keeping this gem of a game optimized as it should be, I appreciate it.
-
Hii RED, I have some doubts about the new version, could you answer this post if you have a chance to read my observations and my questions? Thank you for keeping this gem of a game optimized as it should be, I appreciate it.
Hey, could you elaborate on that? What doubts do you have specifically?
Or do you refer to your suggestion regarding a Replay Camera?^^
Participate now!
Don’t have an account yet? Create a new account now and be part of our community!