<commit_before>package darkevilmac.movingworld.common.asm.mixin.core.world;

import net.minecraft.entity.Entity;
import net.minecraft.util.math.AxisAlignedBB;
import net.minecraft.world.World;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;

import java.util.List;

@Mixin(World.class)
public class MixinWorld {
    @Inject(method = "getCollisionBoxes(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/AxisAlignedBB;)Ljava/util/List;", at = @At("RETURN"), cancellable = true)
    public void onGetCollisionBoxes(Entity source, AxisAlignedBB within, CallbackInfoReturnable<List> cbr) {
        //TODO: Experiment with getting ship collision boxes
    }
}<commit_msg>Just don't bother with the collision injection if we're not using it.<commit_after>package darkevilmac.movingworld.common.asm.mixin.core.world;

import net.minecraft.world.World;
import org.spongepowered.asm.mixin.Mixin;

@Mixin(World.class)
public class MixinWorld {
    //@Inject(method = "getCollisionBoxes(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/AxisAlignedBB;)Ljava/util/List;", at = @At("RETURN"), cancellable = true)
    //public void onGetCollisionBoxes(Entity source, AxisAlignedBB within, CallbackInfoReturnable<List> cbr) {
    //    //TODO: Experiment with getting ship collision boxes
    //}
}
{'fraction_non_alphanumeric': 0.11691884456671252, 'fraction_numerical': 0.0, 'mean_word_length': 5.466666666666667, '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': '2408352', 'n_tokens_mistral': 479, 'n_tokens_neox': 474, 'n_words': 85}