Permalink
Browse files

Drop `d` modifier from vec names

  • Loading branch information...
kenzierocks committed Oct 14, 2018
1 parent 1e4a830 commit c8ddeca33b3a52f5983cffe315e88ef1aeead63a
Showing with 1,986 additions and 1,995 deletions.
  1. +10 −10 worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/BukkitAdapter.java
  2. +7 −7 worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/BukkitPlayer.java
  3. +21 −21 worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java
  4. +4 −4 worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/EditSessionBlockChangeDelegate.java
  5. +2 −2 worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/adapter/BukkitImplAdapter.java
  6. +3 −3 worldedit-core/src/main/java/com/sk89q/jnbt/NBTUtils.java
  7. +20 −20 worldedit-core/src/main/java/com/sk89q/util/yaml/YAMLNode.java
  8. +123 −123 worldedit-core/src/main/java/com/sk89q/worldedit/EditSession.java
  9. +4 −4 worldedit-core/src/main/java/com/sk89q/worldedit/LocalSession.java
  10. +15 −15 worldedit-core/src/main/java/com/sk89q/worldedit/PlayerDirection.java
  11. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/WorldEdit.java
  12. +7 −7 worldedit-core/src/main/java/com/sk89q/worldedit/command/BiomeCommands.java
  13. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/command/BrushCommands.java
  14. +7 −7 worldedit-core/src/main/java/com/sk89q/worldedit/command/ChunkCommands.java
  15. +8 −8 worldedit-core/src/main/java/com/sk89q/worldedit/command/ClipboardCommands.java
  16. +6 −6 worldedit-core/src/main/java/com/sk89q/worldedit/command/FlattenedClipboardTransform.java
  17. +27 −27 worldedit-core/src/main/java/com/sk89q/worldedit/command/GenerationCommands.java
  18. +17 −17 worldedit-core/src/main/java/com/sk89q/worldedit/command/RegionCommands.java
  19. +35 −35 worldedit-core/src/main/java/com/sk89q/worldedit/command/SelectionCommands.java
  20. +8 −8 worldedit-core/src/main/java/com/sk89q/worldedit/command/UtilityCommands.java
  21. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/command/argument/ItemUseParser.java
  22. +1 −1 worldedit-core/src/main/java/com/sk89q/worldedit/command/composition/DeformCommand.java
  23. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/AreaPickaxe.java
  24. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/BlockDataCyler.java
  25. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/BlockReplacer.java
  26. +3 −3 worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/DistanceWand.java
  27. +10 −10 worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/FloatingTreeRemover.java
  28. +4 −4 worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/FloodFillTool.java
  29. +3 −3 worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/LongRangeBuildTool.java
  30. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/QueryTool.java
  31. +4 −4 worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/RecursivePickaxe.java
  32. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/SinglePickaxe.java
  33. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/brush/Brush.java
  34. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/brush/ButcherBrush.java
  35. +3 −3 worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/brush/ClipboardBrush.java
  36. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/brush/CylinderBrush.java
  37. +4 −4 worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/brush/GravityBrush.java
  38. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/brush/HollowCylinderBrush.java
  39. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/brush/HollowSphereBrush.java
  40. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/brush/OperationFactoryBrush.java
  41. +5 −5 worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/brush/SmoothBrush.java
  42. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/brush/SphereBrush.java
  43. +5 −5 worldedit-core/src/main/java/com/sk89q/worldedit/entity/Player.java
  44. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/event/extent/EditSessionEvent.java
  45. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/extension/factory/DefaultBlockParser.java
  46. +4 −4 worldedit-core/src/main/java/com/sk89q/worldedit/extension/factory/DefaultMaskParser.java
  47. +19 −19 worldedit-core/src/main/java/com/sk89q/worldedit/extension/platform/AbstractPlayerActor.java
  48. +5 −5 worldedit-core/src/main/java/com/sk89q/worldedit/extension/platform/PlatformManager.java
  49. +4 −4 worldedit-core/src/main/java/com/sk89q/worldedit/extension/platform/PlayerProxy.java
  50. +9 −9 worldedit-core/src/main/java/com/sk89q/worldedit/extent/AbstractDelegateExtent.java
  51. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/extent/ChangeSetExtent.java
  52. +3 −3 worldedit-core/src/main/java/com/sk89q/worldedit/extent/Extent.java
  53. +5 −5 worldedit-core/src/main/java/com/sk89q/worldedit/extent/InputExtent.java
  54. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/extent/MaskingExtent.java
  55. +11 −11 worldedit-core/src/main/java/com/sk89q/worldedit/extent/NullExtent.java
  56. +4 −4 worldedit-core/src/main/java/com/sk89q/worldedit/extent/OutputExtent.java
  57. +19 −19 worldedit-core/src/main/java/com/sk89q/worldedit/extent/buffer/ForgetfulExtentBuffer.java
  58. +6 −6 worldedit-core/src/main/java/com/sk89q/worldedit/extent/cache/LastAccessExtentCache.java
  59. +17 −17 worldedit-core/src/main/java/com/sk89q/worldedit/extent/clipboard/BlockArrayClipboard.java
  60. +4 −4 worldedit-core/src/main/java/com/sk89q/worldedit/extent/clipboard/Clipboard.java
  61. +10 −10 worldedit-core/src/main/java/com/sk89q/worldedit/extent/clipboard/io/MCEditSchematicReader.java
  62. +9 −9 worldedit-core/src/main/java/com/sk89q/worldedit/extent/clipboard/io/SpongeSchematicReader.java
  63. +5 −5 worldedit-core/src/main/java/com/sk89q/worldedit/extent/clipboard/io/SpongeSchematicWriter.java
  64. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/extent/inventory/BlockBagExtent.java
  65. +8 −8 worldedit-core/src/main/java/com/sk89q/worldedit/extent/reorder/ChunkBatchingExtent.java
  66. +10 −11 worldedit-core/src/main/java/com/sk89q/worldedit/extent/reorder/MultiStageReorder.java
  67. +9 −9 worldedit-core/src/main/java/com/sk89q/worldedit/extent/transform/BlockTransformExtent.java
  68. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/extent/validation/BlockChangeLimiter.java
  69. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/extent/validation/DataValidatorExtent.java
  70. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/extent/world/BlockQuirkExtent.java
  71. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/extent/world/ChunkLoadingExtent.java
  72. +5 −5 worldedit-core/src/main/java/com/sk89q/worldedit/extent/world/FastModeExtent.java
  73. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/extent/world/SurvivalModeExtent.java
  74. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/function/CombinedRegionFunction.java
  75. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/function/FlatRegionFunction.java
  76. +3 −3 worldedit-core/src/main/java/com/sk89q/worldedit/function/FlatRegionMaskingFilter.java
  77. +3 −3 worldedit-core/src/main/java/com/sk89q/worldedit/function/GroundFunction.java
  78. +3 −3 worldedit-core/src/main/java/com/sk89q/worldedit/function/LayerFunction.java
  79. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/function/RegionFunction.java
  80. +3 −3 worldedit-core/src/main/java/com/sk89q/worldedit/function/RegionMaskingFilter.java
  81. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/function/biome/BiomeReplace.java
  82. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/function/block/BlockDistributionCounter.java
  83. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/function/block/BlockReplace.java
  84. +3 −3 worldedit-core/src/main/java/com/sk89q/worldedit/function/block/Counter.java
  85. +9 −9 worldedit-core/src/main/java/com/sk89q/worldedit/function/block/ExtentBlockCopy.java
  86. +3 −3 worldedit-core/src/main/java/com/sk89q/worldedit/function/block/Naturalizer.java
  87. +12 −12 worldedit-core/src/main/java/com/sk89q/worldedit/function/entity/ExtentEntityCopy.java
  88. +14 −14 worldedit-core/src/main/java/com/sk89q/worldedit/function/factory/Deform.java
  89. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/function/generator/FloraGenerator.java
  90. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/function/generator/ForestGenerator.java
  91. +6 −6 worldedit-core/src/main/java/com/sk89q/worldedit/function/generator/GardenPatchGenerator.java
  92. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/BiomeMask2D.java
  93. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/BlockCategoryMask.java
  94. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/BlockMask.java
  95. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/BlockTypeMask.java
  96. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/BoundedHeightMask.java
  97. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/ExistingBlockMask.java
  98. +3 −3 worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/ExpressionMask.java
  99. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/ExpressionMask2D.java
  100. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/Mask.java
  101. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/Mask2D.java
  102. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/MaskIntersection.java
  103. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/MaskIntersection2D.java
  104. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/MaskUnion.java
  105. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/MaskUnion2D.java
  106. +10 −10 worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/Masks.java
  107. +3 −3 worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/NoiseFilter.java
  108. +3 −3 worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/NoiseFilter2D.java
  109. +7 −7 worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/OffsetMask.java
  110. +6 −6 worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/OffsetMask2D.java
  111. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/RegionMask.java
  112. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/SolidBlockMask.java
  113. +8 −8 worldedit-core/src/main/java/com/sk89q/worldedit/function/operation/ForwardExtentCopy.java
  114. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/function/pattern/BlockPattern.java
  115. +3 −3 worldedit-core/src/main/java/com/sk89q/worldedit/function/pattern/ClipboardPattern.java
  116. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/function/pattern/Pattern.java
  117. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/function/pattern/RandomPattern.java
  118. +9 −9 worldedit-core/src/main/java/com/sk89q/worldedit/function/pattern/RepeatingExtentPattern.java
  119. +6 −6 worldedit-core/src/main/java/com/sk89q/worldedit/function/util/FlatRegionOffset.java
  120. +6 −6 worldedit-core/src/main/java/com/sk89q/worldedit/function/util/RegionOffset.java
  121. +27 −27 worldedit-core/src/main/java/com/sk89q/worldedit/function/visitor/BreadthFirstSearch.java
  122. +8 −8 worldedit-core/src/main/java/com/sk89q/worldedit/function/visitor/DownwardVisitor.java
  123. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/function/visitor/FlatRegionVisitor.java
  124. +5 −5 worldedit-core/src/main/java/com/sk89q/worldedit/function/visitor/LayerVisitor.java
  125. +7 −7 worldedit-core/src/main/java/com/sk89q/worldedit/function/visitor/NonRisingVisitor.java
  126. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/function/visitor/RecursiveVisitor.java
  127. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/function/visitor/RegionVisitor.java
  128. +4 −4 worldedit-core/src/main/java/com/sk89q/worldedit/history/change/BlockChange.java
  129. +2 −3 worldedit-core/src/main/java/com/sk89q/worldedit/history/changeset/BlockOptimizedHistory.java
  130. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/internal/annotation/Direction.java
  131. +3 −3 worldedit-core/src/main/java/com/sk89q/worldedit/internal/command/CommandLoggingHandler.java
  132. +3 −3 worldedit-core/src/main/java/com/sk89q/worldedit/internal/command/WorldEditBinding.java
  133. +5 −5 worldedit-core/src/main/java/com/sk89q/worldedit/internal/cui/SelectionCylinderEvent.java
  134. +3 −3 worldedit-core/src/main/java/com/sk89q/worldedit/internal/cui/SelectionEllipsoidPointEvent.java
  135. +4 −4 worldedit-core/src/main/java/com/sk89q/worldedit/internal/cui/SelectionPoint2DEvent.java
  136. +3 −3 worldedit-core/src/main/java/com/sk89q/worldedit/internal/cui/SelectionPointEvent.java
  137. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/internal/cui/ServerCUIHandler.java
  138. +4 −4 worldedit-core/src/main/java/com/sk89q/worldedit/internal/expression/runtime/Functions.java
  139. +67 −67 worldedit-core/src/main/java/com/sk89q/worldedit/math/{BlockVector2d.java → BlockVector2.java}
  140. +71 −71 worldedit-core/src/main/java/com/sk89q/worldedit/math/{BlockVector3d.java → BlockVector3.java}
  141. +64 −64 worldedit-core/src/main/java/com/sk89q/worldedit/math/{Vector2d.java → Vector2.java}
  142. +71 −71 worldedit-core/src/main/java/com/sk89q/worldedit/math/{Vector3d.java → Vector3.java}
  143. +8 −8 worldedit-core/src/main/java/com/sk89q/worldedit/math/convolution/HeightMap.java
  144. +7 −7 worldedit-core/src/main/java/com/sk89q/worldedit/math/geom/Polygons.java
  145. +3 −3 worldedit-core/src/main/java/com/sk89q/worldedit/math/interpolation/Interpolation.java
  146. +28 −28 ...dedit-core/src/main/java/com/sk89q/worldedit/math/interpolation/KochanekBartelsInterpolation.java
  147. +9 −9 worldedit-core/src/main/java/com/sk89q/worldedit/math/interpolation/LinearInterpolation.java
  148. +6 −6 worldedit-core/src/main/java/com/sk89q/worldedit/math/interpolation/Node.java
  149. +3 −3 ...dedit-core/src/main/java/com/sk89q/worldedit/math/interpolation/ReparametrisingInterpolation.java
  150. +4 −4 worldedit-core/src/main/java/com/sk89q/worldedit/math/noise/JLibNoiseGenerator.java
  151. +4 −4 worldedit-core/src/main/java/com/sk89q/worldedit/math/noise/NoiseGenerator.java
  152. +4 −4 worldedit-core/src/main/java/com/sk89q/worldedit/math/noise/RandomNoise.java
  153. +7 −7 worldedit-core/src/main/java/com/sk89q/worldedit/math/transform/AffineTransform.java
  154. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/math/transform/CombinedTransform.java
  155. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/math/transform/Identity.java
  156. +3 −3 worldedit-core/src/main/java/com/sk89q/worldedit/math/transform/Transform.java
  157. +35 −35 worldedit-core/src/main/java/com/sk89q/worldedit/regions/AbstractRegion.java
  158. +39 −39 worldedit-core/src/main/java/com/sk89q/worldedit/regions/ConvexPolyhedralRegion.java
  159. +48 −48 worldedit-core/src/main/java/com/sk89q/worldedit/regions/CuboidRegion.java
  160. +45 −45 worldedit-core/src/main/java/com/sk89q/worldedit/regions/CylinderRegion.java
  161. +36 −36 worldedit-core/src/main/java/com/sk89q/worldedit/regions/EllipsoidRegion.java
  162. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/regions/FlatRegion.java
  163. +19 −19 worldedit-core/src/main/java/com/sk89q/worldedit/regions/NullRegion.java
  164. +35 −45 worldedit-core/src/main/java/com/sk89q/worldedit/regions/Polygonal2DRegion.java
  165. +14 −14 worldedit-core/src/main/java/com/sk89q/worldedit/regions/Region.java
  166. +10 −10 worldedit-core/src/main/java/com/sk89q/worldedit/regions/RegionIntersection.java
  167. +6 −6 worldedit-core/src/main/java/com/sk89q/worldedit/regions/RegionSelector.java
  168. +24 −24 worldedit-core/src/main/java/com/sk89q/worldedit/regions/TransformRegion.java
  169. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/regions/factory/CuboidRegionFactory.java
  170. +4 −4 worldedit-core/src/main/java/com/sk89q/worldedit/regions/factory/CylinderRegionFactory.java
  171. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/regions/factory/RegionFactory.java
  172. +4 −4 worldedit-core/src/main/java/com/sk89q/worldedit/regions/factory/SphereRegionFactory.java
  173. +8 −8 worldedit-core/src/main/java/com/sk89q/worldedit/regions/iterator/FlatRegion3DIterator.java
  174. +8 −8 worldedit-core/src/main/java/com/sk89q/worldedit/regions/iterator/FlatRegionIterator.java
  175. +7 −7 worldedit-core/src/main/java/com/sk89q/worldedit/regions/iterator/RegionIterator.java
  176. +6 −6 worldedit-core/src/main/java/com/sk89q/worldedit/regions/polyhedron/Edge.java
  177. +8 −8 worldedit-core/src/main/java/com/sk89q/worldedit/regions/polyhedron/Triangle.java
  178. +14 −14 ...dedit-core/src/main/java/com/sk89q/worldedit/regions/selector/ConvexPolyhedralRegionSelector.java
  179. +10 −10 worldedit-core/src/main/java/com/sk89q/worldedit/regions/selector/CuboidRegionSelector.java
  180. +26 −26 worldedit-core/src/main/java/com/sk89q/worldedit/regions/selector/CylinderRegionSelector.java
  181. +20 −20 worldedit-core/src/main/java/com/sk89q/worldedit/regions/selector/EllipsoidRegionSelector.java
  182. +10 −10 worldedit-core/src/main/java/com/sk89q/worldedit/regions/selector/ExtendingCuboidRegionSelector.java
  183. +18 −18 worldedit-core/src/main/java/com/sk89q/worldedit/regions/selector/Polygonal2DRegionSelector.java
  184. +10 −10 worldedit-core/src/main/java/com/sk89q/worldedit/regions/selector/SphereRegionSelector.java
  185. +5 −5 worldedit-core/src/main/java/com/sk89q/worldedit/regions/shape/ArbitraryBiomeShape.java
  186. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/regions/shape/ArbitraryShape.java
  187. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/regions/shape/RegionShape.java
  188. +10 −10 worldedit-core/src/main/java/com/sk89q/worldedit/regions/shape/WorldEditExpressionEnvironment.java
  189. +3 −3 worldedit-core/src/main/java/com/sk89q/worldedit/session/PasteBuilder.java
  190. +14 −14 worldedit-core/src/main/java/com/sk89q/worldedit/session/request/RequestSelection.java
  191. +30 −30 worldedit-core/src/main/java/com/sk89q/worldedit/util/Direction.java
  192. +4 −4 worldedit-core/src/main/java/com/sk89q/worldedit/util/LocatedBlock.java
  193. +17 −17 worldedit-core/src/main/java/com/sk89q/worldedit/util/Location.java
  194. +11 −11 worldedit-core/src/main/java/com/sk89q/worldedit/util/TargetBlock.java
  195. +12 −12 worldedit-core/src/main/java/com/sk89q/worldedit/util/TreeGenerator.java
  196. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/util/collection/LocatedBlockList.java
  197. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/util/gson/GsonUtil.java
  198. +4 −4 worldedit-core/src/main/java/com/sk89q/worldedit/util/gson/VectorAdapter.java
  199. +18 −18 worldedit-core/src/main/java/com/sk89q/worldedit/world/AbstractWorld.java
  200. +13 −13 worldedit-core/src/main/java/com/sk89q/worldedit/world/NullWorld.java
  201. +19 −19 worldedit-core/src/main/java/com/sk89q/worldedit/world/World.java
  202. +7 −7 worldedit-core/src/main/java/com/sk89q/worldedit/world/chunk/AnvilChunk.java
  203. +5 −5 worldedit-core/src/main/java/com/sk89q/worldedit/world/chunk/AnvilChunk13.java
  204. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/world/chunk/Chunk.java
  205. +5 −5 worldedit-core/src/main/java/com/sk89q/worldedit/world/chunk/OldChunk.java
  206. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/world/registry/BundledBlockData.java
  207. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/world/registry/BundledItemData.java
  208. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/world/registry/LegacyMapper.java
  209. +16 −16 worldedit-core/src/main/java/com/sk89q/worldedit/world/snapshot/SnapshotRestore.java
  210. +6 −6 worldedit-core/src/main/java/com/sk89q/worldedit/world/storage/ChunkStore.java
  211. +4 −4 worldedit-core/src/main/java/com/sk89q/worldedit/world/storage/LegacyChunkStore.java
  212. +4 −4 worldedit-core/src/main/java/com/sk89q/worldedit/world/storage/McRegionChunkStore.java
  213. +2 −2 worldedit-core/src/main/java/com/sk89q/worldedit/world/storage/McRegionReader.java
  214. +4 −4 worldedit-core/src/main/java/com/sk89q/worldedit/world/storage/MissingChunkException.java
  215. +11 −11 worldedit-core/src/test/java/com/sk89q/worldedit/util/LocationTest.java
  216. +8 −8 worldedit-forge/src/main/java/com/sk89q/worldedit/forge/ForgeAdapter.java
  217. +2 −2 worldedit-forge/src/main/java/com/sk89q/worldedit/forge/ForgeEntity.java
  218. +5 −5 worldedit-forge/src/main/java/com/sk89q/worldedit/forge/ForgePlayer.java
  219. +22 −22 worldedit-forge/src/main/java/com/sk89q/worldedit/forge/ForgeWorld.java
  220. +5 −5 worldedit-forge/src/main/java/com/sk89q/worldedit/forge/TileEntityUtils.java
  221. +7 −6 worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/SpongePlayer.java
  222. +15 −14 worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/SpongeWorld.java
  223. +4 −3 worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/adapter/SpongeImplAdapter.java
