[UNSOLVED] How to Detect "Fake Player"

Started by TechTastic on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[UNSOLVED] How to Detect "Fake Player"
Mon, 06/28/2021 - 23:07 (edited)

Hey there! I am making a land claim mod and was wondering  if there was some way in Mcreator to detect "Fake Players"

 

What I mean by Fake Players are blocks that do actions like players do such as the Autonomous Activator or turtles from ComputerCraft

 

I want my mod to be able to protect from these sources. I know its possible with actual code because I've played with mods that do this such as Clans by The_Fireplace but I was wondering if Mcreator had a way to mimic this or if I am going to have to dig into custom code for this.

 

Mcreator 2021.1 and version 1.16.5

Edited by TechTastic on Mon, 06/28/2021 - 23:07
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Forgot to add but I am using…
Mon, 06/28/2021 - 19:07

Forgot to add but I am using 2021.1 and  making this mod for 1.16.5

Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
perhaps you'll need to…
Mon, 06/28/2021 - 23:20

perhaps you'll need to install those mods' API first, to be able to access their blocks (you might learn that on their mod page/GitHub repo, not sure), try to add those mods as required or optional dependency depending on what you want. then, check if block at a certain XYZ coordinate is a Fake Player block. also, chances of having to use custom code with it are high, but good luck nonetheless!