SHARE
TWEET

MFFS - VoltzEngine - 1.7.10 - ItemModeCustom.class

LMH01 Aug 16th, 2019 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package com.builtbroken.mffs.common.items.modules.projector.mode;
  2.  
  3. import com.builtbroken.mffs.api.IFieldInteraction;
  4. import com.builtbroken.mffs.api.IProjector;
  5. import com.builtbroken.mffs.api.vector.Vector3D;
  6. import com.builtbroken.mffs.prefab.item.ItemMode;
  7. import java.util.HashMap;
  8. import java.util.List;
  9. import java.util.Set;
  10. import net.minecraft.entity.player.EntityPlayer;
  11. import net.minecraft.item.ItemStack;
  12.  
  13.  
  14.  
  15.  
  16.  
  17. public class ItemModeCustom
  18.   extends ItemMode
  19. {
  20.   private static final String NBT_ID = "id";
  21.   private static final String NBT_MODE = "mode";
  22.   private static final String NBT_POINT_1 = "point1";
  23.   private static final String NBT_POINT_2 = "point2";
  24.   private static final String NBT_FIELD_BLOCK_LIST = "fieldPoints";
  25.   private static final String NBT_FIELD_BLOCK_ID = "blockID";
  26.   private static final String NBT_FIELD_BLOCK_METADATA = "blockMetadata";
  27.   private static final String NBT_FIELD_SIZE = "fieldSize";
  28.   private static final String NBT_FILE_SAVE_PREFIX = "custom_mode_";
  29.   private final HashMap<String, Object> cache = new HashMap();
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.   public void func_77624_a(ItemStack stack, EntityPlayer usr, List list, boolean dummy) { list.add("This Item has been disabled."); }
  44.  
  45.  
  46.  
  47.  
  48.  
  49.   public Set<Vector3D> getExteriorPoints(IFieldInteraction paramIFieldInteraction) { return null; }
  50.  
  51.  
  52.  
  53.  
  54.  
  55.   public Set<Vector3D> getInteriorPoints(IFieldInteraction paramIFieldInteraction) { return null; }
  56.  
  57.  
  58.  
  59.  
  60.  
  61.   public boolean isInField(IFieldInteraction paramIFieldInteraction, Vector3D paramVector3D) { return false; }
  62.  
  63.   public void render(IProjector paramIProjector, double paramDouble1, double paramDouble2, double paramDouble3, float paramFloat, long paramLong) {}
  64. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top