mirror of
https://github.com/GTNewHorizons/MagicBees.git
synced 2026-11-25 06:24:54 +00:00
Compare commits
6
Commits
2.5.3-GTNH
...
2.5.5-GTNH
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
04ea5e8862 | ||
|
|
b411fec0c1 | ||
|
|
82368a06bf | ||
|
|
58a9fa9e0f | ||
|
|
bcb38e8718 | ||
|
|
59d2f6bdb0 |
No files matched your search
+1
-1
@@ -1,6 +1,6 @@
|
||||
version_major=2
|
||||
version_minor=5
|
||||
version_rev=3-GTNH
|
||||
version_rev=5-GTNH
|
||||
|
||||
version_forestry=4.2.+
|
||||
version_botania=r1.8-248
|
||||
|
||||
@@ -184,10 +184,13 @@ public class ItemMysteriousMagnet extends Item implements IBauble {
|
||||
for (EntityItem e : list) {
|
||||
if (e.age >= 10) {
|
||||
double x = player.posX - e.posX;
|
||||
double y = player.posY - e.posY;
|
||||
double y = player.posY - e.posY - 1.f;
|
||||
double z = player.posZ - e.posZ;
|
||||
|
||||
double length = Math.sqrt(x * x + y * y + z * z) * 2;
|
||||
|
||||
if (length < 1.2f)
|
||||
continue;
|
||||
|
||||
x = x / length + player.motionX / 2;
|
||||
y = y / length + player.motionY / 2;
|
||||
|
||||
@@ -508,7 +508,7 @@ public class Config
|
||||
|
||||
private void setupMiscForestryItemHooks() {
|
||||
// Make Aromatic Lumps a swarmer inducer. Chance is /1000.
|
||||
if (aromaticLumpSwarmerRate <= 0) {
|
||||
if (aromaticLumpSwarmerRate > 0) {
|
||||
aromaticLumpSwarmerRate = (aromaticLumpSwarmerRate >= 1000) ? 1000: aromaticLumpSwarmerRate;
|
||||
BeeManager.inducers.put(miscResources.getStackForType(ResourceType.AROMATIC_LUMP), aromaticLumpSwarmerRate);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user