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
package com.tinkeracademy.projects; | |
import java.awt.Color; | |
import java.awt.Dimension; | |
import javax.swing.BorderFactory; | |
import javax.swing.BoxLayout; | |
import javax.swing.JButton; | |
import javax.swing.JFrame; | |
import javax.swing.JLabel; |
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
{ | |
"parent": "builtin/generated", | |
"textures": { | |
"layer0": "itemsmod:item/key" | |
}, | |
"display": { | |
"thirdperson": { | |
"rotation": [ -90, 0, 0 ], | |
"translation": [ 0, 1, -3 ], | |
"scale": [ 0.55, 0.55, 0.55 ] |
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
package com.tinkeracademy.minecraft; | |
import net.minecraft.item.Item; | |
import net.minecraftforge.fml.common.Mod; | |
import net.minecraftforge.fml.common.Mod.EventHandler; | |
import net.minecraftforge.fml.common.event.FMLInitializationEvent; | |
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; | |
import net.minecraftforge.fml.relauncher.Side; | |
@Mod(modid = ItemsMod.MODID, version = ItemsMod.VERSION) |
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
package com.tinkeracademy.minecraft; | |
import net.minecraft.client.Minecraft; | |
import net.minecraft.client.renderer.entity.RenderItem; | |
import net.minecraft.client.resources.model.ModelResourceLocation; | |
import net.minecraft.creativetab.CreativeTabs; | |
import net.minecraft.item.Item; | |
import net.minecraftforge.fml.common.registry.GameRegistry; | |
public class Key extends Item { |
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
package com.tinkeracademy.minecraft; | |
import net.minecraft.init.Blocks; | |
import net.minecraft.init.Items; | |
import net.minecraft.item.ItemStack; | |
import net.minecraftforge.common.DungeonHooks; | |
import net.minecraftforge.fml.common.Mod; | |
import net.minecraftforge.fml.common.Mod.EventHandler; | |
import net.minecraftforge.fml.common.event.FMLInitializationEvent; | |
import net.minecraftforge.fml.common.registry.GameRegistry; |
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
package com.tinkeracademy.ap; | |
import java.util.Scanner; | |
public class Main { | |
/** | |
* Array of all possible alphabet inputs | |
*/ | |
public static char[] alphabets = new char[] { 'a', 'b', 'c', 'd', |
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
package com.tinkeracademy.ap; | |
import java.util.HashMap; | |
import java.util.Map; | |
import java.util.Scanner; | |
public class Main { | |
public static char[] alphabets = new char[] { 'a', 'b', 'c', 'd', 'e', | |
'f', 'g', 'h', 'i', 'j', |
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
package com.tinkeracademy.ap; | |
import java.util.Scanner; | |
public class Main { | |
public static char[] alphabets = new char[] { 'a', 'b', 'c', 'd', 'e', | |
'f', 'g', 'h', 'i', 'j', | |
'k', 'l', 'm', 'n', 'o', | |
'p', 'q', 'r', 's', 't', |
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
{ | |
"parent": "builtin/generated", | |
"textures": { | |
"layer0": "rvergis_myitemsmod:item/green_key" | |
}, | |
"display": { | |
"thirdperson": { | |
"rotation": [ -90, 0, 0 ], | |
"translation": [ 0, 1, -3 ], | |
"scale": [ 0.55, 0.55, 0.55 ] |
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
item.rvergis_myitemsmod_key_orange_key=Orange Key | |
item.rvergis_myitemsmod_key_green_key=Green Key | |
item.rvergis_myitemsmod_key_red_key=Red Key | |
item.rvergis_myitemsmod_key_purple_key=Purple Key | |
item.rvergis_myitemsmod_key_yellow_key=Yellow Key | |
item.rvergis_myitemsmod_key_blue_key=Blue Key |