Skip to main content

ElectricFence

A special version of the fence which damages upon contact as long as it is powered. Conducts electricity like a wire.

It is a craftable and spawnable non-flammable solid.

It has a malleability of 2000.

At its default size (5x5x1) it has a durability of 12, at its maximum size it has a durability of 52.

By default, its colour is #ffff00.

It requires 5 Fence and 2 ZapWire to be crafted.

Events


Loop(deltaTime)

Fires when the object is updated by the game loop.

The deltaTime parameter is the 'time' since the last tick, it does not represent the actual time since the last tick was occurred, rather just how often a game tick should be fired (it will always be precisely 1). It is a number.