Browse Source

fix GitHub #183

0.9.x-1.12.2
Adrian Siekierka 1 year ago
parent
commit
5f9da153a8
98 changed files with 128 additions and 97 deletions
  1. 1
    1
      docs/licenses/COPYING
  2. 1
    1
      docs/licenses/LICENSE-API
  3. 1
    1
      src/main/java/pl/asie/foamfix/FoamFix.java
  4. 1
    1
      src/main/java/pl/asie/foamfix/ProxyClient.java
  5. 1
    1
      src/main/java/pl/asie/foamfix/ProxyCommon.java
  6. 1
    1
      src/main/java/pl/asie/foamfix/api/FoamFixAPI.java
  7. 1
    1
      src/main/java/pl/asie/foamfix/api/IFoamFixHelper.java
  8. 22
    0
      src/main/java/pl/asie/foamfix/api/IFoamFixMobSpawnerLogic.java
  9. 1
    1
      src/main/java/pl/asie/foamfix/api/IFoamFixSprite.java
  10. 1
    1
      src/main/java/pl/asie/foamfix/client/Deduplicator.java
  11. 1
    1
      src/main/java/pl/asie/foamfix/client/FastTextureAtlasSprite.java
  12. 1
    1
      src/main/java/pl/asie/foamfix/client/FoamFixDynamicItemModels.java
  13. 1
    1
      src/main/java/pl/asie/foamfix/client/FoamFixModelDeduplicate.java
  14. 1
    1
      src/main/java/pl/asie/foamfix/client/FoamFixModelRegistryDuplicateWipe.java
  15. 1
    1
      src/main/java/pl/asie/foamfix/client/FoamyConstants.java
  16. 1
    1
      src/main/java/pl/asie/foamfix/client/FoamyItemLayerModel.java
  17. 1
    1
      src/main/java/pl/asie/foamfix/client/FoamyMultipartBakedModel.java
  18. 1
    1
      src/main/java/pl/asie/foamfix/client/IDeduplicatingStorage.java
  19. 1
    1
      src/main/java/pl/asie/foamfix/client/ModelLoaderCleanup.java
  20. 1
    1
      src/main/java/pl/asie/foamfix/client/dolphin/PleaseTrustMeLookImADolphin.java
  21. 1
    1
      src/main/java/pl/asie/foamfix/client/dolphin/TotallyADolphinEntry.java
  22. 1
    1
      src/main/java/pl/asie/foamfix/client/dolphin/TotallyADolphinSaveFormat.java
  23. 1
    1
      src/main/java/pl/asie/foamfix/client/gui/FoamFixGuiFactory.java
  24. 1
    1
      src/main/java/pl/asie/foamfix/client/jei/SearchTreeJEIItems.java
  25. 1
    1
      src/main/java/pl/asie/foamfix/client/jei/SearchTreeJEIPlugin.java
  26. 1
    1
      src/main/java/pl/asie/foamfix/common/FoamFixHelper.java
  27. 1
    1
      src/main/java/pl/asie/foamfix/common/FoamyBlockState.java
  28. 1
    1
      src/main/java/pl/asie/foamfix/common/FoamyBlockStateContainer.java
  29. 1
    1
      src/main/java/pl/asie/foamfix/common/FoamyExtendedBlockState.java
  30. 1
    1
      src/main/java/pl/asie/foamfix/common/FoamyExtendedBlockStateContainer.java
  31. 1
    1
      src/main/java/pl/asie/foamfix/common/PropertyValueDeduplicator.java
  32. 1
    1
      src/main/java/pl/asie/foamfix/common/PropertyValueMapper.java
  33. 1
    1
      src/main/java/pl/asie/foamfix/common/TileEntityFasterHopper.java
  34. 1
    1
      src/main/java/pl/asie/foamfix/common/WorldIDCleanup.java
  35. 1
    1
      src/main/java/pl/asie/foamfix/coremod/Alternatively.java
  36. 1
    1
      src/main/java/pl/asie/foamfix/coremod/AlternativelyParser.java
  37. 1
    1
      src/main/java/pl/asie/foamfix/coremod/FoamFixAT.java
  38. 1
    1
      src/main/java/pl/asie/foamfix/coremod/FoamFixCore.java
  39. 1
    1
      src/main/java/pl/asie/foamfix/coremod/FoamFixCoreContainer.java
  40. 1
    1
      src/main/java/pl/asie/foamfix/coremod/FoamFixTransformer.java
  41. 1
    1
      src/main/java/pl/asie/foamfix/coremod/VertexLighterOverrideHandler.java
  42. 1
    1
      src/main/java/pl/asie/foamfix/coremod/common/FoamyArrayBackedDataManagerMap.java
  43. 1
    1
      src/main/java/pl/asie/foamfix/coremod/common/FoamyClassInheritanceMultiMap.java
  44. 1
    1
      src/main/java/pl/asie/foamfix/coremod/injections/BlockBedInject.java
  45. 1
    1
      src/main/java/pl/asie/foamfix/coremod/injections/BlockStateContainerSpongeInject.java
  46. 1
    1
      src/main/java/pl/asie/foamfix/coremod/injections/CachingHashCodeInject.java
  47. 10
    1
      src/main/java/pl/asie/foamfix/coremod/injections/CachingMobSpawnerLogicInject.java
  48. 1
    1
      src/main/java/pl/asie/foamfix/coremod/injections/PropertyFasterComparisonsInject.java
  49. 1
    1
      src/main/java/pl/asie/foamfix/coremod/injections/TileEntityGetKeyWrapInject.java
  50. 1
    1
      src/main/java/pl/asie/foamfix/coremod/injections/VertexLighterSmoothAoCheap.java
  51. 1
    1
      src/main/java/pl/asie/foamfix/coremod/injections/WorldRemovalInject.java
  52. 1
    1
      src/main/java/pl/asie/foamfix/coremod/injections/client/AnimationModelBaseClearCacheInject.java
  53. 1
    1
      src/main/java/pl/asie/foamfix/coremod/injections/client/BlockInfoInject.java
  54. 1
    1
      src/main/java/pl/asie/foamfix/coremod/injections/client/IFoamFixPatchedBlockInfo.java
  55. 1
    1
      src/main/java/pl/asie/foamfix/coremod/injections/client/ModelBakeryParallelInject.java
  56. 1
    1
      src/main/java/pl/asie/foamfix/coremod/injections/client/ModelLoaderParallelHelper.java
  57. 1
    1
      src/main/java/pl/asie/foamfix/coremod/injections/client/ModelVanillaLoaderInject.java
  58. 1
    1
      src/main/java/pl/asie/foamfix/coremod/injections/client/RenderGlobalImmediateInject.java
  59. 1
    1
      src/main/java/pl/asie/foamfix/coremod/injections/client/VanillaModelWrapperInject.java
  60. 1
    1
      src/main/java/pl/asie/foamfix/coremod/injections/crafting/ContainerPatchCrafting.java
  61. 1
    1
      src/main/java/pl/asie/foamfix/coremod/injections/crafting/CraftingOptHook.java
  62. 1
    1
      src/main/java/pl/asie/foamfix/coremod/injections/crafting/IFoamFixCraftResult.java
  63. 1
    1
      src/main/java/pl/asie/foamfix/coremod/injections/crafting/InventoryCraftResultInject.java
  64. 1
    1
      src/main/java/pl/asie/foamfix/coremod/patches/BlockPosPatch.java
  65. 1
    1
      src/main/java/pl/asie/foamfix/coremod/patches/ClassGetSimpleNamePatch.java
  66. 1
    1
      src/main/java/pl/asie/foamfix/coremod/patches/EntityDataManagerPatch.java
  67. 1
    1
      src/main/java/pl/asie/foamfix/coremod/patches/FastAirLookupPatch.java
  68. 1
    1
      src/main/java/pl/asie/foamfix/coremod/patches/IFoamFixWorldRemovable.java
  69. 1
    1
      src/main/java/pl/asie/foamfix/coremod/patches/ReturnIfBooleanTruePatch.java
  70. 1
    1
      src/main/java/pl/asie/foamfix/coremod/patches/WorldServerRemovalPatch.java
  71. 1
    1
      src/main/java/pl/asie/foamfix/coremod/patches/jei/SearchTreeJEIManagerInject.java
  72. 1
    1
      src/main/java/pl/asie/foamfix/coremod/patches/jei/SearchTreeJEIPatchGlue.java
  73. 1
    1
      src/main/java/pl/asie/foamfix/ghostbuster/ChunkProviderServerWrapped.java
  74. 1
    1
      src/main/java/pl/asie/foamfix/ghostbuster/CommandGhostBuster.java
  75. 1
    1
      src/main/java/pl/asie/foamfix/ghostbuster/GhostBusterEventHandler.java
  76. 1
    1
      src/main/java/pl/asie/foamfix/ghostbuster/GhostBusterSafeAccessors.java
  77. 1
    1
      src/main/java/pl/asie/foamfix/ghostbuster/injections/GBWrapUpdateTick.java
  78. 1
    1
      src/main/java/pl/asie/foamfix/shared/FoamFixConfig.java
  79. 1
    1
      src/main/java/pl/asie/foamfix/shared/FoamFixShared.java
  80. 1
    1
      src/main/java/pl/asie/foamfix/tests/BenchmarkBlockPos.java
  81. 1
    1
      src/main/java/pl/asie/foamfix/tests/BenchmarkCIMM.java
  82. 1
    1
      src/main/java/pl/asie/foamfix/tests/BenchmarkClassName.java
  83. 1
    1
      src/main/java/pl/asie/foamfix/tests/BenchmarkEntityDataManagerMaps.java
  84. 1
    1
      src/main/java/pl/asie/foamfix/tests/BenchmarkFastutil.java
  85. 1
    1
      src/main/java/pl/asie/foamfix/tests/BenchmarkItemStack.java
  86. 1
    1
      src/main/java/pl/asie/foamfix/tests/BenchmarkPropertyComparisons.java
  87. 1
    1
      src/main/java/pl/asie/foamfix/tests/BenchmarkResourceLookup.java
  88. 1
    1
      src/main/java/pl/asie/foamfix/util/DeduplicatingStorageTrove.java
  89. 1
    1
      src/main/java/pl/asie/foamfix/util/FoamUtils.java
  90. 1
    1
      src/main/java/pl/asie/foamfix/util/HashingStrategies.java
  91. 1
    1
      src/main/java/pl/asie/foamfix/util/MethodHandleHelper.java
  92. 1
    1
      src/main/java/pl/asie/patchy/Patchy.java
  93. 1
    1
      src/main/java/pl/asie/patchy/TransformerFunction.java
  94. 1
    1
      src/main/java/pl/asie/patchy/TransformerHandler.java
  95. 1
    1
      src/main/java/pl/asie/patchy/handlers/TransformerHandlerByteArray.java
  96. 1
    1
      src/main/java/pl/asie/patchy/handlers/TransformerHandlerClassNode.java
  97. 1
    1
      src/main/java/pl/asie/patchy/handlers/TransformerHandlerClassVisitor.java
  98. 1
    1
      src/main/java/pl/asie/patchy/helpers/ConstructorReplacingTransformer.java

