Intangibility/phase through walls & Floor!

Started by Axeldactyl on

Topic category: Help with modding (Java Edition)

Last seen on 22:39, 7. Sep 2024
Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Intangibility/phase through walls & Floor!

So long story short I'm trying to make and ability that allows a player to sink into the ground/go through walls while being able to move freely inside. it would function sorta like no-cliping or spectator mode, but i wanna refrain from using that cuz it would mess up other things in my mod. while my original plan was to use spectator mode i realized the mobs in my mod would stop targeting the player for attack, if there's a way to fix that then I'm free to use spectator mode. is there a to do this with as little code as possible? also this im sure requires a lot of code but is there a way to make the player sorta swim through blocks?

 

Example Images:

https://static.wikia.nocookie.net/bokunoheroacademia/images/1/11/Repelling.gif/revision/latest?cb=20181007033427

https://static.wikia.nocookie.net/bokunoheroacademia/images/f/f2/Phantom_Menace.gif/revision/latest?cb=20210425003155

Last seen on 22:39, 7. Sep 2024
Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
oops can any mod that sees…
Sun, 07/21/2024 - 13:11

oops can any mod that sees this move it to community support? I'm new to making forums

Last seen on 19:45, 2. Sep 2024
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could try making the…
Mon, 08/12/2024 - 15:31

You could try making the player to be on spectator

Last seen on 22:39, 7. Sep 2024
Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
"i while my original plan…
Sun, 08/18/2024 - 04:23

"i while my original plan was to use spectator mode i realized the mobs in my mod would stop targeting the player for attack, if there's a way to fix that then I'm free to use spectator mode."

Last seen on 19:45, 2. Sep 2024
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could try thay they try…
Mon, 08/19/2024 - 19:05

You could try thay they try to follow you  instead that directly attack

Last seen on 22:39, 7. Sep 2024
Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thanks ill try that, let u…
Sat, 08/24/2024 - 04:38

thanks ill try that, let u know if it works