mirror of
https://github.com/Theta-Dev/ConstructionWand.git
synced 2025-08-05 02:15:27 +02:00
Convert item registering to DeferredRegister as vanilla freezes the registry which instantiating them outside of the RegistryEvent or DeferredRegister will result in an error.
9 lines
213 B
Java
9 lines
213 B
Java
package thetadev.constructionwand.items.wand;
|
|
|
|
|
|
public class ItemWandInfinity extends ItemWand
|
|
{
|
|
public ItemWandInfinity(Properties properties) {
|
|
super(properties.stacksTo(1).fireResistant());
|
|
}
|
|
}
|