Skip to content

Instantly share code, notes, and snippets.

View itsdinkd's full-sized avatar

itsdinkd

View GitHub Profile
---- Minecraft Crash Report ----
// Ouch. That hurt :(
Time: 2023-05-16 05:38:08
Description: Exception in server tick loop
java.lang.NoSuchMethodError: 'void net.minecraft.class_3218.phaseBlock(net.minecraft.class_2338, int)'
at ram.talia.hexal.fabric.interop.phantom.OpPhaseBlock$Spell.cast(OpPhaseBlock.kt:40)
at at.petrak.hexcasting.api.spell.casting.sideeffects.OperatorSideEffect$AttemptSpell.performEffect(OperatorSideEffect.kt:43)
at at.petrak.hexcasting.api.spell.casting.CastingHarness.performSideEffects(CastingHarness.kt:356)
:28:46] [Server thread/INFO]: Unknown or incomplete command, see below for error
[21:28:46] [Server thread/INFO]: /fdlink reload<--[HERE]
/help
[21:28:49] [Server thread/INFO]: /advancement (grant|revoke)
[21:28:49] [Server thread/INFO]: /attribute <target> <attribute> (get|base|modifier)
[21:28:49] [Server thread/INFO]: /execute (run|if|unless|as|at|store|positioned|rotated|facing|align|anchored|in)
[21:28:49] [Server thread/INFO]: /bossbar (add|remove|list|set|get)
[21:28:49] [Server thread/INFO]: /clear [<targets>]
[21:28:49] [Server thread/INFO]: /clone <begin> <end> <destination> [replace|masked|filtered]
[21:28:49] [Server thread/INFO]: /data (merge|get|remove|modify)
function() {
// Modify customDimensionIndex to match the index number you want to send the data to
var customDimensionIndex = 1;
return function(model) {
model.set('dimension' + customDimensionIndex, model.get('clientId'));
}
}
Combinators and selector lists
Section
Using one selector at a time is useful, but can be inefficient in some situations. CSS selectors become even more useful when you start combining them to perform fine-grained selections. CSS has several ways to select elements based on how they are related to one another. Those relationships are expressed with combinators as follows (A and B represent any selector seen above):
Name Syntax Selects
Selector list A, B Any element matching A and/or B (see Groups of selectors on one rule, below - Group of Selectors is not considered to be a combinator).
Descendant combinator A B Any element matching B that is a descendant of an element matching A (that is, a child, or a child of a child, etc.). the combinator is one or more spaces or dual greater than signs.
Child combinator A > B Any element matching B that is a direct child of an element matching A.
Adjacent sibling combinator A + B Any element matching B that is the next sibling of an element matching A (that is