<commit_before>package com.lothrazar.cyclicmagic.net;
import io.netty.buffer.ByteBuf;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraftforge.fml.common.network.ByteBufUtils;
import net.minecraftforge.fml.common.network.simpleimpl.IMessage;
import net.minecraftforge.fml.common.network.simpleimpl.IMessageHandler;
import net.minecraftforge.fml.common.network.simpleimpl.MessageContext;

public class PacketPlayerFalldamage implements IMessage, IMessageHandler<PacketPlayerFalldamage, IMessage> {
  NBTTagCompound tags = new NBTTagCompound();
  public PacketPlayerFalldamage() {}
  @Override
  public void fromBytes(ByteBuf buf) {
    tags = ByteBufUtils.readTag(buf);
  }
  @Override
  public void toBytes(ByteBuf buf) {
    ByteBufUtils.writeTag(buf, this.tags);
  }
  @Override
  public IMessage onMessage(PacketPlayerFalldamage message, MessageContext ctx) {
    EntityPlayer p = ctx.getServerHandler().playerEntity;
    System.out.println("do climb; send falldistance to zero to server "+    p.fallDistance  );
    
    p.fallDistance = 0;
    return null;
  }
}
<commit_msg>rm debug spam on glove<commit_after>package com.lothrazar.cyclicmagic.net;
import io.netty.buffer.ByteBuf;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraftforge.fml.common.network.ByteBufUtils;
import net.minecraftforge.fml.common.network.simpleimpl.IMessage;
import net.minecraftforge.fml.common.network.simpleimpl.IMessageHandler;
import net.minecraftforge.fml.common.network.simpleimpl.MessageContext;

public class PacketPlayerFalldamage implements IMessage, IMessageHandler<PacketPlayerFalldamage, IMessage> {
  NBTTagCompound tags = new NBTTagCompound();
  public PacketPlayerFalldamage() {}
  @Override
  public void fromBytes(ByteBuf buf) {
    tags = ByteBufUtils.readTag(buf);
  }
  @Override
  public void toBytes(ByteBuf buf) {
    ByteBufUtils.writeTag(buf, this.tags);
  }
  @Override
  public IMessage onMessage(PacketPlayerFalldamage message, MessageContext ctx) {
    EntityPlayer p = ctx.getServerHandler().playerEntity;
    p.fallDistance = 0;
    return null;
  }
}

{'fraction_non_alphanumeric': 0.09419295839048926, 'fraction_numerical': 0.0009144947416552355, 'mean_word_length': 5.39766081871345, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6204170', 'n_tokens_mistral': 706, 'n_tokens_neox': 697, 'n_words': 127}