Demo entry 6626785

JavaScript

   

Submitted by Sakitam on Jun 26, 2017 at 17:39
Language: JavaScript. Code size: 683 Bytes.

    <!--Author: EpixZhang-->  
    <!--Date: 2015/1/1-->  
    <!--Version: 1.0-->  
    <oo>  
      <init>  
        function tick2second(n){return n/20}  
      </init>  
      <tileentity id="Furnace">  
        <line displayname="Burn Time">  
          return tick2second(nbt['BurnTime'])  
        </line>  
      </tileentity>  
      <entity id="Sheep">  
        <line displayname="Until next love">  
          tick2second(nbt['InLove'])  
        </line>  
      </entity>  
      <tooltip id="minecraft:skull">  
        <line displayname="OwnerName">  
           return nbt['SkullOwner']  
        </line>  
      </tooltip>  
    </oo>  

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).