Thursday, May 28, 2020

Minecraft Commands List


Command NameCommand Syntax
Server Management
Ban Player/ban [target] [reason]
Ban IP Address/ban-ip [target/IP address] [reason]
View Banned Users/banlist players
/banlist IPs
Change Default Gamemode/defaultgamemode (survival/creative/adventure/spectator)
Remove Operator Privileges/deop [target]
Force a Chunk to Load Constantly/forceload (add/remove) (chunk coords)
/forceload remove all
/forceload query (chunk coords)
Set the Current Gamemode/gamemode (survival/creative/adventure/spectator) [target]
Set a Gamerule/gamerule [RuleName] (RuleValues)
List Players on Server/list
/list uuids
Kick Player/kick [target] [reason]
Give Operator Status/op [player]
Unban Player/pardon [player]
Unban IP Address/pardon-ip [address]
Allow LAN Users to Join a Singleplayer World/publish [port]
Save a Backup of a World/save hold
/save query
/save resume
Save a Server/save-all (flush)
Disable Automatic Server Saves/save-off
Enable Automatic Server Saves/save-on
Change Idle Kick Time/setidletimeout [minutes]
Set Maximum Player Count/setmaxplayers [amount]
Set Default Spawn Point/setworldspawn
/setworldspawn (x, y, z)
Make Spectator Follow Entity/spectate [target] [player]
Spread Players Across World/spreadplayers (center coords) [distance of spread] [maximum range] [team spread: true/false] [targets]
Shut Down Server/stop
Count an Entity/testfor [target]
Transfer to Another Server/transferserver [ip address] [port]
Modify the Server Whitelist/whitelist (add/remove) [player]
/whitelist (on/off)
/whitelist list
/whitelist reload
Enable/Disable Mob Events/mobevent [event] (true/false)
Connect to a WebSocket Server/wsserver OR /connect [ip]
Player Modification and Cheats
Clear Items from Inventory/clear [target]
/clear [target] [item]
/clear [target] [item] [amount]
Add or Remove Advancements/advancement (grant/remove) [target] everything
Grant or Remove a Status EffectFor Java: /effect give [entity] [effect] (duration) (effect level) (hide particles: true/false)
For Bedrock: /effect [entity] [effect] (duration) (effect level) (hide particles: true/false)
For Java: /effect clear [entity] [effect]
For Bedrock: /effect [entity] clear
Enchant Current Weapon/enchant [target] [enchantment ID] [level]
Add or Remove Experience Points(/experience OR /xp) add [target] [amount] (points/levels)
(/experience OR /xp) set [target] [amount] (points/levels)
/experience query [target] (points/levels)
Give an Item to Someone/give [target] [item] [amount]
Kill Entity/kill
/kill [target]
Locate Structure/locate [structure]
Add or Remove Recipes/recipe (give/take) [player] [recipe name]
Set Player's Spawn Point/spawnpoint
/spawnpoint (x, y, z)
/spawnpoint [optional target] (x, y, z)
Summon an Entity/summon [entity]
/summon [entity] (x, y, z)
Teleport an Entity/teleport OR /tp (coords)
/tp [target] (coords)
/tp [target] (coords) (rotation)
/tp [target] (coords) facing (location)
/tp [target] (coords) facing [entity]
World Editing and Management
Clone a Region of Blocks/clone (beginning coord of region) (end coord of region) (destination coords)
Replace Items in Blocks/replaceitem block (block coords) [slot] [item] (amount)
Change a Block to a Different Block/setblock (x, y, z) [block]
Edit Blocks in a Region/fill (beginning region coord) (end region coord) [block type] (destroy/hollow/keep/outline/replace)
Test if a Block is Present/testforblock (x, y, z) [block name]
Test if Blocks in Two Regions Are Identical/testforblocks (beginning coord of region) (end coord of region) (comparison coords)
Add or Remove a Ticking Area/tickingarea add (beginning coord of region) (end coord of region) [name]
/tickingarea add circle (center coord) (radius) [name]
/tickingarea remove (name/all)
Adjust or See the World Time/time (add/set) [amount]
/time query (daytime/gametime/day)
Display or Edit a Title Screen/title [player] (title/subtitle/actionbar) [title]
/title [player] times [fadein time] [stay time] [fadeout time]
/title [player] clear
/title [player] reset
Turn Rain On or Off/toggledownfall
Change the Weather/weather (clear/rain/thunder) [duration]
Display the World Seed/seed
Modify the World Border/worldborder add [distance] [time]
/worldborder center (coords)
/worldborder damage (amount/buffer) [variables]
/worldborder get
/worldborder set [distance] [time]
/worldborder warning (distance/time) [variables]
Toggle World Builder Status/worldbuilder OR /wb
Communication
Display Custom Action in Chat/me [action]
Send a Private Message(/msg OR /tell OR /w) [player] [message]
Send a Message to the Server/say [message]
Send a Message to Your Team(/teammsg OR /tm) [message]
Send a JSON Message to All Players/tellraw [player] (message)
Team and Scoreboard Management
Modify Player Teams/team add [team name] [display name]
/team empty [team name]
/team join [team name] [players]
/team leave [players]
/team list [team name]
/team modify [team name] [attribute] [value]
/team remove [team name]
Modify the Scoreboard/scoreboard objectives (add/list/modify/remove/setdisplay) [variables]
/scoreboard players (add/enable/get/list/operation/remove/reset/set) [variables]
Add, Remove, or View Scoreboard Tags/tag [target] list
/tag [target] (add/remove) [tag]
Trigger a Scoreboard Objective/trigger (objective name) [add/set(number)]
Data Management
Customize Boss Health Bars/bossbar (add/get/list/remove/set) [bossbar id] [additional parameters]
Modify How Data Packs are Loaded and Unloaded/datapack disable [data pack name]
/datapack enable [data pack name] (first/last)
/datapack enable [data pack name] (before/after) [data pack]
/datapack list (available/enabled)
Enable or Disable Debugging/debug (start/stop/report)
Get Help for a Command/help [page] [command]
Play a Sound/playsound [sound] [category] [player] [source coord] [volume] [pitch] [min volume]
Stop a Sound Playing/stopsound [target]
Reload Data Packs/reload
Schedule a Function to Run/schedule function [function path] [time(d/s/t)]
Run a Function/function [function path]
Useful Target Modifiers
Target the Nearest Player@p
Target a Random Player@r
Target All Players@a
Target All Entities@e
Target a Team[team=TeamName]
Target an Entity Type[type=EntityTypeName]
Target Players With Specific EXP Levels[level=LevelNumber]
[level=FromLevel..ToLevel]
[level=AboveLevel..]
[level=..BelowLevel]
Target Players in a Specific Gamemode[gamemode=GamemodeName]
Targets Entities With a Specific Name[name=TargetName]
Reverse a Target Modifier[modifier=!target]

