[1.17.x Omnibus] Fix typos and javadocs across code base (#8144)

This commit is contained in:
sciwhiz12 authored and GitHub committed 2021-11-25 13:09:56 -08:00
1 parent df8954869a
commit b4feee8046
163 files changed
+708 -454

No files matched your search

@@ -40,7 +40,7 @@ import java.util.function.Supplier;
* Suppliers should return NEW instances every time.
*
*Example Usage:
*<pre>
*<pre>{@code
* private static final DeferredRegister<Item> ITEMS = DeferredRegister.create(ForgeRegistries.ITEMS, MODID);
* private static final DeferredRegister<Block> BLOCKS = DeferredRegister.create(ForgeRegistries.BLOCKS, MODID);
*
@@ -51,7 +51,7 @@ import java.util.function.Supplier;
* ITEMS.register(FMLJavaModLoadingContext.get().getModEventBus());
* BLOCKS.register(FMLJavaModLoadingContext.get().getModEventBus());
* }
*</pre>
*}</pre>
*
* @param <T> The base registry type, must be a concrete base class, do not use subclasses or wild cards.
*/
@@ -58,6 +58,7 @@ import net.minecraft.world.level.levelgen.feature.treedecorators.TreeDecoratorTy
import net.minecraftforge.common.Tags;
import net.minecraftforge.common.loot.GlobalLootModifierSerializer;
import net.minecraftforge.common.world.ForgeWorldType;
import net.minecraftforge.fmllegacy.common.registry.GameRegistry;
/**
* A class that exposes static references to all vanilla and Forge registries.
@@ -663,7 +663,7 @@ public class ForgeRegistry<V extends IForgeRegistryEntry<V>> implements IForgeRe
/**
* Used to control the times where people can modify this registry.
* Users should only ever register things in the Register<?> events!
* Users should only ever register things in the {@literal Register<?>} events!
*/
public void freeze()
{