Package codechicken.lib.raytracer

Examples of codechicken.lib.raytracer.ExtendedMOP


  }

  @Override
  public boolean onSneakRightClick(EntityPlayer player, int side)
  {
    ExtendedMOP hit = (ExtendedMOP)RayTracer.retraceBlock(world(), player, x(), y(), z());

    if(hit == null)
    {
      return false;
    }
View Full Code Here


        @Override
        public boolean activate(BundledGatePart part, EntityPlayer player, ItemStack held, MovingObjectPosition hit)
        {
            if (held != null && held.getItem() instanceof IScrewdriver) return false;
            ExtendedMOP hit1 = (ExtendedMOP)hit;
            int hitdata = ((Integer)hit1.data);
            if (hitdata != -1)
            {
                pressMask ^= (1<<hitdata);
                if (!part.world().isRemote) onChange(part);
View Full Code Here

TOP

Related Classes of codechicken.lib.raytracer.ExtendedMOP

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.