-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
将所有Renderer类改为仅客户端
- Loading branch information
Showing
40 changed files
with
133 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 0 additions & 10 deletions
10
src/main/java/com/hechu/mindustry/block/MechanicalDrillBlockEntityRenderer.java
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
src/main/java/com/hechu/mindustry/block/PneumaticDrillBlockEntityRenderer.java
This file was deleted.
Oops, something went wrong.
9 changes: 7 additions & 2 deletions
9
...ustry/block/DrillBlockEntityRenderer.java → ...derer/block/DrillBlockEntityRenderer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
...in/java/com/hechu/mindustry/client/renderer/block/MechanicalDrillBlockEntityRenderer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package com.hechu.mindustry.client.renderer.block; | ||
|
||
import com.hechu.mindustry.world.level.block.entity.MechanicalDrillBlockEntity; | ||
import com.hechu.mindustry.world.level.block.model.MechanicalDrillModel; | ||
import net.minecraftforge.api.distmarker.Dist; | ||
import net.minecraftforge.api.distmarker.OnlyIn; | ||
|
||
@OnlyIn(Dist.CLIENT) | ||
public class MechanicalDrillBlockEntityRenderer extends DrillBlockEntityRenderer<MechanicalDrillBlockEntity> { | ||
|
||
public MechanicalDrillBlockEntityRenderer() { | ||
super(new MechanicalDrillModel()); | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...ain/java/com/hechu/mindustry/client/renderer/block/PneumaticDrillBlockEntityRenderer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package com.hechu.mindustry.client.renderer.block; | ||
|
||
import com.hechu.mindustry.world.level.block.entity.PneumaticDrillBlockEntity; | ||
import com.hechu.mindustry.world.level.block.model.PneumaticDrillModel; | ||
import net.minecraftforge.api.distmarker.Dist; | ||
import net.minecraftforge.api.distmarker.OnlyIn; | ||
|
||
@OnlyIn(Dist.CLIENT) | ||
public class PneumaticDrillBlockEntityRenderer extends DrillBlockEntityRenderer<PneumaticDrillBlockEntity>{ | ||
public PneumaticDrillBlockEntityRenderer() { | ||
super(new PneumaticDrillModel()); | ||
} | ||
} |
5 changes: 4 additions & 1 deletion
5
...m/hechu/mindustry/item/DrillRenderer.java → ...y/client/renderer/item/DrillRenderer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
src/main/java/com/hechu/mindustry/client/renderer/item/MechanicalDrillRenderer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package com.hechu.mindustry.client.renderer.item; | ||
|
||
import com.hechu.mindustry.world.item.PneumaticDrill; | ||
import com.hechu.mindustry.world.item.model.MechanicalDrillModel; | ||
import net.minecraftforge.api.distmarker.Dist; | ||
import net.minecraftforge.api.distmarker.OnlyIn; | ||
|
||
@OnlyIn(Dist.CLIENT) | ||
public class MechanicalDrillRenderer extends DrillRenderer<PneumaticDrill> { | ||
public MechanicalDrillRenderer() { | ||
super(new MechanicalDrillModel()); | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
src/main/java/com/hechu/mindustry/client/renderer/item/PneumaticDrillRenderer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package com.hechu.mindustry.client.renderer.item; | ||
|
||
import com.hechu.mindustry.world.item.PneumaticDrill; | ||
import com.hechu.mindustry.world.item.model.PneumaticDrillModel; | ||
import net.minecraftforge.api.distmarker.Dist; | ||
import net.minecraftforge.api.distmarker.OnlyIn; | ||
|
||
@OnlyIn(Dist.CLIENT) | ||
public class PneumaticDrillRenderer extends DrillRenderer<PneumaticDrill>{ | ||
public PneumaticDrillRenderer() { | ||
super(new PneumaticDrillModel()); | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
src/main/java/com/hechu/mindustry/creative/CreativeModeTabRegister.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 0 additions & 9 deletions
9
src/main/java/com/hechu/mindustry/item/MechanicalDrillRenderer.java
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
src/main/java/com/hechu/mindustry/item/PneumaticDrillRender.java
This file was deleted.
Oops, something went wrong.
3 changes: 1 addition & 2 deletions
3
src/main/java/com/hechu/mindustry/jade/DrillComponentProvider.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 1 addition & 4 deletions
5
src/main/java/com/hechu/mindustry/jade/HealthBlockComponentProvider.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...echu/mindustry/entity/EntityRegister.java → ...industry/world/entity/EntityRegister.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...m/hechu/mindustry/entity/turrets/Duo.java → ...u/mindustry/world/entity/turrets/Duo.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
...mindustry/entity/turrets/DuoRenderer.java → ...try/world/entity/turrets/DuoRenderer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...dustry/entity/turrets/model/DuoModel.java → .../world/entity/turrets/model/DuoModel.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
.../java/com/hechu/mindustry/item/Drill.java → ...com/hechu/mindustry/world/item/Drill.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../com/hechu/mindustry/item/HealthTest.java → ...echu/mindustry/world/item/HealthTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...hechu/mindustry/item/MechanicalDrill.java → ...mindustry/world/item/MechanicalDrill.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...echu/mindustry/item/model/DrillModel.java → ...industry/world/item/model/DrillModel.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...stry/item/model/MechanicalDrillModel.java → ...orld/item/model/MechanicalDrillModel.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...ustry/item/model/PneumaticDrillModel.java → ...world/item/model/PneumaticDrillModel.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../hechu/mindustry/block/BlockRegister.java → ...stry/world/level/block/BlockRegister.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...com/hechu/mindustry/block/DrillBlock.java → ...ndustry/world/level/block/DrillBlock.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...mindustry/block/MechanicalDrillBlock.java → ...rld/level/block/MechanicalDrillBlock.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
.../mindustry/block/PneumaticDrillBlock.java → ...orld/level/block/PneumaticDrillBlock.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.