Commits
Phoenix616 authored and md_5 committed 05b2dc61327
31 31 | this.getSearchRadius = getSearchRadius; |
32 32 | this.canCreatePortal = canCreatePortal; |
33 33 | this.creationRadius = creationRadius; |
34 34 | } |
35 35 | |
36 36 | /** |
37 37 | * Set the Block radius to search in for available portals. |
38 38 | * |
39 39 | * @param searchRadius the radius in which to search for a portal from the |
40 40 | * location |
41 - | * @deprecated not currently functional |
42 41 | */ |
43 - | |
44 42 | public void setSearchRadius(int searchRadius) { |
45 43 | this.getSearchRadius = searchRadius; |
46 44 | } |
47 45 | |
48 46 | /** |
49 47 | * Gets the search radius value for finding an available portal. |
50 48 | * |
51 49 | * @return the currently set search radius |
52 50 | */ |
53 51 | public int getSearchRadius() { |
63 61 | public boolean getCanCreatePortal() { |
64 62 | return canCreatePortal; |
65 63 | } |
66 64 | |
67 65 | /** |
68 66 | * Sets whether the server should attempt to create a destination portal or |
69 67 | * not. |
70 68 | * |
71 69 | * @param canCreatePortal Sets whether there should be a destination portal |
72 70 | * created |
73 - | * @deprecated not currently functional |
74 71 | */ |
75 - | |
76 72 | public void setCanCreatePortal(boolean canCreatePortal) { |
77 73 | this.canCreatePortal = canCreatePortal; |
78 74 | } |
79 75 | |
80 76 | /** |
81 77 | * Sets the maximum radius the world is searched for a free space from the |
82 78 | * given location. |
83 79 | * |
84 80 | * If enough free space is found then the portal will be created there, if |
85 81 | * not it will force create with air-space at the target location. |
86 82 | * |
87 83 | * Does not apply to end portal target platforms which will always appear at |
88 84 | * the target location. |
89 85 | * |
90 86 | * @param creationRadius the radius in which to create a portal from the |
91 87 | * location |
92 - | * @deprecated not currently functional |
93 88 | */ |
94 - | |
95 89 | public void setCreationRadius(int creationRadius) { |
96 90 | this.creationRadius = creationRadius; |
97 91 | } |
98 92 | |
99 93 | /** |
100 94 | * Gets the maximum radius the world is searched for a free space from the |
101 95 | * given location. |
102 96 | * |
103 97 | * If enough free space is found then the portal will be created there, if |
104 98 | * not it will force create with air-space at the target location. |