@@ -29,8 +29,8 @@
import com.sk89q.worldedit.entity.Entity;
import com.sk89q.worldedit.extension.input.InputParseException;
import com.sk89q.worldedit.extension.input.ParserContext;
import com.sk89q.worldedit.math.BlockVector3d;
import com.sk89q.worldedit.math.Vector3d;
import com.sk89q.worldedit.math.BlockVector3;
import com.sk89q.worldedit.math.Vector3;
import com.sk89q.worldedit.util.Location;
import com.sk89q.worldedit.world.World;
import com.sk89q.worldedit.world.block.BlockState;
@@ -161,7 +161,7 @@ public static Player adapt(com.sk89q.worldedit.entity.Player player) {
*/
public static Location adapt(org.bukkit.Location location) {
checkNotNull(location);
Vector3d position = asVector(location);
Vector3 position = asVector(location);
return new com.sk89q.worldedit.util.Location(
adapt(location.getWorld()),
position,
@@ -177,7 +177,7 @@ public static Location adapt(org.bukkit.Location location) {
*/
public static org.bukkit.Location adapt(Location location) {
checkNotNull(location);
Vector3d position = location.toVector();
Vector3 position = location.toVector();
return new org.bukkit.Location(
adapt((World) location.getExtent()),
position.getX(), position.getY(), position.getZ(),
@@ -192,7 +192,7 @@ public static Location adapt(org.bukkit.Location location) {
* @param position the WorldEdit position
* @return a Bukkit location
*/
public static org.bukkit.Location adapt(org.bukkit.World world, Vector3d position) {
public static org.bukkit.Location adapt(org.bukkit.World world, Vector3 position) {
checkNotNull(world);
checkNotNull(position);
return new org.bukkit.Location(
@@ -207,7 +207,7 @@ public static Location adapt(org.bukkit.Location location) {
* @param position the WorldEdit position
* @return a Bukkit location
*/
public static org.bukkit.Location adapt(org.bukkit.World world, BlockVector3d position) {
public static org.bukkit.Location adapt(org.bukkit.World world, BlockVector3 position) {
checkNotNull(world);
checkNotNull(position);
return new org.bukkit.Location(
@@ -238,9 +238,9 @@ public static Location adapt(org.bukkit.Location location) {
* @param location The Bukkit location
* @return a WorldEdit vector
*/
public static Vector3d asVector(org.bukkit.Location location) {
public static Vector3 asVector(org.bukkit.Location location) {
checkNotNull(location);
return new Vector3d(location.getX(), location.getY(), location.getZ());
return new Vector3(location.getX(), location.getY(), location.getZ());
}
/**
@@ -249,9 +249,9 @@ public static Vector3d asVector(org.bukkit.Location location) {
* @param location The Bukkit location
* @return a WorldEdit vector
*/
public static BlockVector3d asBlockVector(org.bukkit.Location location) {
public static BlockVector3 asBlockVector(org.bukkit.Location location) {
checkNotNull(location);
return new BlockVector3d(location.getX(), location.getY(), location.getZ());
return new BlockVector3(location.getX(), location.getY(), location.getZ());
}
/**
@@ -27,8 +27,8 @@
import com.sk89q.worldedit.extension.platform.AbstractPlayerActor;
import com.sk89q.worldedit.extent.inventory.BlockBag;
import com.sk89q.worldedit.internal.cui.CUIEvent;
import com.sk89q.worldedit.math.BlockVector3d;
import com.sk89q.worldedit.math.Vector3d;
import com.sk89q.worldedit.math.BlockVector3;
import com.sk89q.worldedit.math.Vector3;
import com.sk89q.worldedit.session.SessionKey;
import com.sk89q.worldedit.util.HandSide;
import com.sk89q.worldedit.world.World;
@@ -117,7 +117,7 @@ public void printError(String msg) {
}
@Override
public void setPosition(Vector3d pos, float pitch, float yaw) {
public void setPosition(Vector3 pos, float pitch, float yaw) {
player.teleport(new Location(player.getWorld(), pos.getX(), pos.getY(),
pos.getZ(), yaw, pitch));
}
@@ -175,7 +175,7 @@ public void floatAt(int x, int y, int z, boolean alwaysGlass) {
return;
}
setPosition(new Vector3d(x + 0.5, y, z + 0.5));
setPosition(new Vector3(x + 0.5, y, z + 0.5));
player.setFlying(true);
}
@@ -187,7 +187,7 @@ public BaseEntity getState() {
@Override
public com.sk89q.worldedit.util.Location getLocation() {
Location nativeLocation = player.getLocation();
Vector3d position = BukkitAdapter.asVector(nativeLocation);
Vector3 position = BukkitAdapter.asVector(nativeLocation);
return new com.sk89q.worldedit.util.Location(
getWorld(),
position,
@@ -245,7 +245,7 @@ public boolean isPersistent() {
}
@Override
public void sendFakeBlock(BlockVector3d pos, BlockStateHolder block) {
public void sendFakeBlock(BlockVector3 pos, BlockStateHolder block) {
Location loc = new Location(player.getWorld(), pos.getX(), pos.getY(), pos.getZ());
if (block == null) {
player.sendBlockChange(loc, player.getWorld().getBlockAt(loc).getBlockData());
@@ -254,7 +254,7 @@ public void sendFakeBlock(BlockVector3d pos, BlockStateHolder block) {
if (block instanceof BaseBlock && ((BaseBlock) block).hasNbtData()) {
BukkitImplAdapter adapter = WorldEditPlugin.getInstance().getBukkitImplAdapter();
if (adapter != null) {
adapter.sendFakeNBT(player, pos.toVector3d(), ((BaseBlock) block).getNbtData());
adapter.sendFakeNBT(player, pos.toVector3(), ((BaseBlock) block).getNbtData());
if (block.getBlockType() == BlockTypes.STRUCTURE_BLOCK) {
adapter.sendFakeOP(player);
}
@@ -28,9 +28,9 @@
import com.sk89q.worldedit.bukkit.adapter.BukkitImplAdapter;
import com.sk89q.worldedit.entity.BaseEntity;
import com.sk89q.worldedit.history.change.BlockChange;
import com.sk89q.worldedit.math.BlockVector2d;
import com.sk89q.worldedit.math.BlockVector3d;
import com.sk89q.worldedit.math.Vector3d;
import com.sk89q.worldedit.math.BlockVector2;
import com.sk89q.worldedit.math.BlockVector3;
import com.sk89q.worldedit.math.Vector3;
import com.sk89q.worldedit.regions.Region;
import com.sk89q.worldedit.util.TreeGenerator;
import com.sk89q.worldedit.world.AbstractWorld;
@@ -160,22 +160,22 @@ public String getName() {
}
@Override
public int getBlockLightLevel(BlockVector3d pt) {
public int getBlockLightLevel(BlockVector3 pt) {
return getWorld().getBlockAt(pt.getBlockX(), pt.getBlockY(), pt.getBlockZ()).getLightLevel();
}
@Override
public boolean regenerate(Region region, EditSession editSession) {
BlockStateHolder[] history = new BlockStateHolder[16 * 16 * (getMaxY() + 1)];
for (BlockVector2d chunk : region.getChunks()) {
BlockVector3d min = new BlockVector3d(chunk.getBlockX() * 16, 0, chunk.getBlockZ() * 16);
for (BlockVector2 chunk : region.getChunks()) {
BlockVector3 min = new BlockVector3(chunk.getBlockX() * 16, 0, chunk.getBlockZ() * 16);
// First save all the blocks inside
for (int x = 0; x < 16; ++x) {
for (int y = 0; y < (getMaxY() + 1); ++y) {
for (int z = 0; z < 16; ++z) {
BlockVector3d pt = min.add(x, y, z);
BlockVector3 pt = min.add(x, y, z);
int index = y * 16 * 16 + z * 16 + x;
history[index] = editSession.getFullBlock(pt);
}
@@ -192,7 +192,7 @@ public boolean regenerate(Region region, EditSession editSession) {
for (int x = 0; x < 16; ++x) {
for (int y = 0; y < (getMaxY() + 1); ++y) {
for (int z = 0; z < 16; ++z) {
BlockVector3d pt = min.add(x, y, z);
BlockVector3 pt = min.add(x, y, z);
int index = y * 16 * 16 + z * 16 + x;
// We have to restore the block if it was outside
@@ -238,7 +238,7 @@ private Inventory getBlockInventory(Chest chest) {
}
@Override
public boolean clearContainerBlockContents(BlockVector3d pt) {
public boolean clearContainerBlockContents(BlockVector3 pt) {
Block block = getWorld().getBlockAt(pt.getBlockX(), pt.getBlockY(), pt.getBlockZ());
if (block == null) {
return false;
@@ -292,21 +292,21 @@ public static TreeType toBukkitTreeType(TreeGenerator.TreeType type) {
}
@Override
public boolean generateTree(TreeGenerator.TreeType type, EditSession editSession, BlockVector3d pt) {
public boolean generateTree(TreeGenerator.TreeType type, EditSession editSession, BlockVector3 pt) {
World world = getWorld();
TreeType bukkitType = toBukkitTreeType(type);
return type != null && world.generateTree(BukkitAdapter.adapt(world, pt), bukkitType,
new EditSessionBlockChangeDelegate(editSession));
}
@Override
public void dropItem(Vector3d pt, BaseItemStack item) {
public void dropItem(Vector3 pt, BaseItemStack item) {
World world = getWorld();
world.dropItemNaturally(BukkitAdapter.adapt(world, pt), BukkitAdapter.adapt(item));
}
@Override
public void checkLoadedChunk(BlockVector3d pt) {
public void checkLoadedChunk(BlockVector3 pt) {
World world = getWorld();
if (!world.isChunkLoaded(pt.getBlockX() >> 4, pt.getBlockZ() >> 4)) {
@@ -338,15 +338,15 @@ public int getMaxY() {
}
@Override
public void fixAfterFastMode(Iterable<BlockVector2d> chunks) {
public void fixAfterFastMode(Iterable<BlockVector2> chunks) {
World world = getWorld();
for (BlockVector2d chunkPos : chunks) {
for (BlockVector2 chunkPos : chunks) {
world.refreshChunk(chunkPos.getBlockX(), chunkPos.getBlockZ());
}
}
@Override
public boolean playEffect(Vector3d position, int type, int data) {
public boolean playEffect(Vector3 position, int type, int data) {
World world = getWorld();
final Effect effect = effects.get(type);
@@ -405,18 +405,18 @@ public void setWeather(WeatherType weatherType, long duration) {
}
@Override
public void simulateBlockMine(BlockVector3d pt) {
public void simulateBlockMine(BlockVector3 pt) {
getWorld().getBlockAt(pt.getBlockX(), pt.getBlockY(), pt.getBlockZ()).breakNaturally();
}
@Override
public com.sk89q.worldedit.world.block.BlockState getBlock(BlockVector3d position) {
public com.sk89q.worldedit.world.block.BlockState getBlock(BlockVector3 position) {
Block bukkitBlock = getWorld().getBlockAt(position.getBlockX(), position.getBlockY(), position.getBlockZ());
return BukkitAdapter.adapt(bukkitBlock.getBlockData());
}
@Override
public boolean setBlock(BlockVector3d position, BlockStateHolder block, boolean notifyAndLight) throws WorldEditException {
public boolean setBlock(BlockVector3 position, BlockStateHolder block, boolean notifyAndLight) throws WorldEditException {
BukkitImplAdapter adapter = WorldEditPlugin.getInstance().getBukkitImplAdapter();
if (adapter != null) {
try {
@@ -439,7 +439,7 @@ public boolean setBlock(BlockVector3d position, BlockStateHolder block, boolean
}
@Override
public BaseBlock getFullBlock(BlockVector3d position) {
public BaseBlock getFullBlock(BlockVector3 position) {
BukkitImplAdapter adapter = WorldEditPlugin.getInstance().getBukkitImplAdapter();
if (adapter != null) {
return adapter.getBlock(BukkitAdapter.adapt(getWorld(), position));
@@ -449,7 +449,7 @@ public BaseBlock getFullBlock(BlockVector3d position) {
}
@Override
public BaseBiome getBiome(BlockVector2d position) {
public BaseBiome getBiome(BlockVector2 position) {
BukkitImplAdapter adapter = WorldEditPlugin.getInstance().getBukkitImplAdapter();
if (adapter != null) {
int id = adapter.getBiomeId(getWorld().getBiome(position.getBlockX(), position.getBlockZ()));
@@ -460,7 +460,7 @@ public BaseBiome getBiome(BlockVector2d position) {
}
@Override
public boolean setBiome(BlockVector2d position, BaseBiome biome) {
public boolean setBiome(BlockVector2 position, BaseBiome biome) {
BukkitImplAdapter adapter = WorldEditPlugin.getInstance().getBukkitImplAdapter();
if (adapter != null) {
Biome bukkitBiome = adapter.getBiome(biome.getId());
@@ -21,7 +21,7 @@
import com.sk89q.worldedit.EditSession;
import com.sk89q.worldedit.MaxChangedBlocksException;
import com.sk89q.worldedit.math.BlockVector3d;
import com.sk89q.worldedit.math.BlockVector3;
import org.bukkit.BlockChangeDelegate;
import org.bukkit.block.data.BlockData;
@@ -40,7 +40,7 @@ public EditSessionBlockChangeDelegate(EditSession editSession) {
@Override
public boolean setBlockData(int x, int y, int z, BlockData blockData) {
try {
editSession.setBlock(new BlockVector3d(x, y, z), BukkitAdapter.adapt(blockData));
editSession.setBlock(new BlockVector3(x, y, z), BukkitAdapter.adapt(blockData));
} catch (MaxChangedBlocksException e) {
return false;
}
@@ -49,7 +49,7 @@ public boolean setBlockData(int x, int y, int z, BlockData blockData) {
@Override
public BlockData getBlockData(int x, int y, int z) {
return BukkitAdapter.adapt(editSession.getBlock(new BlockVector3d(x, y, z)));
return BukkitAdapter.adapt(editSession.getBlock(new BlockVector3(x, y, z)));
}
@Override
@@ -59,7 +59,7 @@ public int getHeight() {
@Override
public boolean isEmpty(int x, int y, int z) {
return editSession.getBlock(new BlockVector3d(x, y, z)).getBlockType().getMaterial().isAir();
return editSession.getBlock(new BlockVector3(x, y, z)).getBlockType().getMaterial().isAir();
}
}
@@ -22,7 +22,7 @@
import com.sk89q.jnbt.CompoundTag;
import com.sk89q.worldedit.world.block.BaseBlock;
import com.sk89q.worldedit.entity.BaseEntity;
import com.sk89q.worldedit.math.Vector3d;
import com.sk89q.worldedit.math.Vector3;
import com.sk89q.worldedit.registry.state.Property;
import com.sk89q.worldedit.world.block.BlockStateHolder;
import com.sk89q.worldedit.world.block.BlockType;
@@ -112,7 +112,7 @@
* @param pos The position
* @param nbtData The NBT Data
*/
void sendFakeNBT(Player player, Vector3d pos, CompoundTag nbtData);
void sendFakeNBT(Player player, Vector3 pos, CompoundTag nbtData);
/**
* Make the client think it has operator status.
@@ -21,7 +21,7 @@
import static com.google.common.base.Preconditions.checkNotNull;
import com.sk89q.worldedit.math.Vector3d;
import com.sk89q.worldedit.math.Vector3;
import com.sk89q.worldedit.world.storage.InvalidFormatException;
import java.util.Map;
@@ -167,9 +167,9 @@ public static int getTypeCode(Class<? extends Tag> clazz) {
* @param listTag the list tag
* @return a vector
*/
public static Vector3d toVector(ListTag listTag) {
public static Vector3 toVector(ListTag listTag) {
checkNotNull(listTag);
return new Vector3d(listTag.asDouble(0), listTag.asDouble(1), listTag.asDouble(2));
return new Vector3(listTag.asDouble(0), listTag.asDouble(1), listTag.asDouble(2));
}
/**
Oops, something went wrong.

0 comments on commit c8ddeca

Please sign in to comment.