Update to 1.21.4

This commit is contained in:
2024-12-05 14:46:33 +01:00
parent b7fc022f90
commit 8afe0c0063
88 changed files with 294 additions and 394 deletions

View File

@@ -5,6 +5,8 @@ import net.minecraft.component.type.LoreComponent;
import net.minecraft.item.Items;
import net.minecraft.registry.Registries;
import net.minecraft.registry.Registry;
import net.minecraft.registry.RegistryKey;
import net.minecraft.registry.RegistryKeys;
import net.minecraft.text.Text;
import systems.brn.plasticgun.lib.SimpleItem;
@@ -28,8 +30,8 @@ public class BulletItem extends SimpleItem {
Text.translatable("gun.description.explosion_coefficient", explosionPowerCoefficient),
Text.translatable("gun.description.repulsion_efficient", repulsionPowerCoefficient),
Text.translatable(isIncendiary ? "gun.description.incendiary_yes" : "gun.description.incendiary_no")
))
)
)))
.registryKey(RegistryKey.of(RegistryKeys.ITEM, id(path)))
,
id(path),
Items.STICK);