Version v1.0.9+mc1.20.1
Fixed teleport not working consistently Updated included ServerAPI version to latest
This commit is contained in:
parent
2bccfd97fd
commit
84afee23e9
@ -9,12 +9,12 @@ yarn_mappings=1.20.1+build.2
|
|||||||
loader_version=0.14.21
|
loader_version=0.14.21
|
||||||
|
|
||||||
# Mod Properties
|
# Mod Properties
|
||||||
mod_version = 1.0.8+1.20.1
|
mod_version = 1.0.9+1.20.1
|
||||||
maven_group = dev.venomcode.jumpvader
|
maven_group = dev.venomcode.jumpvader
|
||||||
archives_base_name = jumpvader
|
archives_base_name = jumpvader
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
fabric_version=0.83.1+1.20.1
|
fabric_version=0.83.1+1.20.1
|
||||||
serverapi_version=1.0.6b+1.20.1
|
serverapi_version=1.0.7+1.20.1
|
||||||
polymer_version=0.5.2+1.20.1
|
polymer_version=0.5.2+1.20.1
|
||||||
server_translations_api_version=2.0.0+1.20
|
server_translations_api_version=2.0.0+1.20
|
||||||
|
@ -42,7 +42,7 @@ public class JumpVaderBlock extends SimplePolymerBlock implements IJumpVaderList
|
|||||||
|
|
||||||
if(w.getBlockState( tpPos ).getBlock().equals( Blocks.AIR ) && w.getBlockState( tpPos.up() ).getBlock().equals( Blocks.AIR ))
|
if(w.getBlockState( tpPos ).getBlock().equals( Blocks.AIR ) && w.getBlockState( tpPos.up() ).getBlock().equals( Blocks.AIR ))
|
||||||
{
|
{
|
||||||
player.requestTeleport( tpPos.getX() + 0.5f, tpPos.getY(), tpPos.getZ() + 0.5f );
|
player.teleport( tpPos.getX() + 0.5f, tpPos.getY(), tpPos.getZ() + 0.5f );
|
||||||
|
|
||||||
w.playSound( null, tpPos, SoundEvents.ENTITY_ENDERMAN_TELEPORT, SoundCategory.PLAYERS, 0.5f, 1.5f );
|
w.playSound( null, tpPos, SoundEvents.ENTITY_ENDERMAN_TELEPORT, SoundCategory.PLAYERS, 0.5f, 1.5f );
|
||||||
w.spawnParticles( ParticleTypes.POOF, tpPos.getX() + 0.5f, tpPos.getY(), tpPos.getZ() + 0.5f, 5, 0, 0, 0, 0.25f );
|
w.spawnParticles( ParticleTypes.POOF, tpPos.getX() + 0.5f, tpPos.getY(), tpPos.getZ() + 0.5f, 5, 0, 0, 0, 0.25f );
|
||||||
@ -76,7 +76,7 @@ public class JumpVaderBlock extends SimplePolymerBlock implements IJumpVaderList
|
|||||||
|
|
||||||
if(w.getBlockState( tpPos ).getBlock().equals( Blocks.AIR ) && w.getBlockState( tpPos.up() ).getBlock().equals( Blocks.AIR ))
|
if(w.getBlockState( tpPos ).getBlock().equals( Blocks.AIR ) && w.getBlockState( tpPos.up() ).getBlock().equals( Blocks.AIR ))
|
||||||
{
|
{
|
||||||
player.requestTeleport( tpPos.getX() + 0.5f, tpPos.getY(), tpPos.getZ() + 0.5f );
|
player.teleport( tpPos.getX() + 0.5f, tpPos.getY(), tpPos.getZ() + 0.5f );
|
||||||
|
|
||||||
w.playSound( null, tpPos, SoundEvents.ENTITY_ENDERMAN_TELEPORT, SoundCategory.PLAYERS, 0.5f, 1.5f );
|
w.playSound( null, tpPos, SoundEvents.ENTITY_ENDERMAN_TELEPORT, SoundCategory.PLAYERS, 0.5f, 1.5f );
|
||||||
w.spawnParticles( ParticleTypes.POOF, tpPos.getX() + 0.5f, tpPos.getY(), tpPos.getZ() + 0.5f, 5, 0, 0, 0, 0.25f );
|
w.spawnParticles( ParticleTypes.POOF, tpPos.getX() + 0.5f, tpPos.getY(), tpPos.getZ() + 0.5f, 5, 0, 0, 0, 0.25f );
|
||||||
|
Loading…
Reference in New Issue
Block a user