DevotedMC / SimpleAdminHacks

Tools and backend for Citadel servers, including advanced inventory monitoring, active new player assistance, and other logging. Built for Spigot 1.12.2
http://www.devotedmc.com
BSD 3-Clause "New" or "Revised" License
2 stars 11 forks source link

Can only limit tile entities in Gametuning #14

Open TealNerd opened 7 years ago

TealNerd commented 7 years ago

Pistons aren't tile entities so you cant limit their numbers, it needs to iterate over every block in the chunk though so not sure about that

ProgrammerDan commented 7 years ago

piston extensions are iirc, so might just drop them if the count is exceeded by piston extensions?

I wondered at this but haven't had time to doubletest in ages ...

apparently just saying there is a limit is a good enough placebo effect when they are also super expensive

ProgrammerDan commented 7 years ago

Actually, Piston does extend TileEntity -- TileEntityPiston in NMS.

??

TealNerd commented 7 years ago

Weird...

TealNerd commented 7 years ago

http://minecraft.gamepedia.com/Block_entity

According to this it's just the extended piston