Difference between revisions of "Minecraft"
(→April 2017) |
|||
Line 268: | Line 268: | ||
You can use the default Minecraft textures for the ressource pack. Extract them from the minecraft.jar-file. | You can use the default Minecraft textures for the ressource pack. Extract them from the minecraft.jar-file. | ||
.minecraft\versions\1.8.1\minecraft.jar | .minecraft\versions\1.8.1\minecraft.jar | ||
+ | |||
+ | == File Locations == | ||
+ | This is just a reference. The following shows common file locations related to the game and server. Configurations may vary. use only as reference. | ||
+ | |||
+ | * C:\Documents and Settings\derek\Application Data\.minecraft | ||
+ | * C:\wa\minecraft\Mineshafter-launcher.jar | ||
+ | |||
+ | |||
+ | |||
+ | |||
[[Category:Software]] | [[Category:Software]] |
Revision as of 15:41, 16 April 2017
A "sandbox" three dimensional world to create, survive, and interact. Single player and multi-player. Offline or online.
Contents
Play Minecraft for free
Update February 6 2016: Mineshafter no longer works. All tested solutions fail.
As of right now there is NO functional HACK TO PLAY FOR FREE.
Minecraft was purchased by Micro$oft. When you pay to play Minecraft you are no longer supporting an independent developer. Do not pay for Minecraft because you will be paying Micro$oft.
Use Mineshafter. This allows you to play Minecraft on a PC for free with most of the features and latest version.
troubleshooting notes:
Mineshafter no longer works on Windows or Linux. It opens to a blank white box with no UI. Last known version of Minecraft functional with mineshafter was 1.8.9
Something changed as of February 2016 that has broken mineshafter completely.
April 2017
Working on a new solution for playing Minecraft. Goals:
- must work offline / does not use any external connection or authentication
- must support lan server / multiplayer
- must support Minecraft 1.8.9 or newer
RESOURCES:
- http://www.mpgh.net/forum/forumdisplay.php?f=335
- http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-tools/1262734-minecraft-custom-name-offline-servers
Windows
Troubleshooting
Everything is Black or Invisible
Black shaders. This is a condition where the visual elements appear black or invisible. It is due to corruption in the shader elements in the Minecraft cache. All your minecraft data settings are stored in:
%appdata%\.minecraft\
By deleting the contents of that folder you will reset everything stored locally including all the visual element cache and graphic settings. This is known to resolve the black and missing shader issue.
Minecraft World is Too Dark
Day or night, with the brightness up, you note that the world still seems dark or there is not enough contract between objects. This is related to graphic card compatibility.
In the game try:
- Press Esc
- Click Options
- Click Video Settings
- Turn Smooth Lighting "Off"
This will improve the "contrast" issue. It may not resolve the lack of brightness or gamma.
To improve gamma which will allow you to see things better, try the following:
Close the game. In Windows at the start menu
- Start -> Run -> type "%appdata%\.minecraft\" and press enter
- Locate the file "options.txt" and open in notepad
- In the options.txt file locate the line "gamma:0.90140843". Just search for the word "gamma" as the number in the parameter may be different on yours.
- Change the number to a larger number. save. exit.
You can experiment with different fraction and whole number values. Apparently the highest number value, according to oliversmith7 of planetminecraft.com is 1000.0
Linux
Ubuntu
Set up Minecraft server on Ubuntu
First install Oracle Java
Run the following commands in this order to add the PPA, update the source list and then install java:
sudo apt-add-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java7-installer
Then run this to check what version you have installed:
java -version
Start server
java -Xms1G -Xmx1G -jar /usr/local/minecraft/minecraft_server.1.8.8.jar nogui
You will see
[11:41:12] [Server thread/INFO]: Starting minecraft server version 1.8.8 [11:41:12] [Server thread/INFO]: Loading properties [11:41:12] [Server thread/WARN]: server.properties does not exist [11:41:12] [Server thread/INFO]: Generating new properties file [11:41:12] [Server thread/WARN]: Failed to load eula.txt [11:41:12] [Server thread/INFO]: You need to agree to the EULA in order to run the server. Go to eula.txt for more info. [11:41:12] [Server thread/INFO]: Stopping server [11:41:12] [Server Shutdown Thread/INFO]: Stopping server
The latest version has a stupid eula hoop you have to jump though
vi eula.txt
change
#By changing the setting below to TRUE you are indicating your agreement to our EULA (https://account.mojang.com/documents/minecraft
_eula).
#Wed Aug 05 11:41:12 CDT 2015 eula=true
The eula.txt was created by the server the first time you tried to run it. Now that you changed the value to "true" save the text file, get out, and run the server again.
When the server is up and running you’ll see a stream of notices in the console window. You can execute commands that control the serer and players.
SERVER MODS: You can inject Forge mod loader into the Minecraft server. Within the folder, run the "forge.*.universal.jar" file. You need to accept the EULA. Open up the freshly created EULA.txt and edit the false to true. Remember, vanilla clients can’t join modded servers. Join a matching version number installation of Minecraft with Forge installed, but without any mods loaded, which will mirror the state of the server. Everyone that joins your server will need to have those mods installed; the /mod/ folder of the client and the/mod/ folder of the server should be mirrors of each other.
Troubleshooting
low fps
Minecraft running slow - my linux minecraft was running on 12 to 14 fps. i have installed hava 7,java 8, openjdk 7 and everything requires but minecraft stil slow
This command should tell you what is currently providing the Java virtual machine (java) and the Java compiler (javac):
file /etc/alternatives/java /etc/alternatives/javac
This assumes the "alternatives" system is working properly, which might not be the case, depending on how Java has been "messed up" in the past. To check this, run:
file `which java javac`
If the alternatives system is working correctly and being used by Java, then you should see:
/usr/bin/java: symbolic link to `/etc/alternatives/java' /usr/bin/javac: symbolic link to `/etc/alternatives/javac'
Fullscreen (F11) fails to redraw Minecraft window contents
Reported as a bug here: https://bugs.mojang.com/browse/MC-46669
Similar to this: https://bugs.mojang.com/browse/MC-69793
Only known fix: Keep pressing F11. Just keep pressing it. After 5 - 20 times it will eventually display. Don't press to fast.
Gameplay
Here is the very basic crafting and play guide. This game has a great deal of crafting that is not covered. You can get started with the principles necessary to learn the game and from there explore the more complex aspects on your own.
Printable Basic Crafting Table
Color Basic Crafting Table (more detailed)
Redstone Circuit
Redstone power can be transmitted to devices which will then do something in response. Most types of blocks can become powered. If you push a button, two blocks become powered: the block containing the button, and the block the button is attached to. The button is the power source. A lever or pressure plate is a power source. A block of redstone is always powered, it is a constant power source. A button is a momentary power source.
In general, opaque blocks can be powered by redstone while any transparent blocks and non-solid blocks can't. Consider three basic Minecraft power sources:
- lever
- button
- redstone torch
With a daylight sensor, you can create a circuit that opens your door during the day, and it closes at night. This automatic daylight door would keep mobs out at night. There are several items that can provide an input charge into redstone. These are levers, pressure plates, redstone torches, redstone blocks, buttons, detector rails, tripwire hooks and daylight sensors.
Transmit power with redstone wire. Place redstone dust on the floor to make a "wire trace" on the surface of the ground, much like a printed circuit board. Redstone wire becomes powered when it is adjacent to a powered block. Redstone power runs along the redstone wire, powering the blocks underneath the wire, or near it at certain aspects.
Power will travel 15 blocks from a redstone torch through redstone wire to a block. Most power components provide power level 15, but a few provide a variable amount of power. Redstone dust transmits power to adjacent redstone dust, but its strength decreases by 1 for each block of redstone dust traveled. A repeater block will be required to transmit power further away. This is similar to DC power. A repeater block can also add a preset delay of up to 4ms.
To learn how to use redstone power there is a good beginner redstone circuit video tutorial by those fine folks at Minecraftopia Videos.
1. Blocks 2 away- redstone power
- Redstone Comparator
- Redstone Dust
- Redstone Repeater
- Redstone Torch
2. Attached blocks- redstone power
- Button
- Detector Rail
- Lever
- Pressure Plate
- Trapped Chest
- Tripwire Hook
- Weighted Pressure Plate
3. Attached blocks- switched power
- Activator Rail
- Daylight Sensor
- Tripwire
- Piston and Sticky Piston
- Powered Rail
- Rail
Using redstone you can create basic logic circuits using logic gates in Minecraft. This is a good introduction to logic gates for younger people. It is also a good introduction to how DC circuits function.
Examples of Logic Gates
- NOT Gate
- AND Gate
- NAND Gate
- OR Gate
- NOR Gate
- XOR Gate
- XNOR Gate
- ONLY Gate
Diode functions in Minecraft
- Repeater based diodes
- Torch repeater
- Glowstone, Stairs, and Slab utilities
Command Block
The Command Block is a redstone powered block that will execute commands primarily used on multiplayer servers and in custom maps. This block cannot be crafted and only server administrators are allowed to place them.
Command blocks can only be obtained when cheats are activated, and can only be used in creative mode, preventing survival players in a server from accessing "staff" abilities. Command blocks are invincible outside of creative mode. With Command blocks you can preform commands that players can not preform.
To get a command block using cheats, type
/give @p minecraft:command_block <amount>
Server Operational Commands
At the server command console there are commands to impact players and environment behavior.
/weather clear make it stop raining or storming for a duration /effect <player> speed 255 3600 walk at maximum speed (255) for a duration of 1 hour (3600) /effect <player> clear clear effects /fill x y z x y z water fills a square area with water using coordinates /fill x y z x y z stone 2 fills with granite, which is considered stone #2 by the game. /tp <player1> <player2> teleport player1 to the position of player2 /op <player> /give @p planks 1 4 give nearest player qty 1 of acacia planks /effect @p 6 1 5 give full health to nearest player
Fill an area with acacia slabs, first example has slab in lower position, second in upper. (4) and (12) both are codes for acacia wood, only having the different orientation.
/fill 519 72 1471 525 72 1481 wooden_slab 4 /fill 519 72 1471 525 72 1481 wooden_slab 12
Some can be used with command_block depending on the nature of the command
Programs and Editors
AMIDST
- Open Source, Cross Platform, Java
Basic overview map viewer. Stronghold and villages finder. AMIDST is an acronym. Advanced Minecraft Interface and Data/Structure Tracking. Will _not_ show your modifications to the world.
Cartograph
Cartograph is not compatible with Beta v1.3's new save format. Use Cartograph_G
These are not maintained anymore.
Chunky
- Open Source, Cross Platform, Java
Chunky is a Minecraft mapping and rendering tool. Create detailed 3D or basic 2D maps. Can create maps real-time. Can run alongside Minecraft.
Mapcrafter
- Open Source, Cross Platform
Works with Minecraft 1.8.8. High Performance Minecraft Map Renderer - Renders Minecraft worlds to high detail maps with isometric 3D and/or 2D topdown perspectives viewable in any webbrowser. Four rendering rotations, day/night/cave render modes, world cropping and many more features available.
Minecraft Overviewer
Uses many tiny data files so it is difficult to manage on the file system level.
YSelfTool/MapRend
- Open Source, Cross Platform, Java
MapRend renders a top down map of Worlds. This is a very raw tool and requires a lot of things to be set into place before it can render maps. Roll up your shirt sleeves...
To run the program, you need to open a terminal window and type:
java -jar MapRend.jar
There are some things you need to setup before you can render a map. See: https://github.com/YSelfTool/MapRend/issues/1
You can use the default Minecraft textures for the ressource pack. Extract them from the minecraft.jar-file.
.minecraft\versions\1.8.1\minecraft.jar
File Locations
This is just a reference. The following shows common file locations related to the game and server. Configurations may vary. use only as reference.
- C:\Documents and Settings\derek\Application Data\.minecraft
- C:\wa\minecraft\Mineshafter-launcher.jar