<commit_before>package com.lothrazar.backport; 

import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.block.Block;
import net.minecraft.block.BlockBreakable;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.Entity; 
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.stats.StatList;
//import net.minecraft.util.EnumWorldBlockLayer;
import net.minecraft.world.World;
//import net.minecraftforge.fml.relauncher.Side;
//import net.minecraftforge.fml.relauncher.SideOnly;

public class BlockSlime extends BlockBreakable
{
    private static final String __OBFID = "CL_00002063";

    public BlockSlime()
    {
        super("slime", Material.clay, false);
        this.setCreativeTab(CreativeTabs.tabDecorations);
        this.slipperiness = 0.8F;
        this.setBlockName("slime").setStepSound(new Block.SoundType("mob.slime.big", 1.0F, 1.0F));
        this.setBlockTextureName("samspowerups:" +"slime_block");
        
        //water has opacity of 3
        this.setLightOpacity(3);
    }
/*
 //this is what gives it that outer transparency , but not the same in 1.7
    @SideOnly(Side.CLIENT)
    public EnumWorldBlockLayer getBlockLayer()
    {
        return EnumWorldBlockLayer.TRANSLUCENT;
    }
*/

    @Override
    @SideOnly(Side.CLIENT)
    public void registerBlockIcons(IIconRegister ii)
    {
    	//texture wasnt showing up bc this was missing
        this.blockIcon = ii.registerIcon(this.textureName);
    }
    
    @Override
    public void onFallenUpon(World worldIn, int x,int y, int z, Entity entityIn, float fallDistance)
    {
    	//this fires twice. assuming its once for each client/server
    	System.out.println("onFallenUpon ::  fallDistance = "+fallDistance);
     	System.out.println("motionY = "+entityIn.motionY);
     	
     	
        if (entityIn.isSneaking())<commit_msg>mild transparency. no inner layer still but ill just leave that off<commit_after>package com.lothrazar.backport; 

import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.block.Block;
import net.minecraft.block.BlockBreakable;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.Entity; 
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.stats.StatList;
//import net.minecraft.util.EnumWorldBlockLayer;
import net.minecraft.world.World;
//import net.minecraftforge.fml.relauncher.Side;
//import net.minecraftforge.fml.relauncher.SideOnly;

public class BlockSlime extends BlockBreakable
{
    private static final String __OBFID = "CL_00002063";

    public BlockSlime()
    {
        super("slime", Material.clay, false);
        this.setCreativeTab(CreativeTabs.tabDecorations);
        this.slipperiness = 0.8F;
        this.setBlockName("slime").setStepSound(new Block.SoundType("mob.slime.big", 1.0F, 1.0F));
        this.setBlockTextureName("samspowerups:" +"slime_block");
        
        //water has opacity of 3
        this.setLightOpacity(3);
    }
/*
 //this is what gives it that outer transparency , but not the same in 1.7
    @SideOnly(Side.CLIENT)
    public EnumWorldBlockLayer getBlockLayer()
    {
        return EnumWorldBlockLayer.TRANSLUCENT;
    }
*/
	@Override
    @SideOnly(Side.CLIENT)
	public boolean isOpaqueCube() 
	{
		return false;
	}
	@Override
	public boolean renderAsNormalBlock() 
	{
		return false;
	} 
	@Override
    public int getRenderBlockPass()
	{
            return 1;
	}
    @Override
    @SideOnly(Side.CLIENT)
    public void registerBlockIcons(IIconRegister ii)
    {
    	//texture wasnt showing up bc this was missing
        this.blockIcon = ii.registerIcon(this.textureName);
    }
    
    @Override
    public void onFallenUpon(World worldIn, int x,int y, int z, Entity entityIn, float fallDistance)
    {
    	//this fires twice. assuming its once for each client/server
    	System.out.println("onFallenUpon ::  fallDistance = "+fallDistance);
     	System.out.println("motionY = "+entityIn.motionY);
     	
     	
        if (entityIn.isSneaking())
{'fraction_non_alphanumeric': 0.10439432690072076, 'fraction_numerical': 0.008602650546384562, 'mean_word_length': 3.490605427974948, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '525603', 'n_tokens_mistral': 1404, 'n_tokens_neox': 1382, 'n_words': 283}