<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Modding on Colebot Blog</title><link>https://blog.colebot.com/tags/modding/</link><description>Recent content in Modding on Colebot Blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 07 May 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://blog.colebot.com/tags/modding/index.xml" rel="self" type="application/rss+xml"/><item><title>Custom Attributes in Minecraft Forge</title><link>https://blog.colebot.com/posts/custom-attributes-minecraft-forge/</link><pubDate>Wed, 07 May 2025 00:00:00 +0000</pubDate><guid>https://blog.colebot.com/posts/custom-attributes-minecraft-forge/</guid><description>&lt;p&gt;In Minecraft Forge, registering custom attributes is one of the simplest things&#10;you can do! Let’s create a custom attribute &lt;code&gt;attack_range&lt;/code&gt; that we can apply to&#10;any entity and reference from other parts of the code.&lt;/p&gt;&#10;&lt;p&gt;First, we need a &lt;code&gt;ModAttributes&lt;/code&gt; class. Since there won’t be any additional&#10;files to go along with it, I like to put it in my &lt;code&gt;util&lt;/code&gt; folder. If you already&#10;have &lt;code&gt;ModItems&lt;/code&gt; or &lt;code&gt;ModBlocks&lt;/code&gt;, you will find the pattern to be very familiar.&lt;/p&gt;</description></item></channel></rss>