代码上完全没改动,就是优化了一下import。
然后modrinth上那个0.2.3的二进制文件出现了编译事故,具体原因不明,问题表现是新的代码完全就没生效,好像还是0.2.1的老代码。折腾了一个小时确定和我的代码毛关系都没,是编译事故,开新的版本只是为了强制推送更新。
This commit is contained in:
TheWhiteDog9487 2024-02-02 17:17:09 +08:00
parent b9c7fb3088
commit f8d36dd3d4
2 changed files with 1 additions and 3 deletions

View File

@ -9,7 +9,7 @@ yarn_mappings=1.20.4+build.3
loader_version=0.15.6 loader_version=0.15.6
# Mod Properties # Mod Properties
mod_version=0.2.3 mod_version=0.2.4
maven_group=xyz.thewhitedog9487 maven_group=xyz.thewhitedog9487
archives_base_name=randomteleporter archives_base_name=randomteleporter

View File

@ -7,11 +7,9 @@ import net.minecraft.command.argument.EntityArgumentType;
import net.minecraft.command.argument.Vec3ArgumentType; import net.minecraft.command.argument.Vec3ArgumentType;
import net.minecraft.entity.Entity; import net.minecraft.entity.Entity;
import net.minecraft.server.command.ServerCommandSource; import net.minecraft.server.command.ServerCommandSource;
import net.minecraft.server.network.ServerPlayerEntity;
import net.minecraft.text.Text; import net.minecraft.text.Text;
import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.Vec3d; import net.minecraft.util.math.Vec3d;
import net.minecraft.util.math.Vec3i;
import org.jetbrains.annotations.Nullable; import org.jetbrains.annotations.Nullable;
import java.util.SplittableRandom; import java.util.SplittableRandom;