<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Minecraft &#8211; HikariLan&#039;s Blog</title>
	<atom:link href="https://blog.hikarilan.life/tag/minecraft/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.hikarilan.life</link>
	<description>贺兰星辰的个人博客</description>
	<lastBuildDate>Tue, 03 Dec 2024 05:17:17 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.5</generator>
	<item>
		<title>使用 Tauri 开发一个基于 Web 和 Rust 技术栈的跨平台桌面应用（Minecraft Server Player UUID Modifier）</title>
		<link>https://blog.hikarilan.life/tech/913/%e4%bd%bf%e7%94%a8-tauri-%e5%bc%80%e5%8f%91%e4%b8%80%e4%b8%aa%e5%9f%ba%e4%ba%8e-web-%e5%92%8c-rust-%e6%8a%80%e6%9c%af%e6%a0%88%e7%9a%84%e8%b7%a8%e5%b9%b3%e5%8f%b0%e6%a1%8c%e9%9d%a2%e5%ba%94%e7%94%a8/</link>
					<comments>https://blog.hikarilan.life/tech/913/%e4%bd%bf%e7%94%a8-tauri-%e5%bc%80%e5%8f%91%e4%b8%80%e4%b8%aa%e5%9f%ba%e4%ba%8e-web-%e5%92%8c-rust-%e6%8a%80%e6%9c%af%e6%a0%88%e7%9a%84%e8%b7%a8%e5%b9%b3%e5%8f%b0%e6%a1%8c%e9%9d%a2%e5%ba%94%e7%94%a8/#respond</comments>
		
		<dc:creator><![CDATA[贺兰星辰]]></dc:creator>
		<pubDate>Mon, 30 Jan 2023 06:35:37 +0000</pubDate>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[Minecraft]]></category>
		<category><![CDATA[Rust]]></category>
		<category><![CDATA[Tauri]]></category>
		<category><![CDATA[开发]]></category>
		<guid isPermaLink="false">https://my.minecraft.kim/?p=913</guid>

					<description><![CDATA[使用 Tauri 开发一个基于 Web 和 Rust 技术栈的跨平台桌面应用（Minecraft Server [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>前些天在某 IDC 售后群里潜水，看到很多 MC 服主都在为正盗版 UUID 转换发愁（如果您不理解的话，Minecraft 服务器可以被设置为正版和盗版两种验证模式，而在此两种模式下运行的服务器实例为玩家生成的唯一标识符，也即 UUID 是完全不同的，前者从 Minecraft 正版验证服务直接获取，后者由服务端以玩家 ID 直接生成 UUID v3），遂打算开发一款能够快速转换玩家 UUID 的桌面应用。 于是，在选择桌面应用技术栈时犯了难：我个人 WPF 开发不够熟练；Compose 性能又不太好，而且还有很多问题；Electron 又太臃肿…… 最后，一个叫做 Tauri 的跨平台桌面应用开发框架吸引了我 —— 其前端可以使用传统的前端三件套进行开发，后端则是使用 Rust 编写；在完全支持前端包管理器（npm/Yarn/pnpm）的同时也支持 Rust 的 Cargo；</p>
<p><a href="https://blog.hikarilan.life/tech/913/%e4%bd%bf%e7%94%a8-tauri-%e5%bc%80%e5%8f%91%e4%b8%80%e4%b8%aa%e5%9f%ba%e4%ba%8e-web-%e5%92%8c-rust-%e6%8a%80%e6%9c%af%e6%a0%88%e7%9a%84%e8%b7%a8%e5%b9%b3%e5%8f%b0%e6%a1%8c%e9%9d%a2%e5%ba%94%e7%94%a8/" rel="nofollow">来源</a></p>]]></content:encoded>
					
					<wfw:commentRss>https://blog.hikarilan.life/tech/913/%e4%bd%bf%e7%94%a8-tauri-%e5%bc%80%e5%8f%91%e4%b8%80%e4%b8%aa%e5%9f%ba%e4%ba%8e-web-%e5%92%8c-rust-%e6%8a%80%e6%9c%af%e6%a0%88%e7%9a%84%e8%b7%a8%e5%b9%b3%e5%8f%b0%e6%a1%8c%e9%9d%a2%e5%ba%94%e7%94%a8/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>论一种模块化的 Minecraft Minigame 游戏架构模型</title>
		<link>https://blog.hikarilan.life/thinking/874/%e8%ae%ba%e4%b8%80%e7%a7%8d%e6%a8%a1%e5%9d%97%e5%8c%96%e7%9a%84-minecraft-minigame-%e6%b8%b8%e6%88%8f%e6%9e%b6%e6%9e%84%e6%a8%a1%e5%9e%8b/</link>
					<comments>https://blog.hikarilan.life/thinking/874/%e8%ae%ba%e4%b8%80%e7%a7%8d%e6%a8%a1%e5%9d%97%e5%8c%96%e7%9a%84-minecraft-minigame-%e6%b8%b8%e6%88%8f%e6%9e%b6%e6%9e%84%e6%a8%a1%e5%9e%8b/#comments</comments>
		
		<dc:creator><![CDATA[贺兰星辰]]></dc:creator>
		<pubDate>Mon, 02 Jan 2023 17:12:59 +0000</pubDate>
				<category><![CDATA[心得]]></category>
		<category><![CDATA[技术]]></category>
		<category><![CDATA[BukkitAPI]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Minecraft]]></category>
		<category><![CDATA[开发]]></category>
		<guid isPermaLink="false">https://my.minecraft.kim/?p=874</guid>

					<description><![CDATA[论一种模块化的 Minecraft Minigame 游戏架构模型 TL;DR: 本文章试图说明一种可用于开发 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>近一年来，我都在负责一款 Minecraft Minigame 的开发，籍此机会，我总结了一套灵活的，可拓展的，模块化的架构，可以高效的处理游戏主循环的运行。简而言之，这些架构由一些被称之为 , 和 的东西共同组成。要想了解它们，我们需要先从游戏主循环开始… 大多数游戏都具有游戏主循环，Minecraft 也不例外。游戏主循环在每一个单位时间下进行一次，处理用户输入，更新游戏内容的一些状态信息。在一个 Minigame 中，自然也应该存在游戏主循环。但是实际上，一个 Minigame 可能拥有多个线性阶段（例如等待阶段，游戏阶段等），这些阶段可能会在不同的情况下被触发，并层层递进，直到游戏结束。 为了更方便的在游戏主循环上进行开发，我们引入 和 的概念。 简而言之， 用于代表一个“单元游戏阶段”， 用于代表一个真正的游戏阶段，</p>
<p><a href="https://blog.hikarilan.life/thinking/874/%e8%ae%ba%e4%b8%80%e7%a7%8d%e6%a8%a1%e5%9d%97%e5%8c%96%e7%9a%84-minecraft-minigame-%e6%b8%b8%e6%88%8f%e6%9e%b6%e6%9e%84%e6%a8%a1%e5%9e%8b/" rel="nofollow">来源</a></p>]]></content:encoded>
					
					<wfw:commentRss>https://blog.hikarilan.life/thinking/874/%e8%ae%ba%e4%b8%80%e7%a7%8d%e6%a8%a1%e5%9d%97%e5%8c%96%e7%9a%84-minecraft-minigame-%e6%b8%b8%e6%88%8f%e6%9e%b6%e6%9e%84%e6%a8%a1%e5%9e%8b/feed/</wfw:commentRss>
			<slash:comments>6</slash:comments>
		
		
			</item>
		<item>
		<title>Forge 开发经验 —— 创造一个通过消耗耐久值进行合成的物品</title>
		<link>https://blog.hikarilan.life/tech/569/forge-%e5%bc%80%e5%8f%91%e7%bb%8f%e9%aa%8c-%e5%88%9b%e9%80%a0%e4%b8%80%e4%b8%aa%e9%80%9a%e8%bf%87%e6%b6%88%e8%80%97%e8%80%90%e4%b9%85%e5%80%bc%e8%bf%9b%e8%a1%8c%e5%90%88%e6%88%90/</link>
					<comments>https://blog.hikarilan.life/tech/569/forge-%e5%bc%80%e5%8f%91%e7%bb%8f%e9%aa%8c-%e5%88%9b%e9%80%a0%e4%b8%80%e4%b8%aa%e9%80%9a%e8%bf%87%e6%b6%88%e8%80%97%e8%80%90%e4%b9%85%e5%80%bc%e8%bf%9b%e8%a1%8c%e5%90%88%e6%88%90/#comments</comments>
		
		<dc:creator><![CDATA[贺兰星辰]]></dc:creator>
		<pubDate>Tue, 10 May 2022 06:59:58 +0000</pubDate>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[Forge]]></category>
		<category><![CDATA[Minecraft]]></category>
		<guid isPermaLink="false">https://my.minecraft.kim/?p=569</guid>

					<description><![CDATA[Forge 开发经验 —— 创造一个通过损坏耐久值进行合成的物品 如果你玩过工业 2，你应该知道“锻造锤”这个 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>如果你玩过工业 2，你应该知道“锻造锤”这个物品，它可以通过消耗耐久值来将矿物锻造成矿物片，但是实际上“消耗耐久值合成”这个功能在原版是不受支持的，那么，应当如何实现这个功能呢？ 环境：Minecraft 1.18.2, Forge 40.1.0, Mapping 'parchment' 2022.03.13-1.18.2 首先我们肯定还是要按照正常的情况（直接消耗整个物品，而不是消耗耐久值）将 recipe 的数据包 json 制作好的，接下来，我们要想办法让他消耗耐久值： 通常我们会想到用数据包直接实现，但是这个上面说了是不受支持的； 然后我们可能会想到用事件来捕获，但是 被触发时合成已经结束了，因此我们是无法获知合成信息的； 然后我们可能会想到覆盖 方法，但是这个方法的和上面的事件一样，被触发时合成也已经结束； 事实上，我们可以先退一步，</p>
<p><a href="https://blog.hikarilan.life/tech/569/forge-%e5%bc%80%e5%8f%91%e7%bb%8f%e9%aa%8c-%e5%88%9b%e9%80%a0%e4%b8%80%e4%b8%aa%e9%80%9a%e8%bf%87%e6%b6%88%e8%80%97%e8%80%90%e4%b9%85%e5%80%bc%e8%bf%9b%e8%a1%8c%e5%90%88%e6%88%90/" rel="nofollow">来源</a></p>]]></content:encoded>
					
					<wfw:commentRss>https://blog.hikarilan.life/tech/569/forge-%e5%bc%80%e5%8f%91%e7%bb%8f%e9%aa%8c-%e5%88%9b%e9%80%a0%e4%b8%80%e4%b8%aa%e9%80%9a%e8%bf%87%e6%b6%88%e8%80%97%e8%80%90%e4%b9%85%e5%80%bc%e8%bf%9b%e8%a1%8c%e5%90%88%e6%88%90/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>我为什么不再开 MC 服务器</title>
		<link>https://blog.hikarilan.life/thinking/484/%e6%88%91%e4%b8%ba%e4%bb%80%e4%b9%88%e4%b8%8d%e5%86%8d%e5%bc%80-mc-%e6%9c%8d%e5%8a%a1%e5%99%a8/</link>
					<comments>https://blog.hikarilan.life/thinking/484/%e6%88%91%e4%b8%ba%e4%bb%80%e4%b9%88%e4%b8%8d%e5%86%8d%e5%bc%80-mc-%e6%9c%8d%e5%8a%a1%e5%99%a8/#comments</comments>
		
		<dc:creator><![CDATA[贺兰星辰]]></dc:creator>
		<pubDate>Wed, 13 Apr 2022 05:03:48 +0000</pubDate>
				<category><![CDATA[心得]]></category>
		<category><![CDATA[Minecraft]]></category>
		<category><![CDATA[开服]]></category>
		<guid isPermaLink="false">https://my.minecraft.kim/?p=484</guid>

					<description><![CDATA[我为什么不再开 MC 服务器 概要 本文对本人近一年来不再单独，或近几个月来不再参与任何（非工作性质的）MC  [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>本文对本人近一年来不再单独，或近几个月来不再参与任何（非工作性质的）MC 服务器项目管理的原因进行了阐述。 对于我为什么不再开 MC 服务器，其实归咎于很多原因，今天仔细想了想，其实不外乎两点： 跟我关系比较近的人应该知道，我目前在某公司担任 Java 工程师一职，虽然工作时间较为弹性，且工作强度（大部分时间）并不算太大（除了因为某个人导致我精神压力很大以外），但是这扔挤压了我绝大部分的课余时间，一整天内我几乎大部分时间都用来写代码，因此这很难让我找出时间去思考“开服”这么一个事，甚至让我难以实现一些基于个人想法的项目。 当然，这并不意味着我毫无时间去做我自己想做的事 —— 但是很遗憾的是，这些事件被我用在了包括但不限于打游戏，研究 Java 字节码，思考人生等事项上，而不是开服。 至于为什么不是开服，那就得要聊到… 仍记得五年前的我，</p>
<p><a href="https://blog.hikarilan.life/thinking/484/%e6%88%91%e4%b8%ba%e4%bb%80%e4%b9%88%e4%b8%8d%e5%86%8d%e5%bc%80-mc-%e6%9c%8d%e5%8a%a1%e5%99%a8/" rel="nofollow">来源</a></p>]]></content:encoded>
					
					<wfw:commentRss>https://blog.hikarilan.life/thinking/484/%e6%88%91%e4%b8%ba%e4%bb%80%e4%b9%88%e4%b8%8d%e5%86%8d%e5%bc%80-mc-%e6%9c%8d%e5%8a%a1%e5%99%a8/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>聊聊 PaperAPI 提供的自定义生物 AI 系统</title>
		<link>https://blog.hikarilan.life/tech/393/%e8%81%8a%e8%81%8a-paperapi-%e6%8f%90%e4%be%9b%e7%9a%84%e8%87%aa%e5%ae%9a%e4%b9%89%e7%94%9f%e7%89%a9-ai-%e7%b3%bb%e7%bb%9f/</link>
					<comments>https://blog.hikarilan.life/tech/393/%e8%81%8a%e8%81%8a-paperapi-%e6%8f%90%e4%be%9b%e7%9a%84%e8%87%aa%e5%ae%9a%e4%b9%89%e7%94%9f%e7%89%a9-ai-%e7%b3%bb%e7%bb%9f/#comments</comments>
		
		<dc:creator><![CDATA[贺兰星辰]]></dc:creator>
		<pubDate>Sun, 19 Dec 2021 13:01:24 +0000</pubDate>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[BukkitAPI]]></category>
		<category><![CDATA[Minecraft]]></category>
		<category><![CDATA[PaperAPI]]></category>
		<category><![CDATA[开发]]></category>
		<guid isPermaLink="false">https://my.minecraft.kim/?p=393</guid>

					<description><![CDATA[聊聊 PaperAPI 提供的自定义生物 AI 系统 灵感：https://www.mcbbs.net/thr [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>灵感：https://www.mcbbs.net/thread-1285618-1-1.html（原文发布于 https://izzel.io/2021/12/19/living-things） 本文旨在介绍由 PaperAPI 封装的自定义生物行为（AI）系统（com.destroystokyo.paper.entity.ai），籍由此系统，我们可以在不接触 NMS 的情况下为单个生物自定义其 AI。本文代码基于 Paper-API 1.16.5。 阅读本文可能需要了解原版的生物 AI 机制，如果您不了解这些机制，则可以阅读海螺的 聊聊生物和 AI 文章（即本文灵感）来对这些机制有一些初步的了解 众所周知，与 Forge 不同，Bukkit API 总是希望包揽一切，提供一套稳定的，高度封装的 API 给服务端插件开发者，而不希望开发者基于内部代码进行开发。但因为各种原因，</p>
<p><a href="https://blog.hikarilan.life/tech/393/%e8%81%8a%e8%81%8a-paperapi-%e6%8f%90%e4%be%9b%e7%9a%84%e8%87%aa%e5%ae%9a%e4%b9%89%e7%94%9f%e7%89%a9-ai-%e7%b3%bb%e7%bb%9f/" rel="nofollow">来源</a></p>]]></content:encoded>
					
					<wfw:commentRss>https://blog.hikarilan.life/tech/393/%e8%81%8a%e8%81%8a-paperapi-%e6%8f%90%e4%be%9b%e7%9a%84%e8%87%aa%e5%ae%9a%e4%b9%89%e7%94%9f%e7%89%a9-ai-%e7%b3%bb%e7%bb%9f/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>八年游戏，十八年人生 —— 我与 MC 的那些事（2021 成年纪念）</title>
		<link>https://blog.hikarilan.life/thinking/annual-summary/343/%e5%85%ab%e5%b9%b4%e6%b8%b8%e6%88%8f%ef%bc%8c%e5%8d%81%e5%85%ab%e5%b9%b4%e4%ba%ba%e7%94%9f-%e6%88%91%e4%b8%8e-mc-%e7%9a%84%e9%82%a3%e4%ba%9b%e4%ba%8b%ef%bc%882021-%e6%88%90%e5%b9%b4/</link>
					<comments>https://blog.hikarilan.life/thinking/annual-summary/343/%e5%85%ab%e5%b9%b4%e6%b8%b8%e6%88%8f%ef%bc%8c%e5%8d%81%e5%85%ab%e5%b9%b4%e4%ba%ba%e7%94%9f-%e6%88%91%e4%b8%8e-mc-%e7%9a%84%e9%82%a3%e4%ba%9b%e4%ba%8b%ef%bc%882021-%e6%88%90%e5%b9%b4/#comments</comments>
		
		<dc:creator><![CDATA[贺兰星辰]]></dc:creator>
		<pubDate>Tue, 26 Oct 2021 16:00:28 +0000</pubDate>
				<category><![CDATA[年度总结]]></category>
		<category><![CDATA[心得]]></category>
		<category><![CDATA[Minecraft]]></category>
		<category><![CDATA[生活]]></category>
		<guid isPermaLink="false">https://my.minecraft.kim/?p=343</guid>

					<description><![CDATA[八年游戏，十八年人生 —— 我与 MC 的那些事（2021 成年纪念） 谨以此纪念那个虽然是幼稚的、冲动的，但 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>谨以此纪念那个虽然是幼稚的、冲动的，但又对一切都充满好奇、对一切都保持热爱的过去的我 任何一件事物给人带来的最初体验，永远是最美妙，最难以忘怀，最值得回忆的…… 依稀记得是我 10 岁，亦或者是 11 岁生日那年，小学同学们来到我的家中庆祝我来到这个世界第 10 年，聚会是很普通的聚会，好在大家最后都很开心。然而天下难有不散的宴席，小学同学一个一个的离开的过程中，我注意到其中一个正在等待父母的同学在手机上正在玩着什么游戏，于是我凑过去看了看 —— 游戏中一个拿着一个镐子的人物正在同学的操控中躲避来自夜间的僵尸的攻击，过程中还通过挖进大山并填埋入口躲避怪物……毫无疑问的，我被这样一个游戏吸引了。于是我询问同学游戏的名字，同学笑着说：“我的世界。”从那一刻起，我便与 Minecraft 结下了不解之缘。 那时天真的我以为“我的世界”是一个手机游戏，</p>
<p><a href="https://blog.hikarilan.life/thinking/annual-summary/343/%e5%85%ab%e5%b9%b4%e6%b8%b8%e6%88%8f%ef%bc%8c%e5%8d%81%e5%85%ab%e5%b9%b4%e4%ba%ba%e7%94%9f-%e6%88%91%e4%b8%8e-mc-%e7%9a%84%e9%82%a3%e4%ba%9b%e4%ba%8b%ef%bc%882021-%e6%88%90%e5%b9%b4/" rel="nofollow">来源</a></p>]]></content:encoded>
					
					<wfw:commentRss>https://blog.hikarilan.life/thinking/annual-summary/343/%e5%85%ab%e5%b9%b4%e6%b8%b8%e6%88%8f%ef%bc%8c%e5%8d%81%e5%85%ab%e5%b9%b4%e4%ba%ba%e7%94%9f-%e6%88%91%e4%b8%8e-mc-%e7%9a%84%e9%82%a3%e4%ba%9b%e4%ba%8b%ef%bc%882021-%e6%88%90%e5%b9%b4/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Bukkit（原版同理）的玩家/实体带颜色发光机制简谈</title>
		<link>https://blog.hikarilan.life/tech/336/bukkit%ef%bc%88%e5%8e%9f%e7%89%88%e5%90%8c%e7%90%86%ef%bc%89%e7%9a%84%e7%8e%a9%e5%ae%b6-%e5%ae%9e%e4%bd%93%e5%b8%a6%e9%a2%9c%e8%89%b2%e5%8f%91%e5%85%89%e6%9c%ba%e5%88%b6%e7%ae%80%e8%b0%88/</link>
					<comments>https://blog.hikarilan.life/tech/336/bukkit%ef%bc%88%e5%8e%9f%e7%89%88%e5%90%8c%e7%90%86%ef%bc%89%e7%9a%84%e7%8e%a9%e5%ae%b6-%e5%ae%9e%e4%bd%93%e5%b8%a6%e9%a2%9c%e8%89%b2%e5%8f%91%e5%85%89%e6%9c%ba%e5%88%b6%e7%ae%80%e8%b0%88/#comments</comments>
		
		<dc:creator><![CDATA[贺兰星辰]]></dc:creator>
		<pubDate>Sun, 24 Oct 2021 10:49:22 +0000</pubDate>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[BukkitAPI]]></category>
		<category><![CDATA[Minecraft]]></category>
		<category><![CDATA[开发]]></category>
		<guid isPermaLink="false">https://my.minecraft.kim/?p=336</guid>

					<description><![CDATA[Bukkit（原版同理）的玩家/实体带颜色发光机制简谈 众所周知，在 Bukkit 的代表实体的 org.bu [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>众所周知，在 Bukkit 的代表实体的 对象中有 这么一个方法，根据 Javadoc 中的描述： 我们可以很容易的得知，这个方法是通过设置实体的 属性，来实现让实体发光的效果。 但是我们发现，这样设置的实体发光，其发光颜色是白色的，但并没有在类似的位置找到设置实体发光颜色的方法。因此，该如何让一个实体发出其他颜色的光呢。 其实这就要借助 Minecraft 的记分板（ScoreBoard）功能了。众所周知，ScoreBoard 可以将玩家划分成不同的队伍，然后为队伍设置不同的颜色，此时，当玩家发光时，发光颜色就会变为队伍颜色。所以，我们需要为实体设置计分板队伍。 在过去的版本中，Bukkit 仅支持 作为 对象的成员，但现在，Bukkit 将成员的类型设置成了 而不是 ，这就允许非玩家对象被加入 中。 那么，我们应该传入什么样的 来代表一个实体呢？</p>
<p><a href="https://blog.hikarilan.life/tech/336/bukkit%ef%bc%88%e5%8e%9f%e7%89%88%e5%90%8c%e7%90%86%ef%bc%89%e7%9a%84%e7%8e%a9%e5%ae%b6-%e5%ae%9e%e4%bd%93%e5%b8%a6%e9%a2%9c%e8%89%b2%e5%8f%91%e5%85%89%e6%9c%ba%e5%88%b6%e7%ae%80%e8%b0%88/" rel="nofollow">来源</a></p>]]></content:encoded>
					
					<wfw:commentRss>https://blog.hikarilan.life/tech/336/bukkit%ef%bc%88%e5%8e%9f%e7%89%88%e5%90%8c%e7%90%86%ef%bc%89%e7%9a%84%e7%8e%a9%e5%ae%b6-%e5%ae%9e%e4%bd%93%e5%b8%a6%e9%a2%9c%e8%89%b2%e5%8f%91%e5%85%89%e6%9c%ba%e5%88%b6%e7%ae%80%e8%b0%88/feed/</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
			</item>
		<item>
		<title>使用 Gson 序列化和反序列化 org.bukkit.ItemStack</title>
		<link>https://blog.hikarilan.life/tech/272/%e4%bd%bf%e7%94%a8-gson-%e5%ba%8f%e5%88%97%e5%8c%96%e5%92%8c%e5%8f%8d%e5%ba%8f%e5%88%97%e5%8c%96-org-bukkit-itemstack/</link>
					<comments>https://blog.hikarilan.life/tech/272/%e4%bd%bf%e7%94%a8-gson-%e5%ba%8f%e5%88%97%e5%8c%96%e5%92%8c%e5%8f%8d%e5%ba%8f%e5%88%97%e5%8c%96-org-bukkit-itemstack/#comments</comments>
		
		<dc:creator><![CDATA[贺兰星辰]]></dc:creator>
		<pubDate>Thu, 29 Jul 2021 08:12:58 +0000</pubDate>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[BukkitAPI]]></category>
		<category><![CDATA[Minecraft]]></category>
		<category><![CDATA[开发]]></category>
		<guid isPermaLink="false">https://my.minecraft.kim/?p=272</guid>

					<description><![CDATA[使用 Gson 序列化和反序列化 org.bukkit.ItemStack 写这玩意的原因 昨天肝了一整天 这 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>昨天肝了一整天 这个插件，为了方便起见我希望使用 Json 来存储 ItemStack 信息，结果没想到为了序列化这个 ItemStack 花了我一整个下午的时间。在 StackOverFlow 和 SpigotMC 兜兜转转一大圈后，终于写出来了序列化代码。 正好刚刚逛论坛的时候，看到了同小组的 这个教程，心想正好他只写了 YAML，没有写 GSON，我就帮忙给他补充一下了233。 既然 Bukkit API 已经向我们提供了 ItemStack 的序列化和反序列化方法，那么就让我们深入一下这两个方法： 由此看来，就非常明了了：原来 ItemStack 的序列化就是将各种属性存储到一个 里，那么我们只需要将这个 通过 Gson 序列化为 Json，就解决问题啦！ 默认情况下，Gson 并不会调用 ItemStack 的序列化和反序列化方法，</p>
<p><a href="https://blog.hikarilan.life/tech/272/%e4%bd%bf%e7%94%a8-gson-%e5%ba%8f%e5%88%97%e5%8c%96%e5%92%8c%e5%8f%8d%e5%ba%8f%e5%88%97%e5%8c%96-org-bukkit-itemstack/" rel="nofollow">来源</a></p>]]></content:encoded>
					
					<wfw:commentRss>https://blog.hikarilan.life/tech/272/%e4%bd%bf%e7%94%a8-gson-%e5%ba%8f%e5%88%97%e5%8c%96%e5%92%8c%e5%8f%8d%e5%ba%8f%e5%88%97%e5%8c%96-org-bukkit-itemstack/feed/</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
			</item>
		<item>
		<title>Bukkit NMS 开发实践 —— 创建你自己的自定义实体（适用于 1.16.3 &#8211; 1.16.5 版本）</title>
		<link>https://blog.hikarilan.life/tech/260/bukkit-nms-%e5%bc%80%e5%8f%91%e5%ae%9e%e8%b7%b5-%e5%88%9b%e5%bb%ba%e4%bd%a0%e8%87%aa%e5%b7%b1%e7%9a%84%e8%87%aa%e5%ae%9a%e4%b9%89%e5%ae%9e%e4%bd%93%ef%bc%88%e9%80%82%e7%94%a8/</link>
					<comments>https://blog.hikarilan.life/tech/260/bukkit-nms-%e5%bc%80%e5%8f%91%e5%ae%9e%e8%b7%b5-%e5%88%9b%e5%bb%ba%e4%bd%a0%e8%87%aa%e5%b7%b1%e7%9a%84%e8%87%aa%e5%ae%9a%e4%b9%89%e5%ae%9e%e4%bd%93%ef%bc%88%e9%80%82%e7%94%a8/#comments</comments>
		
		<dc:creator><![CDATA[贺兰星辰]]></dc:creator>
		<pubDate>Wed, 16 Jun 2021 10:57:24 +0000</pubDate>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[BukkitAPI]]></category>
		<category><![CDATA[Minecraft]]></category>
		<category><![CDATA[NMS]]></category>
		<guid isPermaLink="false">https://my.minecraft.kim/?p=260</guid>

					<description><![CDATA[Bukkit NMS 开发实践 —— 创建你自己的自定义实体（适用于 1.16.3 - 1.16.5 版本）  [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>NMS 是 包的简写，是 CraftBukkit 服务端及其下游服务端的底层实现，其代码包含 Mojang 发布的 Vanilla 服务端代码和 SpigotMC 添加的、用于与 BukkitAPI 进行交互的代码。在开发者无法借助 BukkitAPI 完成所需要的功能时，开发者我常常使用 NMS 进行开发。NMS 开发是底层行为，同时跨版本兼容性较差，除非必须使用，否则还请尽量使用 BukkitAPI。NMS 仅存在于编译后的服务端内部，不属于 BukkitAPI 内容。各版本的 NMS 包名一般均为 ，如 。NMS 包内为扁平结构，没有二级包。NMS 包内类名为 Spigot 定义的反混淆名；方法、字段名一部分为 Spigot 定义的反混淆名，一部分为原混淆名；方法参数名一般为原混淆名。本教程旨在教授 Bukkit 开发者以 NMS 使用方法，拓展 Bukkit 开发者的开发视野。</p>
<p><a href="https://blog.hikarilan.life/tech/260/bukkit-nms-%e5%bc%80%e5%8f%91%e5%ae%9e%e8%b7%b5-%e5%88%9b%e5%bb%ba%e4%bd%a0%e8%87%aa%e5%b7%b1%e7%9a%84%e8%87%aa%e5%ae%9a%e4%b9%89%e5%ae%9e%e4%bd%93%ef%bc%88%e9%80%82%e7%94%a8/" rel="nofollow">来源</a></p>]]></content:encoded>
					
					<wfw:commentRss>https://blog.hikarilan.life/tech/260/bukkit-nms-%e5%bc%80%e5%8f%91%e5%ae%9e%e8%b7%b5-%e5%88%9b%e5%bb%ba%e4%bd%a0%e8%87%aa%e5%b7%b1%e7%9a%84%e8%87%aa%e5%ae%9a%e4%b9%89%e5%ae%9e%e4%bd%93%ef%bc%88%e9%80%82%e7%94%a8/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>昨日烂活 —— 在 BukkitAPI 上实现眨眼的效果</title>
		<link>https://blog.hikarilan.life/tech/240/%e6%98%a8%e6%97%a5%e7%83%82%e6%b4%bb-%e5%9c%a8-bukkitapi-%e4%b8%8a%e5%ae%9e%e7%8e%b0%e7%9c%a8%e7%9c%bc%e7%9a%84%e6%95%88%e6%9e%9c/</link>
					<comments>https://blog.hikarilan.life/tech/240/%e6%98%a8%e6%97%a5%e7%83%82%e6%b4%bb-%e5%9c%a8-bukkitapi-%e4%b8%8a%e5%ae%9e%e7%8e%b0%e7%9c%a8%e7%9c%bc%e7%9a%84%e6%95%88%e6%9e%9c/#respond</comments>
		
		<dc:creator><![CDATA[贺兰星辰]]></dc:creator>
		<pubDate>Sun, 09 May 2021 12:17:04 +0000</pubDate>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[BukkitAPI]]></category>
		<category><![CDATA[Minecraft]]></category>
		<category><![CDATA[开发]]></category>
		<guid isPermaLink="false">https://my.minecraft.kim/?p=240</guid>

					<description><![CDATA[(这个代码很久以前写的，实现真的太脏了，完全就是写出来娱乐的，所以大家也图个乐就好，仅供参考） ↓之所以要发是 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>(这个代码很久以前写的，实现真的太脏了，完全就是写出来娱乐的，所以大家也图个乐就好，仅供参考） ↓之所以要发是因为~刚才~前几天整理仓库突然看到这个觉得挺有意思就分享出来了 代码源: https://github.com/shaokeyibb/CityCore/blob/master/src/main/java/kim/minecraft/citycore/features/BlinkMe.kt 运行原理: 每隔一定时间给予玩家失明和夜视的效果，这样玩家看起来会先啥都看不见然后逐渐恢复视野，就像眨眼一样。 虽然实现比较脏，但是玩起来还是挺有意思的，甚至挺真实2333。 （源代码上还有一个当玩家眨眼时会在头顶显示的眨眼 Tag 和一个类似 SCPSL 的剩余眨眼时间 Actionbar，</p>
<p><a href="https://blog.hikarilan.life/tech/240/%e6%98%a8%e6%97%a5%e7%83%82%e6%b4%bb-%e5%9c%a8-bukkitapi-%e4%b8%8a%e5%ae%9e%e7%8e%b0%e7%9c%a8%e7%9c%bc%e7%9a%84%e6%95%88%e6%9e%9c/" rel="nofollow">来源</a></p>]]></content:encoded>
					
					<wfw:commentRss>https://blog.hikarilan.life/tech/240/%e6%98%a8%e6%97%a5%e7%83%82%e6%b4%bb-%e5%9c%a8-bukkitapi-%e4%b8%8a%e5%ae%9e%e7%8e%b0%e7%9c%a8%e7%9c%bc%e7%9a%84%e6%95%88%e6%9e%9c/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

使用 2325对象缓存Redis
使用页面缓存Disk: Enhanced 
Minified using Disk
数据库缓存1/5查询，在0.002秒内使用Redis

Served from: blog.hikarilan.life @ 2026-11-29 10:08:22 by W3 Total Cache
-->