SOURCE:
https://www.makeuseof.com/tag/self-isolation-quarantine-tips/

Monday, January 20, 2020

Electronics with Redstone

Input
Addition is used - two numbers. 

Output
-the number from the input that us added together

Examples of inputs:

-Lever
-Buttons
-Redstone Torch

Examples of Outputs

-Dispensor/Dropper
-Sticky Piston/Piston
-Redstone Lamp


Analogy:

Math problem

-any math problem can be considered as input and output

Gumball Machine
Input is turning the knoob after inserting quarter
Gumball is the output coming from the bottom of the machine

Lesson 1 - intro to redstone
-input and output

Minigames

Shoot the Buttons

Solid block
Wooden button
Redstone lamp

Villager dunk tank

-solid block
-glass pane
-sticky piston
-slab
-redstone dust
-redstone torch
-wooden button
-water bucket
-villager spawn



Lesson 2
Clocks/pulsors and resistors

-ask the class what they think the concept of a clock is on relation to an electronic and a resistor
-ask them what a resistor means
-how the cloxk works in the scenario of electronics
Resistor - used to easily electrical current to flow through circuit
Diodes - one way circuits. Allowing a signal to travel in a single direction
Ex: Redstone Repeater
Clocks -
Block Update Device - redstone torches can update a block 2 blocks away



Lesson 3
Toggle flip-flops and counters lesson 3

Counters - are used to count events
-has to happen after a series of events
Toggle flip-flop - a circuit that obtains an an input and toggles the switch state on and off.
Given an input, it will toggle a low output

More platforms - more ease and flexibility of movement


What is good and bad level design?



Lesson 4 and 5
Logic Gates lesson 4 and 5

XNOR and XOR

XNOR - obtains two input
XOR - exclusive OR. Takes in two input. Will only have an output if one of the inputs are on; not all.




Lesson 6
RS NOR Latch

Latch circuit and flip-flop circuit are same thing
A circuit that can be switched between on and off and stats that way until switched again.
Off button is dalled the R or reset input turns circuit off
On button is called the s or set input turns the circuit on





Exporting World Save

--two problems
Inputs and outputs

Class rules
-students have to make superflat worlds

Gamemode: Creative
Generate Structures: Off
World Type: Superflat

Customize > Presets > Redstone Ready > Use Preset > Done

Allow Cheats: On
- students are not allowed to play in multiplayer
-intwracting with another students computer
-students should not talk over one another
-never turn off computer with power button


Troubleshooting
-checking the amount of space of Redstone thag Minecraft has
-video settongs: "grsphics"

Graphics: Fast
Render Distance: 2 chunks
Smooth Lighting: OFF
Max Framerate: Unlimited
3d Analyglyph: Off
GUI Scale: Normal
Clouds: Off
Particles: Decreased

Use vSynch: On