-
Notifications
You must be signed in to change notification settings - Fork 57
Doors
Door and Sliding Door are Structure types for the Little Recipe. With these function it's possible to not only create door, but all kinds of rotating and sliding structures. Comparing to Minecraft doors, there are a few advantages:
- Any Little Tiles structures can be used as a door.
- There is no size limit for doors.
- They rotate in a axis that can be set in a X, Y or Z position.
- The door is animated, which means it won't just change between a open and closed state.
- As of pre100, rotating and sliding doors have collision boxes and will push all entities during animation.
When creating a rotating door you are able to select the axis in which the door will rotate. This means that, unlike vanilla Minecraft doors, you can create doors in a variety of shapes and movements. This rotation movement can be done in all three axis. There's also two types of rotation: orientated and fixed.
The door will always open at a 90 degree angle. After it reaches its ending position, it'll be "placed" back into the world, acting as an actual block. Because of this, if there's anything blocking the closed/open position, the door will refuse to open/close.
The rotation is fixed at an specific angle. After the door is fully opened, it will stay in an animated state, acting as an entity. This means that it won't take into consideration anything blocking the ending position. In the example below, the door opens in a 45 degree angle:
When creating a sliding door you are able to select the direction in which the door will slide. This direction can be in all three axis, towards positive and negative values.
This door combines both door types, allowing you to create a timeline of events in order to make complex door movements. The example below shows a door that rotates 45 degrees and slides up by 2 blocks.
Allows you to select the type of Structure.
Previews the block in the selected view point. This will allow you to select the exact spot to put the axis in. You can move the preview by holding left mouse button and dragging around the preview area. Also shows the side the door is facing relative to the X Y Z coordinates. The green dot represents the axis.
Sets the door rotation as oriented (90 degrees)
Set the rotation as fixed (any angle)
Resets the view to the original point of view.
Allows you to change which axis will be rotated.
Here are a few example of how the axis swap looks, and how the same door behaves in each of them:
CASE 1:
CASE 2:
CASE 3:
Flips the view to the opposite side.
Use these arrow keys to control where the axis will be located. Holding CTRL while clicking the arrow keys will make you move the axis by one block (16 pixels) instead of 1 pixel.
Allows you to set the axis in a point between pixels (whatever the grid is).
Selects the grid size used by the axis
Allows you to select the duration in which the door will perform their animation.
The duration in seconds is [(Number in the Settings)/20], meaning the default 50 duration takes 2,5 seconds to open.
Here's and example of different animation times (10, 50, 180);
Allows you to name the door. This name will appear whenever you hover the recipe in your inventory, or by looking at the door with a mod like Waila.
Erases the recipe, reverting it to a blank state.
Saves the recipe in its current settings.
Allows you to preview the whole structure, rotate and zoom in and out.
Works almost identical as the Rotating Door (Orientated), except for:
Allows you to select an angle for the door opening. Accepts negative values and values above 360.
Allows you to select the type of Structure.
Allows you to see the door and the current direction it's facing.
Allows you to change the direction the door will slide to. There are six options: Up, Down, North, South, West and East.
UP
DOWN
NORTH
SOUTH
WEST
EAST
Points towards the direction the door will go. Always relative to your current position.
Input how many full blocks the door will move in a specific direction.
Chooses what grid size will be used on 2.3.7.
Input how many Voxels the door will move in a specific direction, based on the grid size chosen in 2.3.6.
Same as the rotating door.
Same as the rotating door.
Same as the rotating door.
Allows you to set the duration of the door animation.
Allows you to name the door. This name will appear whenever you hover the recipe in your inventory, or by looking at the door with a mod like Waila.
Erases the recipe, reverting it to a blank state.
Allows you to save the changes made in your door.
Allows you to preview the whole structure, rotate and zoom in and out.
The set up for both door types is very similar, aside from the settings in the Recipe. You can learn more about these settings in the GUI section for each type.
Here's how to make a basic door:
3.1. Make a door using Little Tiles. In this case, we'll be using this simple door:
3.2. Put the door in either a Recipe by right clicking on both corners of the door (in our case, the bottom and upper part) or an Advanced Recipe by left clicking on the first corner and right clicking on the second corner. Select your preferred settings and Save it:
3.3. Now, using the Wrench, extract the door from the recipe. If you're using the Advanced Recipe, you can place it directly.
This method is the same for both rotating and sliding doors. All that changes are the settings described in the GUI section.
Setting up an Advanced Door can be quite tricky, so this section will present two examples (a simple and a more elaborate movement) and show you step by step how to achieve them.
In this example, we'll want a door that moves upwards for 2 blocks and rotates 45 degrees. First, we'll need to set the keys. Keys are time points where an action will take place. In the example below, we set the values for our keys.
Note that the yellow keys are there by default. All of those have a value of 0, meaning that by themselves they do nothing. When we set the second key at ROT Y with a value of 45, we are creating a transition. When you set two points of different value on the same movement line (in this case ROT Y), the mod will create an animation transition, from the first key to the second one. Since the first key is 0 and the second, located at the point 50 is 45 degrees, it'll smooth the animation from angle 0 to angle 45 in the time of 50 ticks (2,5 seconds). The same will happen at Off Y, where animation will transition from 0 to 2 in 50 ticks.
So when we open the door two actions will occur at the same time: a rotation of 45 degree and a movement upwards of 2 blocks.
In this example, we'll make a more complex movement. We want the door to have an animation of 4 seconds, which means 80 ticks. The movements are as follow:
From 0 to 20 - Offset Z from 0 to -1
From 20 to 40 - Nothing happens
From 40 to 60 - Rotate Y in 360 degrees
From 40 to 80 - Offset X and Y from 0 to 3
Here is the complete setup:
And here's the result:
-
TOOLS
- Advanced Recipe
- Little Bag
- Little Chisel
- Little Exporter and Little Importer
- Little Glove
- Little Hammer
- Little Liquids
- Little Miniature Recipe (versions pre111 and below)
- Little Paint Brush
- Little Particle Block
- Little Recipe
- Little Saw
- Little Screwdriver
- Little Storage Block
- Little Wrench
- Little Workbench
-
STRUCTURE TYPES
-
OTHERS
-
USER MADE TUTORIALS