+ 1
- 1
docs/licenses/COPYING View File

@@ -1,4 +1,4 @@
Copyright (C) 2016, 2017, 2018 Adrian Siekierka
Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka

This file is part of FoamFix.


+ 1
- 1
docs/licenses/LICENSE-API View File

@@ -1,4 +1,4 @@
Copyright (c) 2016, 2017, 2018 Adrian Siekierka
Copyright (c) 2016, 2017, 2018, 2019 Adrian Siekierka

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

+ 1
- 1
src/main/java/pl/asie/foamfix/FoamFix.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/ProxyClient.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/ProxyCommon.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/api/FoamFixAPI.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016, 2017, 2018 Adrian Siekierka
* Copyright (c) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal

+ 1
- 1
src/main/java/pl/asie/foamfix/api/IFoamFixHelper.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016, 2017, 2018 Adrian Siekierka
* Copyright (c) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal

+ 22
- 0
src/main/java/pl/asie/foamfix/api/IFoamFixMobSpawnerLogic.java View File

@@ -1,3 +1,25 @@
/*
* Copyright (c) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/

package pl.asie.foamfix.api;

public interface IFoamFixMobSpawnerLogic {

+ 1
- 1
src/main/java/pl/asie/foamfix/api/IFoamFixSprite.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016, 2017, 2018 Adrian Siekierka
* Copyright (c) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal

+ 1
- 1
src/main/java/pl/asie/foamfix/client/Deduplicator.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/client/FastTextureAtlasSprite.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/client/FoamFixDynamicItemModels.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/client/FoamFixModelDeduplicate.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/client/FoamFixModelRegistryDuplicateWipe.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/client/FoamyConstants.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/client/FoamyItemLayerModel.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/client/FoamyMultipartBakedModel.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/client/IDeduplicatingStorage.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/client/ModelLoaderCleanup.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/client/dolphin/PleaseTrustMeLookImADolphin.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/client/dolphin/TotallyADolphinEntry.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/client/dolphin/TotallyADolphinSaveFormat.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/client/gui/FoamFixGuiFactory.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/client/jei/SearchTreeJEIItems.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/client/jei/SearchTreeJEIPlugin.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/common/FoamFixHelper.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/common/FoamyBlockState.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/common/FoamyBlockStateContainer.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/common/FoamyExtendedBlockState.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/common/FoamyExtendedBlockStateContainer.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/common/PropertyValueDeduplicator.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/common/PropertyValueMapper.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/common/TileEntityFasterHopper.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/common/WorldIDCleanup.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/coremod/Alternatively.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/coremod/AlternativelyParser.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/coremod/FoamFixAT.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/coremod/FoamFixCore.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/coremod/FoamFixCoreContainer.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/coremod/FoamFixTransformer.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/coremod/VertexLighterOverrideHandler.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/coremod/common/FoamyArrayBackedDataManagerMap.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/coremod/common/FoamyClassInheritanceMultiMap.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/coremod/injections/BlockBedInject.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/coremod/injections/BlockStateContainerSpongeInject.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/coremod/injections/CachingHashCodeInject.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 10
- 1
src/main/java/pl/asie/foamfix/coremod/injections/CachingMobSpawnerLogicInject.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*
@@ -36,6 +36,7 @@ import pl.asie.foamfix.shared.FoamFixShared;

public class CachingMobSpawnerLogicInject extends MobSpawnerBaseLogic implements IFoamFixMobSpawnerLogic {
private boolean foamfix_activatedCache;
private int foamfix_activatedCachePESize;
private long foamfix_activatedCacheTime;
private boolean foamfix_forcedCache;
private long foamfix_forcedCacheTime;
@@ -43,17 +44,25 @@ public class CachingMobSpawnerLogicInject extends MobSpawnerBaseLogic implements
@Override
public boolean isActivated() {
World world = getSpawnerWorld();
int peSize = world.playerEntities.size();
long time = world.getTotalWorldTime();
if (time == foamfix_forcedCacheTime) {
return foamfix_forcedCache;
}

// Try to detect mods like PNC:Repressurized, which add a fake player
// to the list for a fraction of a tick.
if (peSize != foamfix_activatedCachePESize) {
foamfix_activatedCacheTime = 0;
}

if (time < foamfix_activatedCacheTime) {
return foamfix_activatedCache;
}

//System.out.println("update? " + time + " " + foamfix_activatedCacheTime);
foamfix_activatedCacheTime = time + (world.rand.nextInt()&1) + FoamFixShared.config.geMobSpawnerCheckSpeed;
foamfix_activatedCachePESize = peSize;
//System.out.println("update= " + time + " " + foamfix_activatedCacheTime);
return (foamfix_activatedCache = isActivated_foamfix_old());
}

+ 1
- 1
src/main/java/pl/asie/foamfix/coremod/injections/PropertyFasterComparisonsInject.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/coremod/injections/TileEntityGetKeyWrapInject.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/coremod/injections/VertexLighterSmoothAoCheap.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/coremod/injections/WorldRemovalInject.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/coremod/injections/client/AnimationModelBaseClearCacheInject.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/coremod/injections/client/BlockInfoInject.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/coremod/injections/client/IFoamFixPatchedBlockInfo.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/coremod/injections/client/ModelBakeryParallelInject.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/coremod/injections/client/ModelLoaderParallelHelper.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/coremod/injections/client/ModelVanillaLoaderInject.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/coremod/injections/client/RenderGlobalImmediateInject.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/coremod/injections/client/VanillaModelWrapperInject.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/coremod/injections/crafting/ContainerPatchCrafting.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/coremod/injections/crafting/CraftingOptHook.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/coremod/injections/crafting/IFoamFixCraftResult.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/coremod/injections/crafting/InventoryCraftResultInject.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/coremod/patches/BlockPosPatch.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/coremod/patches/ClassGetSimpleNamePatch.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/coremod/patches/EntityDataManagerPatch.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/coremod/patches/FastAirLookupPatch.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/coremod/patches/IFoamFixWorldRemovable.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/coremod/patches/ReturnIfBooleanTruePatch.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/coremod/patches/WorldServerRemovalPatch.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/coremod/patches/jei/SearchTreeJEIManagerInject.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/coremod/patches/jei/SearchTreeJEIPatchGlue.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/ghostbuster/ChunkProviderServerWrapped.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/ghostbuster/CommandGhostBuster.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/ghostbuster/GhostBusterEventHandler.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/ghostbuster/GhostBusterSafeAccessors.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/ghostbuster/injections/GBWrapUpdateTick.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/shared/FoamFixConfig.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/shared/FoamFixShared.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/tests/BenchmarkBlockPos.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/tests/BenchmarkCIMM.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/tests/BenchmarkClassName.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/tests/BenchmarkEntityDataManagerMaps.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/tests/BenchmarkFastutil.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/tests/BenchmarkItemStack.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/tests/BenchmarkPropertyComparisons.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/tests/BenchmarkResourceLookup.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/util/DeduplicatingStorageTrove.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/util/FoamUtils.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/util/HashingStrategies.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/foamfix/util/MethodHandleHelper.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/patchy/Patchy.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/patchy/TransformerFunction.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/patchy/TransformerHandler.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/patchy/handlers/TransformerHandlerByteArray.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/patchy/handlers/TransformerHandlerClassNode.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/patchy/handlers/TransformerHandlerClassVisitor.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

+ 1
- 1
src/main/java/pl/asie/patchy/helpers/ConstructorReplacingTransformer.java View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, 2017, 2018 Adrian Siekierka
* Copyright (C) 2016, 2017, 2018, 2019 Adrian Siekierka
*
* This file is part of FoamFix.
*

Loading…
Cancel
Save