Long delay from last update, but i hope this was worth of waiting
- Small things first, fixed issue with some specific items and worth value not being recognized correctly on 1.13+ servers.
- Some change for teleport detection when looking up from original place. Now if original location is obscured by some blocks, plugin will try to find one on top of that one. But if original place is empty, then new location will be looked down. This will prevent issues when players gets teleported on a roof when there is no valid location.
And now fun part. Spend quite some time messing around with block/mob
hit boxes and
ray tracing. So now CMI will utilize those 2 new things in functions like block or entity detection's for commands like IC, armorstand editor, ride, SE, BlockInfo, EntityInfo and on and on and on.
How is this any better then previous algorithm? Well some examples:
​
Wall Sign got detected throw upside down stair block, some torches, end rods, buttons and levers. And it got sign, just because i'm looking straight at it.
​
While pointing down slightly, we will get recognition of item frame as entity and diamond block behind it. Again, ignores all blocks in between source and target because we are not looking at them directly.
Same thing applies for entities
​
Only entities to which we are looking directly will be taken ignoring anything between us. You can always enable hitboxes with f3+b to see how accurate it is
And yes, it is.
On top of that, entire safe teleport location detection have been remade to find location by actual hitboxes and by utilizing ray tracing method. What does that mean? That means that now we can determine if location is safe independent from block shape and you can create your home or any other teleport location whatever you can fit in. Some basic crazy examples of VALID teleport locations
​
Old unsafe teleport locations will be marked as usual.
- Now blockinfo command will include block height, length and width. With some extra info like how much its lifted from ground or how much its missing from top.
- If you wish to test out new targeting system to check out if its detecting correctly block/entity, use /cmi util testtarget command which will enable for one minute block and entity targeting with some output into action bar like you see in previous pictures/gif.
Happy mining!