예제 #1
0
 public MetadataChunkBlock(net.minecraft.src.EnumSkyBlock enumskyblock, int i, int
                           j, int k, int l, int i1, int j1)
 {
     // Referenced classes of package net.minecraft.src:
     //            World, Chunk, Block, EnumSkyBlock
     field_957_a = enumskyblock;
     field_956_b = i;
     field_962_c = j;
     field_961_d = k;
     field_960_e = l;
     field_959_f = i1;
     field_958_g = j1;
 }
예제 #2
0
 public virtual int GetSavedLightValue(net.minecraft.src.EnumSkyBlock enumskyblock
                                       , int i, int j, int k)
 {
     if (enumskyblock == net.minecraft.src.EnumSkyBlock.Sky)
     {
         return(skylightMap.GetNibble(i, j, k));
     }
     if (enumskyblock == net.minecraft.src.EnumSkyBlock.Block)
     {
         return(blocklightMap.GetNibble(i, j, k));
     }
     else
     {
         return(0);
     }
 }
예제 #3
0
 public virtual void SetLightValue(net.minecraft.src.EnumSkyBlock enumskyblock, int
                                   i, int j, int k, int l)
 {
     isModified = true;
     if (enumskyblock == net.minecraft.src.EnumSkyBlock.Sky)
     {
         skylightMap.SetNibble(i, j, k, l);
     }
     else
     {
         if (enumskyblock == net.minecraft.src.EnumSkyBlock.Block)
         {
             blocklightMap.SetNibble(i, j, k, l);
         }
         else
         {
             return;
         }
     }
 }
예제 #4
0
 public override void SetLightValue(net.minecraft.src.EnumSkyBlock enumskyblock, int
                                    i, int j, int k, int l)
 {
 }
예제 #5
0
 public override int GetSavedLightValue(net.minecraft.src.EnumSkyBlock enumskyblock
                                        , int i, int j, int k)
 {
     return(0);
 }