GregTechCEu / GregTech

GregTech CE 1.12 fork continuing progression and development
GNU Lesser General Public License v3.0
254 stars 176 forks source link

Give MTEs a owner on placement #2540

Closed Synthitic closed 2 months ago

Synthitic commented 4 months ago

What

On placing an MTE down, it will the store the placer's UUID, if it is a player.

Implementation Details

Two different onPlacement methods, one with an EntityPlayer parameter that will set the UUID to that player's, and one with no parameters and sets it to null.

Outcome

Placer is able to be obtained. Tricoder will display the owner's name.

Additional Information

None

Potential Compatibility Issues

Unsure.