I'm using aotv in the dungeon and I can't see the etherwarp teleport position. I don't know what the problem is. I tried to fix it but couldn't. Can anyone help me with this? Thanks
PS. Im using with it patcher mod, dungeon rooms mod, neu, skyhanni and apec.
#etherwarp teleport position doesnt work
1 messages · Page 1 of 1 (latest)
are you even pressing shift
yes
are you looking at a valid block
yes
:/
why not just use neu if skytils one ain't working for some reason
Since they're already using neu anyway
because neu zooms and i like solid colours instead of their pink thing
😃
you can turn off the zoom
And I think you can change the color
ok i somehow fixed this ty for help
Ok abt the zoom but you can change the colour!?
When was this added
I never saw this in my neu (tbf I haven’t logged on in months)
I haven't played skyblock in 2 years basically
U looked at the code (I didn’t)
as you might notice for color I said "I think" which indicates I was unsure. This could possibly mean that I only opened up the code after saying it has the feature to confirm that I'm not lying.
which you can also see by the fact that I sent the image 3 minutes later
:3
👍
I mean
I don’t touch neu for etherwarp
me neither I just used Skytils one I think
me too
I just never really used it
Only reason I got it back then was for experiment solver I think
And ig the storage gui
I have a better version of the etherwarp thingy sitting on mine
except I can't find the block id for flowing lava
wtf do you need that for
To make it detect flowing lava and cancel it from etherwarp estimate
but why should that be an issue I'm confused
Doesn't it ignore liquids anyway?
Because you can’t etherwarp on lava
And it would prob predict lava flowing as a normal block
Idk I haven’t tested it
@sinful monolith
just use this? https://github.com/Skytils/SkytilsMod/pull/324/files
idk if that works fine or not for your case but I think it matches what neu had back then
like it would detect the flowing lava and such
With abt 3 seconds of flipping through code
So you might just need to tweak the isValidEtherwarpPos possibly
Yeah that would be it
(I love fixing issues by simply pulling up with old code)
time to check this out on my island whenever i can code again
from what I can see it shouldn't work correctly in multiple cases
name one of those cases :3
gold weighted pressure plates
does it not allow you to tp? damn
nope
welcome to hypixel
regular pressure plates work
but ig still better to work with than your code?
Since here you just need to add if (dumbblock) don't_do_stuff
private fun newIsValidEtherwarpPos(obj: MovingObjectPosition): Boolean {
val pos = obj.blockPos
if (etherwarpTransparents.contains(mc.theWorld.getBlockState(pos).block)) return false
return (mc.theWorld.getBlockState(pos).block.material.isSolid || validEtherwarpBases.contains(mc.theWorld.getBlockState(pos).block)) && (1..2).all {
return@all etherwarpTransparents.contains(mc.theWorld.getBlockState(pos.up(it)).block)
}
discord formatting still butchers it
amazing
private fun newIsValidEtherwarpPos(obj: MovingObjectPosition): Boolean {
val pos = obj.blockPos
if (etherwarpTransparents.contains(mc.theWorld.getBlockState(pos).block)) return false
return (mc.theWorld.getBlockState(pos).block.material.isSolid || validEtherwarpBases.contains(mc.theWorld.getBlockState(pos).block)) && (1..2).all {
return@all etherwarpTransparents.contains(mc.theWorld.getBlockState(pos.up(it)).block)
}
}
HOW
wdym how
why does yours look nice
you mean syntax highlighting?
and formatting
```kt
//code here
```
kt...
formatting I fixed myself
well done 😉
<3
alternative is to just leave the indents and put a new line above the code with like // or smth
//to fix discord
private fun newIsValidEtherwarpPos(obj: MovingObjectPosition): Boolean {
val pos = obj.blockPos
if (etherwarpTransparents.contains(mc.theWorld.getBlockState(pos).block)) return false
return (mc.theWorld.getBlockState(pos).block.material.isSolid || validEtherwarpBases.contains(mc.theWorld.getBlockState(pos).block)) && (1..2).all {
return@all etherwarpTransparents.contains(mc.theWorld.getBlockState(pos.up(it)).block)
}
tho it does become quite long if you keep indents D:
private fun raycast(player: EntityPlayerSP, partialTicks: Float, dist: Float, step: Float): BlockPos? {
var pos = Vec3(player.posX, player.posY + player.getEyeHeight(), player.posZ)
val lookVec3 = player.getLook(partialTicks)
var look = Vec3(lookVec3.xCoord, lookVec3.yCoord, lookVec3.zCoord)
look *= step / look.lengthVector()
val stepCount = ceil(dist / step)
for (i in 0 until stepCount) {
pos += look
val world = Minecraft.getMinecraft().theWorld
val position = BlockPos(pos.x, pos.y, pos.z)
val state = world.getBlockState(position)
if (state.block !== Blocks.air) {
//Back-step
pos -= look
look *= 0.1
for (j in 0..9) {
pos += look
val position2 = BlockPos(pos.x, pos.y, pos.z)
val state2 = world.getBlockState(position2)
if (state2.block !== Blocks.air) {
return BlockPos(position2)
}
}
return BlockPos(position)
}
}
return null
}
the hell is this
epic code
it's what neu/hypixel use
I put in like the minimum amount of effort to port it
the thing is, it works differently
it shouldn't tho
why not
stuff like iron gates should count as full blocks
iron gates
But this method uses the actual hitboxes
whar?
The iron fence thing
there is no iron fence thing...
iron bars
oh
you know exactly what I meant
I didn't
but anyway, the hypixel method assumes all blocks are full blocks
bad news
it doesn't
it should
If it doesn't they changed it again which would be weird and neu would also be wrong again
fences still extend upwards onr
one
torches are solid
some flowers are solid
some aren't
example:
if I teleport here, it uses the purple one (neu) not the blue one (skytils)
will test later
example as well
this will teleport you on the bar, but skytils doesn't show cause not full hitbox
ig you can just look through what neu says and compare?
I hate carpets
also you can't tp onto torches
yeah
tested all flowers in the hub I could find and none allow teleporting on them and neu is correct
so neu is probably worth trusting
no idea about the lava thing
flowing lava also seems to work with neu
can't tp at all with liquids
but yea tldr: just compare to neu, it's basically correct
I just tested
tp in from underneath
You can teleport onto those blocks yes
But you can't teleport through liquids
And the code for neu works from underneath I'm fairly sure
you specifically mean to click on the block below the liquid right?
mhm
yea neu is also correct with this