Class ForgeHooks.LootTableContext

  • Enclosing class:
    ForgeHooks

    private static class ForgeHooks.LootTableContext
    extends java.lang.Object
    • Field Detail

      • vanilla

        private final boolean vanilla
      • custom

        public final boolean custom
      • poolCount

        public int poolCount
      • entryCount

        public int entryCount
      • entryNames

        private java.util.HashSet<java.lang.String> entryNames
    • Constructor Detail

      • LootTableContext

        private LootTableContext​(ResourceLocation name,
                                 boolean custom)
    • Method Detail

      • resetPoolCtx

        private void resetPoolCtx()
      • validateEntryName

        public java.lang.String validateEntryName​(@Nullable
                                                  java.lang.String name)