[Bug] Certian values in datapack gun configurations cannot handle a value less than 1.
DaRealSparky opened this issue ยท 4 comments
The Problem
I am working on a data and resource pack to be used in combination with some other mods.
During the development of the datapack, I needed to set the projectile life of the shotgun to 0.5 to achieve the effect of a sawed off style shotgun. After doing so, the datapack failed to load and continued to fail until being set to at least 1. The only way I could achieve the value I wanted was to alter the NBT data during crafting. This does not make sense. If the value is valid on an item with custom NBT, it should also work on a regular item. The value is datapack driven and does in fact work but not if a datapack sets it as a default value.
I have included two datapacks for testing, labled with the repective values. Both also include a recipe for a test shotgun that has the projectile life set to 0.5 via custom NBT.