Skip to content

Commit

Permalink
Initial Fork Commit: Removed: Recipes, Config File, World Generation,…
Browse files Browse the repository at this point in the history
… Brush, Iron Rod, Bitumen
  • Loading branch information
dylanlogan2581 committed Nov 3, 2021
1 parent 9fa43c4 commit e00bd06
Show file tree
Hide file tree
Showing 831 changed files with 850 additions and 4,769 deletions.
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
The MIT License (MIT)

Copyright (c) 2015 KillerMapper
Copyright for portions of project JustRoadStuff are held by (c) 2015 KillerMapper as part of project RoadStuff.
All other copyright for project JustRoadStuff are held by (c) 2021 DylanLogan2581.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -19,4 +20,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

32 changes: 8 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,39 +1,23 @@
![Logo](http://killermapper.net/roadstuffmod/RoadStuffLogo.png)
# Road Stuff
A Minecraft MODification by KillerMapper
For Minecraft 1.7.10
# Just Road Stuff


Road Stuff is a Minecraft MODification which adds road blocks and items related to roads.

Current version: 0.4.0 alpha for 1.7.10: http://minecraft.curseforge.com/projects/road-stuff
Just Road Stuff is a Fork of the Minecraft Mod Road Stuff which adds road blocks and items related to roads.
The purpose of this fork is to remove the cruft from the mod, such as the useless items, achievements, configuration menu, and recipes so that you can have just road stuff for building.

Currently including:
- Asphalt road blocks
- Concrete roads blocks
- 6 different kinds of lines, including corners and some crossings + variants
- Arrows
- Traffic cones (3 variants)
- Traffic Signs (to be completed)
- Bitumen ore gen (can be disabled in config)
- Achievements
- Chisel support
- English + French support

![ScreewShowcase](http://killermapper.net/roadstuffmod/RoadStuffScreenShowcase01.jpg)
- Traffic Signs
- English Language support

Planned features:
- More road versions (paved)
- More objects (road signs, other decorative stuff...)
- Probably more later

Media can be found here for now: http://imgur.com/a/jCsZ7
WIP thread on minecraftforums.net:
http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/wip-mods/2560685-wip-road-stuff-blocks-items-related-to-roads
- None, at the moment.

Credits:

- KillerMapper
- DylanLogan2581
- KillerMapper for RoadStuff
- BrokenSwing for the help
- MinecraftForgeFrance (tutorials)
- Minecraftforge.net (help)
21 changes: 3 additions & 18 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,11 @@ apply plugin: 'forge'

repositories {
mavenCentral()
maven {
name 'CB Repo'
url "http://chickenbones.net/maven/"
}
maven {
name "Chisel"
url = "http://maven.tterrag.com/"
}
}

version = "1.0.2-final"
group= "net.killermapper.roadstuff" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "RoadStuff-mc1.7.10"
version = "0.1"
group= "net.justroadstuff" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "JustRoadStuff"

minecraft {
version = "${mc_version}-${forge_version}"
Expand All @@ -51,13 +43,6 @@ dependencies {
// for more info...
// http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html
// http://www.gradle.org/docs/current/userguide/dependency_management.html

compile "codechicken:CodeChickenCore:${mc_version}-${ccc_version}:dev"
compile "codechicken:CodeChickenLib:${mc_version}-${ccl_version}:dev"
compile "codechicken:ForgeMultipart:${mc_version}-${fmp_version}:dev"
compile "com.cricketcraft.ctmlib:CTMLib:${ctmlib_version}:deobf"
compile "com.cricketcraft.chisel:Chisel2:${chisel_version}:deobf"

}

processResources
Expand Down
5 changes: 0 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,2 @@
mc_version=1.7.10
forge_version=10.13.4.1558-1.7.10
ccc_version=1.0.7.47
ccl_version=1.1.3.138
fmp_version=1.1.2.331
chisel_version=2.5.0.2
ctmlib_version=1.2.0-1
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.0-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.0-all.zip
Empty file modified gradlew
100644 → 100755
Empty file.
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
/*
Road Stuff - A Minecraft MODification by KillerMapper - 2015
The MIT License (MIT)
Copyright (c) 2015 - 2016 KillerMapper
Copyright for portions of project JustRoadStuff are held by (c) 2015 KillerMapper as part of project RoadStuff.
All other copyright for project JustRoadStuff are held by (c) 2021 DylanLogan2581.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -24,7 +23,7 @@ of this software and associated documentation files (the "Software"), to deal
SOFTWARE.
*/

package net.killermapper.roadstuff.client.gui;
package net.justroadstuff.client.gui;

import org.lwjgl.input.Keyboard;
import org.lwjgl.opengl.GL11;
Expand All @@ -33,13 +32,12 @@ of this software and associated documentation files (the "Software"), to deal

import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.killermapper.roadstuff.common.Reference;
import net.killermapper.roadstuff.common.RoadStuff;
import net.killermapper.roadstuff.common.blocks.BlockTrafficSign;
import net.killermapper.roadstuff.common.init.RoadStuffBlocks;
import net.killermapper.roadstuff.common.init.RoadStuffConfig;
import net.killermapper.roadstuff.common.network.PacketSignType;
import net.killermapper.roadstuff.common.tiles.TileEntityBlockTrafficSign;
import net.justroadstuff.common.Reference;
import net.justroadstuff.common.JustRoadStuff;
import net.justroadstuff.common.blocks.BlockTrafficSign;
import net.justroadstuff.common.init.JustRoadStuffBlocks;
import net.justroadstuff.common.network.PacketSignType;
import net.justroadstuff.common.tiles.TileEntityBlockTrafficSign;
import net.minecraft.client.gui.GuiButton;
import net.minecraft.client.gui.GuiScreen;
import net.minecraft.client.renderer.texture.IIconRegister;
Expand All @@ -50,7 +48,7 @@ of this software and associated documentation files (the "Software"), to deal
@SideOnly(Side.CLIENT)
public class GuiTrafficSign extends GuiScreen
{
private static final ResourceLocation textures = new ResourceLocation(RoadStuff.MODID, "textures/gui/signConfig.png");
private static final ResourceLocation textures = new ResourceLocation(JustRoadStuff.MODID, "textures/gui/signConfig.png");

private GuiButton buttonTypePrevious, buttonTypeNext, buttonTypePrevious10, buttonTypeNext10, buttonShapePrevious, buttonShapeNext, buttonQuit, buttonReset;
private TileEntityBlockTrafficSign tileSign;
Expand Down Expand Up @@ -106,32 +104,32 @@ public void drawScreen(int mouseX, int mouseY, float partialTicks)
// mc.getTextureManager().bindTexture(textures);
if(currentShape == 0)
{
mc.renderEngine.bindTexture(new ResourceLocation(RoadStuff.MODID, "textures/blocks/sign/square/square" + currentType + ".png"));
mc.renderEngine.bindTexture(new ResourceLocation(JustRoadStuff.MODID, "textures/blocks/sign/square/square" + currentType + ".png"));
func_152125_a(width / 2 - 48, height / 2 - 32, 0, 0, 1, 1, 100, 100, 1, 1);
}
if(currentShape == 1)
{
mc.renderEngine.bindTexture(new ResourceLocation(RoadStuff.MODID, "textures/blocks/sign/circle/circle" + currentType + ".png"));
mc.renderEngine.bindTexture(new ResourceLocation(JustRoadStuff.MODID, "textures/blocks/sign/circle/circle" + currentType + ".png"));
func_152125_a(width / 2 - 48, height / 2 - 32, 0, 0, 1, 1, 100, 100, 1, 1);
}
if(currentShape == 2)
{
mc.renderEngine.bindTexture(new ResourceLocation(RoadStuff.MODID, "textures/blocks/sign/triangle/triangle" + currentType + ".png"));
mc.renderEngine.bindTexture(new ResourceLocation(JustRoadStuff.MODID, "textures/blocks/sign/triangle/triangle" + currentType + ".png"));
func_152125_a(width / 2 - 48, height / 2 - 32, 0, 0, 1, 1, 100, 100, 1, 1);
}
if(currentShape == 3)
{
mc.renderEngine.bindTexture(new ResourceLocation(RoadStuff.MODID, "textures/blocks/sign/diamond/diamond" + currentType + ".png"));
mc.renderEngine.bindTexture(new ResourceLocation(JustRoadStuff.MODID, "textures/blocks/sign/diamond/diamond" + currentType + ".png"));
func_152125_a(width / 2 - 48, height / 2 - 32, 0, 0, 1, 1, 100, 100, 1, 1);
}
if(currentShape == 4)
{
mc.renderEngine.bindTexture(new ResourceLocation(RoadStuff.MODID, "textures/blocks/sign/rectangle/rectangle" + currentType + ".png"));
mc.renderEngine.bindTexture(new ResourceLocation(JustRoadStuff.MODID, "textures/blocks/sign/rectangle/rectangle" + currentType + ".png"));
func_152125_a(width / 2 - 48, height / 2 - 32, 0, 0, 1, 1, 100, 100, 1, 1);
}
if(currentShape == 5)
{
mc.renderEngine.bindTexture(new ResourceLocation(RoadStuff.MODID, "textures/blocks/sign/misc/misc" + currentType + ".png"));
mc.renderEngine.bindTexture(new ResourceLocation(JustRoadStuff.MODID, "textures/blocks/sign/misc/misc" + currentType + ".png"));
func_152125_a(width / 2 - 48, height / 2 - 32, 0, 0, 1, 1, 100, 100, 1, 1);
}
mc.getTextureManager().bindTexture(textures);
Expand All @@ -144,7 +142,7 @@ protected void actionPerformed(GuiButton parButton)
{
if(parButton.id == 0)
{
RoadStuff.network.sendToServer(new PacketSignType(this.currentType, this.currentShape, tileSign.xCoord, tileSign.yCoord, tileSign.zCoord));
JustRoadStuff.network.sendToServer(new PacketSignType(this.currentType, this.currentShape, tileSign.xCoord, tileSign.yCoord, tileSign.zCoord));
mc.displayGuiScreen((GuiScreen)null);
}
else if(parButton.id == 1)
Expand Down Expand Up @@ -213,13 +211,6 @@ else if(currentType > maxSignMisc)
currentShape = 5;
else if(currentShape > 5)
currentShape = 0;

if(RoadStuffConfig.enableDebug)
{
System.out.println("Current selected type: " + currentType);
System.out.println("Current selected shape: " + currentShape);
System.out.println("Signs: " + maxSignDiamond + " " + maxSignTriangle + " " + maxSignCircle + " " + maxSignSquare + " " + maxSignRectangle + " " + maxSignMisc);
}
}

@Override
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
/*
Road Stuff - A Minecraft MODification by KillerMapper - 2015
The MIT License (MIT)
Copyright (c) 2015 KillerMapper
Copyright for portions of project JustRoadStuff are held by (c) 2015 KillerMapper as part of project RoadStuff.
All other copyright for project JustRoadStuff are held by (c) 2021 DylanLogan2581.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -24,15 +23,15 @@ of this software and associated documentation files (the "Software"), to deal
SOFTWARE.
*/

package net.killermapper.roadstuff.client.gui;
package net.justroadstuff.client.gui;

import cpw.mods.fml.common.network.IGuiHandler;
import net.killermapper.roadstuff.common.tiles.TileEntityBlockTrafficSign;
import net.justroadstuff.common.tiles.TileEntityBlockTrafficSign;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.World;

public class RoadStuffGuiHandler implements IGuiHandler
public class JustRoadStuffGuiHandler implements IGuiHandler
{

@Override
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
/*
Road Stuff - A Minecraft MODification by KillerMapper - 2015
The MIT License (MIT)
Copyright (c) 2015 KillerMapper
Copyright for portions of project JustRoadStuff are held by (c) 2015 KillerMapper as part of project RoadStuff.
All other copyright for project JustRoadStuff are held by (c) 2021 DylanLogan2581.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -24,12 +23,12 @@ of this software and associated documentation files (the "Software"), to deal
SOFTWARE.
*/

package net.killermapper.roadstuff.client.render;
package net.justroadstuff.client.render;

import org.lwjgl.opengl.GL11;

import cpw.mods.fml.client.registry.ISimpleBlockRenderingHandler;
import net.killermapper.roadstuff.proxy.ClientProxy;
import net.justroadstuff.proxy.ClientProxy;
import net.minecraft.block.Block;
import net.minecraft.client.renderer.RenderBlocks;
import net.minecraft.client.renderer.Tessellator;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
/*
Road Stuff - A Minecraft MODification by KillerMapper - 2015
The MIT License (MIT)
Copyright (c) 2015 KillerMapper
Copyright for portions of project JustRoadStuff are held by (c) 2015 KillerMapper as part of project RoadStuff.
All other copyright for project JustRoadStuff are held by (c) 2021 DylanLogan2581.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -24,12 +23,12 @@ of this software and associated documentation files (the "Software"), to deal
SOFTWARE.
*/

package net.killermapper.roadstuff.client.render;
package net.justroadstuff.client.render;

import org.lwjgl.opengl.GL11;

import cpw.mods.fml.client.registry.ISimpleBlockRenderingHandler;
import net.killermapper.roadstuff.proxy.ClientProxy;
import net.justroadstuff.proxy.ClientProxy;
import net.minecraft.block.Block;
import net.minecraft.client.renderer.RenderBlocks;
import net.minecraft.client.renderer.Tessellator;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
/*
Road Stuff - A Minecraft MODification by KillerMapper - 2015
The MIT License (MIT)
Copyright (c) 2015 KillerMapper
Copyright for portions of project JustRoadStuff are held by (c) 2015 KillerMapper as part of project RoadStuff.
All other copyright for project JustRoadStuff are held by (c) 2021 DylanLogan2581.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -24,12 +23,12 @@ of this software and associated documentation files (the "Software"), to deal
SOFTWARE.
*/

package net.killermapper.roadstuff.client.render;
package net.justroadstuff.client.render;

import org.lwjgl.opengl.GL11;

import cpw.mods.fml.client.registry.ISimpleBlockRenderingHandler;
import net.killermapper.roadstuff.proxy.ClientProxy;
import net.justroadstuff.proxy.ClientProxy;
import net.minecraft.block.Block;
import net.minecraft.client.renderer.RenderBlocks;
import net.minecraft.client.renderer.Tessellator;
Expand Down Expand Up @@ -100,4 +99,4 @@ private void renderInInventory(Tessellator tessellator, RenderBlocks renderer, B
GL11.glTranslatef(0.5F, 0.5F, 0.5F);
}

}
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
/*
Road Stuff - A Minecraft MODification by KillerMapper - 2015
The MIT License (MIT)
Copyright (c) 2015 KillerMapper
Copyright for portions of project JustRoadStuff are held by (c) 2015 KillerMapper as part of project RoadStuff.
All other copyright for project JustRoadStuff are held by (c) 2021 DylanLogan2581.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -24,12 +23,12 @@ of this software and associated documentation files (the "Software"), to deal
SOFTWARE.
*/

package net.killermapper.roadstuff.client.render;
package net.justroadstuff.client.render;

import org.lwjgl.opengl.GL11;

import cpw.mods.fml.client.registry.ISimpleBlockRenderingHandler;
import net.killermapper.roadstuff.proxy.ClientProxy;
import net.justroadstuff.proxy.ClientProxy;
import net.minecraft.block.Block;
import net.minecraft.client.renderer.RenderBlocks;
import net.minecraft.client.renderer.Tessellator;
Expand Down Expand Up @@ -186,4 +185,4 @@ private void renderInInventory(Tessellator tessellator, RenderBlocks renderer, B
GL11.glTranslatef(0.5F, 0.5F, 0.5F);
}

}
}
Loading

0 comments on commit e00bd06

Please sign in to comment.