mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
Fix pathfinding on spotlights
This commit is contained in:
parent
03693e7c0a
commit
466f12e6e2
@ -44,7 +44,7 @@ public class Spotlight extends Block implements ISpotlight, INBTTransformable {
|
||||
this.type = type;
|
||||
this.isOn = isOn;
|
||||
|
||||
this.setHardness(1F);
|
||||
this.setHardness(0.5F);
|
||||
|
||||
if(isOn) setLightLevel(1.0F);
|
||||
}
|
||||
@ -81,6 +81,11 @@ public class Spotlight extends Block implements ISpotlight, INBTTransformable {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean getBlocksMovement(IBlockAccess world, int x, int y, int z) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public AxisAlignedBB getCollisionBoundingBoxFromPool(World p_149668_1_, int p_149668_2_, int p_149668_3_, int p_149668_4_) {
|
||||
return null;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user